/* ==== RESET CSS ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    line-height: 1.5;
    
}
/* ======================= KVKK POP-UP STİLLERİ ======================= */



/* Linkler */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Görseller */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Liste sıfırlama */
ul {
    list-style: none;
}

/* Container (ortalamak için) */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==== ÜST SİYAH BANT ==== */
/* Genel container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Üst bar */
.top-bar {
    background-color: #3b3939;
    color: #fff;
    font-size: 14px;
    height: 60px;
    display: flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-links {
    margin-left: 100px; /* komple sağa kaydırma */
    display: flex;
    gap:35px; /* linkler arası boşluk */
}

.top-links a {
    margin-right: 400px; /* linkler arasındaki boşluk */
}


/* Sol linkler */
.top-links a {
    color: #cec4c4;
    text-decoration: none;
    margin-right: 20px;
    font-size: 12px;
}

.top-links a:last-child {
    margin-right: 0;
}

.top-links a:hover {
    text-decoration: underline;
    text-decoration: none;
}

/* Sağ kısım */
.top-right {
    display: flex;
    align-items: center;
    gap: 25px;
}
/* Telefon ve ikon */

.phone  {
    display: flex;
    align-items: center;
    gap: 6px; /* ikon ile numara arası boşluk */
    font-weight: 500;
    font-family: Arial, Helvetica, sans-serif;
    color: #cec4c4;
    font-size: 15px;
    font-weight: bold;
    
}
.phone i {
    color:  #cec4c4; /* ikon rengi */
    font-size: 16px; /* ikon boyutu */
   
}
.phone a {
    text-decoration: none;
    color: #cec4c4;
}

.phone a:hover {
    text-decoration: none; /* hover’da da çizgiyi kaldırır */
    color: #25D366; /* istersen hover rengi */
}
.phone a:hover i.fa-whatsapp {
    color: #25D366; /* hover’da da aynı yeşil kalsın */
}
/* Telefon ve ikon */
/* Dil seçici */
.lang-dropdown {
    position: relative;
    padding-left: 15px; /* çizgi ile içerik arası boşluk */
    border-left: 1px solid rgba(255, 255, 255, 0.3); /* yarı saydam beyaz çizgi */
    height: 20px;
}

.lang-dropdown button {
    background: none;
    border: none;
    color: #cec4c4;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.flag {
    width: 18px;
    height: auto;
}

.lang-menu {
    position: absolute;
    top: 30px;
    right: 0;
    background: #fff;
    color: #000;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 10px;
    min-width: 160px;
    z-index: 999;
}

.lang-menu p {
    font-weight: 10px;
    font-size: 13px;
    margin-bottom: 8px;
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000;
    padding: 5px 0;
    font-size: 13px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    
}
.lang-menu a.active {
    opacity: 1;
    font-weight: bold;
}

.lang-menu a:hover {
    opacity: 1;
}
.lang-menu a.active,
.lang-menu a:hover {
  opacity: 1;
  font-weight: 600;
}

.lang-menu a:hover {
    text-decoration: underline;
    text-decoration: none;
}

.hidden {
    display: none;
}
.fi {
    margin-right: 5px;
    font-size: 13px;
    /*Bayrakboyutu*/border-radius: 1.5px ;
   
}
/* Dil Secici */

/* Orta bar temel */
/* Genel bar */

  /* === GENEL BAR === */
.header-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    width: 100%;
  }
  
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: -10px -10px;
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* sol - orta - sağ */
    align-items: center;
  }
  
  /* === SOL TARAF: Kategoriler + Arama === */
  .left-side {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .categories-btn {
    height: 44px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #16163a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
  }
  .categories-btn:hover {
    filter: brightness(1.1);
  }
  
  .search {
    display: flex;
    align-items: center;
    height: 44px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 0 12px 0 36px;
    position: relative;
    background: #fff;
  }
  .search i {
    position: absolute;
    left: 12px;
    color: #8b8b8b;
  }
  .search input {
    border: none;
    outline: none;
    font-size: 14px;
  }
  
  /* === ORTA: LOGO === */
  .center-side {
    text-align: center;
  }
  .center-side .logo-link {
    display: inline-block;
  }
  .center-side img {
    height: 100px; /* Logo boyutu */
    width: auto;
    object-fit: contain;
    display: block;
  }
  
  /* === SAĞ TARAF: Admin / Profil === */
  .right-side {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
  }
  .right-side a {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
  }
  .right-side i {
    font-size: 18px;
  }
  .right-side a:hover {
    color: #16163a;
  }
  

/* ==== HEADER, MAIN, FOOTER Temel ==== */
header, footer {
    background: #f5f5f5;
    padding: 20px 0;
}

main {
    padding: 20px 0;
}


/* ======================= FOOTER STİLLERİ ======================= */
.site-footer {
    background-color:#302e2e; /* Koyu bir arkaplan (header ile uyumlu olabilir) */
    color: #cec4c4; /* Okunaklı, hafif soluk bir metin rengi */
    padding: 13px 0; /* Üstten ve alttan boşluk */
    text-align: center; /* İçeriği ortala */
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-top: 1px solid #333; /* Üstüne ince bir ayırıcı çizgi */
    margin-top: 0px; 
}

.footer-container {
    max-width: 1200px; /* İçeriğin maksimum genişliği */
    margin: 0 auto; /* Konteyneri sayfanın ortasına hizala */
    padding: 0 20px; /* Mobil cihazlarda kenarlardan boşluk bırak */
}

.site-footer p {
    margin: 0; /* Paragrafın tarayıcı tarafından eklenen varsayılan boşluğunu sıfırla */
}


/* ======================= YUKARI ÇIK BUTONU STİLLERİ ======================= */
.scroll-top-btn {
    position: fixed; /* Sayfa kaysa bile yerinde kalır */
    bottom: 70px; /* Alttan boşluk */
    right: 30px; /* Sağdan boşluk */
    z-index: 999; /* Diğer elemanların üstünde kalır */
    
    width: 50px; /* Genişlik */
    height: 50px; /* Yükseklik */
    
    background-color: #333; /* Arkaplan rengi */
    color: #fff; /* Ok ikonunun rengi */
    
    border: none;
    border-radius: 50%; /* Tam yuvarlak yapar */
    
    /* İkonu tam ortalamak için */
    display: flex;
    align-items: center;
    justify-content: center;
    
    font-size: 20px;
    text-decoration: none;
    
    cursor: pointer;
    
    /* Başlangıçta görünmez ve ekranın dışında olacak */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Aşağıda gizli duracak */
    
    /* Belirip kaybolma animasyonu */
    transition: all 0.3s ease-in-out;
    
}

/* JavaScript ile eklenecek olan 'show' sınıfı */
.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Normal konumuna gelecek */
}

