/* =========================================
   3. YIL ÖZEL FESTİVAL (APPLE STYLE)
========================================= */

.festival-page {
    position: relative;
    padding: 150px 5% 100px;
    min-height: 100vh;
    background: url('../img/1920x1080-ILS-Background.png') no-repeat center center fixed;
    background-size: cover;
    overflow-x: hidden;
}

/* Şık Karartma */
.festival-page::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(10,10,10,0.8), rgba(18,18,18,0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 0;
}

/* --- YUMUŞAK GİRİŞ ANİMASYONLARI (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- HERO ALANI --- */
.festival-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
    min-height: 50vh;
}

.hero-content-wrapper {
    flex: 1;
    max-width: 600px;
}

.apple-heading {
    font-size: 5.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.apple-heading .highlight {
    color: var(--primary-color);
    background: linear-gradient(90deg, var(--primary-color), #ff4d4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.apple-subheading {
    font-size: 1.4rem;
    color: #a1a1a6;
    font-weight: 400;
}

.van-koen-floating {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    animation: appleFloat 6s ease-in-out infinite;
}

.van-koen-floating img {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

@keyframes appleFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* --- APPLE BENTO GRID SİSTEMİ --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 350px;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.bento-box {
    background: rgba(30, 30, 32, 0.65);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px; /* Orijinal Apple yumuşak köşeleri */
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bento-box:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(169,0,0,0.5);
}

.bento-box h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.bento-desc {
    color: #a1a1a6;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Grid Yerleşimleri */
.countdown-box { grid-column: span 8; }
.limited-box { grid-column: span 4; background: linear-gradient(145deg, rgba(30,30,32,0.8), rgba(169,0,0,0.15)); }
.popular-box { grid-column: span 6; }
.wallpaper-box { grid-column: span 6; }

/* İçerik Detayları */
.apple-countdown {
    font-size: 4.5rem;
    font-family: monospace;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: -2px;
    margin-top: auto;
}

.badge {
    background: var(--primary-color);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    align-self: flex-start;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.apple-progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin: auto 0 10px;
    overflow: hidden;
}

.apple-progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 10px;
}

.stock-status { color: #ff3b30; font-size: 0.95rem; margin-bottom: 20px; }

.apple-btn {
    background: #fff;
    color: #000;
    padding: 14px 24px;
    border-radius: 30px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.apple-btn:hover { background: var(--primary-color); color: #fff; }

.mini-gallery {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.gallery-img {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}

.download-links {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.apple-btn-outline {
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.apple-btn-outline:hover { background: #fff; color: #000; }

/* --- SPONSOR MARQUEE (SONSUZ SLIDER) --- */
.festival-sponsors {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.festival-sponsors h2 {
    font-size: 2rem;
    color: #86868b;
    margin-bottom: 40px;
}

.sponsor-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* Kenarları yumuşakça soldurma efekti */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
}

.sponsor-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 20s linear infinite;
    gap: 60px;
    padding-right: 60px; /* Gap ile aynı olmalı */
}

.sponsor-track img {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.4s ease;
}

.sponsor-track img:hover {
    filter: grayscale(0%) opacity(1);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* İçerik iki katına çıkarıldığı için %50 kaydırılır */
}

/* MOBİL UYUM */
@media screen and (max-width: 900px) {
    .countdown-box, .limited-box, .popular-box, .wallpaper-box { grid-column: span 12; }
    .bento-grid { grid-auto-rows: minmax(300px, auto); }
}

@media screen and (max-width: 768px) {
    .festival-hero { flex-direction: column; text-align: center; margin-top: 50px; }
    .apple-heading { font-size: 3.5rem; }
    .apple-countdown { font-size: 3rem; }
    .van-koen-floating { justify-content: center; margin-top: 40px; }
}

.festival-page { position: relative; padding: 150px 5% 100px; min-height: 100vh; background: url('../img/1920x1080-ILS-Background.png') no-repeat center center fixed; background-size: cover; }
.festival-page::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to bottom, rgba(10,10,10,0.8), rgba(18,18,18,0.95)); backdrop-filter: blur(12px); z-index: 0; }
.festival-hero { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto 80px; position: relative; z-index: 1; }
.apple-heading { font-size: 5.5rem; line-height: 1.1; }
.van-koen-floating img { max-width: 450px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.bento-box { background: rgba(30, 30, 32, 0.65); border: 1px solid rgba(255,255,255,0.08); border-radius: 28px; padding: 40px; backdrop-filter: blur(20px); }
.countdown-box { grid-column: span 8; }
.limited-box { grid-column: span 4; }
.apple-countdown { font-size: 4.5rem; color: var(--primary-color); }
.apple-btn { display: block; background: #fff; color: #000; padding: 14px; text-align: center; border-radius: 30px; font-weight: bold; margin-top: 20px; }