:root {
    --nav-height: 90px;
    --nav-scroll-height: 70px;
    --color-text-top: #FFFFFF;
    --color-text-scroll: #0F0F0F;
    --color-accent: #65b3dc;
    --bg-scroll: rgba(255, 255, 255, 0.98);
    --bg-mobile: #F3E9DE;
    --walnut: #6B4F32;
    --trans-speed: 0.4s;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all var(--trans-speed) var(--ease-in-out);
    background-color: transparent;
    color: var(--color-text-top);
}

.site-header.scrolled {
    height: var(--nav-scroll-height);
    background-color: var(--bg-scroll);
    color: var(--color-text-scroll);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1440px;
    width: 92%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 1002;
}

.brand-logo img {
    height: 40px;
    width: auto;
    transition: filter var(--trans-speed) ease;
}

.site-header:not(.scrolled) .brand-logo img {
    filter: brightness(0) invert(1);
}

.desktop-nav {
    display: none;
    height: 100%;
}

.nav-list {
    display: flex;
    gap: 3vw;
    align-items: center;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: currentColor;
    position: relative;
    padding: 25px 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-in-out);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--color-accent);
}

.dropdown-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.has-icon {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chevron {
    width: 8px;
    height: 8px;
    transition: transform 0.3s ease;
}

.dropdown-item:hover .chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #FFFFFF;
    min-width: 240px;
    padding: 15px 0;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-top: 3px solid var(--color-accent);
    list-style: none;
}

.dropdown-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    color: var(--color-text-scroll);
    font-size: 13px;
    text-decoration: none;
    font-family: system-ui, sans-serif;
    transition: background 0.2s, color 0.2s;
    text-transform: capitalize;
}

.dropdown-menu li a:hover {
    background: #FAFAFA;
    color: var(--color-accent);
    padding-left: 30px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-button {
    padding: 12px 28px;
    background-color: var(--color-text-top);
    color: var(--color-text-scroll);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: none;
}

.site-header.scrolled .cta-button {
    background-color: var(--walnut);
    color: #FFFFFF;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--color-accent);
    color: #FFFFFF;
}

.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger-box {
    width: 24px;
    height: 20px;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hamburger-inner { top: 9px; }
.hamburger-inner::before { content: ''; top: -8px; }
.hamburger-inner::after { content: ''; top: 8px; }

.mobile-toggle.is-active .hamburger-inner {
    background-color: transparent;
}
.mobile-toggle.is-active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--color-text-scroll);
}
.mobile-toggle.is-active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--color-text-scroll);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-mobile);
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-in-out);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.mobile-overlay.is-open {
    transform: translateX(0);
}

.mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-link, .mobile-drop-btn {
    display: block;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 2.5rem;
    color: var(--walnut);
    text-decoration: none;
    margin-bottom: 25px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
    width: 100%;
    transition: color 0.3s;
}

.mobile-link:hover, .mobile-drop-btn:hover {
    color: var(--color-accent);
}

.mobile-sublist {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 5px;
    border-left: 2px solid rgba(107, 79, 50, 0.1);
}

.mobile-sublist li a {
    display: block;
    font-size: 1.1rem;
    color: #58626B;
    padding: 12px 0;
    text-decoration: none;
    font-family: system-ui, sans-serif;
}

.mobile-footer {
    margin-top: auto;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 30px;
}

.mobile-phone {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--walnut);
    text-decoration: none;
    margin-top: 10px;
}

@media (min-width: 1024px) {
    .desktop-nav { display: block; }
    .mobile-toggle { display: none; }
    .cta-button { display: inline-block; }
    .brand-logo img { height: 45px; }
}

@media (max-width: 1023px) {
    .site-header {
        background-color: transparent;
        color: var(--color-text-top);
    }
    .site-header.scrolled {
        background-color: var(--bg-scroll);
        color: var(--color-text-scroll);
    }
    .mobile-overlay { padding-top: 100px; }
}




:root {
    --sky-walnut: #0F0F0F;
    --sky-sand: #F3E9DE;
    --sky-gold: #65b3dc;
    --sky-black: #0F0F0F;
    --sky-green: #2F5D45;
    --font-head: system-ui;
    --font-body: 'Inter', sans-serif;
}

.sky-footer {
    position: relative;
    background-color: var(--sky-walnut);
    color: var(--sky-sand);
    padding: 80px 5% 40px;
    overflow: hidden;
    font-family: var(--font-body);
    z-index: 100;
}

.footer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(47, 93, 69, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--sky-sand);
}

.logo-icon {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sky-gold);
    border: 1px solid var(--sky-gold);
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 8px 0 8px 0;
}

