/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #171717;
    background: #ffffff;
    line-height: 1.5;
}

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =====================================================
   CONTAINER
===================================================== */

.container {
    width: min(1120px, calc(100% - 50px));
    margin: auto;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    width: 100%;
    height: 62px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    position: relative;
    z-index: 1000;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 120px;
    height: auto;
}


/* DESKTOP NAV */

.nav-links {
    display: flex;
    align-items: center;

    background: #f5f5f5;

    padding: 3px;

    border-radius: 30px;
}

.nav-links a {
    color: #555;

    font-size: 11px;

    padding: 9px 12px;

    border-radius: 25px;

    transition: all .2s ease;
}

.nav-links a:hover {
    background: #ffffff;
    color: #111;
}


/* QUOTE */

.quote-btn {
    display: flex;
    align-items: center;

    gap: 8px;

    background: #2f6ee5;
    color: #ffffff;

    font-size: 10px;
    font-weight: 600;

    padding: 3px 3px 3px 15px;

    border-radius: 30px;
}

.arrow {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #222;

    border-radius: 50%;

    font-size: 18px;
}


/* =====================================================
   MOBILE BUTTON
===================================================== */

.menu-button {
    display: none;

    width: 40px;
    height: 40px;

    border: none;

    background: #f4f4f4;

    border-radius: 10px;

    cursor: pointer;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 4px;

    position: relative;
    z-index: 1002;
}

.menu-button span {
    display: block;

    width: 20px;
    height: 2px;

    background: #333;

    transition: .3s ease;
}


/* =====================================================
   MOBILE MENU
===================================================== */

.mobile-menu {
    display: none;

    position: absolute;

    top: 63px;
    left: 15px;
    right: 15px;

    background: #ffffff;

    border-radius: 9px;

    overflow: hidden;

    z-index: 1001;

    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.mobile-menu.active {
    display: block;
}

.mobile-links {
    padding: 8px 9px;
}

.mobile-links a {
    display: block;

    padding: 15px 14px;

    color: #666;

    font-size: 14px;
}

.mobile-links a:hover {
    color: #111;
}

.mobile-links .mobile-quote {
    background: #2f6ee5;

    color: #fff;

    text-align: center;

    font-weight: 600;

    border-radius: 6px;

    margin-top: 3px;

    padding: 13px;
}


/* =====================================================
   OUR WORKS HERO
===================================================== */

.works-page {
    width: 100%;
    overflow: hidden;
}

.works-hero {
    text-align: center;

    padding-top: 38px;
    padding-bottom: 26px;
}

.works-hero h1 {
    font-size: 34px;

    line-height: 1.1;

    font-weight: 500;

    margin-bottom: 32px;
}


/* =====================================================
   FILTER BUTTONS
===================================================== */

.work-filters {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 3px;

    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid #e0e0e0;

    background: #fff;

    color: #555;

    font-size: 8px;

    padding: 6px 13px;

    cursor: pointer;

    transition: .25s ease;
}

.filter-btn:first-child {
    border-radius: 3px;
}

.filter-btn.active {
    background: #ff3b3b;

    border-color: #ff3b3b;

    color: #fff;
}

.filter-btn:hover {
    background: #ff3b3b;

    color: #fff;

    border-color: #ff3b3b;
}


/* =====================================================
   PORTFOLIO SECTION
===================================================== */

.portfolio-section {
    width: min(1000px, calc(100% - 70px));

    margin: auto;

    padding: 10px 0 35px;
}

.section-small-title {
    text-align: center;

    font-size: 7px;

    color: #333;

    margin-bottom: 9px;

    text-transform: uppercase;
}


/* =====================================================
   BRANDING GRID
===================================================== */

.branding-grid {
    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 5px;

    min-height: 490px;
}


/* LEFT */

.brand-left {
    display: grid;

    grid-template-rows:
        repeat(4, 1fr);

    gap: 5px;
}


/* RIGHT */

.brand-right {
    display: grid;

    grid-template-rows:
        1fr 1fr;

    gap: 5px;
}


.portfolio-image,
.city-grill-collage,
.hospital-collage {
    overflow: hidden;

    background: #f1f1f1;
}

.portfolio-image img,
.city-grill-collage img,
.hospital-collage img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.portfolio-image:hover img,
.city-grill-collage:hover img,
.hospital-collage:hover img {
    transform: scale(1.03);
}


/* =====================================================
   BRANDING BOTTOM
===================================================== */

.branding-bottom {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 5px;

    margin-top: 5px;
}

.branding-logo-card {
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #222;
}

.branding-logo-card img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.branding-wide {
    grid-column: 1 / -1;

    aspect-ratio: 1202 / 222;

    overflow: hidden;

    background: #222;
}

.branding-wide img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =====================================================
   CTA
===================================================== */

.works-cta {
    width: min(1000px, calc(100% - 60px));

    min-height: 88px;

    margin: 10px auto 45px;

    border: 1px solid #e5e5e5;

    border-radius: 7px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    text-align: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(94, 207, 255, .15),
            rgba(255,255,255,.5),
            rgba(255,216,103,.15)
        );
}

