/* Lunar New Year Chung Cake Making Event 2026 - Event Specific Styles */

.event-hero {
    background: linear-gradient(135deg, #8B4513 0%, #D4A574 50%, #F5DEB3 100%);
    color: #333;
    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.5;
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.75) 0%, rgba(212, 165, 116, 0.6) 50%, rgba(245, 222, 179, 0.7) 100%);
    z-index: 2;
}

/* Apricot Blossom Decoration (Mai Vàng) */
.blossom-decoration {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle at 50% 50%, #FFD700 0%, #FFA500 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
    animation: blossomFloat 5s ease-in-out infinite;
    z-index: 3;
}

.blossom-decoration::before {
    content: '🌸';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

@keyframes blossomFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

/* Red Lantern Decorations */
.lantern-decoration {
    position: absolute;
    background: linear-gradient(180deg, #DC143C, #B22222);
    width: 35px;
    height: 50px;
    border-radius: 50% 50% 45% 45%;
    opacity: 0.7;
    animation: lanternSway 4s ease-in-out infinite;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.lantern-decoration::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 10px;
    background: #FFD700;
    border-radius: 5px 5px 0 0;
}

.lantern-decoration::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 20px;
    background: linear-gradient(180deg, #FFD700, #DC143C);
}

.lantern-decoration:nth-child(2) {
    top: 15%;
    left: 10%;
    animation-delay: -1s;
}

.lantern-decoration:nth-child(3) {
    top: 25%;
    right: 15%;
    animation-delay: -2s;
}

.lantern-decoration:nth-child(4) {
    top: 45%;
    left: 8%;
    animation-delay: -3s;
}

@keyframes lanternSway {
    0%, 100% { transform: translateX(0px) rotate(3deg); }
    50% { transform: translateX(8px) rotate(-3deg); }
}

/* Peach Blossom Petals Animation */
.petal {
    position: absolute;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, #FFB6C1 0%, #FF69B4 100%);
    border-radius: 50% 0 50% 50%;
    opacity: 0.6;
    animation: petalFall 8s linear infinite;
    z-index: 3;
}

.petal:nth-child(5) {
    left: 20%;
    animation-delay: 0s;
}

.petal:nth-child(6) {
    left: 40%;
    animation-delay: -2s;
}

.petal:nth-child(7) {
    left: 60%;
    animation-delay: -4s;
}

.petal:nth-child(8) {
    left: 80%;
    animation-delay: -6s;
}

@keyframes petalFall {
    0% {
        top: -10%;
        transform: rotate(0deg) translateX(0px);
        opacity: 0.6;
    }
    100% {
        top: 110%;
        transform: rotate(360deg) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.event-badge {
    background: rgba(220, 20, 60, 0.2);
    color: #DC143C;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    border: 2px solid rgba(220, 20, 60, 0.4);
    display: inline-block;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.event-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #8B0000;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a3520;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

/* Hero Cards Container - Aligned Layout */
.hero-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    align-items: stretch;
}

.event-date-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 3px solid #DC143C;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    grid-column: 1 / -1; /* Full width on top */
}

.date-number {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: #DC143C;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.date-month {
    font-size: 1.4rem;
    font-weight: 600;
    color: #8B4513;
    margin-top: 0.3rem;
    margin-bottom: 1.2rem;
}

.event-location-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 20, 60, 0.2);
}

.event-location-info p {
    margin: 0.3rem 0;
    color: #4a3520;
    font-size: 1rem;
}

.event-location-info .venue-name {
    font-weight: 700;
    color: #8B4513;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.event-location-info .venue-time {
    font-weight: 600;
    color: #DC143C;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Stats Cards - Side by Side */
.highlight-stats {
    display: contents; /* Let children be part of parent grid */
}

.highlight-stat {
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(220, 20, 60, 0.3);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 120px;
}

.highlight-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #DC143C;
    display: block;
    margin-bottom: 0.5rem;
}

.highlight-label {
    font-size: 1rem;
    color: #4a3520;
    line-height: 1.3;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.btn-primary {
    background: #DC143C;
    color: white;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.btn-primary:hover {
    background: #B22222;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #DC143C;
    border: 2px solid #DC143C;
}

.btn-secondary:hover {
    background: #DC143C;
    color: white;
    transform: translateY(-2px);
}

/* Schedule Timeline Section */
.schedule-section {
    background: linear-gradient(180deg, #FFF8DC 0%, #FAEBD7 100%);
    padding: 4rem 0;
}

.timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #DC143C, #FFD700, #DC143C);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 350px;
    margin-right: 30px;
    border-left: 4px solid #DC143C;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
    margin-left: 30px;
    border-left: none;
    border-right: 4px solid #DC143C;
}

.timeline-time {
    background: #DC143C;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: #8B4513;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.timeline-description ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
}

.timeline-description li {
    padding-left: 1.2rem;
    position: relative;
    margin-bottom: 0.3rem;
}

.timeline-description li::before {
    content: '🌸';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: #FFD700;
    border: 4px solid #DC143C;
    border-radius: 50%;
    z-index: 2;
}

/* Activity Grid */
.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, #DC143C, #FFD700, #DC143C);
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.15);
}

.activity-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.activity-title {
    color: #8B4513;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.activity-description {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Cultural Highlight Section */
.cultural-highlight {
    background: linear-gradient(135deg, #FFF8DC 0%, #FAEBD7 50%, #FFE4B5 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(220,20,60,0.05)"/><circle cx="75" cy="75" r="15" fill="rgba(255,215,0,0.08)"/></svg>');
    background-size: 200px 200px;
}

/* Story Section */
.story-section {
    background: white;
    padding: 4rem 0;
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.story-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #4a3520;
    margin-bottom: 1.5rem;
}

.story-content .emoji-highlight {
    font-size: 1.3rem;
}

.story-image {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin: 2rem 0;
}

/* Registration Section */
.registration-section {
    background: linear-gradient(135deg, #DC143C 0%, #B22222 50%, #8B0000 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,215,0,0.1)"/></svg>');
    background-size: 100px 100px;
}

.registration-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    border: 2px solid rgba(255, 215, 0, 0.3);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.registration-btn {
    background: #FFD700;
    color: #8B0000;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    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.4);
}

.registration-btn:hover {
    background: #FFC700;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.limited-spots {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #FFD700;
    border-radius: 10px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-weight: 600;
}

/* Sponsors Section */
.sponsors-section {
    background: #FFF8DC;
    padding: 4rem 0;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
    text-align: center;
}

.sponsor-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.sponsor-item:hover {
    transform: translateY(-5px);
    border-color: #DC143C;
}

.sponsor-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sponsor-item img {
    max-width: 150px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Banner Image Section */
.banner-section {
    position: relative;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.banner-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section Headers */
.section-title {
    font-size: 2.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #DC143C, #FFD700);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .event-hero {
        padding: 140px 0 80px;
    }
    
    .event-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .blossom-decoration {
        width: 80px;
        height: 80px;
        top: 10%;
        right: 5%;
    }
    
    .hero-info-container {
        gap: 1.2rem;
    }
    
    .hero-cards-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .event-date-card {
        padding: 1.5rem;
        grid-column: 1;
    }
    
    .highlight-stat {
        min-height: 100px;
        padding: 1.2rem 1rem;
    }
    
    .date-number {
        font-size: 3rem;
    }
    
    .date-month {
        font-size: 1.2rem;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 0 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .registration-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        border-left: 4px solid #DC143C;
        border-right: none;
        max-width: 100%;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 769px) {
    .hero-cards-container {
        grid-template-rows: auto auto;
    }
    
    .highlight-stats {
        display: contents;
    }
}

@media (max-width: 480px) {
    .event-hero {
        padding: 120px 0 60px;
    }

    .event-hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .event-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }

    .lantern-decoration {
        display: none;
    }

    .petal {
        display: none;
    }

    .date-number {
        font-size: 2.5rem;
    }

    .highlight-number {
        font-size: 1.8rem;
    }

    .highlight-label {
        font-size: 0.9rem;
    }
}

/* ================================
   BILINGUAL STYLES
   ================================ */

/* Invitation Grid (replaces inline styles) */
.invitation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.invitation-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.invitation-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.invitation-card h3 {
    color: #8B4513;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.invitation-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.invitation-card p[lang="vi"] {
    font-style: italic;
    color: #888;
    font-size: 0.95rem;
}

/* Vietnamese language spans */
span[lang="vi"] {
    color: #888;
    font-style: italic;
}

/* Registration Section Bilingual */
.registration-heading {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.registration-intro {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.registration-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.registration-detail-title {
    margin-bottom: 1rem;
}

.registration-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

/* About HHAM Section */
.about-hham-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-hham-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.about-hham-content p[lang="vi"] {
    font-style: italic;
    color: #777;
}

.hham-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hham-stat {
    text-align: center;
}

.hham-stat-number {
    font-size: 2rem;
    color: #DC143C;
    font-weight: 700;
}

.hham-stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Activity descriptions bilingual */
.activity-description + .activity-description {
    margin-top: 0.5rem;
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
}

/* Story section bilingual paragraphs */
.story-content p[lang="vi"] {
    font-style: italic;
    color: #6a4a2a;
}

/* Mobile responsive for bilingual */
@media (max-width: 768px) {
    .invitation-grid {
        gap: 1.5rem;
    }

    .invitation-card {
        padding: 1.5rem;
    }

    .registration-heading {
        font-size: 1.8rem;
    }

    .registration-details-grid {
        gap: 1rem;
    }

    .hham-stats {
        gap: 1rem;
    }

    .hham-stat-number {
        font-size: 1.5rem;
    }
}
