/* Minification failed. Returning unminified contents.
(51,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(52,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(53,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(934,22): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(935,24): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(997,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1028,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1035,17): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(1067,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(1083,17): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(1117,28): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(1118,17): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(1122,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(1147,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1193,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(1203,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1208,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1214,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1365,26): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(1745,22): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(2671,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2672,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2673,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2674,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2675,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2676,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2677,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2678,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2679,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2680,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2681,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2682,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(2687,28): run-time error CSS1039: Token not allowed after unary operator: '-light-bg'
(2692,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2694,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(2698,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(2702,46): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2707,55): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(2713,46): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(2718,25): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(2719,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(2723,55): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(2732,22): run-time error CSS1039: Token not allowed after unary operator: '-box-shadow'
(2733,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(2747,25): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(2749,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(2755,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2761,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(2766,33): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2767,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(2776,29): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(2783,17): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(2789,17): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
(2793,33): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2797,29): run-time error CSS1039: Token not allowed after unary operator: '-success-color'
(2801,29): run-time error CSS1039: Token not allowed after unary operator: '-warning-color'
(2805,29): run-time error CSS1039: Token not allowed after unary operator: '-info-color'
(2809,46): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(2809,70): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2822,22): run-time error CSS1039: Token not allowed after unary operator: '-transition'
(2827,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2831,21): run-time error CSS1030: Expected identifier, found ':'
(2831,29): run-time error CSS1031: Expected selector, found ')'
(2831,29): run-time error CSS1025: Expected comma or open brace, found ')'
(2846,25): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(2851,25): run-time error CSS1039: Token not allowed after unary operator: '-border-radius'
(2856,28): run-time error CSS1039: Token not allowed after unary operator: '-light-bg'
(2894,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2899,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(2903,22): run-time error CSS1039: Token not allowed after unary operator: '-secondary-color'
(2907,17): run-time error CSS1039: Token not allowed after unary operator: '-accent-color'
 */


.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; }
}


:root {
    --primary-color: #003366;
    --secondary-color: #0099cc;
    --accent-color: #ff6600;
}

.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-top: 95px;
}

@keyframes topbarFlash {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}

.top-bar {
    background: linear-gradient(90deg, #1a3a5c 0%, #0d2840 50%, #1a3a5c 100%);
    color: #ffd166;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar span,
.top-bar i {
    color: #ffd166;
    animation: topbarFlash 1.2s ease-in-out infinite;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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;
}

.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.hovered .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;
}

.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.hovered .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;
}

.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;
}


.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;
}

.header-btn.btn-checkin {
    background: #0d6efd;
    color: white;
    border: none;
}

.header-btn.btn-checkin:hover {
    background: #0b5ed7;
    color: white;
}

.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;
}

@media (min-width: 1100px) {
    .main-header .navbar-toggler {
        display: none !important;
    }
    .mobile-only {
        display: none !important;
    }
    .desktop-menu {
        display: flex !important;
    }
}

@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;
    }
}

@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;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 75px;
    }
    
    .top-bar {
        padding: 8px 0;
        font-size: 12px;
        line-height: 1.5;
    }

    .top-bar .desktop-text {
        display: none;
    }
    
    .main-header {
        padding: 6px 0;
    }
    
    .main-header .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 6px;
    }

    .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;
    }
}

.hero-section {
    background: linear-gradient(180deg, #0077b6 0%, #00b4d8 50%, #48cae4 80%, #90e0ef 100%);
    padding: 40px 0 100px 0;
    position: relative;
    overflow: hidden;
}


.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%); }
}

.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-section > .container {
    position: relative;
    z-index: 10;
}

.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;
}

.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;
}

.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;
}

@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 {
    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;
}

.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 {
    padding: 50px 0;
}

.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;
}

.route-card .price small {
    color: #999;
    font-weight: 400;
}

.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;
}


.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 {
    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;
}

.nav-item.dropdown .nav-link::after {
    transition: transform 0.3s;
}

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



@media (max-width: 991.98px) {
    
    .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%;
    }

    .main-header {
        padding: 6px 0;
    }
    
    .main-header .navbar-brand {
        font-size: 18px;
    }
    
    .main-header .navbar-brand img {
        height: 28px;
        max-width: 80px;
    }

    .language-dropdown {
        margin: 0 4px;
        flex-shrink: 0;
    }
    
    .language-dropdown .dropdown-toggle {
        padding: 5px 8px;
        font-size: 11px;
    }

    .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 {
        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);
    }

    .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;
    }
}

