/* =========================================
   BRADCHEM - SERVICES PAGE
========================================= */

:root {
    --blue: #3804FC;
    --blue-dark: #2500b8;
    --dark: #111827;
    --text: #374151;
    --muted: #6b7280;
    --light: #f7f8fc;
    --white: #ffffff;
    --border: #e5e7eb;
}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background: white;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   CONTAINER
========================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   TOP BAR
========================================= */

.top-bar {
    background: #111827;
    color: #d1d5db;
    font-size: 13px;
}

.top-bar-inner {
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-bar strong {
    color: white;
}


/* =========================================
   HEADER
========================================= */

.main-header {
    background: white;
    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;

    z-index: 1000;
}

.header-inner {
    min-height: 92px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.logo img {
    width: 190px;
}


/* =========================================
   NAVIGATION
========================================= */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-navigation a {
    position: relative;

    font-size: 14px;
    font-weight: 600;

    color: var(--dark);

    transition: color 0.2s ease;
}

.main-navigation a:hover {
    color: var(--blue);
}

.main-navigation a.active {
    color: var(--blue);
}

.main-navigation a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -10px;

    height: 2px;

    background: var(--blue);
}

.main-navigation .nav-pricelist {
    background: var(--blue);
    color: white;

    padding: 11px 18px;

    border-radius: 6px;
}

.main-navigation .nav-pricelist:hover {
    background: var(--blue-dark);
    color: white;
}

.main-navigation .nav-pricelist::after {
    display: none;
}


/* =========================================
   MOBILE MENU
========================================= */

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    cursor: pointer;

    padding: 8px;
}

.menu-toggle span {
    display: block;

    width: 26px;
    height: 2px;

    background: var(--dark);

    margin: 5px 0;
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    min-height: 430px;

    position: relative;

    display: flex;
    align-items: center;

    background-image:
        url("../images/servicesbg.jpg");

    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(17, 24, 39, 0.90),
            rgba(17, 24, 39, 0.55),
            rgba(17, 24, 39, 0.20)
        );
}

.page-hero-content {
    position: relative;
    z-index: 1;

    color: white;

    padding: 70px 0;
}

.eyebrow {
    display: inline-block;

    color: #dbe3ff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 68px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 22px;
}

.page-hero p {
    max-width: 650px;

    font-size: 18px;

    color: #e5e7eb;
}


/* =========================================
   INTRO
========================================= */

.services-intro {
    padding: 100px 0;

    background: white;
}

.services-intro-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.services-image {
    position: relative;
}

.services-image::after {
    content: "";

    position: absolute;

    width: 100%;
    height: 100%;

    border: 3px solid var(--blue);

    top: 20px;
    left: 20px;

    z-index: 0;

    border-radius: 12px;
}

.services-image img {
    position: relative;

    z-index: 1;

    width: 100%;
    height: 420px;

    object-fit: cover;

    border-radius: 12px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);
}

.services-content {
    max-width: 650px;
}

.section-label {
    display: inline-block;

    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 12px;
}

.services-content h2 {
    color: var(--dark);

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    margin-bottom: 25px;
}

.services-content p {
    color: var(--muted);

    font-size: 16px;

    margin-bottom: 18px;
}


/* =========================================
   SERVICE AREAS
========================================= */

.service-areas {
    padding: 100px 0;

    background: var(--light);
}

.section-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}

.section-heading h2 {
    color: var(--dark);

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    margin-bottom: 18px;
}

.section-heading p {
    color: var(--muted);

    font-size: 16px;
}


/* =========================================
   SERVICE GRID
========================================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}

.service-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 10px;

    padding: 28px;

    min-height: 205px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-icon {
    color: var(--blue);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 18px;
}

.service-card h3 {
    color: var(--dark);

    font-size: 18px;

    line-height: 1.3;

    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);

    font-size: 14px;
}


/* =========================================
   FLYER
========================================= */

.flyer-section {
    padding: 100px 0;

    background: white;
}

.flyer-grid {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: center;
}

.flyer-content {
    max-width: 650px;
}

.flyer-content h2 {
    color: var(--dark);

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1.15;

    letter-spacing: -1.5px;

    margin-bottom: 20px;
}

.flyer-content p {
    color: var(--muted);

    margin-bottom: 28px;
}