.logo-text {
    font-family: var(--font-head);
    font-size: 1.25rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.footer-address {
    font-style: normal;
    opacity: 0.9;
    line-height: 1.6;
}

.company-name {
    font-weight: 600;
    color: var(--sky-gold);
    margin-bottom: 8px;
}

.footer-phone {
    display: inline-block;
    margin-top: 15px;
    color: var(--sky-sand);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--sky-gold);
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: var(--sky-gold);
}

.footer-nav {
    display: flex;
    justify-content: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.magnetic-link {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--sky-sand);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.magnetic-link:hover {
    color: var(--sky-gold);
    transform: translateX(10px);
}

.footer-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.cta-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--sky-gold);
    color: var(--sky-walnut);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: transform 0.3s ease;
}

.cta-text {
    z-index: 2;
    font-family: var(--font-head);
    font-size: 1.1rem;
    line-height: 1.2;
}

.cta-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--sky-gold);
    animation: wave 2s infinite;
    z-index: 1;
}

@keyframes wave {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.footer-bottom {
    border-top: 1px solid rgba(243, 233, 222, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: var(--sky-sand);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-legal a:hover {
    opacity: 0.6;
}

#back-to-top {
    background: transparent;
    border: 1px solid var(--sky-sand);
    color: var(--sky-sand);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#back-to-top:hover {
    background: var(--sky-sand);
    color: var(--sky-walnut);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-nav {
        justify-content: flex-start;
        border-top: 1px solid rgba(243, 233, 222, 0.1);
        border-bottom: 1px solid rgba(243, 233, 222, 0.1);
        padding: 30px 0;
    }

    .footer-action {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .sky-footer {
        padding: 50px 20px 30px;
    }

    .magnetic-link {
        font-size: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        order: -1;
    }
}


/* --- VARIABLES (Inheriting from your Dark Theme) --- */
:root {
    --pop-bg: #141414;
    --pop-border: rgba(255, 255, 255, 0.1);
    --pop-text: #F3E9DE;
    --pop-accent: #65b3dc; /* Sky Blue */
    --pop-overlay: rgba(0, 0, 0, 0.7);
    --font-head: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- COOKIE BANNER --- */
.cookie-bar {
    position: fixed;
    bottom: -100px; /* Hidden initially */
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--pop-border);
    padding: 20px;
    z-index: 9999;
    transition: bottom 0.6s var(--ease-smooth);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
}

.cookie-bar.active {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--pop-text);
    margin: 0;
    max-width: 700px;
    line-height: 1.5;
}

.text-link {
    color: var(--pop-accent);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--pop-border);
    color: rgba(243, 233, 222, 0.7);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-ghost:hover {
    border-color: #fff;
    color: #fff;
}

.btn-solid {
    background: var(--pop-accent);
    border: none;
    color: #000;
    padding: 8px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-solid:hover {
    background: #fff;
}

/* --- LEAD GEN / PROMO MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pop-overlay);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--pop-bg);
    width: 100%;
    max-width: 800px;
    border-radius: 12px;
    border: 1px solid var(--pop-border);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s var(--ease-smooth);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.close-icon:hover {
    color: #fff;
    transform: rotate(90deg);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Modal Image Side */
.modal-image {
    background: #222;
    position: relative;
    overflow: hidden;
}

.modal-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px; /* For mobile height */
}

/* You should ideally replace the gradient above with a real image URL in CSS if available */
.modal-img-placeholder { background-image: url('../images/aboutpic2.webp'); background-size: cover; }

.img-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    border-radius: 50px;
}

/* Modal Content Side */
.modal-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-tag {
    color: var(--pop-accent);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.modal-headline {
    font-family: var(--font-head);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.1;
}

.modal-desc {
    color: rgba(243, 233, 222, 0.7);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.modal-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.modal-benefits li {
    font-size: 0.8rem;
    color: #fff;
    background: rgba(255,255,255,0.05);
    padding: 5px 10px;
    border-radius: 4px;
}

.btn-cta-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--pop-accent);
    color: #000;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-cta-modal:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(101, 179, 220, 0.2);
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr; /* Stack vertically */
    }

    .modal-image {
        height: 180px; /* Smaller image height on mobile */
    }

    .modal-content {
        padding: 30px 20px;
        text-align: center;
    }

    .modal-headline {
        font-size: 1.5rem;
    }

    .modal-benefits {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 15px;
    }

    .cookie-actions {
        justify-content: center;
        width: 100%;
    }

    .btn-ghost, .btn-solid {
        flex: 1; /* Full width buttons shared */
    }
}
