/* =====================================================
   TILLOSTRAVEL - MAIN STYLESHEET
   =====================================================
   
   İÇİNDEKİLER:
   
   1.  PAGE LOADING         → Sayfa yüklenirken gemi animasyonu (_Layout.cshtml)
   2.  VARIABLES             → CSS değişkenleri (renkler, gölgeler)
   3.  TOP BAR               → Üst turuncu bilgi çubuğu (_Layout.cshtml)
   4.  HEADER / NAVBAR        → Ana menü, logo, dil seçici (_Layout.cshtml)
   5.  LANGUAGE DROPDOWN      → Dil değiştirme menüsü (_Layout.cshtml)
   6.  FERRY DROPDOWN         → Rota seçim dropdown menüsü (_Layout.cshtml)
   7.  TOUR DROPDOWN          → Tur paketi alt menüleri (_Layout.cshtml)
   8.  HEADER BUTTONS         → Telefon, bilet kontrol butonları (_Layout.cshtml)
   9.  HERO SECTION           → Ana sayfa mavi hero alanı (Index.cshtml)
   10. HERO WAVES             → Dalga animasyonu (Index.cshtml)
   11. HERO FERRIES           → Gemi ikonları animasyonu (Index.cshtml)
   12. HERO CONTENT           → Hero başlık + 25 yıl badge (Index.cshtml)
   13. ANNOUNCEMENT SLIDER    → Duyurular slider (Index.cshtml)
   14. SEARCH SECTION         → Sefer arama formu (Index.cshtml)
   15. SEARCH LOADING         → Sefer arama loading overlay (Index.cshtml)
   16. ROUTE CARDS            → Popüler rotalar kartları (Index.cshtml)
   17. ROUTE INFO LINK        → "Gezi Bilgileri Oku" linki (Index.cshtml)
   18. FLEET SECTION          → Filomuz slider (Index.cshtml)
   19. FAQ SECTION            → Sıkça Sorulan Sorular (Index.cshtml)
   20. FOOTER                 → Alt bilgi alanı (_Layout.cshtml)
   21. FOOTER SOCIAL          → Sosyal medya ikonları (_Layout.cshtml)
   22. POPUP BANNER           → Popup kampanya modalı (_Layout.cshtml)
   23. MOBILE MENU            → Mobil hamburger menü (_Layout.cshtml)
   24. CHILD BIRTHDATES       → Çocuk doğum tarihi popup (Index.cshtml)
   25. RESPONSIVE             → Tablet/Mobil uyumlu stiller
   
   --- GENEL BİLEŞEN STİLLERİ (Tüm Sayfalarda) ---
   26. VARIABLES (GENEL)      → Genel renk değişkenleri (Content/site.css)
   27. BUTTONS                → .btn-primary, .btn-search (Tüm sayfalar)
   28. CARDS                  → .card genel kart stili (Tüm sayfalar)
   29. FORMS                  → .form-control, .form-select (Tüm sayfalar)
   30. EXPEDITION CARDS       → Sefer kartları (Ferry/Search sayfası)
   31. PASSENGER CARDS        → Yolcu kartları (Checkout sayfası)
   32. PRICE SUMMARY          → Fiyat özeti kutusu (Checkout sayfası)
   33. BANK CARDS             → Banka seçim kartları (Payment sayfası)
   34. LOADING OVERLAY        → Genel loading ekranı
   35. PROGRESS STEPS         → Adım göstergesi (Checkout akışı)
   36. PRINT STYLES           → Yazdırma stilleri
   37. ANIMATIONS             → fadeIn, pulse animasyonları
   
   ===================================================== */

/* =====================================================
   1. PAGE LOADING OVERLAY
   Dosya: _Layout.cshtml
   Açıklama: Sayfa geçişlerinde gösterilen gemi animasyonlu
   loading ekranı. Sayfa yüklenince .hidden class eklenir.
   ===================================================== */
.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.92);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.4s ease;
}
.page-loading.hidden {
    opacity: 0;
    pointer-events: none;
}
.ferry-loader {
    position: relative;
    width: 120px;
    height: 80px;
}
.ferry-loader svg {
    width: 120px;
    height: 80px;
}
.ferry-loader .ferry-body {
    animation: ferryRock 1.5s ease-in-out infinite;
    transform-origin: center 55px;
}
.ferry-loader .wave-line {
    animation: waveSlide 1.2s ease-in-out infinite;
}
.ferry-loader .wave-line:nth-child(2) {
    animation-delay: 0.3s;
}
@keyframes ferryRock {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    30% { transform: translateX(3px) rotate(-3deg); }
    70% { transform: translateX(-3px) rotate(3deg); }
}
@keyframes waveSlide {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(8px); opacity: 1; }
}


/* =====================================================
   2. CSS DEĞİŞKENLERİ (Variables)
   Dosya: _Layout.cshtml (global)
   Açıklama: Tüm sitede kullanılan ana renkler.
   --primary-color: Koyu lacivert (#003366)
   --secondary-color: Turkuaz (#0099cc)
   --accent-color: Turuncu (#ff6600)
   ===================================================== */
:root {
    --primary-color: #003366;
    --secondary-color: #0099cc;
    --accent-color: #ff6600;
}

/* =====================================================
   3. TOP BAR + STICKY HEADER WRAPPER
   Dosya: _Layout.cshtml
   Açıklama: Sayfanın en üstündeki turuncu bilgi çubuğu
   ve tüm header'ı fixed yapan sarmalayıcı div.
   ===================================================== */
.sticky-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

@media (max-width: 991.98px) {
    .sticky-header-wrapper {
        overflow-x: hidden;
        overflow-y: visible;
    }
}

/* Body padding for fixed header */
body {
    padding-top: 95px;
}

