/* =====================================================
   SUMMIT EVENTS & SERVICES
   Single Page Website
   ===================================================== */


/* ---------- GOOGLE FONT ---------- */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');


/* ---------- VARIABLES ---------- */

:root {
    --cream: #f7f5f0;
    --white: #ffffff;
    --charcoal: #252525;
    --soft-charcoal: #3d3d3d;
    --grey: #707070;
    --light-grey: #e8e6e1;

    --gold: #b69768;
    --gold-dark: #94784f;

    --serif: 'Playfair Display', serif;
    --sans: 'DM Sans', sans-serif;

    --shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 62.5%;
}

body {
    font-family: var(--sans);
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

section {
    padding: 10rem 9%;
}


/* ---------- GENERAL TYPOGRAPHY ---------- */

h1,
h2,
h3 {
    line-height: 1.2;
}

h1,
h2 {
    font-family: var(--serif);
}

h2 {
    font-size: 4.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

p {
    font-size: 1.6rem;
    color: var(--grey);
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22rem;
    margin-bottom: 1.2rem;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 6rem;
    text-align: center;
}

.section-heading p:not(.eyebrow) {
    max-width: 600px;
    margin: 0 auto;
}


/* ---------- BUTTONS ---------- */

.btn {
    display: inline-block;
    padding: 1.5rem 3rem;

    background: var(--charcoal);
    color: var(--white);

    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05rem;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--charcoal);
}


/* =====================================================
   HEADER
   ===================================================== */

.header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    height: 80px;
    padding: 0 9%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.96);

    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.05);
}


/* LOGO */

.header .logo {
    font-family: var(--serif);

    font-size: 2.5rem;
    font-weight: 600;

    color: var(--charcoal);
}

.header .logo span {
    color: var(--gold-dark);
}


/* NAVIGATION */

.header .navbar {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.header .navbar a {
    position: relative;

    color: var(--charcoal);

    font-size: 1.4rem;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.08rem;

    transition: color 0.25s ease;
}

.header .navbar a::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.header .navbar a:hover {
    color: var(--gold-dark);
}

.header .navbar a:hover::after {
    width: 100%;
}


/* MOBILE MENU BUTTON */

#menu-btn {
    display: none;

    font-size: 2.4rem;
    color: var(--charcoal);

    cursor: pointer;
}


/* =====================================================
   HOME / HERO
   ===================================================== */

.home {
    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(20, 20, 20, 0.75) 0%,
            rgba(20, 20, 20, 0.55) 45%,
            rgba(20, 20, 20, 0.15) 100%
        ),
        url("img/hero.jpg");

    background-size: cover;
    background-position: center;

    padding-top: 12rem;
}

.home-content {
    max-width: 780px;
}

.home .eyebrow {
    color: #d9c39f;
}

.home h1 {
    color: var(--white);

    font-size: clamp(5rem, 7vw, 8.5rem);
    font-weight: 500;

    margin-bottom: 2.5rem;

    letter-spacing: -0.15rem;
}

.home h1 span {
    display: block;
    color: #d9c39f;
}

.home-content > p:not(.eyebrow) {
    max-width: 620px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 1.9rem;
    line-height: 1.8;

    margin-bottom: 3.5rem;
}

.home-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}


/* =====================================================
   ABOUT
   ===================================================== */

.about {
    background: var(--cream);

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8rem;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';

    position: absolute;

    top: 3rem;
    left: -3rem;

    width: 100%;
    height: 100%;

    border: 1px solid var(--gold);

    z-index: 0;
}

.about-image img {
    position: relative;

    z-index: 1;

    height: 600px;

    object-fit: cover;

    box-shadow: var(--shadow);
}

.about-content {
    max-width: 600px;
}

.about-content h2 {
    max-width: 550px;
}

.about-content > p:not(.eyebrow) {
    margin-bottom: 2rem;

    line-height: 1.9;
}


/* =====================================================
   SERVICES
   ===================================================== */

.services {
    background: var(--white);
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 2rem;

    max-width: 1250px;
    margin: 0 auto;
}

.service-card {
    min-height: 310px;

    padding: 4rem 3rem;

    background: var(--cream);

    border: 1px solid transparent;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border 0.3s ease;
}

.service-card:hover {
    transform: translateY(-7px);

    border-color: rgba(182, 151, 104, 0.4);

    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 3.3rem;

    color: var(--gold-dark);

    margin-bottom: 3rem;
}

.service-card h3 {
    font-family: var(--serif);

    font-size: 2.5rem;
    font-weight: 600;

    margin-bottom: 1.5rem;
}

.service-card p {
    line-height: 1.8;
}


