/* =========================
   VARIABLES & RESET
========================= */

:root {
    --bg-main: #141414;
    --bg-dark: #1d1d1d;
    --neon: #D4AF37;
    --gold-soft: #b9932f;
    --neon-light: #f5e6b3;
    --text-soft: #c4b994;
    --scroll-glow: 0.3;
    --gold: rgba(233, 217, 0, 0.473);
}

html, body {
    scroll-behavior: smooth !important;
    height: 100%;
}

body {
    width: 100%;
}

.page-wrapper {
    width: 100%;
}

body {
    background: var(--bg-main);
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    margin: 0;
}

/* =========================
   UTILITIES
========================= */
.section-dark {
    background: var(--bg-dark);
}

.section-title {
    text-align: center;
    font-weight: 700;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon);
}

.text-start { text-align: left !important; }

/* =========================
   HERO SECTION
========================= */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg-main);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Hero Overlay Animation */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, var(--dark), transparent, var(--neon));
    pointer-events: none;
}


.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.hero-title {
    font-size: clamp(6rem, 14vw, 10rem);
    font-family: 'Kanit', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 6px;
    background: linear-gradient(145deg, #ffffff, #fdecb5, #ebebeb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 2px 2px rgba(238, 238, 238, 0.6),
        0 8px 20px rgba(255, 255, 255, 0.267);

}

.hero-subtitle {
    font-size: 2rem;
    color: #9fb0b8;
    max-width: 700px;
    margin: 0;
}

@keyframes glowPulse {
    from { text-shadow: 0 0 10px var(--gold-soft), 0 0 20px var(--gold-soft); }
    to { text-shadow: 0 0 25px var(--gold-soft), 0 0 50px var(--gold-soft); }
}

/* =========================
   COMPONENTS (Buttons, Cards)
========================= */
.neon-btn {
    padding: 12px 30px;
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--neon);
    color: var(--neon);
    transition: 0.3s;
    font-weight: 600;
}

.neon-btn:hover {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 15px var(--neon);
    transform: translateY(-2px);
}

.event-card {
    background: var(--bg-dark);
    border: 1px solid var(--dark);
    backdrop-filter: blur(14px);
    transition: 0.4s ease;
    overflow: hidden;
    box-shadow: 0 10px 10px var(--bg-main);
    height: 100%;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.event-body {
    padding: 20px;
}

.event-body h5 { color: #fff; margin-bottom: 10px; }
.event-body p { color: #9fb0b8; font-size: 14px; margin-bottom: 0; }

.ticket-btn {
    display: block;
    padding: 14px;
    text-align: center;
    background:var(--bg-dark);
    color: var(--gold-soft);
    text-decoration: none;
    font-weight: 800;
    border-top: 1px solid var(--gold);
    transition: 0.3s ease;
}

.ticket-btn:hover {
    background: var(--gold-soft);
    color: var(--bg-main);
}

/* =========================
   ABOUT SECTION
========================= */
.about-section {
    position: relative;
    padding: 120px 0;
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    color: #cfd8dc;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 17px;
}

.about-line {
    width: 100%;
    max-width: 360px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-soft), transparent);
    margin-top: 30px;
    box-shadow: 0 0 15px var(--gold-soft);
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    transition: 0.4s ease;
    filter: brightness(0.8);
}

.about-image:hover img {
    filter: brightness(1.1);
}

/* =========================
   GALLERY SECTION
========================= */
.gallery-section {
    padding: 80px 0;
    overflow: hidden;
    background: var(--bg-main);
}

.gallery-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    /* Uzunluk: içerik sayısı * genişlik */
    width: max-content; 
    animation: scrollGallery 40s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.gallery-item {
    width: 400px; /* Sabit genişlik verilmeli ki track hesaplasın */
    padding: 0 15px;
    flex-shrink: 0;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.4s ease;
    opacity: 0.8;
}

.gallery-item img:hover {
    transform: scale(1.05);
    opacity: 1;
}

@keyframes scrollGallery {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* JS ile içeriği 2x yaptığımız için %50 kayınca başa döner */
}

/* =========================
   PARTNERS
========================= */
.partner-logo {
    opacity: 0.6;
    transition: 0.3s;
    margin: 0 auto;
    display: block;
}

.partner-logo:hover {
    opacity: 1;

}

/* =========================
   CONTACT SECTION
========================= */
.contact-section {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.contact-desc {
    color: #9fb0b8;
    margin: 20px 0 30px 0;
    line-height: 1.6;
    max-width: 450px;
}

.contact-mail {
    display: inline-block;
    font-size: 22px;
    font-weight: 500;
    color: var(--gold-soft);
    text-decoration: none;
    margin-bottom: 35px;
    transition: 0.3s;
    text-shadow: 0 0 15px var(--gold);
}

.contact-mail:hover {
    color: #fff;
    text-shadow: 0 0 25px var(--gold);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 8px;
    color: var(--gold-soft);
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--gold-soft);
    color: var(--bg-main);
    box-shadow: 0 0 20px var(--gold-soft);
}

.contact-glow {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold), transparent 70%);
    filter: blur(40px);
    margin: 0 auto;
    border-radius: 50%;
    animation: pulseGlow 4s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 1; }
}