@media (max-width: 575.98px) {

    .top-bar {
        font-size: 12px;
        padding: 8px 0;
        line-height: 1.5;
    }

    .top-bar .d-flex {
        display: block !important;
        text-align: center;
    }

    .top-bar .d-flex > div:first-child {
        width: 100%;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .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;
    }
    
    .main-header .navbar-brand {
        font-size: 16px;
        gap: 8px;
    }
    
    .main-header .navbar-brand img {
        height: 26px;
        max-width: 70px;
    }
    
    .navbar-toggler {
        padding: 4px 7px;
    }

    .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;
    }

    .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;
    }
}

@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%);
    }

    .tour-dropdown > li > a {
        padding: 14px 15px;
    }
}



.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;
}

.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;
}

.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);
}

.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.menu-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}


.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);
}


#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);
}

.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;
}

.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;
}

.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;
}

.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); }

@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; }
}

@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;
    }
}


.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; }
}



.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;
}

.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;
}

.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;
}

.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);
}

@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; }
}

.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;
}

.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;
}

.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;
}

@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;
    }
}

@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;
    }

    .route-info-link {
        padding: 10px 12px;
        font-size: 13px;
        margin-top: 12px;
        margin-bottom: 30px;
    }
}

@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;
    }
}


.search-grid { width: 100%; }
.search-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 15px; align-items: start; }
.child-group { position: relative; }

.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: 230px;
    max-width: 300px;
}
.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);
}
/* Dikey duzen: etiket ustte, tarih inputu tam genislikte, uyari badge'i altta.
   Eskiden ucu tek satirdaydi ve dar panelde tarih inputu ezilip okunmuyordu. */
.child-birthdate-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    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;
}
.child-birthdate-row label i {
    color: #17a2b8;
    margin-right: 4px;
}
.child-birthdate-row input {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 7px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #212529;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
}
.child-birthdate-row input:focus {
    border-color: #0099cc;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0,153,204,0.15);
}

.age-badge {
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    display: none;
}
.age-badge.infant {
    display: block;
    background: #fff3cd;
    color: #856404;
}
/* GIZLENDI (2026-08-06): "12+ yas yetiskin sayilir" uyarisi kullaniciya
   gosterilmiyor. Yas hesabi ve fiyatlandirma AYNEN calismaya devam ediyor —
   sadece bu rozet gorunmuyor. Tekrar gostermek icin: display: none -> block. */
.age-badge.adult-warning {
    display: none !important;
    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; }
    .child-birthdate-row input { font-size: 14px; padding: 7px 8px; }
}




: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;
}

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);
}

.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;
}

.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;
}

.form-control,
.form-select {
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    transition: var(--transition);
    
}

.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;
}

.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);
}

.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);
}

.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;
}

.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 {
    background: transparent;
    padding: 0;
}

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

.alert {
    border-radius: var(--border-radius);
    border: none;
}

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

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

.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;
}

.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-button:not(.collapsed) {
    background-color: #f0f7ff;
    color: var(--primary-color);
}

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

.footer {
    background: var(--secondary-color);
}

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

@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;
    }
}

@media print {
    .navbar,
    .footer,
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

@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;
}

.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;
}

.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;
}

/* ═══════════════════════════════════════════════════════════════
   FLATPICKR — MOBIL OKUNABILIRLIK FIX (2026-08-06)
   Sorun: Google Translate widget'i kisa gun adlarini (Pzt, Sal)
   uzun hallerine (Pazartesi, Sali) cevirince baslik satiri tasiyor,
   ay/yil secici de sikisip okunmaz hale geliyordu.
   ═══════════════════════════════════════════════════════════════ */

/* Google Translate takvim icerigine dokunmasin */
.flatpickr-calendar,
.flatpickr-calendar * {
    -webkit-text-size-adjust: 100%;
}

.flatpickr-calendar {
    max-width: 100%;
}

/* Ay + yil satiri — tasmasin, ortalanmis ve okunur kalsin */
.flatpickr-months .flatpickr-month {
    height: 40px;
    overflow: visible;
}

.flatpickr-current-month {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 4px;
    width: auto;
    left: 0;
    right: 0;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
    max-width: 110px;
    padding: 0 2px;
}