/* --- Top Bar: Turuncu gradient çubuk (telefon + e-posta) --- */
.top-bar {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

/* =====================================================
   4. HEADER / NAVBAR
   Dosya: _Layout.cshtml
   Açıklama: Ana menü çubuğu - logo, navigasyon linkleri,
   dil seçici, telefon butonu, bilet kontrol butonu.
   ===================================================== */
.main-header {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.main-header .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    flex-wrap: nowrap;
    gap: 5px;
}

/* --- Logo --- */
.main-header .navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.main-header .navbar-brand img {
    height: 36px;
    max-width: 110px;
    object-fit: contain;
}

/* =====================================================
   5. LANGUAGE DROPDOWN
   Dosya: _Layout.cshtml
   Açıklama: Header'daki dil değiştirme dropdown menüsü.
   Bayrak ikonu + dil adı gösterir.
   ===================================================== */
.language-dropdown .dropdown-toggle {
    background: #2c3e50;
    border: none;
    color: white;
    padding: 7px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.language-dropdown .dropdown-toggle:hover {
    background: #1a252f;
}

.language-dropdown .dropdown-menu {
    min-width: 130px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.language-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 13px;
}

.language-dropdown .dropdown-item:hover {
    background: #e0f4ff;
}

.language-dropdown .dropdown-item.active {
    background: #0077b6;
    color: white;
}

/* --- Menü Linkleri: Desktop navigasyon linkleri --- */
.main-header .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 8px 10px !important;
    font-size: 12.5px;
    transition: all 0.3s;
    white-space: nowrap;
    border-radius: 4px;
}

/* Zebra stili - Koyu Turkuaz tonları */
.main-header .navbar-nav .nav-item:nth-child(odd) .nav-link {
    background: #023e8a;
}

.main-header .navbar-nav .nav-item:nth-child(even) .nav-link {
    background: #0077b6;
}

.main-header .nav-link:hover {
    color: #fff !important;
    background: #03045e !important;
}

.main-header .navbar-nav {
    flex-direction: row;
    align-items: center;
    gap: 2px;
    margin: 0;
    flex-wrap: wrap;
}

/* =====================================================
   6. FERRY DROPDOWN MENU
   Dosya: _Layout.cshtml
   Açıklama: "Feribot Seferleri" hover menüsü.
   Bayrak + rota adı + fiyat badge gösterir.
   ===================================================== */
.main-header .nav-item.dropdown {
    position: relative;
}

.main-header .ferry-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 10px 0;
    z-index: 1001;
    display: none;
}

.main-header .nav-item.dropdown:hover .ferry-dropdown,
.main-header .nav-item.dropdown .ferry-dropdown.show {
    display: block;
}

.ferry-dropdown .dropdown-header {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    padding: 8px 15px;
    background: #f8f9fa;
}

.ferry-dropdown .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    font-size: 13px;
}

.ferry-dropdown .dropdown-item:hover {
    background: #e0f4ff;
}

.ferry-dropdown .route-badge {
    background: #e67e22;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.ferry-dropdown .dropdown-divider {
    margin: 5px 0;
}

.ferry-dropdown .all-routes {
    background: #f0f8ff;
    font-weight: 500;
    color: #0077b6;
}

/* =====================================================
   7. TOUR PACKAGE DROPDOWN (2 Seviyeli)
   Dosya: _Layout.cshtml
   Açıklama: "Tur Paketleri" hover menüsü.
   2. seviye alt menü (tour-submenu) sağa/sola açılır.
   ===================================================== */
.main-header .tour-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 8px 0;
    z-index: 1001;
    display: none;
}

.main-header .nav-item.dropdown:hover .tour-dropdown,
.main-header .nav-item.dropdown .tour-dropdown.show {
    display: block;
}

.tour-dropdown > li {
    position: relative;
}

.tour-dropdown > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.tour-dropdown > li > a:hover {
    background: #e0f4ff;
    color: #0077b6;
}

.tour-dropdown > li > a i.fa-chevron-right {
    font-size: 11px;
    color: #999;
}

.tour-dropdown > li > a i.fa-moon,
.tour-dropdown > li > a i.fa-calendar-week {
    color: #0077b6;
    margin-right: 8px;
}

/* Alt Menü (2. Seviye) */
.tour-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 280px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    padding: 8px 0;
    display: none;
    z-index: 1002;
}

.tour-dropdown > li:hover > .tour-submenu {
    display: block;
}

.tour-submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.tour-submenu li:last-child a {
    border-bottom: none;
}

.tour-submenu li a:hover {
    background: #e0f4ff;
}

.tour-submenu .route-info {
    display: flex;
    flex-direction: column;
}

.tour-submenu .route-name {
    font-weight: 500;
    color: #333;
}

.tour-submenu .room-type {
    font-size: 11px;
    color: #666;
}