/* =========================
   FOOTER
========================= */
.site-footer {
    border-top: 1px solid var(--gold);
    padding: 30px 0;
    background: var(--bg-main);
    font-size: 14px;
    color: var(--neon);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    margin-left: 20px;
    color: var(--neon);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--gold-soft);
}



/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .about-wrapper, .contact-wrapper {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
    }
    
    .about-line, .social-links, .contact-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links { justify-content: center; }
    .text-start { text-align: center !important; }
}

@media (max-width: 768px) {
    .hero-title { letter-spacing: 1px; }
    
    .section-dark, .about-wrapper, .py-5 {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .gallery-item {
        width: 300px; /* Mobilde görsel genişliği */
    }
    
    .gallery-track {
        animation-duration: 20s; /* Mobilde biraz daha hızlı */
    }
 
    }



/* =========================
   KINETIC TYPOGRAPHY (FIXED)
========================= */

.kinetic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ekrana tam yay */
    z-index: 0;
    opacity: 0.15; /* Arkada silik dursun */
    overflow: hidden;
    pointer-events: none;
    padding: 1vh 0; /* Alt üst boşluk minimum */
    background: transparent;
    user-select: none; /* Seçilemesin */
}

.track {
    /* FONT AYARLARI - KRİTİK KISIM */
    font-family: 'Kanit', sans-serif; /* Google Font */
    font-weight: 900; /* En kalın hali */
    font-size: 19vh; /* Ekranı tam doldursun */
    line-height: 0.80; /* Satırları iyice birbirine yapıştır */
    text-transform: uppercase;
    
    /* ANIMASYON */
    white-space: nowrap;
    will-change: transform;
    animation: marquee 60s linear infinite; /* Mobilde kasmasın diye yavaşlattık */
    
    /* RENK VE ÇİZGİ (Android Fix) */
    color: transparent;
    -webkit-text-fill-color: transparent; /* Android için zorunlu */
    -webkit-text-stroke: 2px var(--gold); /* Çizgi rengi */
    
    /* Tırtıklanmayı önler */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ortadaki (3. satır) ana marka vurgusu */
.track:nth-child(3) {
    -webkit-text-fill-color: var(--gold); /* Çok hafif mavi dolgu */
    -webkit-text-stroke: 2px var(--gold-soft); /* Mavi neon çizgi */
    z-index: 1;
    opacity: 0.8; /* Biraz daha belirgin */
}

.track.reverse {
    animation-direction: reverse;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-30%); } /* Daha az mesafe daha pürüzsüz akış */
}

/* MOBİL İÇİN ÖZEL AYAR (Android Chrome Fix) */
@media(max-width: 768px){
    .track {
        font-size: 13vh; /* Mobilde taşmayı önle */
        line-height: 0.9;
        -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5); /* Çizgiyi incelt */
    }
    
    .kinetic-bg {
        justify-content: space-evenly; /* Mobilde araları biraz aç */
    }
}

@media (max-width: 768px) {
    #partnersContainer {
        display: flex;
        flex-direction: column; /* Logoları alt alta dizer */
        align-items: center;
    }

    #partnersContainer .col, 
    #partnersContainer [class*="col-"] {
        width: 100%; /* Her logoyu tam genişlik yapar */
        margin-bottom: 30px; /* Aralarına boşluk bırakır */
    }

    .partner-logo {
        max-width: 180px; /* Mobilde logolar çok küçük kalmasın diye biraz büyütebilirsin */
        filter: grayscale(0); /* Mobilde renkli görünsün istersen bunu ekle */
        opacity: 1;
    }
}

.section-dark {
    position: relative;
    overflow: hidden; /* Dışarı taşan dev harfleri gizler */
    padding: 100px 0; /* İçeriğin sıkışmaması için */
}

.bg-full-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    font-size: 19vh; 
    font-weight: 900;
    line-height: 1;
    margin: 0;
    padding: 0;
    
    /* Şeffaf iç, ince dış hat */
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08); 
    
    text-transform: uppercase;
    white-space: nowrap; /* Alt satıra geçmeyi engeller */
    z-index: 0;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.5vw; /* Harf arasını daraltarak daha agresif bir görünüm sağlar */
}

/* İçeriğin bu dev yazının üstünde kalması için */
.section-content {
    position: relative;
    z-index: 2;
}