/* =====================================================
   OUR WORK
   ===================================================== */

.work {
    background: var(--charcoal);
}

.work .section-heading h2 {
    color: var(--white);
}

.work .section-heading > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.7);
}

.work .eyebrow {
    color: #d9c39f;
}

.work-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1.5rem;

    max-width: 1400px;
    margin: 0 auto;
}

.work-card {
    position: relative;

    height: 430px;

    overflow: hidden;

    cursor: pointer;
}

.work-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.work-card::after {
    content: '';

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.05) 65%
    );
}

.work-card:hover img {
    transform: scale(1.06);
}

.work-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    z-index: 2;

    padding: 3rem;
}

.work-overlay h3 {
    color: var(--white);

    font-family: var(--serif);

    font-size: 2.8rem;
    font-weight: 500;

    margin-bottom: 0.7rem;
}

.work-overlay p {
    color: rgba(255, 255, 255, 0.8);

    font-size: 1.4rem;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact {
    background: var(--cream);

    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    gap: 10rem;

    align-items: start;
}

.contact-info {
    max-width: 500px;
}

.contact-info h2 {
    font-size: 5.5rem;
}

.contact-info > p:not(.eyebrow) {
    line-height: 1.9;
}

.contact-details {
    margin-top: 4rem;

    padding-top: 3rem;

    border-top: 1px solid var(--light-grey);
}

.contact-details p {
    display: flex;
    align-items: center;

    gap: 1.5rem;

    margin-bottom: 1.5rem;
}

.contact-details i {
    width: 20px;

    color: var(--gold-dark);

    font-size: 1.7rem;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact {
    background: var(--cream);
    padding: 9rem 9%;
}

.contact .section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.contact .section-heading h2 {
    font-size: 5rem;
}

.contact-links {
    max-width: 1000px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 1.5rem;
}

.contact-item {
    background: var(--white);

    padding: 2.5rem 3rem;

    display: flex;
    align-items: center;

    gap: 2rem;

    border: 1px solid var(--light-grey);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.contact-item i {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--cream);

    color: var(--gold-dark);

    font-size: 2rem;
}

.contact-item span {
    display: block;

    color: var(--charcoal);

    font-size: 1.3rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.1rem;

    margin-bottom: 0.4rem;
}

.contact-item p {
    color: var(--grey);

    font-size: 1.5rem;

    word-break: break-word;
}


/* MOBILE */

@media (max-width: 700px) {

    .contact {
        padding: 7rem 5%;
    }

    .contact .section-heading h2 {
        font-size: 4rem;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }

}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background: #000;
    color: var(--white);

    padding: 7rem 9% 3rem;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;

    gap: 5rem;
}


/* FOOTER BRAND & LOGO */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 280px;
    max-width: 100%;
    height: auto;

    object-fit: contain;

    margin-bottom: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);

    font-size: 1.5rem;
    line-height: 1.8;

    max-width: 400px;
}


/* FOOTER NAVIGATION */

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 1.2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);

    font-size: 1.4rem;

    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: #d9c39f;
}


/* SOCIAL MEDIA */

.socials {
    display: flex;
    align-items: center;

    gap: 1rem;
}

.socials a {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    color: var(--white);

    font-size: 1.6rem;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.socials a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}


/* COPYRIGHT */

.footer .copyright {
    grid-column: 1 / -1;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    padding-top: 2.5rem;
    margin-top: 2rem;

    color: rgba(255, 255, 255, 0.5);

    font-size: 1.3rem;

    text-align: center;

    max-width: none;
}


/* TABLET */

@media (max-width: 800px) {

    .footer {
        grid-template-columns: 1fr 1fr;

        padding-left: 5%;
        padding-right: 5%;

        gap: 4rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}


/* MOBILE */

@media (max-width: 550px) {

    .footer {
        grid-template-columns: 1fr;

        padding: 5rem 5% 3rem;

        gap: 3rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-logo {
        width: 240px;
    }

}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1050px) {

    section {
        padding: 9rem 6%;
    }

    .header {
        padding-left: 6%;
        padding-right: 6%;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        gap: 5rem;
    }

    .contact {
        gap: 5rem;
    }

}


/* =====================================================
   MOBILE NAVIGATION
   ===================================================== */

@media (max-width: 800px) {

    html {
        font-size: 58%;
    }

    section {
        padding: 8rem 5%;
    }


    /* HEADER */

    .header {
        height: 70px;

        padding-left: 5%;
        padding-right: 5%;
    }

    .header .logo {
        font-size: 2.2rem;
    }

    #menu-btn {
        display: block;
    }

    .header .navbar {
        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        display: block;

        padding: 1rem 5% 2rem;

        background: var(--white);

        border-top: 1px solid var(--light-grey);

        transform: translateY(-130%);

        opacity: 0;

        pointer-events: none;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }

    .header .navbar.active {
        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;
    }

    .header .navbar a {
        display: block;

        padding: 1.5rem 0;

        border-bottom: 1px solid #eee;

        font-size: 1.5rem;
    }

    .header .navbar a::after {
        display: none;
    }


    /* HERO */

    .home {
        min-height: 90vh;

        background-position: 62% center;

        padding-top: 10rem;
    }

    .home h1 {
        font-size: 5.5rem;

        letter-spacing: -0.08rem;
    }


    /* ABOUT */

    .about {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 600px;
    }

    .about-image::before {
        left: -1.5rem;
        top: 1.5rem;
    }

    .about-image img {
        height: 450px;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }


    /* CONTACT */

    .contact {
        grid-template-columns: 1fr;
    }


    /* FOOTER */

    .footer {
        grid-template-columns: 1fr 1fr;

        padding-left: 5%;
        padding-right: 5%;
    }

}


