/* === CSS VARIABLES & RESET === */
:root {
    /* Color Palette */
    --color-bg: #FAFAFA;
    --color-bg-alt: #F0F2F0;
    --color-text: #2D3135;
    --color-text-light: #5A6268;
    --color-accent: #2C4A3B; /* Muted Forest Green */
    --color-wood: #BFA588; /* Warm wood tone */
    --color-white: #FFFFFF;
    
    /* Layout */
    --nav-height: 110px;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Box Shadows */
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-title.text-left {
    text-align: left;
}
.section-title.text-left::after {
    left: 0;
    transform: none;
}

.alt-bg {
    background-color: var(--color-bg-alt);
}

/* === NAVIGATION (GLASSMORPHISM) === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}


.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: none; /* Removed from top nav */
}

.nav-logo img {
    height: auto;
    max-height: 85px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
    position: relative;
    padding-bottom: 20px; /* Space for the line */
}

@media (min-width: 769px) {
    .nav-links::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
        transition: background-color 0.4s ease;
    }
    
    .navbar.scrolled .nav-links::after {
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.15), transparent);
    }
}

.nav-links a {
    font-size: clamp(1.1rem, 1.1vw, 1.5rem);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    display: inline-block;
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

@media (min-width: 769px) {
    .navbar.scrolled .nav-links a {
        color: var(--color-text);
        text-shadow: none;
    }
}

.nav-links a:hover {
    color: var(--color-wood);
    transform: translateY(-2px);
    text-shadow: 0 2px 8px rgba(191,165,136,0.3);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-wood);
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn .bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 80px;
    color: var(--color-white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.65) 100%);
}

.hero-content {
    max-width: clamp(600px, 80vw, 1800px);
    padding: 0 5%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-content h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    display: none; /* Hide old text heading since we use the logo */
}

.hero-text-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2vw, 3rem);
    max-width: 950px;
    width: 100%;
    
    /* Minimalistischer, extrem subtiler Glassmorphismus */
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 24px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-white-logo {
    width: 100%;
    /* Reduced by ~10% (was 250px, 25vw, 600px) */
    max-width: clamp(225px, 22.5vw, 540px);
    margin-bottom: clamp(2.5rem, 4vw, 4.5rem);
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
    transition: var(--transition);
}

