/* ===============================================
   HOMEPAGE SPECIFIC STYLES - TUCHOLSKY
   Extracted from index.php inline styles
   =============================================== */

/* ===============================================
   SCROLL REVEAL - Pure CSS transitions
   =============================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger children: each child delays a bit more */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
/* Scale-up variant for cards */
.reveal-scale {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}
/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > *, .reveal-scale {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===============================================
   NEWSLETTER SECTION - SIMPLE
   =============================================== */
.newsletter-pro {
    background: #0a0a0a;
    padding: 60px 20px;
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-pro h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-subtitle {
    color: #888;
    font-size: 1rem;
    margin-bottom: 30px;
}

.newsletter-form-pro .form-wrapper {
    display: flex;
    max-width: 450px;
    margin: 0 auto 25px;
}

.newsletter-form-pro input {
    flex: 1;
    padding: 14px 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-form-pro input::placeholder {
    color: #666;
}

.newsletter-form-pro input:focus {
    outline: none;
    border-color: #444;
}

.newsletter-form-pro .subscribe-btn {
    padding: 14px 24px;
    background: #ff3cac;
    border: none;
    border-radius: 0 6px 6px 0;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.newsletter-form-pro .subscribe-btn:hover {
    background: #e0359a;
}

.newsletter-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.newsletter-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 50%;
    color: #888;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.newsletter-social a:hover {
    background: #ff3cac;
    color: #fff;
}

/* Hero Button Override - Match Event Card Style */
.hero-section .hero-buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-section .hero-button {
    padding: 16px 24px;
    background: linear-gradient(90deg, #ff3cac, #784ba0);
    color: #fff;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 60, 172, 0.3);
    animation: none;
    background-size: 100%;
    display: inline-block;
    text-align: center;
}

.hero-section .hero-button:hover {
    background: linear-gradient(90deg, #784ba0, #ff3cac);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 60, 172, 0.5);
    animation: none;
}

/* ===============================================
   MOBILE VIEW FIXES FOR MAIN PAGE
   =============================================== */

@media (max-width: 600px) {
    /* Hide top navbar on mobile */
    .top-navbar {
        display: none !important;
    }
    
    /* Adjust main navbar position */
    .main-navbar {
        top: 0 !important;
        padding: 10px 15px !important;
        min-height: 60px !important;
    }
    
    .main-navbar .logo {
        height: 50px !important;
    }
    
    /* Hero logo centered and larger on mobile */
    .hero-section .content .hero-logo {
        display: block !important;
        margin: 0 auto 25px !important;
        max-width: 250px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Override default hero button styles for event card matching */
    .hero-section .hero-buttons {
        margin-top: 30px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
    }
    
    .hero-section .hero-button {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 1em !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 2px !important;
        margin: 0 !important;
        text-align: center !important;
        display: block !important;
        box-sizing: border-box !important;
        background: linear-gradient(90deg, #ff3cac, #784ba0) !important;
        color: #fff !important;
        border: 2px solid transparent !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 4px 15px rgba(255, 60, 172, 0.3) !important;
        text-decoration: none !important;
        animation: none !important;
        background-size: 100% !important;
        overflow: visible !important;
    }
    
    .hero-section .hero-button:hover {
        background: linear-gradient(90deg, #784ba0, #ff3cac) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 6px 20px rgba(255, 60, 172, 0.5) !important;
        animation: none !important;
    }
    
    /* Hero Section Mobile - COMPLETE REDESIGN */
    .hero-section {
        height: calc(100vh - 60px) !important;
        min-height: calc(100vh - 60px) !important;
        max-height: calc(100vh - 60px) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 60px !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    .hero-section video {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: none !important;
        min-width: 100% !important;
        min-height: 100% !important;
    }
    
    .hero-section .overlay {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.75) 100%) !important;
        z-index: 2 !important;
    }
    
    .hero-section .content {
        position: relative !important;
        z-index: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 25px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
    
    .hero-section .content .hero-logo {
        height: auto !important;
        max-width: 280px !important;
        width: auto !important;
        margin: 0 auto 25px !important;
        display: block !important;
        object-fit: contain !important;
    }
    
    .hero-section .content h1 {
        font-size: 1.75rem !important;
        margin: 0 0 15px 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        padding: 0 !important;
        font-weight: 700 !important;
    }
    
    .hero-section .content p {
        font-size: 0.95rem !important;
        padding: 0 10px !important;
        margin: 0 auto 30px !important;
        max-width: 95% !important;
        line-height: 1.6 !important;
        text-align: center !important;
    }
    
    /* About Section Mobile */
    #about-us .about-container {
        padding: 40px 20px !important;
    }
    
    #about-us h2 {
        font-size: 1.8rem !important;
    }
    
    #about-us p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .about-features {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    
    .feature-item {
        padding: 20px !important;
    }
    
    .feature-item i {
        font-size: 2rem !important;
    }
    
    .feature-item h3 {
        font-size: 1.1rem !important;
    }
    
    .feature-item p {
        font-size: 0.9rem !important;
    }
    
    /* Events Section Mobile */
    .events-container {
        padding: 40px 20px !important;
    }
    
    .events-container h2 {
        font-size: 1.8rem !important;
    }
    
    .event-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .disco-card {
        max-width: 100% !important;
    }
    
    .card-title {
        font-size: 1.1rem !important;
    }
    
    .card-description {
        font-size: 0.9rem !important;
    }
    
    .card-actions {
        flex-direction: row !important;
        gap: 10px !important;
    }
    
    .btn-info, .btn-reserve {
        flex: 1 !important;
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }
    
    /* Newsletter Professional Mobile */
    .newsletter-pro {
        padding: 60px 20px !important;
        min-height: auto !important;
    }
    
    .newsletter-badge {
        font-size: 0.75rem !important;
        padding: 6px 16px !important;
        margin-bottom: 20px !important;
    }
    
    .newsletter-pro h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }
    
    .newsletter-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 25px !important;
        padding: 0 10px !important;
    }
    
    .newsletter-perks {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-bottom: 30px !important;
    }
    
    .newsletter-perks .perk {
        padding: 12px 10px !important;
        min-width: auto !important;
    }
    
    .newsletter-perks .perk i {
        font-size: 1.2rem !important;
    }
    
    .newsletter-perks .perk span {
        font-size: 0.8rem !important;
    }
    
    .newsletter-form-pro .form-wrapper {
        flex-direction: column !important;
        gap: 12px !important;
    }
    
    .newsletter-form-pro input {
        border-radius: 8px !important;
        border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .newsletter-form-pro .subscribe-btn {
        width: 100% !important;
        justify-content: center !important;
        border-radius: 8px !important;
    }
    
    .newsletter-social {
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .newsletter-social .social-icons a {
        width: 44px !important;
        height: 44px !important;
    }
}

@media (max-width: 480px) {
    .main-navbar {
        padding: 10px 25px !important;
        min-height: 60px !important;
    }
    
    .main-navbar .logo {
        height: 50px !important;
    }
}

@media (max-width: 400px) {
    .main-navbar {
        padding: 8px 20px !important;
        min-height: 55px !important;
        justify-content: center !important;
        position: relative !important;
    }
    
    .main-navbar .logo {
        height: 45px !important;
        margin: 0 !important;
    }
    
    .hero-section {
        height: calc(100vh - 55px) !important;
        min-height: calc(100vh - 55px) !important;
        margin-top: 55px !important;
    }
    
    .hero-section .content {
        padding: 25px 20px !important;
    }
    
    .hero-section .content .hero-logo {
        display: block !important;
        margin: 0 auto 20px !important;
        max-width: 220px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    .hero-section .content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 12px !important;
    }
    
    .hero-section .content p {
        font-size: 0.88rem !important;
        padding: 0 5px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-buttons {
        max-width: 260px !important;
        gap: 12px !important;
    }
    
    .hero-button {
        padding: 15px 22px !important;
        font-size: 0.95em !important;
    }
    
    #about-us h2,
    .events-container h2,
    #newsletter h2,
    .instagram-header h2 {
        font-size: 1.5rem !important;
    }
    
    .about-features {
        gap: 15px !important;
    }
    
    .event-grid {
        gap: 15px !important;
    }
}
