/* ========================================
   JOUFUJI TEMPLE - HOME PAGE STYLES
   ======================================== */

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease, transform 8s ease;
    transform: scale(1);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.05);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 26, 0.4) 0%,
        rgba(10, 14, 26, 0.7) 100%
    );
}

/* Floating particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    animation: fadeInUp 1.2s ease;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.title-main {
    font-family: var(--font-serif);
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 700;
    color: var(--accent-gold);
    text-shadow: var(--glow-gold);
    letter-spacing: 8px;
}

.title-sub {
    font-size: clamp(16px, 2vw, 24px);
    letter-spacing: 4px;
    color: var(--text-secondary);
}

.hero-tagline {
    font-family: var(--font-serif);
    font-size: clamp(18px, 2.5vw, 28px);
    margin-top: 30px;
    color: var(--text-primary);
}

.hero-tagline-en {
    font-size: clamp(12px, 1.5vw, 16px);
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 10px;
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 167, 38, 0.3);
    transition: var(--transition-fast);
}

.hero-nav-btn.active,
.hero-nav-btn:hover {
    background: var(--accent-gold);
    box-shadow: var(--glow-gold);
    transform: scale(1.2);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.scroll-indicator:hover {
    color: var(--accent-gold);
    transform: translateY(-5px);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.5);
    }
}

/* ===== INTRO SECTION ===== */
.intro-section {
    background: var(--bg-secondary);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.intro-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.intro-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.intro-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(216, 67, 21, 0.2),
        rgba(255, 167, 38, 0.2)
    );
    opacity: 0;
    transition: opacity 0.6s ease;
}

.image-wrapper:hover .image-glow {
    opacity: 1;
}

/* ===== COLUMBARIUM HIGHLIGHT SECTION ===== */
.columbarium-highlight {
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.columbarium-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 167, 38, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(216, 67, 21, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-vermilion), var(--accent-gold));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    box-shadow: var(--glow-gold);
}

.columbarium-title .title-jp {
    font-size: clamp(42px, 6vw, 64px);
    text-shadow: var(--glow-gold);
}

.columbarium-desc {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-primary);
}

.columbarium-hero-banner {
    background: linear-gradient(135deg, var(--accent-vermilion), var(--accent-gold));
    border-radius: 25px;
    padding: 40px;
    margin: 60px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.columbarium-hero-banner::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.banner-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.banner-text h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

.columbarium-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.columbarium-card-featured {
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid rgba(255, 167, 38, 0.2);
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.columbarium-card-featured:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 20px 60px rgba(255, 167, 38, 0.3);
    transform: translateY(-10px);
}

.card-ribbon {
    position: absolute;
    top: 20px;
    right: -10px;
    background: var(--accent-vermilion);
    color: white;
    padding: 5px 20px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(3deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.columbarium-header-featured {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 167, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-fast);
}

.header-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.columbarium-card-featured:hover .header-icon {
    background: var(--accent-gold);
    box-shadow: var(--glow-gold);
}

.columbarium-card-featured:hover .header-icon svg {
    stroke: var(--bg-primary);
}

.columbarium-header-featured h4 {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.columbarium-type {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.columbarium-body-featured {
    padding: 30px;
}

.columbarium-body-featured p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 16px;
}

.features-highlight {
    display: grid;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 167, 38, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition-fast);
}

.feature-item:hover {
    background: rgba(255, 167, 38, 0.1);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.feature-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.columbarium-cta-enhanced {
    background: var(--bg-card);
    border-radius: 25px;
    padding: 50px;
    border: 2px solid rgba(255, 167, 38, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.columbarium-cta-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 167, 38, 0.05), rgba(216, 67, 21, 0.05));
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-main h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: var(--glow-gold);
}

.cta-text {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.8;
}

.cta-buttons-enhanced {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-primary {
    background: linear-gradient(135deg, var(--accent-vermilion), var(--accent-gold));
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button-primary:hover::before {
    left: 100%;
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 167, 38, 0.6);
}

.cta-button-secondary {
    background: transparent;
    color: var(--accent-gold);
    padding: 18px 40px;
    border: 2px solid var(--accent-gold);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-smooth);
    white-space: nowrap;
    min-width: fit-content;
}

.cta-button-secondary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cta-button-secondary:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 167, 38, 0.4);
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-button-primary:hover .cta-arrow,
.cta-button-secondary:hover .cta-arrow {
    transform: translateX(5px);
}

/* ===== TEMPLE INFO HOME SECTION ===== */
.temple-info-home {
    background: var(--bg-secondary);
}

.temple-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.temple-philosophy h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 25px;
    text-shadow: var(--glow-gold);
}

