/* Modern Navbar Stilleri - Görsel Referansına Uygun */

/* Reset ve Temel Ayarlar */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Navbar'dan sonraki içerik için margin ekleme */
.navbar + * {
    margin-top: 0;
    padding-top: 0;
}

/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: auto;
    min-height: 65px;
    width: 100%;
    margin-bottom: 3vh;
    box-sizing: border-box;
    position: relative;
}

.navbar, .navbar-link, .contact-btn, .lang {
    font-family: 'Audimat3000', sans-serif;
}

/* Sol Taraf - Logo */
.nav-left {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px; /* büyütüldü */
    height: 60px; /* büyütüldü */
    text-decoration: none;
    box-sizing: border-box;
}

.logo-image {
    width: 60px; /* büyütüldü */
    height: 60px; /* büyütüldü */
}

.navbar .logo:focus {
    outline: none;
}

/* Orta - Ana Menü */
.nav-center {
    display: flex;
    background-color: #f8f9fa;
    padding: 2px 8px;
    border-radius: 100vh;
    border: 1px solid #e5e5e5;
    margin: 0 auto;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: auto;
    max-width: calc(100% - 500px);
    overflow: visible;
    gap: 0;
}

.navbar-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: var(--font-weight-bold);
    font-size: 13px; /* 13px olarak ayarlandı */
    transition: background-color 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 100vh;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 auto;
    text-align: center;
    margin: 0 3px;
    border: 2px solid transparent;
    width: auto;
    transform: translateX(0);
    min-height: 32px;
    box-sizing: border-box;
}

.navbar-link:hover {
    background-color: var(--primary-yellow);
    color: var(--black);
}

.navbar-link.active {
    color: var(--primary-yellow) !important;
    background-color: var(--black) !important;
    border: 2px solid var(--black) !important;
    font-weight: var(--font-weight-bold) !important;
    border-radius: 100vh !important;
    transform: translateX(0) !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

/* Active butonlara hover olduğunda hover efekti yok */
.navbar-link.active:hover {
    background-color: var(--black) !important;
}

.navbar-link:focus {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 100vh !important;
}

.navbar-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 100vh !important;
}

.navbar-link:active {
    outline: none !important;
    box-shadow: none !important;
    border-radius: 100vh !important;
    transform: translateX(2px) !important;
}

/* Dropdown Stilleri */
.nav-dropdown {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: auto;
}

.dropdown-toggle {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.dropdown-toggle::after {
    content: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background: transparent;
    border-radius: 0 0 16px 16px;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    min-width: auto;
    width: auto;
    padding: 13px 0 0 0;
    border: none;
    transform-origin: top center;
}

/* İkinci dropdown için özel stil - soldan sağa uzar */
.nav-dropdown:nth-child(2) .dropdown-menu {
    z-index: 9998;
    left: 0;
    right: auto;
    transform: scale(0.95);
    border-radius: 0 0 16px 16px;
}

/* İkinci dropdown içeriklerini sola hizala */
.nav-dropdown:nth-child(2) .dropdown-item {
    text-align: left !important;
}

/* Üçüncü dropdown için özel stil - soldan sağa uzar */
.nav-dropdown:nth-child(3) .dropdown-menu {
    z-index: 9997;
    left: 0;
    right: auto;
    border-radius: 0 0 16px 16px;
}

/* Üçüncü dropdown içeriklerini sola hizala */
.nav-dropdown:nth-child(3) .dropdown-item {
    text-align: left !important;
}

.dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    display: block !important;
    background: transparent !important;
}

/* İkinci dropdown show durumu */
.nav-dropdown:nth-child(2) .dropdown-menu.show {
    transform: scale(1) !important;
    background: transparent !important;
}

.dropdown-item {
    display: block !important;
    padding: 8px 16px !important;
    color: var(--text-color) !important;
    text-decoration: none !important;
    font-weight: var(--font-weight-bold) !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 100vh !important;
    margin: 0 3px !important;
    flex: none !important;
    text-align: left !important;
    white-space: nowrap !important;
    background-color: #f8f9fa !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: none !important;
    transform: translateX(0) !important;
    width: auto !important;
    min-width: auto !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
}

