* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

:root {
    /* Renk Paleti (Görselden Birebir) */
    --brand-navy: #093c71;       /* Top bar rengi */
    --brand-blue: #14559b;       /* Yazı ve aktif menü rengi */
    --border-light: #eaeaea;     /* Menü arası dikey çizgi */
    
    /* Logo Boyutu (Kocaman İstendiği İçin Büyütüldü) */
    --logo-height-desktop: 80px;
    --logo-height-mobile: 60px;
    
    --header-height: 130px;      /* Menü yapısı yüksek olduğu için header genişletildi */
}

body {
    background-color: #fcfcfc;
    color: #333;
}

/* ---------------------------------------------------------
   İkonlar (Inline SVG — font/CDN'e bağımlı değil)
   --------------------------------------------------------- */
.icon-svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* ---------------------------------------------------------
   Üst Bilgi Çubuğu (Top Bar)
   --------------------------------------------------------- */
.top-bar {
    background-color: var(--brand-navy);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 12px 0;
}

.top-bar-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info .separator {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.4);
}

.top-bar a, .working-hours {
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.25s ease;
}

.top-bar a .icon-svg,
.working-hours .icon-svg {
    width: 14px;
    height: 14px;
}

.top-bar a:hover {
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    font-size: 1.1rem;
}

.social-icons a .icon-svg {
    width: 18px;
    height: 18px;
}

/* ---------------------------------------------------------
   Ana Header
   --------------------------------------------------------- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    height: var(--header-height);
}

/* ---------------------------------------------------------
   Logo
   --------------------------------------------------------- */
.logo-box {
    display: flex;
    align-items: center;
    height: 100%;
}

.brand-logo {
    height: var(--logo-height-desktop);
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-link:hover .brand-logo {
    transform: scale(1.02);
}

/* ---------------------------------------------------------
   Ana Menü (İkon üstte, yazı altta)
   --------------------------------------------------------- */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav li {
    border-right: 1px solid var(--border-light);
    padding: 0 25px;
}

.main-nav li:last-child {
    border-right: none; /* Son elemanda çizgi olmasın */
}

.main-nav a {
    text-decoration: none;
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column; /* İkonu üste alır */
    align-items: center;
    gap: 12px; /* İkon ve yazı arası boşluk */
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

/* İkon Boyutları */
.main-nav a .icon-svg {
    width: 26px;
    height: 26px;
    color: var(--brand-blue);
    transition: transform 0.3s ease;
}

/* Aktif Sayfa veya Hover Çizgisi */
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--brand-blue);
    transition: width 0.3s ease;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    width: 80%; /* Alt çizgi genişliği */
}

.main-nav a:hover .icon-svg {
    transform: translateY(-3px);
}

/* ---------------------------------------------------------
   İletişim CTA (Hemen Ara Butonu)
   --------------------------------------------------------- */
.contact-btn {
    background-color: var(--brand-blue);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.contact-btn .icon-svg {
    width: 16px;
    height: 16px;
    color: #ffffff;
}

.contact-btn:hover {
    background-color: var(--brand-navy);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(20, 85, 155, 0.3);
}

/* ---------------------------------------------------------
   Hamburger Menü İkonu
   --------------------------------------------------------- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--brand-blue);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* ---------------------------------------------------------
   Mobil Uyumluluk
   --------------------------------------------------------- */
@media (max-width: 1100px) {
    .main-nav li {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 100px;
    }

    /* Top Bar Mobil Düzeni */
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-info .separator {
        display: none; /* Mobilde çizgileri gizle */
    }

    .header-container {
        justify-content: space-between;
    }

    .brand-logo {
        height: var(--logo-height-mobile);
    }

    .header-contact {
        display: none; /* Mobilde Hemen Ara butonunu gizle */
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    /* Mobil Menü Görünümü */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav li {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 0;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        flex-direction: row; /* Mobilde ikon yanda, yazı sağda olsun */
        padding: 15px 25px;
        gap: 15px;
        justify-content: flex-start;
    }
    
    .main-nav a::after {
        display: none; /* Mobilde alt çizgiyi kaldır */
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 100px;
    }

    /* Mobilde gizlenecek elemanlar */
    .hide-mobile {
        display: none !important;
    }

    /* Top Bar Mobil Düzeni - Sadece Konum ve Telefon yan yana */
    .top-bar-container {
        flex-direction: row;
        justify-content: center;
        padding: 0 10px;
    }
    
    .contact-info {
        flex-wrap: nowrap;
        justify-content: center;
        width: 100%;
    }

    .contact-info .separator {
        display: none; 
    }

    .header-container {
        justify-content: space-between;
    }

    .brand-logo {
        height: var(--logo-height-mobile);
    }

    .header-contact {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    /* Mobil Menü Görünümü */
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    }

    .main-nav.active {
        max-height: 500px;
        padding: 20px 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
    }

    .main-nav li {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding: 0;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        flex-direction: row;
        padding: 15px 25px;
        gap: 15px;
        justify-content: flex-start;
    }
    
    .main-nav a::after {
        display: none; 
    }
}