/* ── HEADER / NAV / HERO ── */

.site-header {
    background-image: url('../images/heroimg4.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 950px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 120px;
    position: relative;
}

.logo-link {
    display: inline-block;
}

.logo-img {
    width: 175px;
    height: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
}

.navbar {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 65px;
}

.navbar li a {
    position: relative;
    text-align: center;
    font-family: Montserrat, sans-serif;
    color: #000;
    text-decoration: none;
}

.navbar li a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F0956A;
    transition: 0.3s;
}

.navbar li a:hover::before {
    width: 100%;
}

.navbar li a:hover {
    color: #F0956A;
    font-weight: 500;
}

.socials {
    display: flex;
    align-items: center;
    gap: 7px;
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    cursor: pointer;
    transition: opacity 0.2s;
}

.social-icon:hover {
    opacity: 0.65;
}

/* ── PAGE HEADER OVERRIDES ── */

.products-header,
.blog-header {
    height: 180px;
}

/* Active nav link */
.navbar li a.active {
    color: #F0956A;
    font-weight: 500;
}

.navbar li a.active::before {
    width: 100%;
}

.products-header .logo-img, .blog-header .logo-img {
    width: 130px;
    height: auto;
}

.products-header .nav, .blog-header .nav {
    padding: 30px 120px;
}

/* Hero content */
.hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

.hero-title {
    font-weight: 400;
    font-family: 'Times New Roman', Times, serif;
}

.hero-btn {
    background-color: transparent;
    border: 1px solid black;
    padding: 15px 30px;
    font-size: 14px;
    font-family: Montserrat, sans-serif;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hero-btn:hover {
    transform: scale(1.02);
}

/* ── STICKY NAV ── */

.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 120px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transform: translateY(-100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 900;
    box-sizing: border-box;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav-logo img {
    height: 100px;
    width: auto;
    display: block;
}

.sticky-nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 65px;
}

.sticky-nav-links li a {
    position: relative;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}

.sticky-nav-links li a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F0956A;
    transition: 0.3s;
}

.sticky-nav-links li a:hover::before {
    width: 100%;
}

.sticky-nav-links li a:hover {
    color: #F0956A;
}

.sticky-nav-links li a.active {
    color: #F0956A;
    font-weight: 500;
}

.sticky-nav-links li a.active::before {
    width: 100%;
}

.sticky-nav-socials {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sticky-nav-socials img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.sticky-nav-socials img:hover {
    opacity: 0.6;
}

/* ── HAMBURGER ── */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.nav-overlay.open {
    display: block;
}

/* ── RESPONSIVE ── */

@media (max-width: 1130px) {
    .sticky-nav {
        display: none;
    }

    .nav {
        padding: 20px 20px;
    }

    .logo-img {
        width: 130px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100%;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 80px 40px 40px;
        transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        z-index: 1000;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.08);
        gap: 40px;
        overflow-y: auto;
    }

    .nav-right.open {
        right: 0;
    }

    .navbar {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 24px;
    }

    .navbar li a {
        font-size: 18px;
    }

    .site-header {
        height: auto;
        min-height: 520px;
    }

    .products-header,
    .blog-header {
        min-height: 0;
        height: auto;
        padding-bottom: 20px;
    }

    .hero-title {
        text-align: center;
    }
}