/* .dropdown-item::before kaldırıldı - yeni tasarım için */

.dropdown-item:hover {
    background-color: var(--primary-yellow) !important;
    color: var(--text-color) !important;
    border-color: var(--primary-yellow) !important;
    transform: none !important;
}

/* .dropdown-item:hover::before kaldırıldı - yeni tasarım için */

.dropdown-item.active {
    background-color: var(--black) !important;
    color: var(--primary-yellow) !important;
    border-color: var(--black) !important;
    position: relative !important;
}

/* Aktif dropdown item göstergesi kaldırıldı */

/* Sağ Taraf - Butonlar */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 250px;
    justify-content: flex-end;
}

.contact-btn {
    background-color: var(--primary-yellow);
    border: none;
    border-radius: var(--border-radius-md);
    padding: 7px 11px;
    font-weight: var(--button-font-weight);
    cursor: pointer;
    transition: all var(--transition-normal) ease;
    color: var(--black);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    vertical-align: middle;
    font-family: inherit;
    border-radius: 100vh;
}

.contact-btn:hover {
    background-color: var(--black);
    color: var(--primary-yellow);
    transform: translateY(-2px);
}

.contact-btn:active {
    transform: translateY(0);
}



/* Dil Seçici */
.lang {
    font-weight: bold;
    font-size: 11px; /* küçültüldü */
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333333;
    padding: 5px 9px; /* küçültüldü */
    border-radius: 10px;
    background-color: #ffffff;
    min-width: 30px; /* küçültüldü */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px; /* küçültüldü */
    box-sizing: border-box;
    border-radius: 100vh;
}

.lang:hover {
    color: var(--primary-yellow);
    background-color: var(--black);
}

.lang:focus {
    outline: 2px solid #ffe600;
    outline-offset: 2px;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 230, 0, 0.1);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #333333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background-color: #ffe600;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background-color: #ffe600;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
}

