/* --- TEMEL SAYFA AYARLARI --- */
body, html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden; /* Dikey kaydırmayı engeller */
    font-family: Arial, sans-serif;
    color: white;
}

/* --- ARKA PLAN VİDEOSU VE EFEKT --- */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.0) url("img/texture.png");
    background-size: cover;
    z-index: -1;
}

/* --- 1. ÜST BAR VE BUTONLAR --- */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid #ceba8e;
    
    /* İsterseniz çerçevenin içine arkaplan ekleyebilirsiniz */
   /*  background-image: url('img/cerceve-arkaplan.png'); */
     background-color: rgba(0, 0, 0, 0.4); 
}
.image-links {
    display: flex;
    gap: 15px;
    align-items: center;
}
.image-links a img {
    max-width: 160px; /* Buton boyutunu buradan ayarlayabilirsiniz */
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s;
}
.image-links a img:hover {
    transform: scale(1.05);
}

/* --- 2. ANA İÇERİK KONTEYNERİ (Tüm öğeleri konumlandırmak için) --- */
.page-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* --- LOGO AYARLARI --- */
.main-logo {
    /* KONUM AYARI: top, left değerlerini değiştirerek logonun yerini ayarlayın */
    position: absolute;
    top: 8%; /* Sayfanın üstünden %12 aşağıda */
    left: 50%;
    transform: translateX(-50%);
    
    max-width: 400px;
    width: 70%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.6));
    animation: fadeIn 2s forwards, pulse-animation 2s infinite 1s;
}

/* --- YENİ ARA GÖRSEL AYARLARI --- */
.promo-image {
    /* KONUM AYARI: Bu görselin yerini buradan ayarlayın */
    position: absolute;
    top: 38%; /* Logo ile slider arasında bir konum */
    left: 50%;
    transform: translateX(-50%);

    max-width: 750px; /* Görselinizin maksimum genişliği */
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
    opacity: 0;
    animation: fadeIn 1.5s 0.2s forwards; /* Diğerleri gibi belirmesi için animasyon */
}

/* --- SLIDER AYARLARI --- */
.slider-container {
    /* KONUM AYARI: Slider'ın yerini buradan ayarlayın */
    position: absolute;
    top: 73%; /* Yükseklik değiştiği için dikey konumu güncellendi */
    left: 50%;
    transform: translate(-50%, -50%);

    width: 90%;
    max-width: 835px; /* GÜNCELLENDİ: Görsel genişliğinizle aynı yapıldı */
    /* aspect-ratio: 16 / 6;  <-- KALDIRILDI: Bu kural yüksekliği zorluyordu */
    overflow: hidden;
    border-radius: 10px;
  /*  box-shadow: 0 5px 15px rgba(0,0,0,0.5); */
    opacity: 0;
    animation: fadeIn 1.5s 0.3s forwards;
}
.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slide {
    flex: 0 0 100%;
    width: 100%;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.slider-btn:hover {
    opacity: 1;
}
.slider-btn img {
    width: 40px; /* Ok görsellerinizin boyutunu ayarlayın */
    height: auto;
}
.prev-btn {
    left: 0px;
	top: 65%;
}
.next-btn {
    right: 0px;
	top: 65%;
}

/* --- GERİ SAYIM SAYACI AYARLARI --- */
#countdown-container {
    /* KONUM AYARI: Geri sayım sayacının yerini buradan ayarlayın */
    position: absolute;
    top: 85%; /* Sayfanın üstünden %75 aşağıda */
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 20px;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1.5s 0.6s forwards;
}
.countdown-item {
    background: rgba(74, 44, 26, 0.8); /* Daha sade bir arkaplan */
    padding: 15px 25px;
    border-radius: 8px;
    min-width: 90px;
    border: 1px solid #6b4226;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.countdown-number {
    /* ----> SAYILARIN FONTUNU BURADAN DEĞİŞTİRİN <---- */
    font-family: 'Bahnschrift', sans-serif; /* Örnek: 'Times New Roman' */
    font-size: 3em;
    font-weight: bold;
    display: block;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.countdown-label {
    /* ----> YAZILARIN (Gün, Saat vb.) FONTUNU BURADAN DEĞİŞTİRİN <---- */
    font-family: 'Mena Grotesk', sans-serif; /* Örnek: 'Courier New' */
    font-size: 1em;
    margin-top: 5px;
    text-transform: uppercase;
    display: block;
}

/* --- GENEL ANİMASYONLAR --- */
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulse-animation {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

/* --- MOBİL UYUMLULUK --- */
.mobile-nav-toggle { display: none; } /* Hamburger menü ikonu masaüstünde gizli */

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    html, body {
        overflow-y: none; /* Mobilde dikey kaydırmaya izin ver */
        height: auto;
    }

    /* Sayfa konteynerini, içindeki öğeleri konumlandırabilmek için hazırlıyoruz */
    .page-container {
        position: relative;
        /* Yeterli dikey alan oluşturarak öğeleri rahatça yerleştirmenizi sağlar */
        /* Bu değeri, en alttaki öğenizin konumuna göre artırabilirsiniz */
        min-height: 140vh; 
    }

    /* ---- MOBİLDE ÖĞELERİN KONUMLANDIRILMASI ---- */
    /* Artık her öğeyi `top` değeriyle istediğiniz gibi aşağı yukarı kaydırabilirsiniz. */

    .main-logo {
        /* KONUM AYARI: Mobilde logonun yerini buradan ayarlayın */
        position: absolute;
        top: 3%; /* Ekranın üstünden uzaklığı */
        left: 50%;
        transform: translateX(-50%); /* Ortalamayı korur */
        max-width: 380px; /* Mobil için logo boyutu */
        width: 70%;
        /* Logo animasyonu artık merkezde doğru çalışacak */
    }

    .promo-image {
        /* KONUM AYARI: Mobilde ara görselin yerini buradan ayarlayın */
        position: absolute;
        top: 21%; /* Ekranın üstünden uzaklığı */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
    }

    .slider-container {
        /* KONUM AYARI: Mobilde slider'ın yerini buradan ayarlayın */
        position: absolute;
        top: 44%; /* Ekranın üstünden uzaklığı */
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        position: absolute; /* Butonların doğru hizalanması için gerekli */
    }

    #countdown-container {
        /* KONUM AYARI: Mobilde geri sayımın yerini buradan ayarlayın */
        position: absolute;
        top: 56%; /* Ekranın üstünden uzaklığı */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Diğer mobil ayarlar */
    .countdown-item { padding: 10px; min-width: 70px; }
    .countdown-number { font-size: 2em; }

    /* --- MOBİL MENÜ AYARLARI (DEĞİŞİKLİK YOK) --- */
    .mobile-nav-toggle { display: block; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: none; border: none; width: 30px; height: 24px; cursor: pointer; z-index: 101; }
    .hamburger, .hamburger::before, .hamburger::after { content: ''; position: absolute; width: 30px; height: 3px; background: #ceba8e; border-radius: 3px; transition: transform 0.3s, opacity 0.3s; }
    .hamburger { top: 10px; }
    .hamburger::before { top: -10px; }
    .hamburger::after { top: 10px; }
    .image-links { position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; background: rgba(0,0,0,0.8); padding: 0px 0; max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out, padding 0.5s ease-out; }
    .image-links.active { max-height: 500px; padding: 15px 0; }
    .top-bar.open .hamburger { background: transparent; }
    .top-bar.open .hamburger::before { transform: rotate(45deg); top: 0; }
    .top-bar.open .hamburger::after { transform: rotate(-45deg); top: 0; }
}