/* Modern ve Şık Tasarım */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f4f6f9;
    color: #333;
    font-size: 1rem;
}

/* Header */
.header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2b547d 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    animation: fadeInDown 0.8s ease-in-out;
}

.header-container {
    max-width: 970px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.0rem;
    font-weight: 970;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.logo:hover {
    color: #ffcc5c;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: white;
}

.whatsapp {
    background: #25d366;
    color: white;
    padding: 0.5rem;
    border-radius: 10%;
    text-decoration: none;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 4px 10px rgba(37,211,102,0.3);
}

.whatsapp:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 1px rgba(37,211,102,0.5);
}

.phone {
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.phone:hover {
    color: #ffcc5c;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-primary {
    background: #ff6b35;
    color: white;
    font-size: 1rem;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    font-size: 1rem;
}

/* Ana İçerik ve Sol Menü Kapsayıcısı */
.main-container {
    max-width: 1000px;
    margin: 1rem auto;
    display: grid;
    /* Masaüstü: İki sütun (200px menü, 1fr içerik) */
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 0 2rem;
    animation: fadeInUp 0.8s ease-in-out;
}

/* Sidebar (Sol Menü) - Masaüstü Kuralları */
.sidebar {
    background: #2c3e50;
    border-radius: 7px;
    padding: 1.5rem 0;
    
    /* Kaydırma çubuğunu engellemek için sadece bunu kullanın. 
       YÜKSEKLİK VE DİĞER OVERFLOW AYARLARINI KALDIRDIK. */
    overflow: hidden; 

 box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out;
    /* height: 80vh; ve overflow-y: auto; satırları SİLİNDİ. */
   
}

.sidebar:hover {
    transform: translateY(-5px);
}

.sidebar h3 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    margin-top: -1rem; 
    position: relative;
    text-align: left;
    padding-left: 1rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    border-radius: 8px;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.2s ease-in-out;
}

.sidebar h3 a {
    color: white;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

.sidebar h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #ff6b35;
    margin-top: 10px;
    transition: width 0.3s ease-in-out;
    margin-left: 0;
}

.sidebar h3:hover::after {
    width: 100%;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0rem;
    text-align: left;
    padding-left: 0;
}

.category-list li {
    margin: 0;
}

.category-list a {
    color: #d1d8e0;
    text-decoration: none;
    display: block;
    padding: 0.3rem 1rem 0.5rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 5px solid transparent;
    font-size: 1rem;
}

.category-list a:hover {
    background: rgba(255, 107, 53, 0.15);
    border-left-color: #ff6b35;
    color: white;
    transform: translateX(10px);
}

.category-list a.active {
    background: rgba(255, 107, 53, 0.15);
    border-left-color: #ff6b35;
    color: white;
    transform: translateX(10px);
}

/* Main Content */
.main-content {
    background: white;
    border-radius: 18px;
    padding: 0.0rem;
    box-shadow: 0 8px 10px rgba(0,0,0,0.1);
    text-align: left;
}

/* Diğer Genel İçerik Stilleri (Page Title, Contact Details vb.) */
.page-title {
    color: #1e3a5f;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.page-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: #ff6b35;
    margin: 20px auto 0;
    border-radius: 3px;
}








.contact-details {
    font-size: 1rem;
    color: #555;
    line-height: 1.8;
    margin-top: 9rem;
    text-align: center;
}

.contact-details a {
    color: #25d366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: #1e3a5f;
}

/* Footer */
.footer {
    background: #1e3a5f;
    color: #d1d8e0;
    padding: 1rem 0;
    margin-top: 1rem;
    text-align: center;
    box-shadow: 0 -7px 20px rgba(0,0,0,0.15);
    /* Footer Kapsayıcısının Fontunu Küçült */
    font-size: 0.8rem !important; 
}

/* Footer içindeki Metinleri Tüm Sayfalarda Küçültmek İçin Baskın Kural */
.footer p, .footer div, .footer span {
    font-size: 0.8rem !important; /* !important ile tüm kuralları baskın kılar */
    line-height: 1.5;
}


/* Resim Alanı */
.main-image-container {
    background-color: white;
    padding: 0px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Masaüstünde Hamburger Menüyü Gizle */
.menu-toggle {
    display: none;
}

/* ======================================= */
/* RESPONSIVE TASARIM - MOBİL KURALLARI İPTAL */
/* ======================================= */

@media (max-width: 768px) {
    /* Bu alan, HTML'deki width=device-width kuralına izin vermek için boş bırakılmıştır. 
       Böylece mobil cihaz kendi varsayılan genişliğinde açılır ve kullanıcı zoom yapabilir. */
}


/* Animasyonlar */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}