.flatpickr-current-month input.cur-year {
    min-width: 52px;
    padding: 0 2px;
}

@media (max-width: 480px) {
    .flatpickr-calendar {
        width: auto !important;
        max-width: calc(100vw - 24px);
        padding: 0 2px 4px;
    }

    .flatpickr-months .flatpickr-month {
        height: 44px;
    }

    .flatpickr-current-month,
    .flatpickr-current-month .flatpickr-monthDropdown-months,
    .flatpickr-current-month input.cur-year {
        font-size: 15px;
        font-weight: 600;
    }

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        max-width: 96px;
    }

    /* Gun basliklari — uzun cevrilse bile tasmaz, kesilir */
    .flatpickr-weekdays,
    .flatpickr-weekdaycontainer {
        overflow: hidden;
    }

    span.flatpickr-weekday {
        font-size: 10px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: clip;
        flex: 1 1 0;
        min-width: 0;
        padding: 0 1px;
    }

    .flatpickr-day {
        font-size: 13px;
        height: 34px;
        line-height: 34px;
    }

    .flatpickr-prev-month,
    .flatpickr-next-month {
        padding: 8px 6px;
    }
}



.language-dropdown {
    position: relative;
}

.language-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    margin-top: 4px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    border: 1px solid rgba(0,0,0,0.1);
}

.language-dropdown .dropdown-menu.show {
    display: block;
}

@media (max-width: 991.98px) {
    .language-dropdown .dropdown-menu {
        position: fixed;
        top: auto;
        left: 8px;
        right: 8px;
        width: auto;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 9999;
    }
}

.pwa-install-banner {
    position: fixed;
    bottom: 70px; 
    left: 12px;
    right: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    animation: slideUpBanner 0.4s ease-out;
    border: 1px solid rgba(0,51,102,0.1);
}

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

.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

.pwa-install-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.pwa-install-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pwa-install-text strong {
    font-size: 14px;
    color: #003366;
    white-space: nowrap;
}

.pwa-install-text span {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pwa-install-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.pwa-install-btn {
    background: linear-gradient(135deg, #003366, #0077b6);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.pwa-install-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,51,102,0.3);
}

.pwa-dismiss-btn {
    background: none;
    border: none;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}

@media (min-width: 769px) {
    .pwa-install-banner {
        bottom: 20px;
        left: auto;
        right: 20px;
        max-width: 380px;
    }
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.08);
    z-index: 1040;
    padding-bottom: env(safe-area-inset-bottom, 0);
    border-top: 1px solid #eef1f5;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    text-decoration: none;
    color: #8a9ab5;
    font-size: 10px;
    font-weight: 500;
    gap: 3px;
    padding: 8px 4px 6px;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}

.bottom-nav-item i {
    font-size: 20px;
    transition: transform 0.2s;
}

.bottom-nav-item span {
    white-space: nowrap;
    letter-spacing: 0.2px;
}

.bottom-nav-item.active {
    color: #003366;
}

.bottom-nav-item.active i {
    transform: scale(1.1);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #003366;
    border-radius: 0 0 4px 4px;
}

.bottom-nav-center {
    position: relative;
}

.bottom-nav-center-btn {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #003366, #0077b6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -28px;
    box-shadow: 0 4px 16px rgba(0,51,102,0.35);
    transition: all 0.3s;
}

.bottom-nav-center-btn i {
    color: #fff;
    font-size: 22px;
}

.bottom-nav-center:active .bottom-nav-center-btn {
    transform: scale(0.92);
}

.bottom-nav-center span {
    color: #003366;
    font-weight: 600;
    margin-top: 2px;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }

    .main-footer {
        padding-bottom: 80px !important;
    }

    .whatsapp-float,
    .scroll-to-top,
    #scrollTop {
        bottom: 80px !important;
    }

    body > div[style*="fixed"],
    body > div[style*="sticky"],
    #selectedExpeditionBar,
    .selected-expedition-bar,
    .expedition-selection-bar,
    .ferry-selection-bar,
    .booking-action-bar,
    .checkout-sticky-bar {
        margin-bottom: 64px;
    }
}