.mobile-menu-header h3 {
    color: #333333;
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-menu {
    background: none;
    border: none;
    color: #333333;
    font-size: 32px;
    cursor: pointer;
    padding: 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-menu:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000000;
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 30px 25px;
}

.mobile-menu-section {
    margin-bottom: 35px;
}

.mobile-menu-section h4 {
    color: #333333;
    font-size: 20px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.mobile-menu-section h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #333333;
}

.mobile-submenu {
    padding-left: 20px;
}

.mobile-submenu a {
    display: block;
    color: #333333;
    text-decoration: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-submenu a:before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.mobile-submenu a:hover:before {
    left: 100%;
}

.mobile-submenu a:hover {
    color: #000000;
    padding-left: 15px;
    transform: translateX(5px);
}

.mobile-submenu a:active {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Extra responsive ayarlar */
@media (max-width: 1440px) {
    .navbar {
        padding: 12px 30px;
    }

    .nav-center {
        padding: 3px 6px;
    }

    .navbar-link {
        font-size: 13px;
        flex: 0 0 auto;
        margin: 0 3px;
        width: auto;
        line-height: 1;
        min-height: 32px;
        box-sizing: border-box;
        padding: 8px 12px;
        transition: background-color 0.3s ease;
    }
    .contact-btn, .lang {
        font-size: 12px;
        padding: 7px 11px;
        min-height: 28px;
    }
}

@media (max-width: 1200px) and (min-width: 1025px) {
    .navbar {
        padding: 12px 25px;
    }

    .nav-center {
        padding: 1px 5px;
    }

    .navbar-link {
        font-size: 10px;
        padding: 5px 6px;
        flex: 0 0 auto;
        margin: 0 3px;
        width: auto;
        line-height: 1;
        min-height: 24px;
        box-sizing: border-box;
        transition: background-color 0.3s ease;
    }
}

/* Large Desktop için daha geniş menü */
@media (min-width: 1200px) {
    .nav-center {
        padding: 4px 8px;
        min-width: auto;
        justify-content: center;
    }

    .navbar-link {
        font-size: 12px;
        padding: 8px 12px;
        min-height: 24px;
    }
    .contact-btn, .lang {
        font-size: 11px;
        padding: 10px 11px;
        min-height: 32px;
    }
}
@media (max-width: 1199px) and (min-width: 1025px) {
    .navbar-link {
        font-size: 12px;
        padding: 8px 12px;
        min-height: 24px;
    }
    .contact-btn, .lang {
        font-size: 11px;
        padding: 9px 10px;
        min-height: 30px;
    }
}
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar-link {
        font-size: 12px;
        padding: 7px 10px;
        min-height: 22px;
    }
    .contact-btn, .lang {
        font-size: 10px;
        padding: 8px 9px;
        min-height: 28px;
    }
}
@media (max-width: 768px) and (min-width: 481px) {
    .navbar-link {
        font-size: 12px;
        padding: 6px 9px;
        min-height: 20px;
    }
    .contact-btn, .lang {
        font-size: 9px;
        padding: 7px 8px;
        min-height: 26px;
    }
}
@media (max-width: 480px) {
    .navbar-link {
        font-size: 12px;
        padding: 5px 8px;
        min-height: 18px;
    }
    .contact-btn, .lang {
        font-size: 8px;
        padding: 6px 7px;
        min-height: 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar {
        padding: 12px 20px;
        min-height: 70px;
    }

    .nav-center {
        padding: 2px 4px;
        min-height: 30px;
        min-width: auto;
        justify-content: center;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        max-width: calc(100% - 400px);
    }

    .navbar-link {
        font-size: 12px;
        padding: 7px 10px;
        flex: 0 0 auto;
        margin: 0 3px;
        letter-spacing: 0.4px;
        width: auto;
        line-height: 1;
        min-height: 28px;
        box-sizing: border-box;
        transition: background-color 0.3s ease;
    }

    /* Dropdown responsive ayarları */
    .dropdown-menu {
        min-width: 160px;
        font-size: 12px;
        left: 0;
        right: 0;
        transform: scale(0.95);
        border-radius: 0 0 16px 16px;
        padding: 6px 0;
    }

    /* İkinci dropdown responsive ayarları */
    .nav-dropdown:nth-child(2) .dropdown-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%) scale(0.95);
        border-radius: 0 0 16px 16px;
    }

    /* Üçüncü dropdown responsive ayarları */
    .nav-dropdown:nth-child(3) .dropdown-menu {
        left: auto;
        right: 0;
        border-radius: 0 0 16px 16px;
    }

    .dropdown-menu.show {
        transform: scale(1) !important;
        background: transparent !important;
    }

    /* İkinci dropdown show responsive */
    .nav-dropdown:nth-child(2) .dropdown-menu.show {
        transform: translateX(-50%) scale(1) !important;
        background: transparent !important;
    }

    .dropdown-item {
        padding: 8px 14px !important;
        font-size: 11px !important;
        margin: 0 3px !important;
        width: calc(100% - 6px) !important;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
        min-height: 60px;
    }

    .nav-center {
        display: none;
    }

    /* Dropdown mobilde gizli olacak */
    .nav-dropdown .dropdown-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .logo {
        width: 52px; /* 70px'in 4'te 1'i küçültülmüş hali */
        height: 37px; /* 50px'in 4'te 1'i küçültülmüş hali */
        font-size: 7px;
    }

    .logo-image {
        width: 49px; /* 65px'in 4'te 1'i küçültülmüş hali */
        height: 49px; /* 65px'in 4'te 1'i küçültülmüş hali */
    }

    .contact-btn {
        padding: 10px 12px;
        font-size: 10px;
        min-height: 32px;
    }

    .lang {
        padding: 4px 6px;
        font-size: 11px;
        min-height: 32px;
    }
    .navbar-link {
        font-size: 11px;
        padding: 6px 8px;
        min-height: 24px;
    }
    .contact-btn, .lang {
        font-size: 10px;
        padding: 5px 7px;
        min-height: 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 8px 12px;
        min-height: 55px;
    }

    .logo {
        width: 45px; /* 60px'in 4'te 1'i küçültülmüş hali */
        height: 34px; /* 45px'in 4'te 1'i küçültülmüş hali */
        font-size: 6px;
    }

    .logo-image {
        width: 42px; /* 65px'in 4'te 1'i küçültülmüş hali */
        height: 42px; /* 65px'in 4'te 1'i küçültülmüş hali */
    }

    .contact-btn {
        padding: 5px 8px;
        font-size: 9px;
        min-height: 28px;
    }

    .lang {
        padding: 3px 5px;
        font-size: 10px;
        min-width: 28px;
        min-height: 28px;
    }

    .hamburger span {
        width: 24px;
        height: 2.5px;
    }

    .mobile-menu-content {
        padding: 25px 20px;
    }

    .mobile-menu-section h4 {
        font-size: 18px;
    }

    .mobile-submenu a {
        font-size: 15px;
        padding: 12px 0;
    }
    .navbar-link {
        font-size: 10px;
        padding: 5px 7px;
        min-height: 20px;
    }
    .contact-btn, .lang {
        font-size: 9px;
        padding: 4px 6px;
        min-height: 18px;
    }
}

@media (max-width: 320px) {
    .navbar {
        padding: 8px 12px;
    }

    .logo {
        width: 52px; /* 70px'in 4'te 1'i küçültülmüş hali */
        height: 37px; /* 50px'in 4'te 1'i küçültülmüş hali */
        font-size: 7px;
    }

    .logo-image {
        width: 49px; /* 65px'in 4'te 1'i küçültülmüş hali */
        height: 49px; /* 65px'in 4'te 1'i küçültülmüş hali */
    }

    .contact-btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .lang {
        padding: 4px 6px;
        font-size: 11px;
    }
    .navbar-link {
        font-size: 9px;
        padding: 4px 6px;
        min-height: 16px;
    }
    .contact-btn, .lang {
        font-size: 8px;
        padding: 3px 5px;
        min-height: 14px;
    }
}

/* Arama Sonuçları Responsive Stilleri */
.search-page-wrapper {
    max-width: calc(100% - 40px);
    width: 100%;
    margin: 0 auto;
}

.search-filters {
    width: 100%;
    margin: 0 auto;
}

.search-results-section {
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .search-page-wrapper {
        --nav-center-width: 800px;
    }
}

@media (max-width: 1199px) and (min-width: 769px) {
    .search-page-wrapper {
        --nav-center-width: 700px;
    }
}

@media (max-width: 768px) {
    .search-page-wrapper {
        --nav-center-width: 100%;
        padding: 0 15px;
    }

    .search-filters .filter-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .search-filters button {
        flex: 1 1 auto;
        min-width: calc(50% - 8px);
        white-space: nowrap;
    }
}

/* Basit geçiş animasyonu */
.navbar {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {
    .navbar {
        display: none;
    }
}

.navbar-center-fixed {
    position: fixed !important;
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2000 !important;
    background: #f8f9fa !important;
    border-radius: 100vh !important;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
}

.hide-on-scroll {
    display: none !important;
}

/* Arama Kutusu Stilleri */
.search-container {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 4px 8px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.search-form:focus-within {
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

#navbar-search-input {
    border: none;
    background: transparent;
    padding: 4px 6px;
    width: 120px;
    outline: none;
    font-size: 12px;
    flex: 1;
}

/* Navbar arama butonu - blog.css'den ayırmak için spesifik */
.navbar .search-btn {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #666;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.navbar .search-btn:hover {
    color: #000;
}

/* Arama kutusu responsive ayarları */
@media (max-width: 1200px) {
    .search-form {
        min-width: 140px;
    }

    #navbar-search-input {
        width: 100px;
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    .nav-right {
        min-width: 200px;
        gap: 6px;
    }

    .search-form {
        min-width: 120px;
    }

    #navbar-search-input {
        width: 80px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .search-container {
        display: none;
    }

    .nav-right {
        min-width: auto;
        gap: 4px;
    }
}
