/* Global Styles */
:root {
    --primary-color: #d4af37;
    /* Metallic Gold */
    --primary-hover: #b8860b;
    /* Dark Goldenrod */
    --secondary-color: #8b4513;
    /* Saddle Brown - Deep accent */
    --dark-bg: #0f0f0f;
    --text-light: #ffffff;
    --text-dim: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --language-switcher-top: 130px;
    /* Initial navbar estimate; hero-spacing.js measures its actual lower edge. */
    --hero-navbar-bottom: calc(50px + 3rem + 1px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: #0f0f0f;
    /* User Provided Custom Background - Modern Terminal/Station */
    background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('assets/custom_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Navbar */
.navbar {
    position: fixed;
    /* Fixed for sticky behavior */
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    /* Dark background for visibility */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 50px;
    /* Adjust based on navbar height */
    width: auto;
    object-fit: contain;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    /* Increase hit area vertically */
    display: inline-block;
}

.nav-links li:hover>a,
.nav-links li a:focus,
.nav-links li:focus-within > a,
.nav-links li a.active,
.dropdown-menu li a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-links li {
    position: relative;
    /* Ensure li is positioned for absolute dropdown */
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform: none;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: auto;
    width: max-content;
    padding: 0.5rem 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    flex-direction: column;
    gap: 0;
    /* Reset gap from nav-links */
}

.nav-links li:hover .dropdown-menu {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.dropdown-menu li {
    width: 100%;
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-dim);
    font-size: 0.9rem;
    white-space: nowrap;
    text-align: left;
    width: 100%;
}

.dropdown-menu li a:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Arrow tip */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 15px;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.1) transparent;
}

.cta-button-small {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #000;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button-small:hover {
    background: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: var(--primary-color);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--primary-hover);
}