.tour-submenu .price-badge {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* RTL için alt menü sola açılsın */
/* =====================================================
   8. HEADER BUTONLARI
   Dosya: _Layout.cshtml
   Açıklama: Telefon (yeşil) ve Bilet Kontrol (mavi) butonları.
   .btn-phone → Telefon butonu
   .btn-ticket → Bilet kontrol modal tetikleyici
   ===================================================== */
.header-btn {
    padding: 7px 10px !important;
    font-size: 11.5px !important;
    border-radius: 5px;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.header-btn.btn-phone {
    background: #27ae60;
    color: white;
    border: none;
    margin-left: 0;
}

.header-btn.btn-phone:hover {
    background: #219a52;
    color: white;
}

.header-btn.btn-ticket {
    background: #e67e22;
    color: white;
    border: none;
}

.header-btn.btn-ticket:hover {
    background: #d35400;
    color: white;
}

/* Navbar toggler */
.main-header .navbar-toggler {
    border: 1px solid #0077b6;
    padding: 5px 8px;
    display: none;
    background: transparent;
}

.main-header .navbar-toggler i {
    color: #0077b6 !important;
    font-size: 16px;
}

/* =====================================================
   25. RESPONSIVE - DESKTOP (992px üstü)
   Açıklama: Navbar yatay hizalama, menü linkleri ayarları.
   ===================================================== */
@media (min-width: 1100px) {
    .main-header .navbar-toggler {
        display: none !important;
    }
    .mobile-only {
        display: none !important;
    }
    .desktop-menu {
        display: flex !important;
    }
}

/* --- Orta ekranlar: Uzun diller (RU, EL, DE) için navbar sığdırma --- */
@media (min-width: 1100px) and (max-width: 1399px) {
    .main-header .nav-link {
        padding: 7px 7px !important;
        font-size: 11.5px;
    }
    .main-header .navbar-nav {
        gap: 1px;
    }
    .header-btn {
        padding: 6px 8px !important;
        font-size: 11px !important;
    }
    .main-header .navbar-brand img {
        height: 32px;
    }
}

/* --- Tablet (768px-1099px): Hamburger menü aktif --- */
@media (min-width: 768px) and (max-width: 1099px) {
    body {
        padding-top: 75px;
    }
    .desktop-menu {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
    .main-header .navbar-toggler {
        display: flex !important;
    }
    .main-header .navbar-brand img {
        height: 32px;
    }
}

/* --- Mobil (768px altı): Kompakt header --- */
@media (max-width: 991px) {
    body {
        padding-top: 75px;
    }
    
    .top-bar {
        padding: 5px 0;
        font-size: 10px;
    }
    
    .top-bar .desktop-text {
        display: none;
    }
    
    .main-header {
        padding: 6px 0;
    }
    
    .main-header .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 6px;
    }
    
    /* Mobilde menü gizle - sadece Logo, Dil, Telefon, Bilet Kontrol */
    .desktop-menu {
        display: none !important;
    }
    
    .mobile-only {
        display: inline-flex !important;
    }
    
    .header-btn {
        padding: 8px 12px !important;
        font-size: 12px !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .header-btn .btn-text {
        display: none;
    }
    
    .header-btn .btn-text-short {
        display: inline !important;
        font-size: 11px;
        margin-left: 3px;
    }
    
    .language-dropdown .dropdown-toggle {
        padding: 6px 10px;
        font-size: 12px;
        min-height: auto !important;
    }
    
    .language-dropdown .lang-text {
        display: none;
    }
    
    .main-header .navbar-toggler {
        display: flex !important;
        min-height: auto !important;
    }
}

/* =====================================================
   9. HERO SECTION
   Dosya: Index.cshtml (Ana Sayfa)
   Açıklama: Mavi gradient arka plan üzerinde dalga
   animasyonu, gemi ikonları, arama formu ve duyurular.
   ===================================================== */
.hero-section {
    background: linear-gradient(180deg, #0077b6 0%, #00b4d8 50%, #48cae4 80%, #90e0ef 100%);
    padding: 40px 0 100px 0;
    position: relative;
    overflow: hidden;
}

/* --- 10. DALGA ANİMASYONU: 3 katmanlı SVG dalga --- */
/* NOT: Performans için pasife alındı (display:none) */
.hero-waves {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.hero-waves .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    transform-origin: center bottom;
}

.hero-waves .wave1 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.4' d='M0,192L60,197.3C120,203,240,213,360,229.3C480,245,600,267,720,256C840,245,960,203,1080,181.3C1200,160,1320,160,1380,160L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 50% 100px;
    animation: wave 8s linear infinite;
    z-index: 3;
    opacity: 0.5;
    bottom: 0;
}

.hero-waves .wave2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.6' d='M0,96L60,112C120,128,240,160,360,165.3C480,171,600,149,720,154.7C840,160,960,192,1080,197.3C1200,203,1320,181,1380,170.7L1440,160L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 50% 90px;
    animation: wave 6s linear infinite reverse;
    z-index: 2;
    opacity: 0.6;
    bottom: 10px;
}

.hero-waves .wave3 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,224L60,213.3C120,203,240,181,360,181.3C480,181,600,203,720,218.7C840,235,960,245,1080,229.3C1200,213,1320,171,1380,149.3L1440,128L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: 50% 80px;
    animation: wave 10s linear infinite;
    z-index: 1;
    bottom: 0;
}

@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 11. ANİMASYONLU FERİBOTLAR: 7 gemi ikonu --- */
.hero-ferries {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ferry-icon {
    position: absolute;
    font-size: 24px;
    color: rgba(255,255,255,0.3);
    animation: sailFerry linear infinite;
    will-change: transform;
}

.ferry-icon:nth-child(1) {
    top: 15%;
    font-size: 20px;
    animation-duration: 25s;
    animation-delay: 0s;
}

.ferry-icon:nth-child(2) {
    top: 35%;
    font-size: 28px;
    color: rgba(255,255,255,0.2);
    animation-duration: 35s;
    animation-delay: -10s;
}

.ferry-icon:nth-child(3) {
    top: 55%;
    font-size: 18px;
    color: rgba(255,255,255,0.25);
    animation-duration: 20s;
    animation-delay: -5s;
}

.ferry-icon:nth-child(4) {
    top: 25%;
    font-size: 22px;
    color: rgba(255,255,255,0.15);
    animation-duration: 30s;
    animation-delay: -15s;
}

.ferry-icon:nth-child(5) {
    top: 45%;
    font-size: 16px;
    color: rgba(255,255,255,0.2);
    animation-duration: 22s;
    animation-delay: -8s;
}

.ferry-icon:nth-child(6) {
    top: 70%;
    font-size: 14px;
    color: rgba(255,255,255,0.18);
    animation-duration: 28s;
    animation-delay: -3s;
}

.ferry-icon:nth-child(7) {
    top: 10%;
    font-size: 15px;
    color: rgba(255,255,255,0.12);
    animation-duration: 32s;
    animation-delay: -18s;
}

@keyframes sailFerry {
    0% { 
        transform: translateX(-50px) translateY(0) scaleX(1);
    }
    49.9% {
        transform: translateX(calc(100vw + 50px)) translateY(5px) scaleX(1);
    }
    50% { 
        transform: translateX(calc(100vw + 50px)) translateY(0) scaleX(-1);
    }
    100% { 
        transform: translateX(-50px) translateY(-5px) scaleX(-1);
    }
}

/* Hero içerik z-index */
.hero-section > .container {
    position: relative;
    z-index: 10;
}

/* Dekoratif daireler */
.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 100px;
    left: -80px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    pointer-events: none;
}

/* --- 12. HERO CONTENT: Badge + Başlık + Duyuru Slider --- */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.hero-badge {
    position: relative;
    color: white;
    padding: 20px 50px;
    text-align: center;
    flex-shrink: 0;
    background: transparent;
}

/* Yatay Feribot ikon arka plan */
.hero-badge::before {
    content: '\f21a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleX(1.3);
    font-size: 100px;
    color: #d0d0d0;
    z-index: 0;
    animation: ferryGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
    will-change: opacity;
}

/* Parlama Animasyonu - sadece opacity (composited) */
@keyframes ferryGlow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.hero-badge .badge-content {
    position: relative;
    z-index: 1;
}

.hero-badge .number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4), 0 0 10px rgba(255,215,0,0.3);
}

.hero-badge .text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;
    font-weight: 600;
    color: #ffe066;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.hero-content {
    flex: 1;
    color: white;
}

.hero-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
}

.announcement-slider {
    background: rgba(0,51,102,0.95);
    padding: 20px 25px;
    border-radius: 12px;
    min-width: 320px;
    max-width: 350px;
    color: white;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.announcement-slider h6 {
    margin: 0 0 12px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-slider h6 i {
    color: #ffd700;
}

.announcement-slides {
    position: relative;
    min-height: 70px;
}

.announcement-slide {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity 0.5s ease-in-out;
}

.announcement-slide.active {
    opacity: 1;
    position: relative;
}

.announcement-slide strong {
    color: #ffd700;
    font-size: 15px;
    display: block;
    margin-bottom: 5px;
}

.announcement-slide p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: #ffd700;
    transform: scale(1.2);
}

.slider-dots .dot:hover {
    background: rgba(255,255,255,0.6);
}

/* Search Section */
.search-section {
    margin-top: -25px;
    position: relative;
    z-index: 100;
    padding-bottom: 40px;
}

.search-card {
    background: white;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
}

.route-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 25px;
}

.route-btn {
    padding: 10px 28px;
    border: 2px solid #003366;
    background: white;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 14px;
    color: #003366;
}

.route-btn:first-child { border-radius: 6px 0 0 6px; }
.route-btn:last-child { border-radius: 0 6px 6px 0; border-left: none; }

.route-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

.form-select, .form-control {
    border: 2px solid #c0c8d0;
    border-radius: 6px;
    padding: 6px 12px 8px;
    font-size: 14px;
    transition: all 0.2s;
    height: 42px;
    color: #333;
    background-color: #fff;
}

/* Select (dropdown) için ayrı dikey ortalama */
.form-select {
    padding: 4px 32px 6px 12px;
}

.form-select:focus, .form-control:focus {
    border-color: #0077b6;
    box-shadow: 0 0 0 2px rgba(0,119,182,0.15);
}

