/* Genel Ayarlar ve Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white; /* Varsayılan metin rengi, ihtiyaç duyulan yerde üzerine yazılabilir */
}

html {
    font-size: 16px; /* REM birimi için temel font boyutu */
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #000; /* Ana arkaplan rengi siyah kalacak */
    color: #fff;
    line-height: 1.6;
    text-align: center;
    padding: 2vw; /* Senin orijinal padding'in geri geldi */
    min-width: 320px;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
    position: relative; /* Canvas için referans nokta */
    z-index: auto; /* Body'nin z-index'ini otomatikye alıyoruz, çocukları yönetecek */
    min-height: 100vh; /* Body'nin minimum yüksekliği viewport kadar olsun */
}

/* Tüm görsellerin responsive olmasını sağla */
img {
    max-width: 100%;
    height: auto; /* Oranını koru */
    display: block; /* Gereksiz boşlukları engellemek için */
}

/* Canvas Elementleri - Arka Plan İçin Konumlandırma */
canvas {
    position: absolute; /* Body'ye göre konumlanır */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none; /* Mouse olaylarını engeller, altındaki içeriğe tıklanabilir */
}

#buffer {
    z-index: -1; /* İçeriğin arkasında kalması için */
}

#canvas {
    z-index: -1; /* İçeriğin arkasında kalması için */
}

/* Ana İçerik Kapsayıcsı - Canvas'ın Üzerinde Görünmesini Sağlar */
.main-content-wrapper {
    position: relative; /* Z-index'in çalışması için */
    z-index: 1; /* Canvas'tan daha yüksek z-index, içeriğin üstte olmasını sağlar */
    /* Body'den gelen padding'i zaten alacaktır */
}

/* Üst Yazı */
.ust-yazi {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    letter-spacing: 1px;
    margin-top: 20px;
    padding: 0 10px;
}

/* Logo Alanı */
.logo-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 20px;
}

.ana-logo {
    max-height: 24vw;
    height: auto;
    min-height: 80px;
    z-index: 1;
}

/* DAMGA - Kalp Atışı Animasyonu (Tarayıcı Ön Ekleri Eklendi) */
@-webkit-keyframes kalpAtisi {
    0% { -webkit-transform: scale(1); opacity: 1; }
    50% { -webkit-transform: scale(1.08); opacity: 0.8; }
    100% { -webkit-transform: scale(1); opacity: 1; }
}
@keyframes kalpAtisi {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

.damga-overlay {
    position: absolute;
    z-index: 2;
    top: 23px;
    right: -17vw;
    height: 15vw;
    max-height: 88px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);

    -webkit-animation: kalpAtisi 1.5s infinite ease-in-out;
    animation: kalpAtisi 1.5s infinite ease-in-out;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}


/* Vizyon Yazısı - Font boyutu güncellendi */
.vizyon {
    margin: 15px 0;
    font-size: clamp(0.8rem, 5vw, 2.5rem);
    color: #ffa726;
    padding: 0 10px;
}

/* Video Alanı (Mevcut hali) */
.video-wrapper {
    max-width: 900px;
    width: 100%;
    margin: 30px auto;
    background-color: #000;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    text-align: left;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    z-index: 1;
    background-color: #000;
    border-radius: 15px;
}

/* Medya Sorguları (Masaüst için 800px genişlik) */
@media (min-width: 820px) {
    .video-wrapper {
        max-width: 800px;
        padding-bottom: calc(800px * 9 / 16);
    }
}


/* Sosyal Medya İkonları */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin: 25px 0;
    flex-wrap: wrap;
    padding: 0 10px;
}

.social-icons img {
    width: clamp(36px, 6vw, 40px);
    height: auto;
    -webkit-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.social-icons img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

/* Yeni Eklenen Çizgi ve Başlk Stilleri */
.divider-section {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
}

.divider-line {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, #444, #444, transparent);
}

.divider-text {
    margin: 0 20px;
    font-size: clamp(1.5rem, 4vw, 1.2rem);
    font-weight: bold;
    color: #ccc;
    white-space: nowrap;
}

/* Sponsor Logoları */
.sponsor-logos,
.alt-logolar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 20px 0;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 10px;
    background: #ffffff21;
    padding: 15px;
    display: inline-flex;
    border-radius: 16px;
}

.sponsor-logos img,
.alt-logolar img {
    max-height: 19vw;
    height: auto;
    max-width: 45%;
    object-fit: contain;
}

.ziraat img {
    max-height: 19vw;
    height: auto;
    max-width: 80%;
    margin: 20px auto;
    object-fit: contain;
}

/* Afiş */
.afis {
    margin: 30px auto;
    display: flex;
    justify-content: center;
    padding: 0 10px;
}

.afis img {
    max-height: 95vh;
    width: auto;
    max-width: 100%;
    border: 2px solid #444;
    border-radius: 6px;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.afis img:hover {
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}

/* Sinopsis */
.sinopsis {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: clamp(16px, 4vw, 18px);
    color: #fff;
    padding: 0 15px;
}

.sinopsis h2 {
    text-align: center;
    font-size: clamp(1.5rem, 6vw, 1.8rem);
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Footer */
footer {
    background-color: #111;
    padding: 30px 20px;
    margin-top: 50px;
    font-size: clamp(0.85rem, 3vw, 0.95rem);
    color: #ccc;
    line-height: 1.5;
}

footer a {
    color: #ffa726;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Medya Sorguları (Sadece büyk ekranlar için belirli değiiklikler) */
@media (min-width: 768px) {
    .logo-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }

    /* DAMGA - Medya Sorgusu Altındaki Düzeltilmiş Kısım - Animasyon İptali Eklendi */
    .damga-overlay {
        position: absolute;
        top: 0;
        right: -121px;
        height: 120px;
        margin-top: 0;
        -webkit-transform: none;
        transform: none;
        
        /* Animasyonu masaüstünde istemiyorsan aşağıdaki satrlar aktif et: */
        /* -webkit-animation: none; */
        /* animation: none; */
    }

    .ana-logo {
        height: 160px;
        max-height: none;
        min-height: auto;
    }

    .sponsor-logos img,
    .alt-logolar img {
        height: 90px;
        max-height: none;
        max-width: none;
    }

    .ziraat img {
        max-height: 80px;
        max-width: none;
    }
}
/* Tüm linklerdeki alt çizgiyi kaldırır */
a {
    text-decoration: none;
}

/* Sadece fare üzerine gelince alt çizgi eklemek istersen */
a:hover {
    text-decoration: underline;
}