/* Dunamis Productions - Custom Styles */

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

:root {
    /* Core Color Palette - Simplified and Consistent */
    --primary: #F59E0B;      /* Gold/Amber - Primary brand color */
    --primary-dark: #D97706;  /* Darker gold for hover states */
    --primary-light: #FCD34D; /* Light gold for accents */
    
    --neutral-dark: #0F172A;  /* Midnight - Dark backgrounds */
    --neutral-medium: #1E293B; /* Medium dark for gradients */
    --neutral-light: #F8FAFC;  /* Off-white for light backgrounds */
    
    --accent: #FEF3C7;        /* Cream - Subtle accents */
    --white: #FFFFFF;
    
    /* Legacy support - keep for existing references */
    --gold: #F59E0B;
    --gold-light: #FCD34D;
    --midnight: #0F172A;
    --midnight-light: #1E293B;
    --cream: #FEF3C7;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--white);
    color: var(--midnight);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-weight: 600;
}

p {
    line-height: 1.7;
}

/* Unique Navigation with Magnetic Effect */
.nav-magnetic {
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-magnetic:hover {
    transform: translateY(-2px);
}

.nav-magnetic:focus {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 4px;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-color: var(--gold);
}

button:focus {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

/* Hero Section with Animated Curtains */
.hero-curtain {
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 100%);
    position: relative;
    overflow: hidden;
}

.curtain-left, .curtain-right {
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15,23,42,0.95), transparent);
    opacity: 0.3;
    animation: curtainSway 8s ease-in-out infinite;
}

.curtain-right {
    right: 0;
    background: linear-gradient(-90deg, rgba(15,23,42,0.95), transparent);
    animation-delay: -4s;
}

@keyframes curtainSway {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

/* Floating Crown Animation */
.floating-crown {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Spotlight Effect */
.spotlight {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: spotlightMove 15s ease-in-out infinite;
}

@keyframes spotlightMove {
    0% { top: 10%; left: 10%; }
    33% { top: 60%; left: 70%; }
    66% { top: 30%; left: 40%; }
    100% { top: 10%; left: 10%; }
}

/* Unique Card Designs - Theatre Ticket Style */
.ticket-card {
    position: relative;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ticket-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.ticket-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.3);
}

.ticket-card:hover::before {
    opacity: 0;
}

/* Perforated Edge Effect */
.perforated {
    position: relative;
}

.perforated::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, transparent, transparent 8px, var(--white) 8px, var(--white) 16px);
}

.perforated-top::after {
    top: 0;
}

.perforated-bottom::after {
    bottom: 0;
}

/* Stage Light Button */
.stage-button {
    position: relative;
    background: var(--gold);
    color: var(--midnight);
    font-weight: 700;
    padding: 1.25rem 3rem;
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    display: inline-block;
    text-decoration: none;
}

.stage-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.stage-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.stage-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    animation: textReveal 0.8s cubic-bezier(0.65, 0, 0.35, 1) both;
}

@keyframes textReveal {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

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

/* Golden Glow Effect */
.golden-glow {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

/* Responsive Typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
        line-height: 1.1;
    }
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 5.5rem;
        line-height: 1.05;
    }
}

/* Mobile-Specific Improvements */
@media (max-width: 768px) {
    /* Increase padding on mobile for better breathing room */
    section {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    /* Better spacing for partnership cards on mobile */
    .ticket-card,
    [class*="rounded-3xl"] {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem;
    }
    
    /* Improve heading sizes on mobile */
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    /* Better button spacing on mobile */
    button,
    .stage-button {
        padding: 1rem 2rem !important;
        font-size: 1rem !important;
    }
    
    /* Ensure form inputs are easy to tap */
    input,
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
        min-height: 48px; /* Better touch target */
    }
}

/* Improved spacing for small tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    section {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}