.search-btn {
    width: 100%;
    height: 42px;
    background: #ff6600;
    color: white;
    border: 2px solid #e55a00;
    padding: 0 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-btn:hover {
    background: #e55a00;
    border-color: #cc5000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255,102,0,0.3);
}

/* Routes Section */
.routes-section {
    padding: 50px 0;
}

/* --- Bölüm Başlığı (Filomuz, FAQ vb.) --- */
.section-title {
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 35px;
}

.route-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s;
    margin-bottom: 5px;
}

.route-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.route-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.route-card .card-body {
    padding: 20px;
    text-align: center;
}

.route-card h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

.route-card .price {
    color: var(--accent-color);
    font-weight: 700;
}

.route-card .price-value {
    font-size: 24px;
}

/* --- 16. Rota kartı fiyat küçük yazı --- */
.route-card .price small {
    color: #999;
    font-weight: 400;
}

/* =====================================================
   20. FOOTER
   Dosya: _Layout.cshtml
   Açıklama: Site alt bilgi alanı - rotalar, iletişim,
   Google Maps iframe, sosyal medya linkleri.
   ===================================================== */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ccc;
    padding: 50px 0 20px;
}

.main-footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.main-footer a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s;
}

.main-footer a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.main-footer .footer-routes li {
    margin-bottom: 10px;
}

.main-footer .footer-routes a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-footer .footer-routes i {
    font-size: 10px;
    color: var(--accent-color);
}

.main-footer .footer-map {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.main-footer .footer-map iframe {
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
}

/* RTL Footer */
/* --- Header Butonları (tekrar tanım - cascade) --- */
.header-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-reservation {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-reservation:hover {
    background: var(--accent-color);
    color: white;
}

.btn-phone {
    background: #25d366;
    color: white;
    border: none;
}

.btn-phone:hover {
    background: #128c7e;
    color: white;
}

/* --- Ferry Dropdown Detay Stilleri --- */
.ferry-dropdown {
    min-width: 300px;
    padding: 10px 0;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-top: 10px;
}

.ferry-dropdown .dropdown-header {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 20px;
}

.ferry-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    transition: all 0.3s;
    gap: 12px;
}

.ferry-dropdown .dropdown-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    transform: translateX(5px);
}

.ferry-dropdown .route-flag {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 60px;
}

.ferry-dropdown .route-flag .fi {
    font-size: 16px;
}

.ferry-dropdown .route-flag .route-arrow {
    font-size: 10px;
    color: #999;
}

