/* Genel Stil */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1400px; /* Görseldeki gibi 1400px olarak bırakıldı */
    margin: 0 auto;
    padding: 0 15px;
    display: flex; /* Flexbox kullanımı */
    align-items: center; /* Dikey hizalama */
    justify-content: space-between; /* Yatay hizalama */
}

/* Topbar */
.topbar {
    padding: 10px 0;
    font-size: 14px;
}

.topbar .container {
    justify-content: space-between;
    flex-wrap: wrap; /* Küçük ekranlarda alt alta gelme */
}

.topbar-left a {
    color: inherit;
    margin-right: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.topbar-left a:hover {
    color: #e94e1a;
}

.topbar-info {
    margin-left: 20px;
}

.topbar-info i {
    margin-right: 5px;
}

.topbar-info a {
    color: inherit;
    text-decoration: none;
}

/* Main Header */
.main-header {
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header .container {
    /* Logo ve Menü/Butonların yan yana düzgün durması için */
    justify-content: space-between; /* Logo solda, menü+buton sağda */
}

.site-branding .custom-logo-link img {
    max-height: 120px; /* Görseldeki logoya göre ayarlandı */
    width: auto;
    display: block;
}

.site-title {
    margin: 0;
    font-size: 28px;
}

.site-title a {
    text-decoration: none;
    color: #333;
}

/* Main Navigation */
.main-navigation {
    flex-grow: 1; /* Menünün kalan alanı kaplamasını sağlar */
    display: flex; /* Menü öğelerini sağa yaslamak için */
    justify-content: flex-end; /* Menüyü sağa yasla */
    margin-right: 30px; /* Menü ile buton arasında boşluk bırak */
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
    /* Hover efekti için */
    position: relative;
    overflow: hidden; /* Çizginin taşmasını gizle */
}

.main-navigation ul li a:hover {
    color: #e94e1a;
}

/* Hover Efekti: Soldan Sağa Çizgi */
.main-navigation ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px; /* Çizgi kalınlığı */
    background-color: #e94e1a; /* Çizgi rengi */
    transition: width 0.3s ease-out; /* Animasyon */
}

.main-navigation ul li a:hover::before {
    width: 100%;
}

/* Alt Menüler (Dropdown) */
.main-navigation ul ul {
    display: none;
    position: absolute;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 99;
    top: 100%; /* Ana menünün altına hizala */
    left: 0;
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation ul ul li {
    width: 100%;
}

.main-navigation ul ul li a {
    padding: 10px 20px;
    white-space: nowrap;
}

.main-navigation ul ul li a:hover {
    background-color: #f5f5f5;
    color: #e94e1a;
}

/* Header Sağ Kısım (Sadece Buton Kaldı) */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px; /* Elemanlar arası boşluk */
    /* Eski .header-action-buttons stilleri kaldırıldı */
}

/* Sepet ve Arama ikonları kaldırıldığı için bu stiller gereksiz hale geldi */
/* .header-action-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-icon {
    position: relative;
    color: #333;
    text-decoration: none;
    font-size: 20px;
}
.cart-icon span {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #e94e1a;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    padding: 0;
} */

.button.request-quote-btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: nowrap; /* Metni tek satırda tutar */
    /* Renkler Customizer'dan geleceği için burada varsayılan değerleri kaldırdık */
    /* background-color: #e94e1a; */ 
    /* color: #ffffff; */
}

.button.request-quote-btn:hover {
    background-color: #d13703; /* Koyu kırmızı hover rengi */
    color: #fff; /* Hover'da yazı rengini beyaz yap */
}

/* Hamburger Menü (Gizli, sadece mobil için) */
.hamburger-menu-toggle {
    display: none; /* Varsayılan olarak gizli */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 100;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
    top: 0;
}

.hamburger-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-line:nth-child(3) {
    bottom: 0;
}

/* Hamburger Menü Açık Durumu (Çapraz Animasyon) */
.hamburger-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.hamburger-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobil Menü Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.9); ARTIK BURADA OLMAYACAK */
    z-index: 90;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-navigation {
    padding-top: 100px;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu li a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    font-size: 24px;
    padding: 10px 0;
    transition: color 0.3s ease;
    /* Mobil menü hover efekti */
    position: relative;
    overflow: hidden;
}

.mobile-menu li a:hover {
    color: #e94e1a;
}

/* Mobil menü hover efekti: Soldan sağa çizgi */
.mobile-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px; /* Daha ince çizgi */
    background-color: #e94e1a;
    transition: width 0.3s ease-out;
}

.mobile-menu li a:hover::before {
    width: 100%;
}