@media (max-width: 991.98px) {

    .main-content button, .main-content .btn, .main-content a.btn,
    .main-content input[type="submit"],
    .main-content input[type="button"],
    .main-content select,
    .mobile-menu-panel button, .mobile-menu-panel .btn,
    .modal button, .modal .btn,
    form button, form .btn, form a.btn,
    form input[type="submit"],
    form input[type="button"],
    form select {
        min-height: 44px;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="date"],
    input[type="password"],
    textarea,
    select,
    .form-control,
    .form-select {
        font-size: 16px !important; 
        min-height: 48px;
        padding: 10px 14px;
        border-radius: 10px;
    }

    .card {
        border-radius: 14px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        border: 1px solid #eef1f5;
    }
    
    .card-header {
        border-radius: 14px 14px 0 0 !important;
        padding: 14px 16px;
    }
    
    .card-body {
        padding: 16px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .main-header {
        padding: 6px 0;
    }
    
    .main-header .navbar {
        height: auto;
        min-height: 48px;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 4px;
        overflow: visible;
    }
    
    .main-header .navbar-brand {
        flex-shrink: 0;
        margin-right: auto;
    }
    
    .main-header .navbar-brand img {
        height: 28px;
        width: auto;
        max-width: 85px;
    }

    .main-header .navbar-toggler {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 5px 8px;
        order: 99;
        flex-shrink: 0;
    }

    .main-header .header-btn {
        flex-shrink: 0;
        width: auto !important;
        min-height: auto !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        border-radius: 6px;
    }

    .main-header .language-dropdown {
        flex-shrink: 0;
    }
    
    .main-header .language-dropdown .dropdown-toggle {
        padding: 6px 10px;
        font-size: 12px;
        min-height: auto !important;
    }

    .main-header .navbar-toggler {
        min-height: auto !important;
    }

    .top-bar {
        text-align: center;
    }

    .top-bar .container .d-flex > div:first-child {
        width: 100%;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .table-responsive {
        border-radius: 10px;
    }
    
    table.table th,
    table.table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .alert {
        padding: 12px 14px;
        font-size: 13px;
        border-radius: 10px;
    }

    .modal-dialog {
        margin: 10px;
    }
    
    .modal-content {
        border-radius: 16px;
    }
    
    .modal-header {
        border-radius: 16px 16px 0 0;
        padding: 14px 16px;
    }

    .badge {
        padding: 5px 10px;
        font-size: 11px;
        border-radius: 8px;
    }

    h1, .h1 { font-size: 1.6rem; }
    h2, .h2 { font-size: 1.35rem; }
    h3, .h3 { font-size: 1.15rem; }
    h4, .h4 { font-size: 1rem; }

    .btn-group-vertical,
    .d-flex.gap-2 {
        flex-wrap: wrap;
    }
}

@media (max-width: 991.98px) {

    .hero-section {
        padding: 20px 0 30px 0 !important;
        overflow: visible !important;
        min-height: auto !important;
    }
    
    .hero-container {
        flex-direction: column !important;
        gap: 16px !important;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 1.5rem !important;
        margin-bottom: 4px;
    }
    
    .hero-left p {
        font-size: 0.9rem !important;
    }
    
    .hero-badge {
        display: none; 
    }
    
    .announcement-slider {
        display: flex !important;
        flex-direction: column;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 15px 20px !important;
        min-height: 120px;
    }

    .search-box,
    .search-card {
        border-radius: 16px !important;
        padding: 16px !important;
        margin: 0 -4px;
    }

    .route-cards .row > div,
    .featured-routes .col-lg-3,
    .featured-routes .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .route-card {
        flex-direction: row !important;
        padding: 12px 16px !important;
        gap: 12px;
        border-radius: 12px !important;
    }
    
    .route-card .route-icon,
    .route-card .route-image {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .route-card .route-info {
        flex: 1;
    }
    
    .route-card .route-price {
        white-space: nowrap;
    }
}

@media (max-width: 991.98px) {

    .expedition-card,
    .result-card {
        border-radius: 14px !important;
        padding: 14px !important;
        margin-bottom: 12px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }

    .expedition-details {
        flex-direction: column !important;
    }
    
    .expedition-time {
        font-size: 1.3rem !important;
    }

    .expedition-price,
    .price-badge {
        font-size: 1.2rem !important;
        font-weight: 700;
    }

    .expedition-card .btn,
    .result-card .btn-select {
        width: 100% !important;
        min-height: 48px;
        font-size: 15px;
        border-radius: 12px !important;
        margin-top: 10px;
    }

    .price-summary-bar,
    .sticky-price-bar {
        position: fixed;
        bottom: 64px; 
        left: 0;
        right: 0;
        background: #fff;
        padding: 12px 16px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
        z-index: 1030;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #eee;
    }

    [style*="position: fixed"][style*="bottom: 0"],
    [style*="position:fixed"][style*="bottom:0"],
    div[style*="position: fixed"][style*="bottom"],
    .fixed-bottom,
    .sticky-bottom {
        bottom: 64px !important;
    }
}

@media (max-width: 991.98px) {

    .passenger-form,
    .passenger-card {
        border-radius: 14px !important;
        margin-bottom: 12px;
        overflow: hidden;
    }
    
    .passenger-form .card-header,
    .passenger-card .card-header {
        padding: 12px 16px;
        cursor: pointer;
    }

    .passenger-form .row > .col-md-6,
    .passenger-form .row > .col-md-4,
    .passenger-form .row > .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .passenger-form .name-row > .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .passenger-form input[type="date"],
    .passenger-form .flatpickr-input {
        font-size: 16px !important;
    }

    .invoice-section {
        margin-top: 16px;
    }

    .checkout-sidebar,
    .order-summary {
        order: -1 !important;
        margin-bottom: 16px;
        position: sticky;
        top: 60px;
        z-index: 100;
    }
}

@media (max-width: 991.98px) {

    .payment-card-form {
        padding: 16px;
        border-radius: 14px;
    }

    .card-number-input,
    #cardNo {
        font-size: 18px !important;
        letter-spacing: 2px;
        text-align: center;
    }

    .installment-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .installment-option {
        border-radius: 10px;
        padding: 10px;
        text-align: center;
        border: 2px solid #eee;
        cursor: pointer;
    }
    
    .installment-option.selected,
    .installment-option:active {
        border-color: #003366;
        background: rgba(0,51,102,0.05);
    }

    .bank-logos {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .bank-logo {
        width: 60px;
        height: 36px;
        object-fit: contain;
        border: 1px solid #eee;
        border-radius: 6px;
        padding: 4px;
    }
}

@media (max-width: 991.98px) {

    .voucher-card,
    .ticket-card {
        border-radius: 16px;
        overflow: hidden;
    }

    .qr-code-section {
        text-align: center;
        padding: 20px;
    }
    
    .qr-code-section img,
    .qr-code-section canvas {
        max-width: 200px;
        margin: 0 auto;
    }

    .voucher-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 16px;
    }
    
    .voucher-actions .btn {
        border-radius: 10px;
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    .timetable-table {
        font-size: 12px;
    }
    
    .timetable-table th,
    .timetable-table td {
        padding: 8px 6px;
        white-space: nowrap;
    }
}

@media all and (display-mode: standalone) {
    
    .sticky-header-wrapper {
        padding-top: env(safe-area-inset-top, 0);
    }
    
    .main-header {
        
    }
    
    .mobile-bottom-nav {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    body {
        padding-top: env(safe-area-inset-top, 0);
    }
}

@supports (padding: max(0px)) {
    .mobile-bottom-nav {
        height: calc(64px + env(safe-area-inset-bottom, 0));
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
    
    @media (max-width: 991.98px) {
        body {
            padding-bottom: calc(70px + env(safe-area-inset-bottom, 0));
        }
    }
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

body.no-pull-refresh {
    overscroll-behavior-y: contain;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text { height: 14px; margin-bottom: 8px; }
.skeleton-title { height: 22px; width: 60%; margin-bottom: 12px; }
.skeleton-card { height: 120px; margin-bottom: 12px; }
.skeleton-btn { height: 48px; width: 100%; }

#loadingOverlay.active,
.search-loading-overlay.active {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 991.98px) {
    .main-footer {
        text-align: center;
    }
    
    .main-footer .row > div {
        margin-bottom: 24px;
    }
    
    .main-footer h5 {
        font-size: 1rem;
    }
    
    .main-footer ul li {
        padding: 6px 0;
    }

    .footer-map {
        display: none;
    }
    
    .footer-bottom {
        padding: 16px 0;
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .top-bar {
        font-size: 11px;
        padding: 4px 0;
    }
    
    .top-bar .d-flex {
        justify-content: center !important;
    }
}

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

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

.slide-up {
    animation: slideUp 0.3s ease-out;
}

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