.hero-content .subtitle {
    font-size: clamp(1.3rem, 1.5vw, 2.4rem);
    font-weight: 300;
    color: var(--color-wood);
    margin-bottom: clamp(0.5rem, 0.8vw, 1.2rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.about-text {
    font-size: clamp(1.05rem, 1.1vw, 1.8rem);
    font-weight: 300;
    margin-bottom: clamp(1.5rem, 2vw, 3rem);
    color: rgba(255,255,255,0.95);
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    width: 100%;
}

.features-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: clamp(1.05rem, 1.1vw, 1.6rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

.features-list .icon {
    color: var(--color-wood);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-top: 2px;
}

/* === PRODUCTS GRID (ICON CARDS) === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px 24px 32px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    cursor: default;
}



.product-icon-wrapper {
    width: 84px;
    height: 84px;
    margin: 0 auto 20px;
    background: var(--color-bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}



.product-icon-wrapper img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
    filter: brightness(0) saturate(100%) opacity(0.8);
}

/*
  Per-icon size compensation:
  Each PNG has different amounts of transparent padding around its artwork.
  These values are calculated so all icons appear visually the same size.
  Formula: base_size * sqrt(reference_fill_pct / icon_fill_pct)
  Reference: Parkettböden (57.6% fill) @ 46px base
*/
.product-icon-wrapper img[alt="Nadelhölzer Icon"]    { width: 61px;  height: 61px;  }
.product-icon-wrapper img[alt="Laubhölzer Icon"]     { width: 74px;  height: 74px;  }
.product-icon-wrapper img[alt="Bauholz Icon"]        { width: 55px;  height: 55px;  }
.product-icon-wrapper img[alt="Hobelware Icon"]      { width: 78px;  height: 78px;  }
.product-icon-wrapper img[alt="Furnier Icon"]        { width: 58px;  height: 58px;  }
.product-icon-wrapper img[alt="Rundholz Icon"]       { width: 62px;  height: 62px;  }
.product-icon-wrapper img[alt="Verpackungsholz Icon"]{ width: 52px;  height: 52px;  }
.product-icon-wrapper img[alt="Parkettböden Icon"]   { width: 46px;  height: 46px;  }
.product-icon-wrapper img[alt="Brennholz Icon"]      { width: 74px;  height: 74px;  }

.product-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-card p {
    color: var(--color-text-light);
    font-size: 0.88rem;
    margin: 0;
    line-height: 1.5;
}

/* === SERVICES GRID === */
.wood-bg {
    position: relative;
    background: url('../assets/images/leistungen_bg_hires.webp') center/cover no-repeat;
    /* In case the wood is slightly too varied, an ultra-light thin white wash can help readbility, but it looks like a clean texture so we'll just use it directly. We ensure text is dark. */
    color: var(--color-text);
}

.wood-bg .section-title {
    color: var(--color-primary);
}

.wood-bg .section-title::after {
    background-color: var(--color-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* === CERTIFICATION === */
.cert-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.cert-content {
    flex: 1;
}

.cert-content h3 {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.cert-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cert-image {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* === GALLERY === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 74, 59, 0.4); /* Accent color with opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.zoom-icon {
    font-size: 2rem;
    color: white;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* === GALLERY RESPONSIVE BENTO GRID === */
.gallery-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 350px;
    gap: 24px;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.btn-outline:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* === GALLERY POPUP OVERLAY (LIGHTBOX) === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2100;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 4rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.2s, transform 0.2s;
    z-index: 2200;
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover, .lightbox-next:hover {
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-hint {
    text-align: center;
    margin-top: 2rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* === CONTACT === */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--color-white);
    padding: 60px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    align-items: stretch;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 1.15rem;
}

.contact-details a {
    color: var(--color-accent);
}

.contact-details a:hover {
    text-decoration: underline;
}

.map-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
}

.map-wrapper iframe {
    flex: 1;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* === MOBILE ONLY UTILITY === */
.mobile-only {
    display: none;
}

/* === WHATSAPP BUTTON === */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #25D366;
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #1EBE5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.btn-primary {
    background-color: var(--color-text);
    color: var(--color-white);
    border: none;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* === FOOTER === */
.footer {
    background-color: #1A1D20;
    color: #F0F0F0;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.impressum h3 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.impressum p {
    margin-bottom: 6px;
    color: #BBBBBB;
}

.impressum a {
    color: #BBBBBB;
}

.impressum a:hover {
    color: var(--color-white);
}

.footer-logo img {
    height: 120px;
    border-radius: 4px;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    color: #888888;
    font-size: 0.9rem;
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === SCROLL TO TOP BUTTON === */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-top-btn.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.scroll-top-btn:hover {
    background-color: var(--color-text);
    transform: translateY(-5px);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-info .section-title.text-left::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .contact-info .section-title.text-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; font-size: 2.5rem; }
    .lightbox-next { right: 10px; font-size: 2.5rem; }
    .lightbox-close { top: 15px; right: 20px; font-size: 2.5rem; }
    
    .hero-section {
        padding-top: 1.5rem; /* Force hero content right to the top to align with hamburger */
    }
    
    .hero-white-logo {
        align-self: center;
        max-width: 250px;
        margin-top: 0.5rem; /* slight spacing so it doesn't collide optically with absolute hamburger bounds */
        margin-bottom: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .features-list li {
        justify-content: center;
    }
    
    .gallery-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }
    
    .navbar {
        background: transparent;
        border-bottom: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    
    .navbar {
        height: 0;
        min-height: 0;
    }
    
    html {
        scroll-padding-top: 0px;
    }
    
    .nav-container {
        padding: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: fixed !important;
        top: 1.2rem;
        right: 1.2rem;
        z-index: 10000;
        padding: 10px;
        border-radius: 8px;
        transition: background 0.3s ease;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }

    .mobile-menu-btn.scrolled-btn {
        background: rgba(0, 0, 0, 0.55);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    /* Hide hamburger when lightbox is open to clear way for Close (X) */
    body.lightbox-open .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-menu-btn .bar {
        background-color: var(--color-white);
    }
    
    /* When nav is open, the bars should stay white to contrast with the dark background image */
    .mobile-menu-btn.active .bar {
        background-color: var(--color-white);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(rgba(0,0,0,0.95), rgba(0,0,0,0.95)), url("../assets/images/hero_bg_compressed.webp") center/cover no-repeat;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        box-shadow: none;
        z-index: 1000;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
        padding: 80px 20px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
        font-size: 1.6rem;
        font-weight: 300;
        color: var(--color-white);
        border-bottom: none;
        letter-spacing: 2px;
        text-transform: uppercase;
        transform-style: flat;
        transition: color 0.3s ease;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .nav-links a:hover {
        color: var(--color-wood);
        transform: none;
        text-shadow: none;
    }
    
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center;
    }

    .mobile-only {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-card {
        padding: 28px 16px 24px;
    }

    .product-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .product-icon-wrapper img {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 24px 12px 20px;
        border-radius: 14px;
    }

    .product-card h3 {
        font-size: 1rem;
    }
}
