/* CSS Custom Properties */
:root {
    --primary-bg: #e5ecf7;
    --text-white: #000000;
    --highlight: #ffcb1f;
    --text-gray: #e0e0e0;
    --divider: #676767;
    --border-gray: #575757;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Flex', Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--primary-bg);
    color: var(--text-white);
}

a {
    color: inherit;
    text-decoration: none;
}

/* Animations */
@keyframes pulse-gentle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.pulse-resume {
    animation: pulse-gentle 2s ease-in-out infinite;
    display: inline-block;
}

/* -------------------------------------------------
   HERO SECTION – Full-Screen Background Image
   ------------------------------------------------- */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('/images/SB-banner3.jpg') no-repeat center center/cover;
    background-color: #d58d8d;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

/* Dark overlay */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.4);
    z-index: 1;
}

/* -------------------------------------------------
   NAVIGATION BAR – Desktop & Mobile
   ------------------------------------------------- */

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;                      /* Horizontal only – no vertical padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 88px;                         /* Full fixed height for desktop */
    box-sizing: border-box;
    z-index: 1000;
}

.nav-container::before {
    content: '';
    position: fixed;
    inset: 0 0 auto 0;
    height: 88px;
    background: rgba(255, 203, 31, 1.0);
    backdrop-filter: blur(8px);
    z-index: -1;
}

/* Logo wrapper – gives exactly 20px above/below the logo */
.logo-wrapper {
    padding: 20px 0;
    display: flex;
    align-items: center;                 /* Centers logo vertically in padded space */
    height: 100%;                        /* Fills the full container height */
    box-sizing: border-box;
}

.logo-wrapper img {
    height: 4vw;
    min-height: 38px;
    max-height: 48px;
    width: auto;
    display: block;
}

.logo-brands img {
    height: 4vw;
    min-height: 48px;
    max-height: 78px;
    width: auto;
}

/* Desktop Nav Links */
nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #000000;
    font-weight: 200;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffffff;
	}

/* Mobile Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000000;            /* Hamburger stays black */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle span { top: 50%; transform: translateY(-50%); }
.menu-toggle span::before { top: -9px; }
.menu-toggle span::after { top: 9px; }

.menu-toggle.active span { background: transparent; }

/* Only the X lines change to white for strong contrast on yellow */
.menu-toggle.active span::before,
.menu-toggle.active span::after {
    background: #ffffff;            /* White X = very visible on yellow */
    top: 0;
}

.menu-toggle.active span::before { transform: rotate(45deg); }
.menu-toggle.active span::after { transform: rotate(-45deg); }

/* Hero Text */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-title {
    font-size: 4.5rem;
    color: #ffffff !important;
    font-weight: 400;
    line-height: 1.0;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 200;
    color: var(--text-gray);
    line-height: 1.3;
}

/* -------------------------------------------------
   BANNER SECTIONS & MAIN CONTENT
   ------------------------------------------------- */
.banner-section {
    width: 100%;
    position: relative;
    background: var(--primary-bg);
}

.banner-container {
    width: 100%;
    height: 18vh;
    background: var(--banner-bg, #19283f);
    background-size: cover;
    background-position: center;
}

.banner-container.use-bg-color img { display: none; }

.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 5rem 30px;
}

/* Existing .section-title kept as-is (for backward compatibility) */
.section-title {
    font-size: 4rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 2rem;
}

/* NEW: Proper semantic <h2> styling – matches your design perfectly */
h2 {
    font-size: 4rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 2rem;
    line-height: 1.2;
}

/* Mobile override for h2 */
@media (max-width: 768px) {
    h2 {
        font-size: 2.4rem;
    }
}

.section-content,
.list-item p {
    font-size: 1.9rem;
    font-weight: 200;
    line-height: 1.7;
    color: var(--text-white);
}

.list-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0;
}

.list-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--divider);
}

.list-item h3 {
    font-size: 2rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: 0.8rem;
}

.list-item p {
    font-size: 1.4rem;
    color: #000000;
}

.email-link {
    color: #000000;
    font-size: 1.4rem;
    transition: color 0.4s ease;
}

.email-link:hover {
    color: var(--highlight);
}

/* Footer */
footer {
    text-align: center;
    padding: 6rem 0 0rem;
    color: #000000;
    font-weight: 200;
}

footer a.footer-link p {
    display: inline-block;
    transition: color 0.3s;
}

footer a.footer-link:hover p {
    color: var(--highlight);
}

/* ========================================
   RESPONSIVE – MOBILE (≤768px)
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    /* Mobile nav fixes */
    .nav-container {
        padding: 0 20px;                 /* No vertical padding */
        height: 80px;                    /* Fixed height for mobile */
        align-items: center;
    }

    .nav-container::before {
        height: 80px;                    /* Matches container height */
    }

    /* Slightly reduce logo breathing room on mobile (optional – change to 20px if you want identical) */
    .logo-wrapper {
        padding: 15px 0;                 /* 15px top/bottom on mobile */
    }

    .logo-wrapper img {
        height: 38px;                    /* Fixed height on mobile as before */
    }

    .logo-brands img {
        height: 48px;
    }

    /* Show hamburger */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile sliding menu */
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(12px);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.35s ease, opacity 0.35s ease;
        padding: 100px 0 60px;
        z-index: 999;
        overflow-y: auto;
    }

    nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0 2rem;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        width: 100%;
        padding: 1.4rem 0;
        font-size: 1.45rem;
        font-weight: 300;
        color: #ffffff !important;
        text-align: left;
        transition: all 0.3s ease;
    }

    .email-link {
        color: #000000;
        font-size: 1.3rem;
    }

    .email-link:hover {
        color: var(--highlight);
    }

    .main-content {
        padding: 3rem 20px;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .section-content,
    .list-item h3 {
        font-size: 1.3rem;
    }

    .list-item p {
        font-size: 1.1rem;
    }
}