/* Üzerine gelince hafif bir renk değişimi */
.scroll-top-btn:hover {
    background-color: #555;
    text-decoration: none;
}

/* ======================= ÖNE ÇIKAN KATEGORİLER STİLLERİ ======================= */









/* ======================= GÜNCELLENMİŞ FOOTER STİLLERİ ======================= */

/* Üstteki üç sütunlu ana alan */
.main-footer {
    background-color: #f4f4f4; /* İki footer da aynı renk olacak */
    color: #555;
    padding: 50px 20px 0 20px; /* Alttan boşluğu kaldırdık, alttaki footer ile birleşecek */
}

/* Sütunları tutan ana konteyner */
/* Sütunları tutan ana konteyner */
/* Sütunları tutan ana konteyner */
/* Sütunları tutan ana konteyner */
/* Sütunları tutan ana konteyner */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* DEĞİŞİKLİK: Kurumsal sütununu sağa kaydırmak için oranlar ayarlandı */
    grid-template-columns: 0.95fr auto 1.05fr;
    gap: 350px; /* Sütunlar arası boşluk */
    align-items: start;
}
/* YENİ: Son sütunu ("Bizi Takip Edin") sağa yasla */


/* Her bir sütunun genel stili */
.footer-column h3 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: bold;
}

/* İletişim listesi */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; align-items: flex-start; margin-bottom: 15px; font-size: 15px; }
.contact-list i { color: #0056b3; width: 20px; margin-right: 10px; margin-top: 3px; }

/* Kurumsal link listesi */
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #555; text-decoration: none; font-size: 15px; transition: color 0.3s ease; }
.footer-links a:hover { color: #0056b3; }

/* Sosyal medya ana bölümü (Instagram) */
.social-main {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #555; /* Link olduğu için renk verdik */
    text-decoration: none; /* Linkin alt çizgisini kaldırdık */
    transition: color 0.3s ease, transform 0.3s ease; /* Hover efekti ekledik */
}
.social-main:hover {
    color: #0056b3;
    transform: scale(1.05);
    text-decoration: none;
}
.social-main i {
    font-size: 24px;
    margin-right: 10px;
    transition: color 0.3s ease;
}

/* Diğer sosyal medya ikonları */
.social-other { display: flex; gap: 15px; }
.social-other a { color: #555; font-size: 22px; text-decoration: none; transition: color 0.3s ease, transform 0.3s ease; }
.social-other a:hover { color: #0056b3; transform: scale(1.1); }

/* Alttaki telif hakkı footer'ı */
.site-footer {
 
    /* DEĞİŞİKLİK: İki footer'ı yakınlaştırmak için üst/alt boşluğu azalttık */
    padding: 15px 0; 
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border-top: 1px solid #e0e0e0; /* Ayırıcı çizgi ekledik */
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.site-footer p { margin: 0; }
/* ======================= KATEGORİ MENÜSÜ STİLLERİ ======================= */

.category-menu-container {
    position: absolute;
    top: 167px; /* Header'ın toplam yüksekliğine göre bu değeri ayarlayabilirsin */
    right: 350px;
    width: 1200px;
    z-index: 998; /* Diğer içeriklerin üstünde ama header'ın altında */
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-top: 1px solid #e0e0e0;
    
    /* Başlangıçta menüyü gizlemek için */
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    
    /* Açılıp kapanma animasyonu */
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
   
}

/* JavaScript ile eklenecek olan 'visible' sınıfı */
.category-menu-container.visible {
    max-height: 500px; /* Menünün maksimum yüksekliği, içeriğe göre ayarla */
    padding: 30px 0;
}

.category-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Tek sütun olduğu için tüm genişliği kaplasın */
}

.category-list li a {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    text-decoration: none;
    color: #323233;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    /* YENİ: Soluk bir çerçeve eklendi */
    border: 1px solid #f0f0f0;
    margin-bottom: 5px; /* Çerçeveler arasına boşluk eklendi */
}

.category-list li a:hover {
    background-color: #f4f4f4;
    color: #0056b3;
    border-color: #e0e0e0; /* Üzerine gelince çerçeveyi biraz belirginleştir */
}

.category-list li a i {
    font-size: 20px;
    width: 30px; /* İkonların hizalı durması için */
    text-align: center;
    margin-right: 15px;
    color: #7c96c7;
    transition: color 0.2s ease;
}

.category-list li a:hover i {
    color: #0056b3;
}

/* Menü tamamen gizliyken kullanılacak sınıf */
.hidden {
    display: none;
}

/* ======================= BİZE ULAŞIN SAYFASI STİLLERİ ======================= */

/* Sayfa içeriğinin genel konteyneri (Bu sınıflar zaten olabilir) */
.page-content {
    padding: 60px 20px;
}
.content-container {
    max-width: 1200px;
    margin: 0 auto;
}
.page-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

/* Ana bölümün ızgara yapısı */
.contact-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Sol sütun (harita) daha geniş */
    gap: 40px;
    align-items: flex-start; /* Sütunları yukarıdan hizala */
}

/* Sol Sütun: Harita */
.contact-map {
    width: 100%;
    height: 500px; /* Haritanın yüksekliği */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Sağ Sütun: Bilgi Kutusu */
.contact-details {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e7e7e7;
}

.contact-details h3 {
    font-size: 22px;
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Footer'daki ile aynı stili kullanıyor, tutarlılık için */
.contact-details .contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-details .contact-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}
.contact-details .contact-list i {
    color: #0056b3;
    width: 20px;
    margin-right: 15px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* "Bizi Takip Edin" başlığı için üst boşluk */
.contact-details .social-title {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

/* Footer'daki ile aynı stili kullanıyor */
.contact-details .social-other {
    display: flex;
    gap: 20px;
}
.contact-details .social-other a {
    color: #555;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.contact-details .social-other a:hover {
    color: #0056b3;
    transform: scale(1.1);
}
/* "Bize Ulaşın" sayfasındaki Instagram linki için özel stil */
.social-main-contact {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    /* DEĞİŞİKLİK: Transform'u da animasyona dahil et */
    transition: color 0.3s ease, transform 0.3s ease;
    /* YENİ: Büyümenin sola kaymasını engellemek için başlangıç noktasını sola al */
    transform-origin: left center;
}

.social-main-contact:hover {
    color: #0056b3;
    text-decoration: none;
    /* YENİ: Üzerine gelince büyüme efekti eklendi */
    transform: scale(1.1);
}

.social-main-contact i {
    font-size: 24px;
    margin-right: 10px;
}
/* ======================= ADMİN GİRİŞ POP-UP STİLLERİ ======================= */

/* Arkaplanı karartan katman */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Pop-up kutusunun kendisi */
.login-popup {
    background-color: #fff;
    padding: 50px; /* İç boşluk artırıldı */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    width: 90%;
    /* DEĞİŞİKLİK: Kutu büyütüldü */
    max-width: 500px; 
    text-align: center;
}

.login-logo {
    display: block; /* Tam ortalanması için */
    margin: 0 auto 20px auto; /* Üstten boşluk sıfır, yanlardan otomatik, alttan 20px */
    height: 150px;
    width: 150px;
}

/* YENİ: Başlık stili */
.login-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#admin-password-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    text-align: center;
}

.login-btn {
    padding: 12px;
    border: none;
    background-color: #16163a; /* Header'daki buton rengiyle uyumlu */
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #2b2b5a;
}

.error-msg {
    color: #d9534f; /* Kırmızı hata rengi */
    font-weight: bold;
    margin-top: 15px;
    height: 20px; /* Boşluk yaratmaması için sabit yükseklik */
}

/* Gizleme/gösterme için kullanılan sınıf */
.hidden {
    visibility: hidden;
    opacity: 0;
}
/* ====================================================================== */
/* ======================= MOBİL UYUMLULUK (RESPONSIVE) ======================= */
/* ====================================================================== */

/* BÜYÜK TABLET / KÜÇÜK MASAÜSTÜ (1200px ve altı) */
@media (max-width: 1200px) {
    /* Açılır Kategori Menüsünü ekran genişliğine sığdır */
    .category-menu-container {
        width: 95%;
        right: 2.5%;
        left: 2.5%;
    }

    /* Footer'daki devasa boşluğu azalt */
    .footer-content {
        gap: 40px;
        grid-template-columns: 1fr 1fr 1fr; 
    }
}


/* TABLET BOYUTU (992px ve altı) */
@media (max-width: 992px) {
    /* Üst menü linklerini geri getir ve aramayı gizle */
    .top-bar-container {
        justify-content: space-between;
        width: 100%;
        padding: 0 15px;
    }
    .top-links {
        display: flex;
        gap: 15px;
        margin-left: 0;
        align-items: center;
    }
    .top-links a {
        font-size: 12px;
        margin-right: 0;
    }
    /* Telefon numarasının yazısını gizle (HTML'de <span> eklediğini varsayıyorum) */
    .phone span {
        display: none;
    }
    .phone i {
        font-size: 22px;
    }
    
    .header-inner {
        padding: 0 15px;
        grid-template-columns: auto 1fr auto;
    }

    /* Tıklayınca açılan arama animasyonu */
    .search {
        background-color: transparent;
        border: 1px solid transparent; /* Başlangıçta çerçeve görünmez */
        border-radius: 8px;
        padding-left: 10px; /* İkon için boşluk */
        padding-right: 10px;
        transition: all 0.4s ease-in-out;
    }

    /* Arama ikonuna tıklandığını belli etmek için */
    .search i {
        cursor: pointer;
    }
    
    /* Arama input'u (başlangıçta gizli) */
    .search input {
        width: 0; /* Genişliği sıfır */
        padding: 0; /* İç boşluğu sıfır */
        border: none;
        opacity: 0; /* Görünmez */
        pointer-events: none; /* Tıklanamaz */
        transition: all 0.4s ease-in-out;
    }

    /* JavaScript ile .active sınıfı eklendiğinde olacaklar */
    .search.active {
        background-color: #fff;
        border: 1px solid #e2e2e2;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .search.active input {
        width: 100px; /* Genişliği artır (istediğin gibi ayarla) */
        padding-left: 10px; /* Soluna boşluk ver */
        opacity: 1; /* Görünür yap */
        pointer-events: auto; /* Tıklanabilir yap */
    }
    .search.active i {
        opacity: 0; /* İkonu yavaşça görünmez yap */
        pointer-events: none; /* Tıklanmasını engelle */
    }

    /* Footer'daki sütunları 2'ye düşür */
    .footer-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }
    .contact-list li, .social-main, .social-other {
        justify-content: flex-start;
    }
}


/* KÜÇÜK TABLET VE BÜYÜK TELEFON BOYUTU (768px ve altı) */
@media (max-width: 768px) {
    /* --- HEADER DÜZENLEMESİ --- */
    .header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        height: 70px;
        padding: 0 15px;
    }
    .left-side, .right-side { flex: 1; }
    .left-side { justify-content: flex-start; }
    .right-side { justify-content: flex-end; }
    .center-side {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto;
    }
    .center-side .logo-link img {
        height: 50px;
    }
    .right-side .admin-link span {
        display: none;
    }

    /* --- BİZE ULAŞIN SAYFASI DÜZENLEMESİ --- */
    .page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .contact-section {
        grid-template-columns: 1fr; /* Sütunları alt alta diz */
    }
    .contact-map {
        height: 300px; /* Haritanın yüksekliğini mobil için azalt */
    }
    .contact-details {
        padding: 20px;
        text-align: center; /* YENİ: Kutu içindeki her şeyi ortalamak için temel */
    }
    /* YENİ: Liste elemanlarını ve sosyal ikonları ortala */
    .contact-details .contact-list li,
    .contact-details .social-main-contact,
    .contact-details .social-other {
        justify-content: center;
    }


    /* --- FOOTER DÜZENLEMESİ --- */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    /* Bu kural hem footer hem de contact-details için çalışır */
    .contact-list li, .social-main, .social-other {
        justify-content: center;
    }
}

/* SADECE KÜÇÜK TELEFONLAR İÇİN EKSTRA AYARLAR (480px ve altı) */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .header-inner .logo-link img {
        height: 40px;
    }
    
    .categories-btn span {
        display: none;
    }
    .categories-btn {
        padding: 0 12px;
        width: 44px;
    }
    
    .login-popup {
        padding: 20px;
    }
}
/* ======================= KATEGORİ MENÜSÜ STİLLERİ ======================= */

.category-menu-container {
    position: absolute;
    top: 167px; /* Header'ın toplam yüksekliğine göre bu değeri ayarlayabilirsin */
    right: 350px;
    width: 1200px;
    z-index: 998; /* Diğer içeriklerin üstünde ama header'ın altında */
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-top: 1px solid #e0e0e0;
    
    /* Başlangıçta menüyü gizlemek için */
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    
    /* Açılıp kapanma animasyonu */
    transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
   
}

/* JavaScript ile eklenecek olan 'visible' sınıfı */
.category-menu-container.visible {
    max-height: 500px; /* Menünün maksimum yüksekliği, içeriğe göre ayarla */
    padding: 30px 0;
}

.category-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Tek sütun olduğu için tüm genişliği kaplasın */
}

.category-list li a {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    text-decoration: none;
    color: #323233;
    font-size: 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
    /* YENİ: Soluk bir çerçeve eklendi */
    border: 1px solid #f0f0f0;
    margin-bottom: 5px; /* Çerçeveler arasına boşluk eklendi */
}

.category-list li a:hover {
    background-color: #f4f4f4;
    color: #0056b3;
    border-color: #e0e0e0; /* Üzerine gelince çerçeveyi biraz belirginleştir */
}

.category-list li a i {
    font-size: 20px;
    width: 30px; /* İkonların hizalı durması için */
    text-align: center;
    margin-right: 15px;
    color: #7c96c7;
    transition: color 0.2s ease;
}

.category-list li a:hover i {
    color: #0056b3;
}

/* Menü tamamen gizliyken kullanılacak sınıf */
.hidden {
    display: none;
}