.works-cta p {
    font-family: "Caveat", cursive;

    font-size: 15px;

    margin-bottom: 2px;

    color: #222;
}

.works-cta a {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    background: #111;

    color: #fff;

    font-size: 7px;

    padding: 5px 10px;

    border-radius: 20px;

    transition: .25s ease;
}

.works-cta a:hover {
    background: #2f6ee5;

    transform: translateY(-2px);
}

.works-cta a span {
    font-size: 9px;
}


/* =====================================================
   MERCHANDISE
===================================================== */

.merchandise-section {
    padding-top: 0;
}

.merchandise-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 5px;
}

.merch-card {
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #eee;
}

.merch-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.merch-card:hover img {
    transform: scale(1.04);
}


/* BUS */

.merch-card.merch-wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}


/* =====================================================
   DIGITAL / WEBSITE
===================================================== */

.digital-section {
    padding-top: 0;
}

.website-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    align-items: start;
}

.website-project {
    text-align: center;
}

.website-project img {
    width: 100%;

    height: 210px;

    object-fit: contain;

    background: #fff;
}

.website-project h4 {
    font-family: "Caveat", cursive;

    font-size: 12px;

    font-weight: 500;

    margin-top: 4px;
}


/* =====================================================
   FINAL CTA
===================================================== */

.final-cta {
    margin-top: 15px;

    margin-bottom: 60px;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {
    background: #2468e8;

    color: white;

    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.3fr;

    gap: 50px;
}

.footer-logo {
    font-size: 15px;

    font-weight: 800;
}

.footer-about p {
    max-width: 290px;

    margin-top: 13px;

    font-size: 9px;

    opacity: .85;
}

.footer h4 {
    font-size: 10px;

    margin-bottom: 14px;
}

.footer a:not(.footer-logo) {
    display: block;

    font-size: 8px;

    margin: 8px 0;

    opacity: .85;
}

.footer-bottom {
    border-top:
        1px solid rgba(255,255,255,.25);

    margin-top: 40px;

    padding-top: 15px;

    display: flex;

    justify-content: space-between;

    font-size: 8px;

    opacity: .8;
}


/* =====================================================
   FILTER ANIMATION
===================================================== */

.portfolio-hidden {
    display: none !important;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .navbar {
        height: 63px;

        padding: 0 12px;
    }

    .logo img {
        width: 100px;
    }

    .nav-links,
    .quote-btn {
        display: none;
    }

    .menu-button {
        display: flex;
    }

    .portfolio-section {
        width: calc(100% - 40px);
    }

    .works-cta {
        width: calc(100% - 40px);
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .works-hero {
        padding-top: 35px;

        padding-bottom: 25px;
    }

    .works-hero h1 {
        font-size: 30px;

        margin-bottom: 24px;
    }

    .work-filters {
        padding: 0 10px;

        gap: 4px;
    }

    .filter-btn {
        font-size: 7px;

        padding: 6px 9px;
    }


    /* BRANDING */

    .branding-grid {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .brand-left {
        grid-template-rows:
            repeat(4, 130px);
    }

    .brand-right {
        grid-template-rows:
            repeat(2, 230px);
    }


    .branding-bottom {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .branding-logo-card {
        height: 130px;
    }

    .branding-wide {
        grid-column: 1 / -1;

        height: 120px;
    }


    /* MERCH */

    .merchandise-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .merch-card {
        height: 145px;
    }

    .merch-card.merch-wide {
        grid-column: span 2;
    }


    /* WEBSITE */

    .website-grid {
        grid-template-columns: 1fr;
    }

    .website-project img {
        height: auto;

        max-height: 280px;
    }


    /* CTA */

    .works-cta {
        min-height: 85px;

        margin-bottom: 35px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 6px;
    }

}


/* =====================================================
   SMALL PHONES
===================================================== */

@media (max-width: 430px) {

    .portfolio-section {
        width: calc(100% - 30px);
    }

    .works-cta {
        width: calc(100% - 30px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .merchandise-grid {
        gap: 4px;
    }

    .merch-card {
        height: 120px;
    }

}