/* Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #141414;
    color: #fff;
}

/* Üst Menü */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #e50914;
}

.header .nav a {
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header .nav a:hover {
    color: #e50914;
}


/* Kahraman Banner */
.hero {
    min-height: 100vh; /* tüm ekran yüksekliği */
    background:
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), /* siyah filtre */
        url('/images/backround/film-kolaji.png') center/cover no-repeat;
    display: flex;
    justify-content: center; /* yatay ortala */
    align-items: center;     /* dikey ortala */
    text-align: center;
    padding-top: 70px; /* header yüksekliği kadar boşluk */
    box-sizing: border-box;
    color: #fff;
}


.hero-content {
    max-width: 750px;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #f0f0f0;
}
.hero-subtitle {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.5;
    color: #f0f0f0;
}

.hero-trial {
    margin-top: 15px;
    font-size: 16px;
    color: #e50914;
    font-weight: bold;
}


/* Gradient animasyonu */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* 🎬 KATEGORİ BÖLÜMLERİ */
.category {
    margin: 60px 50px;
}

.category h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}


.header .logo img {
    height: 40px;   /* üst menüye uygun yükseklik */
    width: auto;    /* oranı korur */
}
/*  Footer */
.footer {
    background-color: #111;
    color: #fff;
    padding: 70px 40px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 0; /* <-- eklendi: stacking context */
}

    /* ebruli spotlight arka plan (animasyonlu) */
    .footer::before {
        content: "";
        position: absolute;
        inset: -20% -10%;
        background: radial-gradient(circle at 20% 20%, rgba(222, 7, 118, 0.20), transparent 54%), radial-gradient(circle at 80% 30%, rgba(62, 44, 117, 0.42), transparent 54%), radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.015), transparent 85%), linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35)); /* hafif karartma */
        background-size: 200% 200%;
        filter: blur(40px);
        pointer-events: none;
        animation: moveFooterSpots 15s linear infinite;
        z-index: -1; /* <-- değişti: arka plana gönder */
    }

/* animasyon */
@keyframes moveFooterSpots {
    0% {
        background-position: 0% 0%, 100% 0%, 50% 0%;
    }

    50% {
        background-position: 100% 50%, 0% 50%, 50% 50%;
    }

    100% {
        background-position: 0% 0%, 100% 0%, 50% 0%;
    }
}

.footer-contact {
    margin-bottom: 20px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 10px;
    column-gap: 40px;
}



    /* Sadece metin kadar tıklanabilir olsun, hücreyi kaplamasın */
    .footer-links-grid a {
        display: inline-block; /* block → inline-block */
        width: max-content; /* genişlik: metin kadar */
        place-self: start; /* grid'in stretch davranışını kapat */
        color: #fff;
        text-decoration: none;
        transition: color .3s;
        margin-bottom: 15px; /* dikey boşluk */
        padding: 2px 0; /* küçük dokunma alanı */
    }

        .footer-links-grid a:hover {
            color: #de0776;
        }


/* Footer panelinden BAĞIMSIZ */
.footer-bottom {
    /* Tema değişkenleri (isteğe göre override edebilirsin) */
    --fb-bg: #0f0f14; /* arka plan */
    --fb-fg: #d5d7dc; /* metin */
    --fb-link: #e4e6eb; /* link */
    --fb-link-hover: #de0776; /* link hover */
    /* Dış boşluklar (üst/alt) */
    --fb-mt: 12px; /* ÜST margin */
    --fb-mb: 12px; /* ALT margin */
    /* İç boşluklar (üst/alt) */
    --fb-pt: 15px; /* ÜST padding */
    --fb-pb: 12px; /* ALT padding */

    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    /* boşluklar */
    margin: var(--fb-mt) 0 var(--fb-mb);
    padding: var(--fb-pt) 16px var(--fb-pb);
}

    /* İçerik hizası */
    .footer-bottom p {
        margin: 0;
    }

    /* Linkler */
    .footer-bottom a {
        color: #de0776; /* link rengi */
        text-decoration: none;
        transition: color .2s ease;
    }

        .footer-bottom a:hover,
        .footer-bottom a:focus {
            color: #3e2c75; /* hover rengi (istenirse) */
            text-decoration: underline;
        }



/* Mobil uyumlu */
@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 8px;
    }
}

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: linear-gradient(45deg, #de0776, #7f3fbf, #3e2c75, #b84fc0);
    background-size: 300% 300%;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: none; /* başta gizli */
    transition: all 0.3s ease;
    animation: gradientShiftScroll 5s ease infinite;
}

#scrollTopBtn:hover {
    background: #3e2c75; /* hover sırasında sabit renk */
    transform: scale(1.1);
    animation: none; /* hover sırasında animasyonu durdur */
}

