/* ============================================
   Theater Lounge — Custom Styles
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #500724;
    color: #fce7f3;
    font-family: 'Inter', system-ui, sans-serif;
    line-height: 1.6;
}

/* ============================================
   Geometric Background Shapes
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    top: -100px;
    right: -200px;
    opacity: 0.06;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #f472b6 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
    opacity: 0.05;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    border: 3px solid #fbbf24;
    border-radius: 24px;
    top: 30%;
    right: 5%;
    transform: rotate(15deg);
    opacity: 0.1;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #f472b6;
    top: 60%;
    left: 3%;
    transform: rotate(-20deg);
    opacity: 0.06;
}

.geo-dots {
    background-image: radial-gradient(circle, #fbbf24 1px, transparent 1px);
    background-size: 24px 24px;
    width: 200px;
    height: 200px;
    top: 45%;
    right: 15%;
    opacity: 0.12;
}

/* ============================================
   Floating Cards
   ============================================ */
.floating-card-1 {
    animation: float-slow 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float-medium 5s ease-in-out infinite;
    animation-delay: 1s;
}

.floating-card-3 {
    animation: float-slow 7s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled {
    background-color: rgba(80, 7, 36, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    transition: opacity 0.2s ease;
}

/* ============================================
   Scroll Reveal
   ============================================ */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Section Spacing
   ============================================ */
section {
    position: relative;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #500724;
}

::-webkit-scrollbar-thumb {
    background: #9d174d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #be185d;
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
    background: #fbbf24;
    color: #500724;
}

/* ============================================
   Focus Styles
   ============================================ */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* ============================================
   Image Optimization
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Responsive Adjustments
   ============================================ */
@media (max-width: 640px) {
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        display: none;
    }

    .geo-shape {
        display: none;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .floating-card-1 {
        display: none;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .geo-shape,
    .floating-card-1,
    .floating-card-2,
    .floating-card-3 {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