.temple-philosophy p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.temple-stats {
    display: grid;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateX(10px);
    box-shadow: var(--glow-soft);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 167, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 25px;
    height: 25px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== FEATURED EVENTS HOME SECTION ===== */
.featured-events-home {
    background: var(--bg-primary);
}

.events-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.event-card-home {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 167, 38, 0.1);
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

.event-card-home:hover {
    border-color: rgba(255, 167, 38, 0.3);
    box-shadow: var(--glow-soft);
    transform: translateY(-5px);
}

.event-season {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
}

.event-season.spring { background: #4CAF50; }
.event-season.summer { background: #FF9800; }
.event-season.autumn { background: #FF5722; }
.event-season.winter { background: #2196F3; }

.event-content {
    padding: 25px;
}

.event-content h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.event-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.event-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.event-card-home:hover .event-image img {
    transform: scale(1.1);
}

.events-cta {
    text-align: center;
}

/* ===== FACILITIES OVERVIEW SECTION ===== */
.facilities-overview {
    background: var(--bg-secondary);
}

.facilities-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.facility-card-home {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 167, 38, 0.1);
    transition: var(--transition-smooth);
    text-align: center;
}

.facility-card-home:hover {
    border-color: rgba(255, 167, 38, 0.3);
    box-shadow: var(--glow-soft);
    transform: translateY(-5px);
}

.facility-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 167, 38, 0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.facility-icon svg {
    width: 35px;
    height: 35px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.facility-card-home:hover .facility-icon {
    background: var(--accent-gold);
    box-shadow: var(--glow-gold);
}

.facility-card-home:hover .facility-icon svg {
    stroke: var(--bg-primary);
}

.facility-card-home h4 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.facility-card-home p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.facility-info {
    padding: 12px;
    background: rgba(255, 167, 38, 0.05);
    border-radius: 10px;
    border-left: 3px solid var(--accent-gold);
}

.facility-info span {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

.facilities-cta {
    text-align: center;
}

/* ===== SERVICES OVERVIEW SECTION ===== */
.services-overview {
    background: var(--bg-primary);
}

.services-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.service-card-home {
    background: var(--bg-card);
    padding: 30px 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 167, 38, 0.1);
    transition: var(--transition-smooth);
    text-align: center;
}

.service-card-home:hover {
    border-color: rgba(255, 167, 38, 0.3);
    box-shadow: var(--glow-soft);
    transform: translateY(-3px);
}

.service-icon-home {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 167, 38, 0.1);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.service-icon-home svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-gold);
    stroke-width: 2;
}

.service-card-home:hover .service-icon-home {
    background: var(--accent-gold);
    box-shadow: var(--glow-gold);
}

.service-card-home:hover .service-icon-home svg {
    stroke: var(--bg-primary);
}

.service-card-home h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card-home p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-cta {
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .columbarium-preview {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .temple-overview {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .events-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .facilities-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .services-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Hero */
    .scroll-indicator {
        display: none;
    }
    
    .hero-nav {
        bottom: 20px;
    }
    
    .title-main {
        letter-spacing: 4px;
    }
    
    .intro-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Columbarium */
    .columbarium-body-mini {
        padding: 20px;
    }
    
    .columbarium-cta {
        padding: 30px 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .cta-button,
    .cta-buttons .secondary-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    /* New sections mobile styles */
    .temple-stats {
        gap: 20px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .events-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .facilities-grid-home {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .facility-card-home {
        padding: 30px 20px;
    }
    
    .services-grid-home {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .service-card-home {
        padding: 25px 20px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .intro-buttons {
        width: 100%;
    }
    
    .intro-buttons .cta-button,
    .intro-buttons .secondary-button {
        width: 100%;
        justify-content: center;
    }
    
    .columbarium-preview {
        gap: 20px;
    }
    
    .columbarium-header-mini {
        padding: 20px;
    }
    
    .temple-philosophy h3 {
        font-size: 28px;
    }
    
    .temple-philosophy p {
        font-size: 16px;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .events-showcase {
        gap: 15px;
    }
    
    .event-content {
        padding: 20px;
    }
    
    .services-grid-home {
        grid-template-columns: 1fr;
    }
}


/* ===== EVENT MODAL ===== */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.event-modal.active {
    display: flex;
}

.event-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
}

.event-modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: 25px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border: 2px solid rgba(255, 167, 38, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.event-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 167, 38, 0.2);
    border: none;
    border-radius: 50%;
    color: var(--accent-gold);
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.event-modal-close:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.event-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.event-modal-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.event-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-modal-info {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-modal-info h3 {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--accent-gold);
    text-shadow: var(--glow-gold);
    margin-bottom: 10px;
}

.modal-event-date {
    font-size: 16px;
    color: var(--text-muted);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 167, 38, 0.2);
}

.modal-event-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.modal-event-details {
    background: rgba(255, 167, 38, 0.05);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
}

.modal-event-details h4 {
    font-family: var(--font-serif);
    font-size: 20px;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.modal-event-details ul {
    list-style: none;
    padding: 0;
}

.modal-event-details li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.modal-event-details li::before {
    content: '◆';
    color: var(--accent-gold);
    font-size: 12px;
    margin-top: 4px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .event-modal-body {
        grid-template-columns: 1fr;
    }
    
    .event-modal-image {
        min-height: 250px;
    }
    
    .event-modal-info {
        padding: 30px 25px;
    }
    
    .event-modal-info h3 {
        font-size: 26px;
    }
    
    .modal-event-description {
        font-size: 16px;
    }
}
