/*=====================================
  GENEL SİTE STİLLERİ - style.css
=======================================*/

/* Temel Sıfırlama ve Font Ayarları */
body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Sayfa İçeriği Kapsayıcı (Container) */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header ve Navigasyon Stilleri */
header {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}


header .logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2B3A64;
    text-decoration: none;
    text-transform: uppercase;
}



header .logo a img {
    height: 50px; /* Logonuzun yüksekliğini 30 piksele düşürdüm */
    width: auto;
    display: block;
}


header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav li {
    margin-left: 2rem;
}

header nav a {
    color: #2B3A64;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: #4A6FA5;
}

/* Footer Stilleri */
footer {
    background: #2B3A64;
    color: #adb5bd;
    text-align: center;
    padding: 1.5rem;
}

/* Ortak Başlık ve Buton Stilleri */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2B3A64;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: #4A6FA5;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.button {
    background-color: #2B3A64;
    color: #fff;
    padding: 0.9rem 2rem;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.button:hover {
    background-color: #4A6FA5;
    transform: translateY(-3px);
}


/*=====================================
  ÇEREZ BİLDİRİMİ STİLLERİ
=======================================*/

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2B3A64;
    color: #fff;
    padding: 15px 20px;
    display: none;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner p a {
    color: #4A6FA5;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #fff;
    color: #2B3A64;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cookie-banner button:hover {
    background-color: #e9ecef;
}

/*=====================================
  MOBİL MENÜ STİLLERİ
=======================================*/

/* Masaüstü menüsünü küçük ekranlarda gizle */
.desktop-nav {
    display: none; 
}

/* Mobil Menü Butonu (Hamburger) */
#menu-toggle {
    display: block; /* Mobil için butonu görünür yap */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color, #2B3A64); /* Renk için değişken veya varsayılan değer */
    cursor: pointer;
}

/* Mobil Menü Kapsayıcısı */
#mobile-menu {
    position: fixed;
    top: 0;
    left: -100%; /* Başlangıçta ekranın solunda gizli */
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    padding: 3rem 1.5rem;
}

#mobile-menu.active {
    left: 0; /* 'active' class'ı eklendiğinde menüyü görünür yap */
}

#mobile-menu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#mobile-menu nav li {
    margin-bottom: 1.5rem;
}

#mobile-menu nav a {
    text-decoration: none;
    color: var(--primary-color, #2B3A64);
    font-size: 1.3rem;
    font-weight: 600;
}


/* Orta ve Geniş Ekranlar (Tablet ve Masaüstü) */
@media (min-width: 768px) {
    .desktop-nav {
        display: block; /* Masaüstü menüsünü görünür yap */
    }
    #menu-toggle {
        display: none; /* Hamburger ikonunu gizle */
    }
}