/* Child Seats Styles */
.child-seats-group {
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.child-seats-label {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.checkbox-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: auto;
    width: 100%;
    background-image: url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 170px 5% max(0px, calc(var(--language-switcher-top) - var(--hero-navbar-bottom)));
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: linear-gradient(to bottom, transparent 0%, #0f0f0f 100%);
    pointer-events: none;
    z-index: 2;
}

/* Overlay for readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
    min-width: 0;
}

.hero-text {
    animation: fadeIn 1s ease-out;
}

.tagline {
    color: var(--primary-color);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.subheadline {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 4px;
    /* Slightly rounded corners for premium feel */
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    /* Contrast text */
    border: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    /* Glassy feel */
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 2rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: var(--primary-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fleet Section */
.fleet-section {
    padding: 2rem 5%;
    background-color: transparent;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

section[id] {
    scroll-margin-top: 140px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Single Row Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Equal Columns */
    gap: 2rem;
}

.bento-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Lighter grey for cards */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0;
    /* Remove padding to let image fill width */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Images in cards */
.fleet-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #2a2a2a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 0;
    border-radius: 0;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Card Content */
.card-content h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.card-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.specs {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-dim);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1rem;
    margin-top: auto;
    /* Push to bottom of content area */
}

.specs li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.specs i {
    color: var(--primary-color);
}

/* Card Buttons */
.btn-card {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    width: 100%;
    background: var(--primary-color);
    /* Match "Book Your Ride" */
    color: #000;
    /* Contrast text */
    border: none;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

.btn-card:hover {
    background: var(--primary-hover);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
}

.btn-card.primary {
    /* Styles now redundant but kept for specificity if needed, though they match base .btn-card now */
    background: var(--primary-color);
    color: #000;
}

.btn-card.primary:hover {
    background: var(--primary-hover);
}

/* Services Section */
.services-section {
    padding: 2rem 5%;
    background-color: transparent;
}

/* Booking Section */
.booking-section {
    padding: 2rem 5%;
    background-color: transparent;
}

/* Prices Section */
.prices-section {
    padding: 2rem 5%;
    background-color: transparent;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: 0.3s;
    flex: 1 1 250px;
    /* Flexible width with base */
    max-width: 350px;
    /* Prevent overly wide cards */
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* Booking Section */


.booking-wrapper {
    display: flex;
    gap: 4rem;
    align-items: stretch;
    /* Stretch to equalize height */
    margin-top: 3rem;
    /* Spacing from title */
}

.booking-text {
    flex: 1;
}

.contact-list {
    list-style: none;
    margin-top: 2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
}

.booking-form {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.form-footer-image {
    flex-grow: 1;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    min-height: 150px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.9;
    transition: transform 0.5s ease;
}

.form-footer-image:hover img {
    transform: scale(1.05);
}

.form-group-row {
    display: flex;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.form-group label {
    display: block;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.12);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #333;
}

/* Enhanced select styling */
.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
}

.form-group select option {
    background: #1f1f1f;
    color: var(--text-light);
    padding: 0.5rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1.2rem;
}

/* About Section */
.about-section {
    padding: 2rem 5%;
    background-color: transparent;
    text-align: center;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.about-item p {
    color: var(--text-dim);
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000;
    padding: 3rem 5%;
    border-top: 1px solid #222;
}

.footer-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: var(--text-dim);
    font-size: 1.2rem;
}

.footer-socials a:hover {
    color: var(--primary-color);
}

/* Every price table shares the original homepage width. */
.table-responsive {
    width: 100%;
    max-width: 750px;
    min-width: 0;
    margin: 2rem auto 0;
    padding: 1rem 0;
}

.prices-table {
    width: 100%;
    max-width: 750px;
    min-width: 0;
    margin: 0 auto;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.prices-table caption {
    caption-side: top;
    text-align: left;
    color: var(--text-dim);
    padding: 0 0 1rem;
    line-height: 1.6;
}

.prices-table thead th {
    padding: 1rem .2rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: none;
    font-size: .75rem;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    border: none;
}

.prices-table thead th:first-child { text-align: left; }
.prices-table thead th span { font-size: .75rem; text-transform: none; letter-spacing: 0; }

.prices-table tbody tr {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.prices-table tbody tr:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

.prices-table tbody th,
.prices-table tbody td {
    padding: 1rem .5rem;
    display: table-cell;
    vertical-align: middle;
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.prices-table tbody tr > :first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px 0 0 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: #fff;
}

.prices-table tbody tr > :last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 12px 12px 0;
}

.prices-table tbody td:not(:first-child) {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.prices-table tbody td.route-measure {
    color: var(--text-dim);
    font-size: .95rem;
    font-weight: 400;
}

.prices-table tbody td.quote-cell { color: var(--text-dim); font-size: .9rem; font-weight: 400; }

.prices-table td:first-child::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 8px;
    font-size: .8rem;
    opacity: .8;
}

/* Reflow complete rows instead of making the table a scrollable region. */
@media (max-width: 850px) {
    .table-responsive { padding: .5rem 0; }
    .prices-table { display: block; border-spacing: 0; }
    .prices-table caption { display: block; }
    .prices-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .prices-table tbody { display: grid; gap: 1rem; }
    .prices-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border: 1px solid rgba(255, 255, 255, .05);
        border-radius: 12px;
        overflow-wrap: anywhere;
    }
    .prices-table tbody tr > th,
    .prices-table tbody tr > td {
        display: block;
        min-width: 0;
        padding: .8rem;
        border: 0;
        border-radius: 0;
        text-align: left;
        white-space: normal;
    }
    .prices-table tbody tr > :first-child {
        grid-column: 1 / -1;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        font-size: 1.05rem;
    }
    .prices-table tbody tr > :first-child::before { content: none; }
    .prices-table tbody tr > :not(:first-child)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: .4rem;
        color: var(--text-dim);
        font-size: .75rem;
        font-weight: 400;
        line-height: 1.5;
        white-space: normal;
    }
    .prices-table[data-columns="5"] tbody tr > :nth-child(n+4) { grid-column: 1 / -1; }
}

/* Note below prices table */
.prices-note {
    line-height: 1.6;
    text-align: center;
    color: var(--text-dim);
    margin-top: 2rem;
    font-size: 0.95rem;
}

.prices-note a {
    color: var(--primary-color);
    text-decoration: none;
    transition: 0.3s;
}

.prices-note a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* FAQ Section */
.faq-section {
    padding: 2rem 5%;
    background-color: transparent;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.05);
    /* Updated opacity for main container */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Shared route pages: matching FAQ and real route screenshot cards. */
.faq-route-layout {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 2rem;
}

.faq-route-layout > .faq-grid {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
}

.faq-route-image {
    grid-column: 2;
    grid-row: 1;
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
}

.route-image-tooltip {
    position: fixed;
    z-index: 10000;
    max-width: calc(100vw - 16px);
    padding: .35rem .6rem;
    background: rgba(15, 15, 15, .95);
    color: var(--text-light);
    font-size: .85rem;
    line-height: 1.4;
    border: 0;
    outline: 0;
    box-shadow: none;
    pointer-events: none;
}

@media (max-width: 960px) {
    .faq-route-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq-route-image {
        grid-column: auto;
        grid-row: auto;
        position: static;
        height: auto;
        object-fit: contain;
    }
}

.faq-item {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item details {
    width: 100%;
}

.faq-item summary {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.faq-item summary i {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Active State */
.faq-item details[open] summary h3 {
    color: var(--primary-color);
}

.faq-item details[open] summary i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-content {
    padding-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.faq-content p {
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Booking Info Cards (Left Side) */
.booking-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: space-between;
    /* Distribute cards to fill height */
}

.info-card-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.info-card-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

.info-card-item h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
    margin: 0;
}

.info-card-item.warning {
    background: linear-gradient(90deg, rgba(255, 68, 68, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.info-card-item.warning h4 {
    color: #ff6b6b;
}

.bank-details {
    margin-top: 0.8rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    color: var(--text-dim);
    font-family: monospace;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.bank-details strong {
    color: var(--text-light);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-mini a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* Reviews Section */
.reviews-section {
    padding: 2rem 5%;
    background-color: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 3rem;
}

.reviews-track-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    /* Ensure track takes full width */
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;

    /* Config for 3 items:
       Total width = 100%
       Formula: (100% - (items-1)*gap) / items
    */
    flex: 0 0 calc((100% - 4rem) / 3);
    min-height: 250px;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.stars {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.reviewer-info strong {
    display: block;
    color: var(--text-light);
    font-size: 1rem;
}

.reviewer-info span {
    color: var(--text-dim);
    font-size: 0.85rem;
}


/* Texture Overlay */
.review-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('assets/reviews_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    /* Increased visibility */
    border-radius: inherit;
    /* Clamped to card shape */
    z-index: -1;

    pointer-events: none;
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Content Pages (General Rules, etc.) */
.general-rules-section {
    padding: 4rem 5%;
    min-height: 60vh;
}

.content-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    line-height: 1.8;
    max-width: 1000px;
    margin: 0 auto;
}

.content-card h1 {
    font-size: 2.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

.content-card h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.content-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.content-card p {
    margin-bottom: 1.2rem;
}

.content-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.content-card a:hover {
    color: var(--primary-hover);
}

.content-card ul,
.content-card ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-card li {
    margin-bottom: 0.5rem;
}

/* Make table responsive if present */
.content-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.content-card th,
.content-card td {
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem;
    text-align: left;
}

.content-card th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

/* Footer Navigation */
.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0;
    width: 100%;
}

.footer-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-nav span.separator {
    color: var(--primary-color);
    margin: 0 0.5rem;
}


/**************************/
/* RESPONSIVE STYLES */
/**************************/

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .booking-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .review-card {
        flex: 0 0 100%;
        /* 1 item visible on mobile */
    }

    .carousel-container {
        padding: 0 3rem;
    }
}


@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-nav span.separator {
        display: none;
    }

    /* Fix Booking Form Inputs on Mobile */
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }


    /* Ensure inputs don't overflow */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        /* Crucial for padding calculation */
        max-width: 100%;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    animation: slideDownFade 0.4s ease forwards;
}

@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    color: var(--text-dim);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    text-align: center;
}

.modal-content p {
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Adjust form inside modal */
.modal-content .form-group {
    margin-bottom: 1rem;
}

.modal-content button {
    margin-top: 1rem;
}

/* Language Switcher Fixed */
.bg-en-ru-switcher {
    position: fixed;
    top: var(--language-switcher-top);
    right: calc(5% + 20px);
    z-index: 1000;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.lang-fixed-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.lang-fixed-btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}
/* Homepage SEO: readable route data, scoped to the Burgas Airport page. */
.home-page .hero-content { max-width: 760px; }
.home-page h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.home-page .hero-price-summary { color: var(--text-dim); line-height: 1.7; margin: 0 0 1.5rem; max-width: 680px; }
.home-page #prices .route-destination a, .home-page #prices .quote-cell a, .home-page .related-routes a { text-decoration: none; }
.home-page .route-data-note { color: var(--text-dim); font-size: .85rem; line-height: 1.7; max-width: 1100px; margin: 1rem auto; }
.home-page .route-data-note a { text-decoration: none; }
.home-page .table-scroll-hint { display: none; color: var(--text-dim); font-size: .85rem; margin-top: 1.5rem; }
.home-page .booking-steps { max-width: 900px; margin: 0 auto 2.5rem; padding-left: 1.5rem; color: var(--text-dim); line-height: 1.8; }
.home-page .footer-contact { font-style: normal; line-height: 1.8; color: var(--text-dim); font-size: .9rem; }
.home-page .footer-contact a { color: var(--primary-color); }
.home-page .table-responsive:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 4px; }
@media (max-width: 1000px) { .home-page .table-scroll-hint { display: block; } }
@media (max-width: 768px) {
    .home-page { --language-switcher-top: 112px; }
    .home-page .bg-en-ru-switcher { position: absolute; }
    .home-page .hero-buttons { flex-direction: column; gap: 1rem; width: 100%; }
    .home-page .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; }
    .home-page .trust-indicators { flex-direction: column; gap: .75rem; }
    .home-page .hero-content { width: 100%; }
    .home-page .hero-price-summary { font-size: .95rem; }
}


/* Preserve complete supplied headings on narrow screens. */
.section-title, h1 { overflow-wrap: anywhere; }

/* Project rule: links have no underline in any state. */
a, a:hover, a:focus, a:focus-visible, a:active, a:visited { text-decoration: none !important; }


#book { scroll-margin-top: 140px; }

/* No gold borders on hover, including already focused controls. */
.cta-button-small:hover, .lang-fixed-btn:hover { border-color: transparent; }
.form-group input:hover:focus, .form-group select:hover:focus, .form-group textarea:hover:focus { border-color: rgba(255, 255, 255, 0.1); }


/* Narrow-screen layout for every public page. */
@media (max-width: 768px) {
    .hero-section { padding-top: 175px; }
    .hero-buttons { flex-direction: column; gap: 1rem; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; }
    .trust-indicators { flex-direction: column; gap: .75rem; }
    .specs { flex-wrap: wrap; gap: .75rem 1.5rem; }
}

/* Collapse navigation before its contents exceed the available width. */
@media (max-width: 1100px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 15, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        /* Hidden by default */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-links.active {
        display: flex;
        /* Show when active */
        animation: slideDown 0.3s ease forwards;
    }

    .cta-button-small {
        display: none;
        /* Hide 'Book Now' button in header to save space */
    }

    /* Mobile Dropdown Menu */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        background: rgba(30, 30, 30, 0.95);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        display: none;
        animation: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-links li:hover .dropdown-menu {
        display: none;
    }

    .nav-links li .dropdown-menu.open {
        display: flex;
    }

    .dropdown-menu li a {
        text-align: center;
        padding: 0.7rem 1rem;
    }

}

/* Readable introductory copy on every current and future public page. */
.section-subtitle,
.subheadline {
    line-height: 1.6;
}

/* Equal spacing above and below introductory text on every public page. */
:root { --heading-intro-gap: 2rem; }

.section-title:has(+ .section-subtitle),
.hero-text h1:has(+ .subheadline) {
    margin-bottom: var(--heading-intro-gap);
}

.section-title + .section-subtitle,
.hero-text h1 + .subheadline {
    margin-top: 0;
    margin-bottom: var(--heading-intro-gap);
}

.section-title + .section-subtitle + *,
.hero-text h1 + .subheadline + * {
    margin-top: 0;
}

/* Count the existing table inset and carousel hover clearance only once. */
.section-subtitle + .table-responsive {
    padding-top: 0;
    display: flow-root;
}

.section-subtitle + .table-responsive .prices-table {
    margin-top: -8px;
}

.section-subtitle + .table-responsive .prices-table thead th {
    padding-top: 0;
}

.section-subtitle:has(+ .carousel-container) {
    margin-bottom: 0;
}

.section-title + .section-subtitle + .carousel-container {
    margin-top: calc(var(--heading-intro-gap) - 20px);
}

@media (max-width: 850px) {
    .section-subtitle + .table-responsive .prices-table {
        margin-top: 0;
    }
}

/* Headings share the tallest natural height in their current visual row. */
.about-grid > .about-item > h3 {
    min-height: var(--row-heading-height, 0px);
}


/* Related links follow the user-supplied badge reference, 9 October 2026. */
.related-routes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .75rem;
    max-width: 1100px;
    margin: var(--heading-intro-gap) auto 0;
    text-align: center;
}

.related-routes a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    max-width: 100%;
    padding: .6rem .9rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 12px;
    background: rgba(15, 15, 15, .75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    font-size: .9rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .025em;
    text-transform: none;
    overflow-wrap: anywhere;
}

.related-routes a::before {
    content: '';
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #20b9a8;
}

.related-routes a:hover {
    background: rgba(30, 30, 30, .85);
    border-color: rgba(255, 255, 255, .16);
}

/* The following section supplies the matching 32 px lower visible gap. */
.faq-section:has(> .container > .related-routes) {
    padding-bottom: 0;
}





/* Contact channel presentation, updated by the user on 9 October 2026. */
:root { --whatsapp-color: #25D366; }
.whatsapp-text,
.messenger-text,
a[href*="wa.me/" i],
a[href*="whatsapp.com/" i],
a[href^="whatsapp:" i],
a[href^="viber:" i],
a[href^="tg:" i],
a[href*="t.me/" i],
a[href*="telegram.me/" i],
a:has(.whatsapp-text),
a:has(.messenger-text),
a:has(.fa-whatsapp),
a:has(.fa-viber),
a:has(.fa-telegram) {
    font-weight: 700 !important;
}
.whatsapp-text,
.fa-whatsapp,
a[href*="wa.me/" i],
a[href*="whatsapp.com/" i],
a[href^="whatsapp:" i],
a:has(.fa-whatsapp),
a:has(.whatsapp-text) {
    color: var(--whatsapp-color) !important;
}

/* Only published phone numbers receive the phone accent. */
.phone-number-link,
.phone-number-link:hover,
.phone-number-link:focus,
.phone-number-link:active,
.phone-number-link:visited {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* End contact channel presentation. */

/* Locally published Tripadvisor quotations - 9 October 2026. */
.tripadvisor-review {
    min-width: 0;
    overflow-wrap: anywhere;
    text-decoration: none;
}
.tripadvisor-review,
.tripadvisor-review:hover { transition: transform .3s, box-shadow .3s; }
.tripadvisor-review .review-text { white-space: pre-line; }
.tripadvisor-review .reviewer-info span,
.tripadvisor-review .review-date { display: block; }
.tripadvisor-review .review-date {
    margin-top: .4rem;
    color: var(--text-dim);
    font-size: .85rem;
}
.tripadvisor-review .reviewer-info .review-source {
    margin-top: .45rem;
    color: var(--primary-color);
    font-size: .85rem;
}
.tripadvisor-review:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .65);
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    #reviews .reviews-track { transition: none; }
}

/* Original Tripadvisor badge is isolated from public page typography. */
.tripadvisor-badge { width: min(100%, 470px); margin: 1rem auto 0; }
.tripadvisor-badge iframe { display: block; width: 100%; height: 70px; border: 0; background: transparent; }
.whatsapp-link { text-decoration: none; }
