/* Full Moon Festival 2025 - Event Specific Styles */

.event-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 180px 0 120px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slideshow .slide.active {
    opacity: 0.4;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8) 0%, rgba(22, 33, 62, 0.7) 50%, rgba(15, 52, 96, 0.8) 100%);
    z-index: 2;
}

.moon-decoration {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at 30% 30%, #ffd700 0%, #ffb347 70%, #ff8c00 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: moonFloat 6s ease-in-out infinite;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.4);
    z-index: 3;
}

.moon-decoration::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.moon-decoration::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

@keyframes moonFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.lantern-decoration {
    position: absolute;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    width: 30px;
    height: 40px;
    border-radius: 15px 15px 5px 5px;
    opacity: 0.6;
    animation: lanternSway 4s ease-in-out infinite;
    z-index: 3;
}

.lantern-decoration::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 8px;
    background: #333;
    border-radius: 4px;
}

.lantern-decoration::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: #333;
}

.lantern-decoration:nth-child(3) {
    top: 20%;
    left: 15%;
    animation-delay: -1s;
}

.lantern-decoration:nth-child(4) {
    top: 30%;
    right: 20%;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    animation-delay: -2s;
}

.lantern-decoration:nth-child(5) {
    top: 50%;
    left: 10%;
    background: linear-gradient(45deg, #f093fb, #f5576c);
    animation-delay: -3s;
}

@keyframes lanternSway {
    0%, 100% { transform: translateX(0px) rotate(2deg); }
    50% { transform: translateX(10px) rotate(-2deg); }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    margin: 0 auto;
}

.hero-info-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-badge {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid rgba(255, 215, 0, 0.3);
    display: inline-block;
    margin-bottom: 1rem;
}

.event-date-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.date-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: #ffd700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.date-month {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: -0.3rem;
    margin-bottom: 1rem;
}

.event-details {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.95;
}

.highlight-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
}

.highlight-stat {
    flex: 1;
    text-align: center;
    padding: 1.2rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    min-width: 140px;
}

.highlight-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffd700;
    display: block;
    margin-bottom: 0.4rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.highlight-label {
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.3;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    align-self: flex-start;
}

.cta-buttons .btn {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #ffd700;
    color: #333;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
    background: #ffed4e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffd700, #4ecdc4);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.activity-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.activity-description {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

.registration-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="0,0 100,20 100,100 0,80" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100px 100px;
}

.registration-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.registration-btn {
    background: #ffd700;
    color: #333;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.registration-btn:hover {
    background: #ffed4e;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.sponsors-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.sponsor-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.sponsor-item:hover {
    transform: translateY(-5px);
}

.cultural-highlight {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    padding: 4rem 0;
    color: #333;
    position: relative;
    overflow: hidden;
}

.cultural-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="25" cy="25" r="20" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="15" fill="rgba(255,255,255,0.08)"/></svg>');
    background-size: 200px 200px;
}

/* Gallery Styles */
.gallery-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.load-more-btn {
    background: #2c5aa0;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem auto;
    display: block;
}

.load-more-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,1);
}

.lightbox-prev {
    left: -60px;
}

.lightbox-next {
    right: -60px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-hero {
        padding: 140px 0 80px;
    }
    
    .moon-decoration {
        width: 80px;
        height: 80px;
        top: 15%;
        right: 5%;
    }
    
    .hero-info-container {
        gap: 1.2rem;
    }
    
    .event-date-card {
        padding: 1.2rem 1.5rem;
        max-width: 350px;
    }
    
    .date-number {
        font-size: 2.5rem;
    }
    
    .date-month {
        font-size: 1.1rem;
    }
    
    .highlight-stats {
        flex-direction: column;
        max-width: 280px;
        gap: 1rem;
    }
    
    .highlight-stat {
        min-width: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .cta-buttons .btn {
        width: 200px;
        text-align: center;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-card {
        padding: 2rem;
    }
}