.ferry-dropdown .route-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.ferry-dropdown .route-badge {
    background: var(--accent-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.ferry-dropdown .dropdown-item:hover .route-badge {
    background: var(--primary-color);
}

.ferry-dropdown .all-routes {
    background: #f8f9fa;
    color: var(--primary-color);
    font-weight: 600;
    justify-content: center;
}

.ferry-dropdown .all-routes:hover {
    background: var(--primary-color);
    color: white;
    transform: none;
}

.ferry-dropdown .all-routes i {
    margin-right: 8px;
}

/* Dropdown arrow animation */
.nav-item.dropdown .nav-link::after {
    transition: transform 0.3s;
}

.nav-item.dropdown.show .nav-link::after,
.nav-item.dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

/* RTL Support for Ferry Dropdown */
/* =====================================================
   25. RESPONSIVE - HEADER/LAYOUT
   Dosya: _Layout.cshtml
   Açıklama: Header, menü, navbar responsive ayarları.
   Tablet (991px) ve mobil (576px) breakpoint'leri.
   ===================================================== */

/* Tablet & Mobile - 991px and below */
@media (max-width: 991.98px) {
    /* Hero Section Mobile */
    .hero-section {
        overflow: hidden;
        padding-bottom: 60px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-badge::before {
        font-size: 85px;
        transform: translate(-50%, -50%) scaleX(1.2);
    }
    
    .hero-badge .number {
        font-size: 42px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 26px;
    }
    
    .announcement-slider {
        max-width: 100%;
        min-width: auto;
        width: 100%;
    }
    
    /* Header adjustments */
    .main-header {
        padding: 6px 0;
    }
    
    .main-header .navbar-brand {
        font-size: 18px;
    }
    
    .main-header .navbar-brand img {
        height: 28px;
        max-width: 80px;
    }
    
    /* Language dropdown mobile */
    .language-dropdown {
        margin: 0 4px;
        flex-shrink: 0;
    }
    
    .language-dropdown .dropdown-toggle {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    /* Mobile menu */
    .navbar-collapse {
        background: rgba(0,51,102,0.98);
        margin: 15px -15px -15px;
        padding: 15px;
        border-radius: 0 0 12px 12px;
    }
    
    .navbar-nav {
        margin: 0 !important;
    }
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0 !important;
        font-size: 15px;
    }
    
    /* Ferry dropdown mobile */
    .ferry-dropdown {
        position: static !important;
        width: 100%;
        min-width: 100%;
        margin: 0;
        border-radius: 8px;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .ferry-dropdown .dropdown-header {
        color: rgba(255,255,255,0.7);
        padding: 10px 15px;
    }
    
    .ferry-dropdown .dropdown-item {
        padding: 10px 15px;
        color: white;
        background: transparent;
    }
    
    .ferry-dropdown .dropdown-item:hover,
    .ferry-dropdown .dropdown-item:active {
        background: rgba(255,255,255,0.1);
        transform: none;
    }
    
    .ferry-dropdown .route-name {
        color: white;
        font-size: 14px;
    }
    
    .ferry-dropdown .route-flag .fi {
        font-size: 14px;
    }
    
    .ferry-dropdown .route-badge {
        padding: 2px 8px;
        font-size: 10px;
    }
    
    .ferry-dropdown .all-routes {
        background: var(--accent-color);
        color: white;
        margin: 10px;
        border-radius: 8px;
    }
    
    .ferry-dropdown .dropdown-divider {
        border-color: rgba(255,255,255,0.1);
    }
    
    /* Header buttons mobile - SADECE menü içindeki butonlar */
    .mobile-menu-panel .d-flex.gap-2 {
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }
    
    .mobile-menu-panel .header-btn {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

/* Small Mobile - 576px and below */
@media (max-width: 575.98px) {
    /* Hero Section Small Mobile */
    .hero-badge {
        padding: 15px 40px;
    }
    
    .hero-badge::before {
        font-size: 70px;
        transform: translate(-50%, -50%) scaleX(1.2);
    }
    
    .hero-badge .number {
        font-size: 36px;
    }
    
    .hero-badge .text {
        font-size: 9px;
    }
    
    .hero-content h1 {
        font-size: 22px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .announcement-slider {
        padding: 15px;
    }
    
    .announcement-slide strong {
        font-size: 14px;
    }
    
    .announcement-slide p {
        font-size: 12px;
    }
    
    .top-bar {
        font-size: 11px;
        padding: 6px 0;
    }
    
    .top-bar .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 5px !important;
    }
    
    .main-header .navbar-brand {
        font-size: 16px;
        gap: 8px;
    }
    
    .main-header .navbar-brand img {
        height: 26px;
        max-width: 70px;
    }
    
    .navbar-toggler {
        padding: 4px 7px;
    }
    
    /* Küçük ekranda "Kontrol" yazısını gizle, sadece ikon */
    .header-btn .btn-text-short {
        display: none !important;
    }
    
    .header-btn {
        padding: 5px 7px !important;
        font-size: 10px !important;
    }
    
    .ferry-dropdown .dropdown-item {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .ferry-dropdown .route-flag {
        min-width: 50px;
    }
    
    .ferry-dropdown .route-name {
        font-size: 13px;
    }
    
    .ferry-dropdown .route-badge {
        width: 100%;
        text-align: center;
        margin-top: 5px;
    }
    
    /* Footer Mobile */
    .main-footer {
        padding: 30px 0 15px;
        text-align: center;
    }
    
    .main-footer h5 {
        margin-bottom: 15px;
    }
    
    .main-footer .col-lg-4,
    .main-footer .col-lg-3,
    .main-footer .col-lg-2 {
        margin-bottom: 25px;
    }
    
    .main-footer .footer-routes a {
        justify-content: center;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .ferry-dropdown .dropdown-item,
    .tour-submenu li a {
        padding: 14px 20px;
    }
    
    .ferry-dropdown .dropdown-item:active,
    .tour-submenu li a:active {
        background: linear-gradient(135deg, #e0efff 0%, #d0e8fc 100%);
    }
    
    /* Mobilde tour submenu tıkla-aç */
    .tour-dropdown > li > a {
        padding: 14px 15px;
    }
}

/* =====================================================
   23. MOBİL MENÜ
   Dosya: _Layout.cshtml
   Açıklama: 992px altında aktif olan hamburger menü.
   .mobile-menu-overlay → Koyu arka plan
   .mobile-menu-panel → Soldan açılan menü paneli
   .mobile-nav → Menü linkleri listesi
   .mobile-submenu → Alt menü (accordion)
   ===================================================== */

/* --- Hamburger Butonu --- */
.navbar-toggler {
    background: #0077b6;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: none;
}

.navbar-toggler:hover {
    background: #023e8a;
}

/* Mobil Menü Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobil Menü Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1999;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 20px rgba(0,0,0,0.2);
}

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

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
}

.mobile-menu-header img {
    filter: brightness(0) invert(1);
}

.mobile-menu-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-close:hover {
    background: rgba(255,255,255,0.3);
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.mobile-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav > li > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}

.mobile-nav > li > a:hover {
    background: #f0f8ff;
    color: #0077b6;
}

.mobile-nav > li > a i:first-child {
    width: 20px;
    text-align: center;
    color: #0077b6;
}

.mobile-nav .submenu-arrow {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s;
}

.mobile-nav .has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

/* Mobil Alt Menü */
.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav .has-submenu.open .mobile-submenu {
    max-height: 1000px;
}

.mobile-submenu li a {
    display: block;
    padding: 12px 20px 12px 52px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
}

.mobile-submenu li a:hover {
    background: #e0f4ff;
    color: #0077b6;
}

.mobile-submenu .submenu-header {
    padding: 10px 20px 10px 52px;
    font-size: 12px;
    font-weight: 600;
    color: #0077b6;
    background: #e8f4fc;
    text-transform: uppercase;
}

.mobile-menu-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.mobile-call-btn:hover {
    background: linear-gradient(135deg, #1e8449 0%, #196f3d 100%);
    color: white;
}

/* Body scroll lock */
body.menu-open {
    overflow: hidden;
}

/* Mobil görünümde hamburger göster */
@media (max-width: 991px) {
    .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}


/* =====================================================
   21. FOOTER SOSYAL MEDYA İKONLARI
   Dosya: _Layout.cshtml
   Açıklama: Footer'daki Facebook, Instagram, Twitter vb. ikonları.
   ===================================================== */
.footer-social { display: flex; gap: 10px; }
.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}
.footer-social .social-icon:hover {
    background: var(--accent-color, #ff6600);
    transform: translateY(-3px);
}


/* =====================================================
   22. POPUP BANNER MODAL
   Dosya: _Layout.cshtml
   Açıklama: Ana sayfada açılan kampanya popup'ı.
   Dümen penceresi (porthole) tasarımlı altın çerçeve.
   Admin panelden yönetilir.
   ===================================================== */
#popupBannerModal .modal-dialog { max-width: 500px; margin: 15px auto; }
#popupBannerModal .modal-content { background: transparent; border: none; box-shadow: none; }

.popup-porthole {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    border-radius: 16px;
    background: linear-gradient(135deg, #8b6914, #c8a84e 30%, #e8cc6e 50%, #c8a84e 70%, #8b6914);
    padding: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), inset 0 2px 4px rgba(255,255,255,0.3);
}

/* İç halka - halat efekti */
.popup-porthole::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border-radius: 12px;
    border: 3px dashed rgba(139,105,20,0.7);
    z-index: 3;
    pointer-events: none;
}

/* Dış halat çizgisi */
.popup-porthole::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border-radius: 14px;
    border: 2px solid rgba(200,168,78,0.5);
    z-index: 3;
    pointer-events: none;
}

/* Resim alanı - sabit 16:9 oran çerçeve */
.popup-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: #1a1a2e;
}
.popup-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #1a1a2e;
}

/* Overlay metin */
.popup-overlay-text {
    position: absolute;
    bottom: 16px; left: 16px; right: 16px;
    text-align: center;
    z-index: 4;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    border-radius: 0 0 10px 10px;
    padding: 40px 20px 20px;
    color: #fff;
}
.popup-overlay-text h4 { font-size: 16px; margin-bottom: 4px; }
.popup-overlay-text p { font-size: 13px; margin-bottom: 6px; }

.popup-close-btn {
    position: absolute;
    top: -12px; right: -12px;
    z-index: 10;
    width: 34px; height: 34px;
    background: rgba(0,51,102,0.85);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.popup-close-btn i { color: #fff; font-size: 13px; }
.popup-close-btn:hover { background: #e63946; transform: scale(1.1); }

/* Tablet */
@media (max-width: 520px) {
    #popupBannerModal .modal-dialog { 
        margin: 12px !important; 
        max-width: calc(100vw - 24px) !important;
        width: calc(100vw - 24px) !important;
    }
    .popup-porthole { 
        padding: 12px; 
        border-radius: 12px; 
        max-width: 100%;
        box-sizing: border-box;
    }
    .popup-porthole::before { top: 6px; left: 6px; right: 6px; bottom: 6px; border-radius: 9px; }
    .popup-porthole::after { top: 2px; left: 2px; right: 2px; bottom: 2px; border-radius: 10px; }
    .popup-img-wrap { border-radius: 8px; }
    .popup-img-wrap img {
        width: 100%;
        height: auto;
        max-height: 60vh;
        object-fit: contain;
    }
    .popup-close-btn { top: -10px; right: -10px; width: 30px; height: 30px; }
    .popup-close-btn i { font-size: 11px; }
    .popup-overlay-text { padding: 30px 15px 15px; }
    .popup-overlay-text h4 { font-size: 14px; }
    .popup-overlay-text p { font-size: 11px; }
}

/* Küçük mobil */
@media (max-width: 380px) {
    #popupBannerModal .modal-dialog { 
        margin: 8px !important;
        max-width: calc(100vw - 16px) !important;
        width: calc(100vw - 16px) !important;
    }
    .popup-porthole { padding: 10px; }
    .popup-img-wrap img {
        max-height: 50vh;
    }
}


/* =====================================================
   15. SEARCH LOADING OVERLAY
   Dosya: Index.cshtml
   Açıklama: Sefer arama butonuna tıklanınca gösterilen
   tam ekran mavi loading ekranı (gemi + dalga animasyonu).
   ===================================================== */
.search-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 119, 182, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}
.search-loading-overlay.active {
    display: flex;
}
.search-loading-content {
    text-align: center;
    color: white;
}
.search-loading-content .ferry-animation {
    position: relative;
    width: 200px;
    height: 100px;
    margin: 0 auto 30px;
}
.search-loading-content .ferry-icon {
    font-size: 60px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ferry-bob 1.5s ease-in-out infinite;
}
.search-loading-content .wave {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
    animation: wave-move 2s ease-in-out infinite;
}
.search-loading-content .wave2 {
    animation-delay: 0.5s;
    opacity: 0.5;
}
@keyframes ferry-bob {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, -60%); }
}
@keyframes wave-move {
    0%, 100% { transform: scaleX(1); opacity: 0.3; }
    50% { transform: scaleX(1.2); opacity: 0.6; }
}
.search-loading-content .loading-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}
.search-loading-content .loading-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 20px;
}
.search-loading-content .loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.search-loading-content .loading-dots span {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: dot-pulse 1.4s ease-in-out infinite;
}
.search-loading-content .loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.search-loading-content .loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes dot-pulse {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}
/* ========== SEARCH LOADING OVERLAY SON ========== */


/* =====================================================
   13. DUYURULAR SLIDER
   Dosya: Index.cshtml
   Açıklama: Hero section'da sağ taraftaki dönen duyurular.
   API'den çekilir, resimli/resimsiz duyuru desteği var.
   3 saniyelik otomatik geçiş + dot navigation.
   ===================================================== */
.announcement-slider {
    background: linear-gradient(135deg, #1e3a5f 0%, #0077b6 50%, #00b4d8 100%);
    padding: 30px 40px;
    border-radius: 15px;
    min-width: 500px;
    max-width: 600px;
    width: 60%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 119, 182, 0.4);
    position: relative;
    overflow: hidden;
    flex: 1;
}

.announcement-slider::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255,255,255,0.1) 50%, 
        transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.announcement-slider h6 {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.announcement-slider h6 i {
    font-size: 14px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.announcement-slides {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.announcement-slide {
    display: none;
    text-align: center;
}

.announcement-slide.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.announcement-slide strong {
    display: block;
    color: #ffdd57;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.announcement-slide strong i {
    margin-right: 6px;
}

.announcement-slide p {
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* --- Resimli Duyuru: Gemi penceresi (porthole) efektli --- */
.announcement-with-image {
    display: flex;
    align-items: center;
    text-align: left;
    margin: -10px -15px;
    overflow: hidden;
    border-radius: 8px;
    gap: 5px;
}
.announcement-image {
    width: 140px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
/* Gemi Penceresi (Porthole) Efekti */
.announcement-image::before {
    content: '';
    position: absolute;
    width: 108px;
    height: 108px;
    border-radius: 50%;
    border: 5px solid #c8a84e;
    box-shadow: 0 0 0 3px rgba(200,168,78,0.3), inset 0 2px 8px rgba(0,0,0,0.3);
    z-index: 2;
    pointer-events: none;
}
/* 4 cıvata/vida */
.announcement-image::after {
    content: '';
    position: absolute;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(circle, #b8963e 3px, transparent 3px) 50% 0px / 8px 8px no-repeat,
        radial-gradient(circle, #b8963e 3px, transparent 3px) 50% 100% / 8px 8px no-repeat,
        radial-gradient(circle, #b8963e 3px, transparent 3px) 0px 50% / 8px 8px no-repeat,
        radial-gradient(circle, #b8963e 3px, transparent 3px) 100% 50% / 8px 8px no-repeat;
}
.announcement-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    display: block;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
}
.announcement-text {
    flex: 1;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.announcement-with-image strong {
    text-align: left;
    font-size: 17px;
    margin-bottom: 6px;
}
.announcement-with-image p {
    text-align: left;
    font-size: 13px;
    line-height: 1.4;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    position: relative;
    z-index: 1;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover {
    background: rgba(255,255,255,0.7);
}

.slider-dots .dot.active {
    background: #ffdd57;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,221,87,0.5);
}

/* Mobil ve tablet için ayarlar */
@media (max-width: 1200px) {
    .announcement-slider {
        min-width: 400px;
        max-width: 500px;
    }
}

@media (max-width: 992px) {
    .announcement-slider {
        min-width: 100%;
        max-width: 100%;
        width: 100%;
        padding: 25px 30px;
        min-height: 160px;
    }
}

@media (max-width: 768px) {
    .announcement-slider {
        min-width: 100%;
        max-width: 100%;
        padding: 20px;
        min-height: 140px;
    }
    .announcement-slide strong { font-size: 14px; }
    .announcement-slide p { font-size: 12px; }
    .announcement-image { width: 100px; height: 90px; }
    .announcement-image::before { width: 78px; height: 78px; border-width: 4px; }
    .announcement-image::after { width: 88px; height: 88px; }
    .announcement-image img { width: 72px; height: 72px; }
    .announcement-with-image strong { font-size: 14px; }
    .announcement-with-image p { font-size: 11px; }
}

/* =====================================================
   17. GEZİ BİLGİLERİ LİNKİ
   Dosya: Index.cshtml
   Açıklama: Rota kartlarının altındaki "Gezi Bilgileri Oku" linki.
   /sayfa/{rota} sayfasına yönlendirir.
   ===================================================== */
.route-info-link {
    display: block;
    text-align: center;
    padding: 10px 15px;
    margin-top: 10px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0077b6 0%, #00a8e8 100%);
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,119,182,0.3);
}
.route-info-link:hover {
    background: linear-gradient(135deg, #005f8a 0%, #0088c2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,119,182,0.4);
    color: white !important;
    text-decoration: none !important;
}
.route-info-link i {
    margin-right: 6px;
    font-size: 12px;
}

/* =====================================================
   18. FİLOMUZ SLIDER
   Dosya: Index.cshtml
   Açıklama: Filo gemileri kaydırmalı slider.
   Sea Star Samos, Tilos, Rhodes, Lindos, Makri görselleri.
   4 saniye otomatik geçiş + ok navigasyonu.
   ===================================================== */
.fleet-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #0077b6;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.fleet-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

.fleet-slider {
    overflow: hidden;
    flex: 1;
}

.fleet-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.fleet-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.fleet-card:hover,
.fleet-card.active {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,119,182,0.2);
    border-color: #0077b6;
}

.fleet-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fleet-card:hover img {
    transform: scale(1.05);
}

.fleet-nav {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: #0077b6;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleet-nav:hover {
    background: #005f8a;
    transform: scale(1.1);
}

.fleet-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.fleet-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.fleet-dot:hover,
.fleet-dot.active {
    background: #0077b6;
    transform: scale(1.2);
}

.fleet-description {
    max-width: 900px;
    margin: 30px auto 0;
    text-align: center;
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    padding: 0 15px;
}

.fleet-description a {
    color: #0077b6;
    text-decoration: none;
}

.fleet-description a:hover {
    text-decoration: underline;
}

/* =====================================================
   19. SIKÇA SORULAN SORULAR (FAQ)
   Dosya: Index.cshtml
   Açıklama: Accordion tarzı açılır/kapanır sorular.
   .faq-item.open → Açık soru
   .faq-question → Soru başlığı (tıklanabilir)
   .faq-answer → Cevap alanı (gizli/görünür)
   ===================================================== */
.faq-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #e8f4f8 0%, #f8f9fa 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s;
    border-left: 4px solid #0077b6;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 500;
    color: #0077b6;
    font-size: 15px;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question i {
    color: #0077b6;
    font-size: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
    margin: 0;
    font-size: 14px;
}

.faq-answer a {
    color: #0077b6;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #005f8a;
}

/* =====================================================
   25. RESPONSIVE - TABLET (992px - 1199px)
   Açıklama: Hero, duyuru slider, fleet, FAQ tablet uyumu.
   ===================================================== */
@media (max-width: 1199px) and (min-width: 769px) {
    .fleet-card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .fleet-card img {
        height: 200px;
    }
}

/* =====================================================
   25. RESPONSIVE - MOBİL (768px ve altı)
   Açıklama: Hero, arama formu, fleet, FAQ mobil uyumu.
   ===================================================== */
@media (max-width: 768px) {
    .fleet-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .fleet-slider-wrapper {
        padding: 0 5px;
    }
    
    .fleet-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .fleet-card img {
        height: 200px;
    }
    
    .fleet-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .fleet-track {
        gap: 10px;
    }
    
    .fleet-description {
        font-size: 13px;
        line-height: 1.7;
        margin-top: 20px;
    }
    
    .faq-section {
        padding: 40px 0 60px;
    }
    
    .faq-question {
        padding: 15px 18px;
        font-size: 14px;
    }
    
    .faq-question i {
        font-size: 12px;
        margin-left: 10px;
    }
    
    .faq-item.open .faq-answer {
        padding: 15px 18px;
    }
    
    .faq-answer p {
        font-size: 13px;
    }
    
    /* Gezi Bilgileri Linki - Mobil */
    .route-info-link {
        padding: 10px 12px;
        font-size: 13px;
        margin-top: 12px;
        margin-bottom: 30px;
    }
}

/* =====================================================
   25. RESPONSIVE - KÜÇÜK MOBİL (480px ve altı)
   Açıklama: Çok küçük ekranlar için son ayarlamalar.
   ===================================================== */
@media (max-width: 480px) {
    .fleet-nav {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .fleet-card img {
        height: 180px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .faq-question {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .faq-item.open .faq-answer {
        padding: 12px 15px;
    }
}


/* =====================================================
   24. ÇOCUK DOĞUM TARİHİ + ARAMA FORM GRID
   Dosya: Index.cshtml
   Açıklama: Arama formundaki çocuk sayısı seçildiğinde
   açılan doğum tarihi popup/tooltip alanı.
   .search-grid → Arama form grid yapısı
   .search-row → 7 kolonlu grid satırı
   .child-birthdates-inline → Popup doğum tarihi alanı
   ===================================================== */
.search-grid { width: 100%; }
.search-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 15px; align-items: start; }
.child-group { position: relative; }

/* --- Çocuk doğum tarihi popup (seçim sonrası açılır) --- */
.child-birthdates-inline {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin-top: 4px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    min-width: 220px;
    max-width: 280px;
}
.child-birthdates-inline::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background: white;
    border-left: 1px solid #dee2e6;
    border-top: 1px solid #dee2e6;
    transform: rotate(45deg);
}
.child-birthdate-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    background: #f8f9fa;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}
.child-birthdate-row:last-child { margin-bottom: 0; }
.child-birthdate-row label {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
    margin: 0;
    min-width: 60px;
}
.child-birthdate-row label i {
    color: #17a2b8;
    margin-right: 4px;
}
.child-birthdate-row input {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 13px;
    width: 100%;
    max-width: 120px;
}
.child-birthdate-row input:focus {
    border-color: #0099cc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,153,204,0.15);
}

/* --- Yaş Badge'leri: Bebek/Çocuk/Yetişkin uyarısı --- */
.age-badge {
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    display: none;
}
.age-badge.infant { 
    display: inline-block; 
    background: #fff3cd; 
    color: #856404; 
}
.age-badge.adult-warning { 
    display: inline-block; 
    background: #f8d7da; 
    color: #721c24; 
}
.age-badge.child { display: none !important; }
.age-badge.waiting { display: none; }

@media (max-width: 1200px) { .search-row { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px) { .search-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { 
    .search-row { grid-template-columns: 1fr; }
    .child-birthdates-inline { 
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin-top: 8px;
        max-width: 100%;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    .child-birthdates-inline::before { display: none; }
    .child-birthdate-row { 
        padding: 6px 8px; 
        gap: 6px;
    }
    .child-birthdate-row label { font-size: 11px; min-width: 55px; }
    .child-birthdate-row input { font-size: 12px; padding: 5px 8px; }
}


/* =====================================================
   =========== GENEL BİLEŞEN STİLLERİ ===============
   Dosya: Content/site.css (orijinal)
   Açıklama: Tüm sayfalarda kullanılan ortak stiller.
   Ferry Search, Checkout, Payment sayfaları bu stilleri
   kullanır. Layout + Index'e özel DEĞİLDİR.
   ===================================================== */

/* =====================================================
   26. CSS DEĞİŞKENLERİ (Genel)
   Açıklama: Tüm sayfalarda kullanılan renk ve boyut
   değişkenleri. Layout variables ile birlikte çalışır.
   --primary-color: Mavi (#0066cc)
   --accent-color: Turuncu (#ff6600)
   --success-color: Yeşil (#28a745)
   ===================================================== */

:root {
    --primary-color: #0066cc;
    --secondary-color: #003366;
    --accent-color: #ff6600;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --border-radius: 10px;
    --box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* =====================================================
   26b. GENEL BODY + LİNK STİLLERİ
   Açıklama: Tüm sayfalarda geçerli font ve link renkleri.
   ===================================================== */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--light-bg);
    color: #333;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

/* =====================================================
   27. BUTONLAR
   Dosya: Tüm sayfalar
   Açıklama: .btn-primary (mavi gradient), .btn-search (turuncu)
   ===================================================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #0052a3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052a3, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
}

.btn-search {
    background: linear-gradient(135deg, var(--accent-color), #ff8533);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-search:hover {
    background: linear-gradient(135deg, #e65c00, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,102,0,0.4);
    color: #fff;
}

/* =====================================================
   28. KARTLAR (Genel)
   Dosya: Tüm sayfalar
   Açıklama: Bootstrap .card override - gölge, radius, hover efekti.
   ===================================================== */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
}

/* =====================================================
   29. FORMLAR
   Dosya: Tüm sayfalar
   Açıklama: .form-control, .form-select, .form-label override.
   ===================================================== */
.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    transition: var(--transition);
    /* padding ve height üstteki search section'da tanımlı */
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.form-label {
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

/* =====================================================
   30. SEFER KARTLARI (Expedition Cards)
   Dosya: Ferry/Search sonuç sayfası
   Açıklama: Sefer arama sonuçlarında gösterilen kartlar.
   Sol kenarda mavi çizgi, seçilince turuncu olur.
   .expedition-card.selected → Seçili sefer
   .time → Kalkış saati (büyük font)
   .price → Fiyat (turuncu, büyük font)
   ===================================================== */
.expedition-card {
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    cursor: pointer;
}

.expedition-card:hover {
    background-color: #f0f7ff;
}

.expedition-card.selected {
    border-left-color: var(--accent-color);
    background-color: #fff8f0;
}

.expedition-card .time {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.expedition-card .price {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-color);
}

/* =====================================================
   31. YOLCU KARTLARI (Passenger Cards)
   Dosya: Checkout sayfası
   Açıklama: Yolcu bilgi formlarının kartları.
   .adult → Yeşil kenarlık (yetişkin)
   .child → Sarı kenarlık (çocuk)
   .infant → Mavi kenarlık (bebek)
   ===================================================== */
.passenger-card {
    border-left: 4px solid var(--primary-color);
}

.passenger-card.adult {
    border-left-color: var(--success-color);
}

.passenger-card.child {
    border-left-color: var(--warning-color);
}

.passenger-card.infant {
    border-left-color: var(--info-color);
}

/* =====================================================
   32. FİYAT ÖZETİ (Price Summary)
   Dosya: Checkout sayfası
   Açıklama: Sağ taraftaki toplam fiyat kutusu.
   Lacivert-mavi gradient arka plan, beyaz yazı.
   ===================================================== */
.price-summary {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #fff;
    border-radius: 15px;
    padding: 25px;
}

.price-summary .total {
    font-size: 32px;
    font-weight: 700;
}

/* =====================================================
   33. BANKA SEÇİM KARTLARI (Bank Cards)
   Dosya: Payment (ödeme) sayfası
   Açıklama: Taksit seçiminde banka kartları.
   Seçilince mavi kenarlık + açık mavi arka plan.
   ===================================================== */
.bank-card {
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid #e0e0e0 !important;
}

.bank-card:hover {
    border-color: var(--primary-color) !important;
}

.bank-card.selected,
.bank-card:has(input:checked) {
    border-color: var(--primary-color) !important;
    background-color: #f0f7ff;
}

/* --- Breadcrumb: Sayfa yol haritası --- */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}

/* --- Uyarı kutuları (Alert) --- */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

/* --- Tablolar --- */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead th {
    background-color: var(--light-bg);
    border-bottom: 2px solid #dee2e6;
}

/* =====================================================
   34. GENEL LOADING OVERLAY
   Dosya: Tüm sayfalar
   Açıklama: AJAX işlemleri sırasında gösterilen beyaz overlay.
   .loading-overlay.active → Göster
   ===================================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

/* =====================================================
   35. İLERLEME ADIMLARI (Progress Steps)
   Dosya: Checkout akışı (Search → Yolcular → Ödeme)
   Açıklama: Üstteki yuvarlak adım göstergeleri.
   ===================================================== */
.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.progress-line {
    width: 50px;
    height: 3px;
}

/* --- Accordion (Bootstrap override) --- */
.accordion-button:not(.collapsed) {
    background-color: #f0f7ff;
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* --- Footer genel (Bootstrap override) --- */
.footer {
    background: var(--secondary-color);
}

.footer a:hover {
    color: var(--accent-color) !important;
}

/* =====================================================
   25b. RESPONSIVE - GENEL BİLEŞENLER
   Açıklama: Sefer kartları, fiyat özeti, butonlar mobil uyumu.
   ===================================================== */
@media (max-width: 991px) {
    .hero-section {
        padding: 30px 0 50px 0;
        overflow: hidden;
    }
    
    .search-box {
        padding: 20px;
    }
    
    .expedition-card .time,
    .expedition-card .price {
        font-size: 18px;
    }
    
    .price-summary .total {
        font-size: 24px;
    }
    
    .btn-search {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* =====================================================
   36. YAZDIR (Print Styles)
   Açıklama: Ctrl+P ile yazdırırken navbar ve footer gizlenir.
   ===================================================== */
@media print {
    .navbar,
    .footer,
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* =====================================================
   37. ANİMASYONLAR
   Açıklama: fadeIn (sayfa geçişi), pulse (dikkat çekme)
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== iOS PWA Install Banner ===== */
.pwa-ios-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    position: relative;
}
.pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 4px 0;
    font-size: 13px;
    color: #e0e0e0;
}
.pwa-ios-steps i {
    margin: 0 4px;
    font-size: 16px;
}
.pwa-ios-steps strong {
    color: #fff;
}
.pwa-ios-banner .pwa-install-actions {
    position: absolute;
    top: 8px;
    right: 8px;
}
.pwa-ios-banner .pwa-dismiss-btn {
    background: transparent;
    color: #aaa;
    font-size: 20px;
    border: none;
    padding: 0 6px;
    cursor: pointer;
}

/* ===== iOS PWA Install Banner ===== */
.pwa-ios-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    position: relative;
}
.pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0 4px 0;
    font-size: 13px;
    color: #e0e0e0;
}
.pwa-ios-steps i {
    margin: 0 4px;
    font-size: 16px;
}
.pwa-ios-steps strong {
    color: #fff;
}
.pwa-ios-banner .pwa-install-actions {
    position: absolute;
    top: 8px;
    right: 8px;
}
.pwa-ios-banner .pwa-dismiss-btn {
    background: transparent;
    color: #aaa;
    font-size: 20px;
    border: none;
    padding: 0 6px;
    cursor: pointer;
}
