/* --- Değişkenler ve Temel Ayarlar --- */
:root {
    --color-background: #0A0A0A;
    --color-surface: #141414;
    --color-text: #F5F5F5;
    --color-accent: #C9A977; /* Mat Altın */
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Lato', sans-serif;
    --transition-fast: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --transition-smooth: 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* YENİ: Metin Seçim Rengi */
::selection {
  background-color: var(--color-accent);
  color: #0A0A0A;
}

body {
    background-color: var(--color-background);
    background-image: url('images/noise.png');
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    opacity: 0;
    animation: bodyFadeIn 1s ease 0.5s forwards;
}

@keyframes bodyFadeIn {
    to { opacity: 1; }
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* --- Header --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.4s ease, padding 0.4s ease;
}
#main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-container { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; }
.logo { height: 45px; }
#main-nav ul { list-style: none; display: flex; gap: 2.5rem; }
#main-nav a { color: var(--color-text); text-decoration: none; font-weight: 700; letter-spacing: 1px; position: relative; padding-bottom: 5px; }
#main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--color-accent); transition: width var(--transition-fast); }
#main-nav a:hover::after, #main-nav a.active::after { width: 100%; }
.header-right { display: flex; align-items: center; gap: 1.5rem; }
#lang-btn { background: none; border: 1px solid var(--color-text); color: var(--color-text); padding: 8px 12px; cursor: pointer; font-weight: 700; transition: all 0.3s ease; }
#lang-btn:hover { background: var(--color-text); color: var(--color-background); }
.ticket-button { background: var(--color-accent); color: #000; padding: 12px 24px; text-decoration: none; font-weight: 700; letter-spacing: 1px; transition: all 0.3s ease; }
.ticket-button:hover { background: var(--color-text); transform: scale(1.05); box-shadow: 0 5px 20px rgba(201, 169, 119, 0.2); }

/* --- Hero Section --- */
#hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: url('images/yatayfoto4.png') no-repeat center center/cover;
    animation: kenburns 20s infinite alternate;
}
@keyframes kenburns { from { background-size: 100%; } to { background-size: 110%; } }
#hero::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 60%, rgba(10,10,10,0.5) 100%); }
.hero-content {
    z-index: 10;
    animation: fadeUp 1.2s var(--transition-smooth) 0.5s forwards;
}
.event-title { font-family: var(--font-heading); font-size: 6rem; letter-spacing: 5px; text-shadow: 0 5px 30px rgba(0,0,0,0.5); }
.event-subtitle { font-size: 1.2rem; letter-spacing: 8px; font-weight: 300; color: var(--color-accent); }
.scroll-down { position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%); width: 2px; height: 60px; background: rgba(255,255,255,0.2); z-index: 10; }
.scroll-down::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 30px; background: white; animation: scroll-anim 2.5s infinite; }
@keyframes scroll-anim { 0% { transform: translateY(0); opacity: 1; } 70%, 100% { transform: translateY(30px); opacity: 0; } }

/* --- Genel Bölüm Ayarları --- */
.content-section { padding: 8rem 0; }
.section-title { font-family: var(--font-heading); font-size: 3.5rem; text-align: center; margin-bottom: 1rem; font-weight: 700; }
.section-intro { font-size: 1.2rem; text-align: center; max-width: 800px; margin: 0 auto 5rem auto; color: #b0b0b0; font-weight: 300; }

/* --- Lineup Section --- */
.dj-entry { display: flex; gap: 4rem; align-items: center; margin-bottom: 8rem; }
.dj-entry.reverse { flex-direction: row-reverse; }
.dj-image { flex: 1; position: relative; transition: transform var(--transition-fast); }
.dj-image:hover { transform: translateY(-10px); }
.dj-image img { width: 100%; display: block; border: 1px solid #222; }
.dj-details { flex: 1; }
.dj-details h3 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1rem; }
.dj-details p { font-size: 1.1rem; font-weight: 300; }

/* --- GALERİ BÖLÜMÜ YENİLENDİ --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-auto-rows: 350px; /* Tüm satırların yüksekliği eşit */
    gap: 1.5rem;
    margin-top: 4rem;
}
.grid-item {
    overflow: hidden;
    position: relative;
    transition: transform var(--transition-fast);
}
.grid-item:hover {
    transform: scale(1.03);
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.grid-item img {
    width: 100%;
    height: 100%; /* Resmin konteyneri tamamen doldurması sağlandı */
    object-fit: cover; /* Resmin oranını koruyarak doldurur */
    transition: filter 0.4s ease;
    filter: saturate(0.7);
}
.grid-item:hover img { filter: saturate(1); }

/* --- SPONSOR BÖLÜMÜ YENİLENDİ --- */
#sponsors { background-color: var(--color-surface); }
.sponsor-logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6rem; /* Boşluk artırıldı */ margin-top: 5rem; }
.sponsor-item { transition: transform var(--transition-fast); }
.sponsor-item:hover { transform: scale(1.1); }
.sponsor-item img {
    max-height: 140px; /* LOGOLAR BİRAZ DAHA BÜYÜTÜLDÜ */
    max-width: 280px;
    filter: brightness(0.9) saturate(0.8);
    transition: filter 0.4s ease;
}
.sponsor-item:hover img { filter: none; }

/* --- Contact Section --- */
#contact-form { max-width: 800px; margin: 4rem auto 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.form-row { position: relative; }
#contact-form input, #contact-form textarea { width: 100%; background: var(--color-surface); border: 1px solid #333; padding: 1rem; color: var(--color-text); font-size: 1rem; font-family: var(--font-body); transition: border-color var(--transition-fast); }
#contact-form input:focus, #contact-form textarea:focus { outline: none; border-color: var(--color-accent); }
#contact-form label { position: absolute; top: 1rem; left: 1rem; color: #888; transition: all 0.3s ease; pointer-events: none; }
#contact-form input:not(:placeholder-shown) + label, #contact-form input:focus + label,
#contact-form textarea:not(:placeholder-shown) + label, #contact-form textarea:focus + label { top: -0.75rem; left: 0.75rem; font-size: 0.8rem; background-color: var(--color-background); padding: 0 0.5rem; }
.submit-btn { align-self: center; background: var(--color-accent); color: var(--color-background); border: none; padding: 1rem 4rem; font-weight: 700; font-size: 1.1rem; cursor: pointer; transition: all var(--transition-fast); }
.submit-btn:hover { background: var(--color-text); }
#form-status { text-align: center; margin-top: 1.5rem; font-weight: 700; }

/* --- Footer --- */
#main-footer { background: #000; text-align: center; padding: 2rem; font-size: 0.9rem; color: #888; }

/* --- Animasyonlar --- */
.animate-on-scroll {
    opacity: 0;
    transform: translate3d(0, 40px, 0); /* Donanım hızlandırma */
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
    transition-delay: var(--delay, 0s);
}
.animate-on-scroll.visible { opacity: 1; transform: translate3d(0, 0, 0); }
@keyframes fadeUp {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* --- Responsive Tasarım --- */
@media(max-width: 1024px) {
    .event-title { font-size: 4.5rem; }
    .dj-entry, .dj-entry.reverse { flex-direction: column; gap: 2rem; }
    .dj-entry .dj-image img { max-width: 400px; margin: 0 auto; }
    .dj-details { text-align: center; }
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); grid-auto-rows: 280px; }
}
@media(max-width: 768px) {
    #main-nav { display: none; }
    .event-title { font-size: 3rem; }
    .event-subtitle { font-size: 1rem; letter-spacing: 4px; }
    .section-title { font-size: 2.5rem; }
    .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 300px; }
}