/* Temel Ayarlar ve Değişkenler */
:root {
    --bg-color: #111111;
    --section-bg: #111111;
    --card-hover-bg: #161616;
    --text-color: #ffffff;
    --text-muted: #a1a1a1;
    --primary-color: #ffffff;
    --border-color: #222222;
    --font-family: 'Figtree', sans-serif;
    --container-width: 1200px;

    /* Font Ayarları (Clamp) */
    --font-size-h1: clamp(2rem, 5vw, 2.5rem);
    --font-size-h2: clamp(1.5rem, 3vw, 2rem);
    --font-size-h3: clamp(1.125rem, 2vw, 1.375rem);
    --font-size-p: clamp(1rem, 1.5vw, 1.125rem);
}

html {
    scroll-behavior: smooth;
    /* Yumuşak kaydırma */
    scroll-padding-top: 90px;
    /* Navbar (70px) + 20px boşluk bırakır */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* --- YAPI Sınıfları --- */
.navbar-wrapper,
.hero-wrapper,
.section-wrapper,
.footer-wrapper {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.footer-wrapper {
    border-bottom: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    box-sizing: border-box;
}

/* --- Navigasyon --- */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    height: 70px;
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--text-color);
}

/* Hamburger Menü */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-color);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    flex-direction: column;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a {
    text-align: center;
    padding: 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid #222;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- Hero Bölümü --- */
.hero-wrapper {
    background: transparent;
}

.hero-inner {
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.2)),
        url('assets/images/lrX9eC.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: var(--font-size-p);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

/* GÜNCELLEME 1: Butonlar masaüstünde yan yana */
.hero-buttons {
    display: flex;
    flex-direction: row;
    /* Varsayılan: Yan yana */
    gap: 1rem;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 0px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #e6e6e6;
    border-color: #e6e6e6;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.05);
}

/* --- Genel Bölüm İçerikleri --- */
.section-inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: var(--font-size-h2);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--font-size-p);
}

/* --- Kartlar (Releases) --- */
.release-cards {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.release-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
    flex-wrap: nowrap;
}

.release-card:hover {
    background-color: var(--card-hover-bg);
}

.card-left {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
}

/* GÜNCELLEME 2: İkon boyutu büyütüldü */
.card-icon img {
    width: 80px;
    /* 64px -> 80px */
    height: 80px;
    /* 64px -> 80px */
    object-fit: cover;
    border-radius: 0px;
    flex-shrink: 0;
    display: block;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    font-size: var(--font-size-h3);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.card-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 90%;
}

.card-links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.card-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.card-links a:hover:not(.disabled) {
    color: var(--text-color);
}

.card-links a.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* --- İletişim Formu --- */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}


.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem;
    border-radius: 0px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    width: 100%;
    transition: border-color 0.2s;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    max-height: 180px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #555;
    background-color: rgba(255, 255, 255, 0.05);
}

.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 1rem;
    pointer-events: none;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- FAQ --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:first-child {
    border-top: 1px solid var(--border-color);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--text-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    padding-left: 2.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    color: var(--text-color);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* --- Footer --- */
.footer-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
    color: #666;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.1rem;
    color: #666;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--text-color);
}

/* MOBİL UYUMLULUK */
@media (max-width: 1220px) {
    .container {
        border-left: none;
        border-right: none;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    /* GÜNCELLEME 1 (Devamı): Mobilde butonlar alt alta */
    .hero-buttons {
        flex-direction: column;
        max-width: 250px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .release-card {
        padding: 1rem;
    }

    .card-left {
        gap: 1rem;
    }

    .card-info p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        white-space: normal;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    /* --- SCROLL ANİMASYONLARI --- */

    /* Başlangıç durumu: Görünmez ve aşağıda */
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        filter: blur(5px);
    }

    /* Görünür durum: JS bu class'ı ekleyecek */
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }

    /* Kademeli geliş (Stagger) için gecikmeler */
    .reveal-delay-100 {
        transition-delay: 0.1s;
    }

    .reveal-delay-200 {
        transition-delay: 0.2s;
    }

    .reveal-delay-300 {
        transition-delay: 0.3s;
    }

    /* --- NAVBAR MOBİL ANİMASYONU --- */

    /* Mevcut .mobile-menu stilini bununla güncelle veya ez */
    .mobile-menu {
        display: flex;
        /* Artık hep flex, ama gizli */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        border-bottom: 1px solid var(--border-color);

        /* Animasyon özellikleri */
        transform-origin: top;
        transform: scaleY(0);
        /* Y ekseninde kapalı */
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Menü açıldığında JS bu class'ı ekleyecek */
    .mobile-menu.menu-active {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }

    /* Linklerin tek tek gelmesi için (isteğe bağlı şıklık) */
    .mobile-menu a {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .mobile-menu.menu-active a {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
        /* Menü açıldıktan sonra gelir */
    }
}