.flyer-preview {
    position: relative;

    display: block;

    max-width: 360px;

    margin-left: auto;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);
}

.flyer-preview img {
    width: 100%;

    transition:
        transform 0.35s ease;
}

.flyer-preview:hover img {
    transform: scale(1.03);
}

.flyer-preview span {
    position: absolute;

    left: 15px;
    bottom: 15px;

    background:
        rgba(17, 24, 39, 0.85);

    color: white;

    padding: 7px 12px;

    border-radius: 5px;

    font-size: 12px;
    font-weight: 600;
}


/* =========================================
   BUTTON
========================================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 13px 24px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--blue);

    color: white;
}

.btn-primary:hover {
    background: var(--blue-dark);

    transform: translateY(-2px);
}

.btn-light {
    background: white;

    color: var(--blue);
}

.btn-light:hover {
    background: #f3f4f6;

    transform: translateY(-2px);
}


/* =========================================
   CTA
========================================= */

.services-cta {
    padding: 90px 0;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-dark)
        );

    color: white;
}

.cta-content {
    max-width: 760px;

    margin: 0 auto;

    text-align: center;
}

.cta-content .section-label {
    color: #dbe3ff;
}

.cta-content h2 {
    font-size: clamp(32px, 5vw, 50px);

    line-height: 1.1;

    margin-bottom: 20px;
}

.cta-content p {
    color: #e0e7ff;

    max-width: 650px;

    margin: 0 auto 30px;
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #111827;

    color: #d1d5db;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr 1fr 1.2fr 1fr;

    gap: 50px;

    padding: 70px 0;
}

.footer-brand img {
    width: 200px;

    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 300px;

    color: #9ca3af;

    font-size: 14px;
}

.footer-column h3 {
    color: white;

    font-size: 15px;

    margin-bottom: 20px;
}

.footer-column a {
    display: block;

    color: #9ca3af;

    font-size: 14px;

    margin-bottom: 10px;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-column p {
    color: #9ca3af;

    font-size: 14px;

    margin-bottom: 15px;
}

.footer-bottom {
    border-top:
        1px solid rgba(255,255,255,0.1);
}

.footer-bottom-inner {
    min-height: 65px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom p {
    color: #6b7280;

    font-size: 12px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .main-navigation {
        gap: 18px;
    }

    .main-navigation a {
        font-size: 13px;
    }

    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 780px) {

    .container {
        width: min(100% - 30px, 600px);
    }


    /* TOP BAR */

    .top-bar-inner {
        justify-content: center;

        text-align: center;

        padding: 9px 0;
    }

    .top-bar-inner span:first-child {
        display: none;
    }


    /* HEADER */

    .header-inner {
        min-height: 75px;
    }

    .logo img {
        width: 160px;
    }

    .menu-toggle {
        display: block;
    }


    /* NAVIGATION */

    .main-navigation {
        position: absolute;

        top: 75px;

        left: 0;
        right: 0;

        background: white;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 20px 20px;

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 15px 30px rgba(0,0,0,0.08);
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation a {
        padding: 13px 0;

        font-size: 15px;
    }

    .main-navigation a.active::after {
        display: none;
    }

    .main-navigation .nav-pricelist {
        text-align: center;

        margin-top: 8px;

        padding: 12px;
    }


    /* HERO */

    .page-hero {
        min-height: 390px;
    }

    .page-hero-content {
        padding: 60px 0;
    }

    .page-hero h1 {
        letter-spacing: -1px;
    }

    .page-hero p {
        font-size: 16px;
    }


    /* INTRO */

    .services-intro {
        padding: 70px 0;
    }

    .services-intro-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .services-image img {
        height: 350px;
    }


    /* SERVICES */

    .service-areas {
        padding: 70px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }


    /* FLYER */

    .flyer-section {
        padding: 70px 0;
    }

    .flyer-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .flyer-preview {
        margin: 0 auto;

        max-width: 320px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 55px 0;
    }

    .footer-bottom-inner {
        flex-direction: column;

        justify-content: center;

        padding: 20px 0;

        text-align: center;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .page-hero {
        min-height: 350px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .services-image img {
        height: 280px;
    }

    .services-image::after {
        top: 12px;
        left: 12px;
    }

}