@keyframes gradientShiftScroll {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* Kapsayıcı: MENÜ bunun üzerinden konumlanır */
.language-selector {
    position: relative;      /*  <-- çok önemli: menü artık buraya göre hizalanır */
    display: inline-flex;    /* ikon ve diğer şeyleri yatay tutar */
    align-items: center;
    margin-right: 12px;      /* ikonu hafif sola almak istersen burayı değiştir */
}

/* İkon: tooltip için position:relative koru */
.language-icon {
    font-size: 24px;
    cursor: pointer;
    user-select: none;
    display: inline-block;   /* inline-block olması daha esnek */
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s;
    position: relative;      /* tooltip bu elemana göre konumlanır */
}

/* İkon hover stili */
.language-icon:hover {
    background-color: #3e2c75;
    transform: translateY(-1px);
}

/* Tooltip (ikonun altına) */
.language-icon::after {
    content: "Dil Seçimi";
    font-family: 'Roboto', Arial, sans-serif;
    position: absolute;
    top: 120%;               /* ikonun hemen altı */
    left: 50%;
    transform: translateX(-50%);
    background-color: #3e2c75;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s;
    z-index: 30;
}

/* Tooltip görünür olsun */
.language-icon:hover::after {
    opacity: 1;
}

/* Dropdown: artık .language-selector'a göre konumlanır */
.language-options {
    display: none;           /* JS açıp kapatacak */
    position: absolute;
    top: calc(100% + 8px);   /* kapsayıcının altından 8px aşağıda */
    left: 50%;               /* kapsayıcı merkezine göre */
    transform: translateX(-50%); /* tam ortala */
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    min-width: 140px;
    max-width: 320px;
    padding: 6px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    z-index: 25;
    text-align: center;
    white-space: nowrap;
}

/* Menü öğeleri */
.language-options li {
    padding: 8px 14px;
    cursor: pointer;
    list-style: none;
    color: #fff;
    transition: background 0.18s;
}

/* Hover öğe rengi */
.language-options li:hover {
    background: #3e2c75;
    color: #fff;
}


/* LOGIN PANEL */

.login-panel {
    background: rgba(28, 28, 28, 0.8); /* 0.2 = %50 opaklık, tamamen şeffaf için 0 */
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 400px;
    text-align: center;
    backdrop-filter: blur(6px); /* arka planı hafif bulanıklaştırır, isteğe bağlı */
}


.login-panel h1 {
    color: #fff;
    margin-bottom: 30px;
}

.login-panel input[type="email"],
.login-panel input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
}

.login-panel input::placeholder {
    color: #aaa;
}

.login-panel button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: linear-gradient(45deg, #de0776, #3e2c75, #ff5f6d, #b715a6);
    background-size: 300% 300%;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.5s ease;
    animation: gradientShift 5s ease infinite;
}

.login-panel button:hover {
    background: #3e2c75; /* hover rengi sabit */
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(222, 7, 118, 0.4);
    animation: none; /* hover sırasında animasyonu durdur */
}

.login-extra {
    margin-top: 20px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

.forgot-password {
    color: #de0776;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 10px;
}

.forgot-password:hover {
    color: #3e2c75;
}

.signup-text {
    margin: 10px 0;
}

.signup-link {
    color: #de0776;
    text-decoration: none;
    font-weight: 600;
}

.signup-link:hover {
    color: #3e2c75;
}

.recaptcha-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.5;
    color: #aaa;
}

.recaptcha-info a {
    color: #de0776;
    text-decoration: none;
}

.recaptcha-info a:hover {
    color: #3e2c75;
}

.language-options li.active {
    background: #3e2c75;
    font-weight: 700;
}

.lang-label {
    margin-left: 8px;
    font-weight: 700;
    font-size: 14px;
}

.rtl .lang-label {
    margin-left: 0;
    margin-right: 8px;
}





:root {
    --brand-main: #de0776; /* main */
    --brand-hover: #3e2c75; /* hover */
}

/* Footer'ı referans yap */
.footer {
    position: relative;
}

    /* Üst çizgi (tam footer başlangıcında) */
    .footer::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px; /* kalınlık */
        background: linear-gradient(90deg, var(--brand-main), var(--brand-hover), var(--brand-main));
        background-size: 200% 100%;
        animation: brand-flow 6s linear infinite;
        box-shadow: 0 0 12px rgba(222, 7, 118, .25);
        z-index: 1;
    }

/* Akış animasyonu */
@keyframes brand-flow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Hareket hassasiyeti için */
@media (prefers-reduced-motion: reduce) {
    .footer::before {
        animation: none;
        background-size: 100% 100%;
    }
}

