@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Caveat+Brush&display=swap');

:root {
    --brand: #e72687;
    --brand-dark: #692577;
    --brand-deeper: #2e103b;
}

body {
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Caveat Brush', cursive;
    color: var(--brand-dark);
    line-height: 0.95;
}

.marquee {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    touch-action: auto; /* Ensure browser handles swipe gestures within the marquee */
}

.marquee::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

.marquee.active {
    cursor: grabbing;
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    min-width: 100%;
    user-select: none;
    -webkit-user-select: none;
}

/* Specific styling for photo marquee */
.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.spinning-badge {
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-on-load {
    animation: slideUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.glightbox-container .gslide-image {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
}

@media (hover: hover) {
    .marquee:hover .marquee-content {
        animation-play-state: paused;
    }
}

/* Technical Improvements */
section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px;
}

#start, #main-nav, header {
    content-visibility: visible;
}

@media (max-width: 768px) {
    .marquee-content {
        animation-duration: 80s; /* Much slower on mobile as requested */
    }
    .gallery-marquee .marquee-content {
        animation-duration: 60s;
    }
}
