/* ========== ÜST BİLGİ BAR ========== */
.top-info-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 100001;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.contact-info a {
    color: #4b5563 !important;
    /* Gray-600 */
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Ensure language dropdown is on top and professional */
.lang-dropdown {
    position: relative;
    z-index: 100002;
}

.lang-dropdown .btn-outline-light {
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    transition: all 0.3s ease;
}

.lang-dropdown .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar {
    background: linear-gradient(90deg, #f27025 0%, #e05c1e 50%, #bf360c 100%) !important;
    padding: 0.4rem 0;
    min-height: 100px;
    position: relative;
    z-index: 100010;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Logo - Daha Büyük ve Belirgin */
.logo-img {
    height: 145px;
    width: auto;
    object-fit: contain;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.15);
    padding: 1px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.25);
}

/* Menü Öğeleri - Professional & Sophisticated */
.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.4px;
    padding: 0.7rem 1.3rem !important;
    margin: 0 3px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link i {
    font-size: 0.9rem;
    opacity: 0.85;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

/* Şekilli Border Çizgileri - Refined Underline Glow */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    transition: all 0.5s ease;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

/* Aktif Sayfa İşareti */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-nav .nav-item.active .nav-link::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
    background: #ffffff;
}

/* Sosyal Medya İkonları - Mevcut Stil */
.social-link {
    color: #495057;
    font-size: 1.1rem;
    padding: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link.social-facebook {
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.social-link.social-instagram {
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.social-link.social-youtube {
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.social-link.social-whatsapp {
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.social-link.social-twitter,
.social-link.social-x {
    color: #000000;
    background: rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.15);
    background: linear-gradient(135deg, #f27025, #ff2d78);
    color: white !important;
    box-shadow: 0 4px 10px rgba(242, 112, 37, 0.3);
}

.social-link.social-facebook:hover,
.social-link.social-instagram:hover,
.social-link.social-youtube:hover,
.social-link.social-whatsapp:hover,
.social-link.social-twitter:hover,
.social-link.social-x:hover {
    background: linear-gradient(135deg, #f27025, #ff2d78);
    color: white !important;
}

/* WhatsApp Buton - Mevcut Stil */
.whatsapp-btn {
    background: #25d366;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
    margin-left: 10px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-btn:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    color: white !important;
    background: #128c7e;
    border-color: #25d366;
}

/* Dropdown Menü - Modern & Elite */
.dropdown-menu {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    background: rgba(255, 255, 255, 0.92);
    padding: 12px;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    margin-top: 10px !important;
}

.dropdown-menu.show {
    transform: translateY(0);
}

.dropdown-item {
    border-radius: 10px;
    padding: 10px 18px;
    font-weight: 500;
    transition: all 0.3s;
    color: #444;
    margin-bottom: 2px;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f27025, #d74435);
    color: white !important;
    transform: translateX(5px);
}

.dropdown-item i {
    color: #f27025;
    transition: all 0.3s;
}

.dropdown-item:hover i {
    color: white;
}

/* Dil dropdown özel stilleri */
.min-w-220 {
    min-width: 220px;
}

.flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
}

.flag-emoji {
    font-size: 1.1em;
    vertical-align: middle;
}

.flag-icon-equal {
    font-size: 1.2em;
    vertical-align: middle;
}

/* ========== MOBİL DÜZEN ========== */
/* Mobil Ek İçerik */
.mobile-extra-content {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-contact-link {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.mobile-contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.mobile-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.mobile-social-link:hover {
    color: white;
    transform: scale(1.1);
}

.mobile-social-link.social-facebook {
    background: #1877f2;
}

.mobile-social-link.social-instagram {
    background: #e4405f;
}

.mobile-social-link.social-youtube {
    background: #ff0000;
}

.mobile-social-link.social-whatsapp {
    background: #25d366;
}

.mobile-social-link.social-twitter,
.mobile-social-link.social-x {
    background: #000000;
}

.mobile-lang-selector .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.mobile-lang-selector .form-select option {
    background: #2c3e50;
    color: white;
}

/* Mobil Alt Bar - Mevcut Stili Koru */
.mobile-bottom-bar {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    z-index: 1050;
}

.mobile-bottom-bar a {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========== YENİ MOBİL KOMPAKT STİLLER ========== */

/* Mobil Dil Bayrak Butonları */
.mobile-lang-flags {
    padding: 10px 0 6px;
    flex-wrap: wrap;
}

.mobile-lang-flag-btn {
    width: 42px;
    height: 30px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.mobile-lang-flag-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(242, 112, 37, 0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-lang-flag-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.mobile-lang-flag-btn.active {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffd700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.25), inset 0 0 8px rgba(255, 215, 0, 0.1);
}

.mobile-lang-flag-btn.active::after {
    opacity: 1;
}

.mobile-lang-flag-btn img.flag-img {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

.mobile-lang-flag-btn .flag-emoji {
    font-size: 1.1em;
    position: relative;
    z-index: 1;
}

.mobile-lang-flag-btn .lang-code {
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Mobil Kompakt Aksiyon Butonları */
.mobile-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-action-btn:hover {
    background: linear-gradient(135deg, rgba(242, 112, 37, 0.4), rgba(255, 45, 120, 0.3));
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 112, 37, 0.2);
}

/* Mobil Ek İçerik - Premium */
.mobile-extra-content {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    padding-bottom: 6px;
    margin-top: 8px !important;
}

/* Mobil İletişim Kartları (Telefon & Email) */
.mobile-contact-cards {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}

.mobile-contact-card i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border-radius: 8px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.mobile-contact-card:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff !important;
    transform: translateX(4px);
}

/* WhatsApp buton premium */
.mobile-extra-content .btn-success {
    background: linear-gradient(135deg, #25d366, #128c7e) !important;
    border: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
}

.mobile-extra-content .btn-success:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transform: translateY(-1px);
}

/* ========== RESPONSIVE DÜZENLEMELER ========== */
html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: auto;
        padding: 0.5rem 0;
        z-index: 99998 !important;
    }

    /* Mobilde Logo Tam Ortala */
    .navbar-brand {
        margin: 0 auto;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo-img {
        height: 65px !important;
    }

    /* Collapse Area - Premium Dark Overlay */
    .navbar-collapse {
        margin-top: 1rem;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%);
        border-radius: 16px;
        padding: 8px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    /* PREMIUM TOGGLER */
    .navbar-toggler {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1200 !important;
        padding: 0;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.18) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        pointer-events: auto !important;
        visibility: visible !important;
    }

    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.28) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2) !important;
    }

    .navbar-toggler[aria-expanded="true"] {
        position: fixed !important;
        z-index: 99999 !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
        right: 16px !important;
        top: 16px !important;
        transform: none;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .toggler-icon-wrapper {
        width: 18px;
        height: 14px;
        position: relative;
        pointer-events: none !important;
    }

    .toggler-line {
        position: absolute;
        height: 2px;
        background-color: #fff;
        border-radius: 4px;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        left: 0;
        pointer-events: none !important;
    }

    .line-1 {
        top: 0;
        width: 100%;
    }

    .line-2 {
        top: 6px;
        width: 65%;
        opacity: 1;
    }

    .line-3 {
        top: 12px;
        width: 80%;
    }

    /* X state */
    .navbar-toggler[aria-expanded="true"] .line-1 {
        transform: rotate(45deg);
        top: 6px;
        width: 100%;
    }

    .navbar-toggler[aria-expanded="true"] .line-2 {
        opacity: 0;
        width: 0;
        left: 50%;
    }

    .navbar-toggler[aria-expanded="true"] .line-3 {
        transform: rotate(-45deg);
        top: 6px;
        width: 100%;
    }

    /* NAV LINKS - Premium Glassmorphic Cards */
    .navbar-nav .nav-item {
        margin: 3px 0;
    }

    .navbar-nav .nav-link {
        padding: 14px 20px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        display: flex;
        align-items: center;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        border-left: 3px solid transparent;
    }

    .navbar-nav .nav-link::before {
        content: '';
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        border-right: 2px solid rgba(255, 255, 255, 0.4);
        border-bottom: 2px solid rgba(255, 255, 255, 0.4);
        transform: translateY(-50%) rotate(-45deg);
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link::after {
        display: none !important;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:active {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.2);
        transform: none;
        padding-left: 24px !important;
    }

    .navbar-nav .nav-link:hover::before {
        border-color: #ffd700;
        right: 12px;
    }

    .navbar-nav .nav-link i {
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
        border-radius: 10px;
        font-size: 0.85rem;
        margin-right: 12px !important;
        flex-shrink: 0;
    }

    /* Staggered animation for nav items */
    .navbar-collapse.show .nav-item,
    .navbar-collapse.collapsing .nav-item {
        animation: slideInFromRight 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .navbar-collapse.show .nav-item:nth-child(1) {
        animation-delay: 0.05s;
    }

    .navbar-collapse.show .nav-item:nth-child(2) {
        animation-delay: 0.1s;
    }

    .navbar-collapse.show .nav-item:nth-child(3) {
        animation-delay: 0.15s;
    }

    .navbar-collapse.show .nav-item:nth-child(4) {
        animation-delay: 0.2s;
    }

    .navbar-collapse.show .nav-item:nth-child(5) {
        animation-delay: 0.25s;
    }

    .navbar-collapse.show .nav-item:nth-child(6) {
        animation-delay: 0.3s;
    }

    .navbar-collapse.show .mobile-extra-content {
        animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .navbar-brand {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1010;
        overflow: visible !important;
    }

    .dropdown-menu {
        z-index: 1020;
    }

    .navbar-collapse {
        margin-left: 180px;
    }
}

/* Dropdown için responsive */
@media (max-width: 991.98px) {
    .dropdown-menu {
        background: rgba(255, 255, 255, 0.95);
        border: none;
        box-shadow: none;
        text-align: center;
    }

    .dropdown-item {
        text-align: center;
    }
}

/* İletişim Bilgileri Hover Efekti */
.contact-info a {
    opacity: 0.9;
    transition: all 0.3s;
}

.contact-info a:hover {
    opacity: 1;
    color: #f27025 !important;
}

/* Global Hero/Slider Layering Fix - Standard low priority */
.hero-section,
.rentacar-hero,
.konaklama-hero,
.slider-section,
.slider-item,
.home-item-bg,
.main-slider,
.owl-carousel {
    z-index: 1 !important;
    /* Above static content, but well below header (4500+) */
    position: relative;
    pointer-events: auto !important;
}

/* Ensure the search forms on top of heroes still work */
.hero-content,
.filter-section,
.search-box-container {
    z-index: 2 !important;
    position: relative;
}
