
/* Globals */
html {
    scroll-behavior: smooth;
}
body {
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #111;
}
::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
    background: #666;
}
/* Adjust content margin for fixed image and secondary menu (desktop) */
.w-2\/3.ml-\[33\.333333\%\] {
    margin-left: 33.333333%;
    margin-right: 250px;
    min-height: 100vh;
    transition: margin 0.3s ease;
}

/* Animation for zone selection */
@keyframes zone-pulse {
    0% { background-color: rgba(0, 150, 255, 0.3); }
    50% { background-color: rgba(0, 150, 255, 0.6); }
    100% { background-color: rgba(0, 150, 255, 0.3); }
}

.zone-pulse {
    animation: zone-pulse 2s infinite;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Image zones becomes a top banner */
    image-zones {
        position: relative !important;
        width: 100% !important;
        height: 40vh !important;
        left: 0 !important;
        top: 0 !important;
    }

    /* Content area takes full width */
    .w-2\/3.ml-\[33\.333333\%\] {
        width: 100% !important;
        margin-left: 0 !important;
        padding-top: 1rem !important;
    }

    /* Reduce padding on sections */
    section, .min-h-screen {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        min-height: auto !important;
    }

    /* Adjust hero text sizes */
    h1.text-6xl {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    p.text-2xl {
        font-size: 1.25rem !important;
    }

    p.text-lg {
        font-size: 1rem !important;
    }

    /* Hero buttons stack */
    .flex.space-x-6 {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .flex.space-x-6 a {
        width: 100%;
        text-align: center;
    }

    /* Grid adjustments */
    .grid.grid-cols-1.md\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .grid.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    /* Forms */
    form .grid.grid-cols-1.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
    }

    /* Reduce padding in cards */
    .border.border-gray-800.p-8 {
        padding: 1.5rem !important;
    }

    /* Sidebar on mobile: full screen overlay */
    custom-sidebar {
        position: fixed !important;
        left: 0 !important;
        top: 0 !important;
        width: 100% !important;
        height: 100% !important;
        transform: translateX(-100%) !important;
        z-index: 1000000 !important;
        background: #000 !important;
    }

    custom-sidebar[open] {
        transform: translateX(0) !important;
    }

    /* Navigation adjustments */
    custom-navigation {
        z-index: 1000001 !important;
    }

    /* Hide zone labels on mobile except active */
    .zone-label {
        font-size: 1rem !important;
        padding: 6px 12px !important;
        opacity: 0.9 !important;
    }

    .zone:hover .zone-label {
        opacity: 1 !important;
    }
/* FAQ improvements */
    #faq button {
        padding: 1rem !important;
        transition: background-color 0.2s;
    }
    #faq button:hover {
        background-color: rgba(255,255,255,0.05);
    }
    #faq p {
        transition: max-height 0.3s ease, opacity 0.2s ease;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
    }
    #faq p:not(.hidden) {
        max-height: 500px;
        opacity: 1;
        padding-bottom: 1rem;
    }
    #faq i {
        transition: transform 0.3s ease;
    }
    #faq i.rotate-180 {
        transform: rotate(180deg);
    }
}
/* Scrolling Text Animation */
.scrolling-text-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.scrolling-text {
    position: absolute;
    width: 100%;
    animation: scroll-vertical 25s linear infinite;
    will-change: transform;
}

@keyframes scroll-vertical {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.scrolling-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.scrolling-text p:hover {
    opacity: 1;
}

/* Tablet (768px – 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .w-2\/3.ml-\[33\.333333\%\] {
        margin-left: 40% !important;
        width: 60% !important;
    }

    image-zones {
        width: 40% !important;
    }

    h1.text-6xl {
        font-size: 3rem !important;
    }
}