/* =====================================================
   SMALL MOBILE
   ===================================================== */

@media (max-width: 550px) {

    html {
        font-size: 56%;
    }

    section {
        padding: 7rem 5%;
    }

    h2 {
        font-size: 4rem;
    }


    /* HERO */

    .home {
        min-height: 92vh;

        background:
            linear-gradient(
                rgba(20, 20, 20, 0.62),
                rgba(20, 20, 20, 0.72)
            ),
            url("img/hero.jpg");

        background-size: cover;
        background-position: center;
    }

    .home h1 {
        font-size: 4.7rem;
    }

    .home-content > p:not(.eyebrow) {
        font-size: 1.7rem;
    }

    .home-buttons {
        flex-direction: column;

        align-items: flex-start;
    }


    /* ABOUT */

    .about-image img {
        height: 360px;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: auto;
    }


    /* WORK */

    .work-grid {
        grid-template-columns: 1fr;
    }

    .work-card {
        height: 360px;
    }


    /* CONTACT */

    .contact-info h2 {
        font-size: 4.2rem;
    }

    .contact-form {
        grid-template-columns: 1fr;

        padding: 2.5rem;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form .btn {
        grid-column: 1;
    }

 #splash-screen img {
        width: 320px;
        max-width: 80%; }
    /* FOOTER */

    .footer {
        grid-template-columns: 1fr;

        gap: 3rem;
    }
/* =====================================================
   CLIENT LOGOS
   ===================================================== */

.clients {
    background: var(--white);
    padding: 6rem 9%;
}

.clients .section-heading {
    margin-bottom: 4rem;
}

.clients .section-heading h2 {
    font-size: 3.8rem;
}

.client-logos {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 4rem;
}
}

/* =====================================================
   CLIENT LOGOS
   ===================================================== */

.clients {
    background: var(--white);
    padding: 7rem 0;
    overflow: hidden;
}

.clients .section-heading {
    margin-bottom: 4rem;
    padding: 0 5%;
}

.clients .section-heading h2 {
    font-size: 3.8rem;
}


/* SLIDER WINDOW */

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}


/* MOVING TRACK */

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;

    animation: logoScroll 35s linear infinite;
}


/* INDIVIDUAL LOGO SPACE */

.client-logo {
    width: 240px;
    height: 120px;

    flex-shrink: 0;

    margin: 0 2.5rem;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* LOGO IMAGE */

.client-logo img {
    width: auto;
    height: auto;

    max-width: 160px;
    max-height: 75px;

    object-fit: contain;

    filter: grayscale(100%);
    opacity: 0.7;

    transition:
        filter 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
}


/* LOGO HOVER */

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}


/* PAUSE SLIDER ON HOVER */

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

  .clients {
        padding: 5rem 0;
    }

    .clients .section-heading h2 {
        font-size: 3.2rem;
    }

    .client-logo {
        width: 150px;
        height: 80px;
        margin: 0 1.5rem;
    }

    .client-logo img {
        max-width: 120px;
        max-height: 90px;
    }

    .logo-track {
        animation-duration: 28s;
    }

/* CONTINUOUS MOVEMENT */

@keyframes logoScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}

/* =====================================================
   SPLASH SCREEN
   ===================================================== */

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;

    background: #000;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 99999;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

#splash-screen img {
    width: 500px;
    max-width: 75%;
    height: auto;

    animation: splashLogo 1.2s ease;
}


/* Fade splash screen away */

#splash-screen.hide {
    opacity: 0;
    visibility: hidden;
}


/* Subtle logo entrance */

@keyframes splashLogo {

    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }

}

