:root {
    --primary: #c5a059;
    --primary-dark: #b08d4a;
    --bg-dark: #0a0a0a;
    --card-bg: #141414;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    ;
    width: 100%;
    position: relative;
}

body.no-scroll {
    overflow: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

.text--accent {
    color: var(--primary);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    gap: 0.5rem;
    touch-action: manipulation;
}

.btn--primary {
    background-color: var(--primary);
    color: #000;
}

.btn--primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn--outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn--outline:hover {
    background-color: var(--primary);
    color: #000;
}

.btn--block {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    mix-blend-mode: screen;
}

.logo__sub {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 2px;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-gray);
}

.nav__link:hover, .nav__link.active {
    color: var(--primary);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 4rem;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 20%, rgba(0,0,0,0.4) 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 8rem;
    align-items: center;
}

.hero__subtitle {
    display: block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero__title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero__description {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero__features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(197, 160, 89, 0.05);
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.9rem;
    color: var(--text-white);
}

.feature-text span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.hero__btns {
    display: flex;
    gap: 1.5rem;
}

/* Booking Card */
.booking-card {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.booking-card__tabs {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}

.tab-btn {
    padding: 1.2rem;
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(197, 160, 89, 0.05);
}

.booking-form {
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 0.8rem;
}

.form-group label i {
    color: var(--primary);
    margin-right: 0.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--border);
    padding: 0.9rem;
    border-radius: 4px;
    color: var(--text-white);
    -webkit-text-fill-color: var(--text-white);
    font-family: var(--font-main);
    font-size: 0.9rem;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23c5a059' 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.2em;
}

select option {
    background-color: #1a1a1a;
    color: white;
    padding: 10px;
}
select optgroup {
    background-color: #050505;
    color: #c5a059;
    font-weight: bold;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: rgba(255,255,255,0.12);
}

/* Google Maps Fixes */
.map-canvas img, .gm-style img {
    max-width: none !important;
    display: initial !important;
}

/* Google Maps Autocomplete Fixes */
.pac-target-input {
    background-image: none !important; /* Prevents broken icons when API fails */
}

.pac-container {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border) !important;
    border-radius: 8px !important;
    margin-top: 5px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    font-family: var(--font-main) !important;
    z-index: 9999 !important;
}

.pac-item {
    padding: 12px 15px !important;
    color: var(--text-gray) !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
    cursor: pointer !important;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center !important;
}

.pac-item:hover {
    background-color: rgba(197, 160, 89, 0.1) !important;
}

.pac-item-query {
    color: var(--text-white) !important;
    font-size: 0.9rem !important;
    padding-right: 5px !important;
}

.pac-icon {
    display: none !important; /* Clean design without Google default icons */
}

.pac-container:after {
    /* Hide 'Powered by Google' if it's broken or for cleaner UI */
    display: none !important;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.booking-card__footer {
    padding: 1.5rem 2.5rem;
    background: rgba(255,255,255,0.02);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    border-top: 1px solid var(--border);
}

.footer-badge {
    text-align: center;
}

.footer-badge i {
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 1.1rem;
}

.footer-badge span {
    font-size: 0.7rem;
    line-height: 1.3;
    display: block;
}

.footer-badge small {
    color: var(--text-gray);
    opacity: 0.7;
}

/* Trust Section */
.trust-section {
    padding: 5rem 0;
    background: #080808;
    border-bottom: 1px solid var(--border);
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-logos p {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.logos-row {
    display: flex;
    gap: 3rem;
}

.logo-item .brand {
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-item .brand i {
    color: var(--primary);
}

.logo-item .rating {
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.stars {
    color: var(--primary);
}

.trust-stats {
    display: flex;
    gap: 8rem;
}

.stat-item {
    text-align: center;
}

.stat-val {
    font-size: 2.2rem;
    color: var(--primary);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.8rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Fleet Section */
.fleet-section {
    padding: 8rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.section-desc {
    color: var(--text-gray);
}

.view-link {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-link:hover {
    gap: 0.8rem;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 2rem;
}

.fleet-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.fleet-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.fleet-card__img {
    height: 220px;
    width: 100%;
    overflow: hidden;
}

.fleet-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.fleet-card:hover .fleet-card__img img {
    transform: scale(1.1);
}

.fleet-card__info {
    padding: 1.5rem;
}

.fleet-card__info h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.fleet-card__specs {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.fleet-card__specs i {
    color: var(--primary);
    margin-right: 0.4rem;
}

.fleet-card__price {
    font-size: 0.85rem;
    color: var(--text-gray);
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.price-val {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 700;
    margin-left: 0.3rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: #080808;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(197, 160, 89, 0.03);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-card__toggle {
    margin-top: 1rem;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: color 0.3s;
    user-select: none;
}

.service-card__toggle:hover {
    color: #d4b06a;
}

.service-card__details {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid rgba(197, 160, 89, 0.15);
    border-radius: 8px;
    text-align: left;
    width: 100%;
    animation: fadeSlideIn 0.3s ease;
}

.service-card__details p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.service-card__details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.service-card__details ul li {
    font-size: 0.82rem;
    color: #ccc;
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.2rem;
}

.service-card__details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.service-card__link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.service-card__link:hover {
    gap: 0.7rem;
}

/* CTA Grid Section */
.cta-grid-section {
    padding: 6rem 0;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 3rem;
}

.card--dark {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
}

.cta-grid h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.transfer-list li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.transfer-list li:last-child {
    border-bottom: none;
}

.transfer-list strong {
    color: var(--primary);
}

.tour-cta {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 400px;
}

.tour-cta img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.tour-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

.tour-cta__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}

.tour-cta__content h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tour-cta__content p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.testimonial-item {
    margin-bottom: 2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.testi-rating {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--primary);
}

/* Coverage Section */
.coverage-section {
    padding: 8rem 0;
    background: linear-gradient(to right, #080808 0%, #0a0a0a 100%);
}

.coverage-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.coverage-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.coverage-points {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.point-item {
    display: flex;
    gap: 1.5rem;
}

.point-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.point-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.point-item span {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.coverage-map {
    position: relative;
}

.coverage-map img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--border);
}

/* Footer Stats Bar */
.footer-stats-bar {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.bar-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.bar-item i {
    font-size: 2rem;
    color: var(--primary);
}

.bar-item strong {
    display: block;
    font-size: 0.95rem;
}

.bar-item span {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Catalog Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.catalog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
}

.catalog-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.catalog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.catalog-card:hover .catalog-card__image img {
    transform: scale(1.08);
}

.catalog-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.85));
}

.catalog-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
}

.catalog-card__route {
    position: absolute;
    bottom: 1rem;
    left: 1.2rem;
    right: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 6px rgba(0,0,0,0.8);
}

.catalog-card__route i {
    color: var(--primary);
    margin-right: 0.3rem;
}

.catalog-card__arrow {
    color: var(--primary) !important;
    flex-shrink: 0;
}

.catalog-card__body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalog-card__title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.catalog-card__meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.catalog-card__meta i {
    color: var(--primary);
    margin-right: 0.4rem;
}

.catalog-card__pricing {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.catalog-card__price {
    background: rgba(197,160,89,0.06);
    border: 1px solid rgba(197,160,89,0.15);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    text-align: center;
}

.catalog-card__price-label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.catalog-card__price-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.catalog-card__extras {
    margin: 1rem 0;
}

.catalog-card__extra-toggle {
    text-align: center;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 0.8rem;
    color: var(--primary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    user-select: none;
}

.catalog-card__extra-toggle:hover {
    background: rgba(197,160,89,0.05);
}

.catalog-card__details {
    padding: 1rem 0;
    animation: fadeSlideIn 0.3s ease;
}

.catalog-card__section {
    margin-bottom: 1rem;
}

.catalog-card__section:last-child {
    margin-bottom: 0;
}

.catalog-card__section ul li {
    font-size: 0.78rem;
    color: var(--text-gray);
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.catalog-card__attraction {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.catalog-card__attraction:last-child {
    border-bottom: none;
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.catalog-card__btn {
    margin-top: auto;
    width: 100%;
    padding: 0.9rem;
}

/* Responsive Catalog */
@media (max-width: 768px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .catalog-card__image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .catalog-card__pricing {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .catalog-card__body {
        padding: 1rem;
    }
}

/* Ready Section */
.ready-section {
    padding: 6rem 0;
}

.ready-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #050505 100%);
    padding: 4rem;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
}

.ready-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.ready-text p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

.ready-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.whatsapp-btn {
    width: 50px;
    height: 50px;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    background: #050505;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-about p {
    margin: 1.5rem 0;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

.social-links a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
}


/* Responsive */
/* ==========================================================================
   Modern Mobile UI Enhancements
   ========================================================================== */

/* Bottom Navigation Bar (Mobile Only) */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    z-index: 4000;
    padding: 0.8rem 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

.bottom-nav__container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-gray);
    font-size: 0.7rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    touch-action: manipulation;
}

.bottom-nav__item i {
    font-size: 1.2rem;
}

.bottom-nav__item.active {
    color: var(--primary);
}

.bottom-nav__item--book {
    background: var(--primary);
    color: #000 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    justify-content: center;
    margin-top: -2.5rem;
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
    border: 4px solid var(--bg-dark);
}

/* Horizontal Scroll for Mobile */
@media (max-width: 768px) {
    .horizontal-scroll-mobile {
        display: flex !important;
        overflow-x: auto;
        gap: 1.5rem;
        padding: 1rem 1rem 2rem 1rem;
        margin: 0 -1rem;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none;  /* IE and Edge */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .horizontal-scroll-mobile::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .horizontal-scroll-mobile > * {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .container { padding: 0 5%; }
    .hero__title { font-size: 3.5rem; }
    .hero__container { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .hero__features { justify-content: center; flex-wrap: wrap; }
    .hero__btns { justify-content: center; }
    .booking-card { max-width: 600px; margin: 0 auto; }
    .cta-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    body { ; -webkit-overflow-scrolling: touch; }
    .bottom-nav { display: block; }
    body { padding-bottom: 70px; }

    .header { padding: 0.8rem 0; }
    .header__actions .btn--primary { display: none; } /* Use bottom nav/menu instead */
    .header__actions .btn--outline {
        display: inline-flex;
        padding: 0.5rem;
        border: none;
        font-size: 1.1rem;
    }
    .header__actions .btn--outline span { display: none; } /* Hide "Login" text */
    
    .mobile-menu-toggle { display: block; }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 3500;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    
    .nav.active { 
        opacity: 1; 
        visibility: visible; 
        pointer-events: all; 
    }
    
    .nav__list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav__link { 
        font-size: 2rem; 
        font-weight: 700;
        letter-spacing: -1px;
    }

    /* Hero adjustments */
    .hero { min-height: auto; padding-top: 120px; padding-bottom: 5rem; }
    .hero__title { font-size: 2.8rem; }
    .hero__description { margin-left: auto; margin-right: auto; }
    .hero__features { gap: 1rem; }
    .feature-item { flex-direction: column; text-align: center; gap: 0.5rem; }
    
    /* Section spacing */
    .fleet-section, .services-section, .about-section, .packages-section, .contact-section {
        padding: 4rem 0 !important;
    }

    .section-title { font-size: 2.2rem; }
    
    .about-grid, .coverage-grid, .cta-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }

    .about-image { max-width: 400px; margin: 0 auto; }
    .coverage-content p { margin-left: auto; margin-right: auto; }
    .ready-content { flex-direction: column; text-align: center; gap: 2.5rem; padding: 3rem 2rem; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__title { font-size: 2.2rem; }
    .hero__btns { flex-direction: column; width: 100%; }
    .hero__btns .btn { width: 100%; }
    
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .footer-about { display: flex; flex-direction: column; align-items: center; }
    
    .booking-card { border-radius: 0; width: 100%; border-left: none; border-right: none; }
    .booking-form { padding: 1.5rem; }
    .booking-card__footer { grid-template-columns: 1fr; padding: 1.5rem; }
    
    .stats-bar-grid { grid-template-columns: 1fr !important; }
}

/* Glassmorphism Enhancements */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
}

.btn--primary {
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Helper Classes */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-section {
    padding: 6rem 0;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid var(--border);
}

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-item h4 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.contact-info-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-info-sub {
    font-size: 0.8rem !important;
    color: var(--text-gray);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
}

.contact-form .form-group {
    margin-bottom: 0;
}

.contact-form label {
    font-size: 0.72rem !important;
    margin-bottom: 0.5rem !important;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    border: 1px solid var(--border);
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea#contactMessage {
    height: 180px !important;
    min-height: 180px !important;
    resize: vertical;
    display: block;
}

.contact-form .btn {
    padding: 1rem !important;
    font-size: 0.9rem !important;
}




/* iPhone SE & Small Devices Optimization */
@media (max-width: 375px) {
    .container {
        padding: 0 15px !important;
    }
    .header-logo {
        height: 50px !important;
    }
    .header__actions {
        gap: 0.5rem !important;
    }
    .header__actions .btn--outline {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.7rem !important;
        min-width: auto !important;
    }
    .header__actions .btn--outline i {
        display: inline-block !important;
    }
    .lang-selector {
        font-size: 0.7rem !important;
        margin-left: 0.2rem !important;
        padding-left: 0.2rem !important;
    }
    .lang-selector span {
        display: none; /* Hide 'EN' text, show globe icon only if space is tight */
    }
    .hero__title {
        font-size: 1.8rem !important;
        letter-spacing: -1px !important;
    }
    .section-title {
        font-size: 1.6rem !important;
    }
    .package-card, .fleet-card {
        min-width: 260px !important; /* Smaller cards for small screens */
    }
}

/* Mobile Logo Adjustment (General) */
@media (max-width: 768px) {
    .header-logo {
        height: 75px !important;
    }
}
/* Fixed Map Section */
.fixed-map-section {
    padding: 8rem 0;
    background: #050505;
}

.fixed-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.map-block {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.map-block h3 {
    padding: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.02);
}

.map-canvas {
    width: 100%;
    height: 450px;
}

.map-status {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    padding: 0.8rem 1.2rem;
    background: rgba(46, 204, 113, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.map-status.active {
    opacity: 1;
    transform: translateY(0);
}

.map-status span {
    font-size: 0.85rem;
    color: #000;
    font-weight: 700;
}

.fixed-price-banner {
    margin-top: 4rem;
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.15) 0%, rgba(197, 160, 89, 0.05) 100%);
    border: 1px solid var(--primary);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    display: none;
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.1);
}

.fixed-price-banner.active {
    display: block;
    animation: slideUpFade 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .fixed-map-grid {
        grid-template-columns: 1fr;
    }
    
    .fixed-price-banner div {
        flex-direction: column;
        gap: 2rem !important;
    }
    
    .fixed-price-banner div div:nth-child(2) {
        border-left: none !important;
        border-top: 1px solid var(--primary);
        padding-left: 0 !important;
        padding-top: 2rem;
        width: 100%;
    }
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Layout Optimizations (iOS, Android, iPads)
   ========================================================================== */

/* Universal viewport overflow lock */
html, body {
    max-width: 100% !important;
     !important;
    position: relative;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%; /* Prevents text resizing on orientation change */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* Removes tap overlay in mobile Safari */
}

/* iPhone Notch and Home Indicator support (Safe Area Insets) */
body {
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.header {
    padding-top: max(0.8rem, env(safe-area-inset-top, 0)) !important;
}

.bottom-nav {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0)) !important;
    height: auto !important;
}

/* iPhone input automatic zoom prevention */
@media (max-width: 768px) {
    input, select, textarea, .form-group input, .form-group select {
        font-size: 16px !important; /* Forces Safari iOS to bypass autofocus zoom */
    }
}

/* Tablet Optimizations (iPads & Android Tabs between 768px and 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 4rem;
    }
    .booking-card {
        max-width: 650px;
        margin: 0 auto;
    }
    .about-grid, .coverage-grid, .cta-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .booking-grid, .checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    .summary-sidebar {
        position: relative !important;
        top: 0 !important;
        width: 100% !important;
    }
}

/* Autocomplete suggestions viewport placement on mobile devices */
@media (max-width: 768px) {
    .pac-container {
        width: 92% !important;
        left: 4% !important;
        box-sizing: border-box !important;
    }
    .pac-item {
        padding: 14px 10px !important;
        font-size: 0.95rem !important;
    }
}

/* Tap Target Sizes & Accessibility Guidelines (Apple/Google Developer guidelines) */
@media (max-width: 768px) {
    .btn, .nav__link, .tab-btn, .bottom-nav__item, .mobile-menu-toggle {
        min-height: 44px; /* Minimum tactile target size */
    }
    .btn {
        padding: 0.9rem 2rem !important;
    }
    .bottom-nav__item {
        justify-content: center;
    }
}

/* Hover effect refinements to avoid "sticky hover" on touch screens */
@media (hover: hover) {
    .btn--primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
    }
    .btn--outline:hover {
        background-color: var(--primary);
        color: #000;
    }
    .fleet-card:hover {
        border-color: var(--primary);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }
    .service-card:hover {
        border-color: var(--primary);
        transform: translateY(-10px);
        background: rgba(197, 160, 89, 0.03);
    }
}

/* ==========================================================================
   Google Translate Styling Widget Customizations (Sleek Branding Hiding)
   ========================================================================== */
body {
    top: 0 !important; /* Prevents Google translate header from pushing down the page */
}
.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}
.goog-text-highlight {
    background: transparent !important;
    box-shadow: none !important;
}
#google_translate_element {
    display: none !important;
}
.goog-logo-link {
    display: none !important;
}
.goog-te-gadget {
    font-size: 0 !important;
}

/* ==========================================================================
   Mobile-Friendly Fixes & Enhancements
   ========================================================================== */

/* Vehicle selection cards - stack vertically on mobile (P1) */
@media (max-width: 768px) {
    .vehicle-option {
        grid-template-columns: 1fr !important;
    }
    .vehicle-img {
        height: 160px;
    }
    .vehicle-price {
        border-left: none !important;
        border-top: 1px solid var(--border);
        flex-direction: row;
        padding: 1.5rem !important;
        gap: 1rem;
    }
}

/* Checkout form - single column on mobile (P2) */
@media (max-width: 640px) {
    .checkout-form-section {
        grid-template-columns: 1fr !important;
    }
}

/* Admin package form - stack fields on mobile (P3) */
@media (max-width: 768px) {
    #packageForm > div:first-child {
        grid-template-columns: 1fr !important;
    }
    #packageForm div[style*="repeat(4"] {
        grid-template-columns: 1fr 1fr !important;
    }
}

/* Admin action buttons - bigger touch targets on mobile (P4) */
@media (max-width: 768px) {
    .btn-action {
        width: 44px !important;
        height: 44px !important;
    }
    .admin-tab td > div[style*="flex"] {
        gap: 0.8rem !important;
    }
}

/* Admin nav links - ensure 44px touch target on mobile */
@media (max-width: 768px) {
    .admin-nav a {
        padding: 0.8rem 1rem !important;
        min-height: 44px;
    }
}

/* About features - single column on small screens (P7) */
@media (max-width: 640px) {
    .about-features {
        grid-template-columns: 1fr !important;
    }
}

/* Contact section responsive */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0 !important;
    }
    .contact-section .section-header {
        margin-bottom: 2rem !important;
    }
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .contact-info-card {
        padding: 1.5rem !important;
    }
    .contact-info-item {
        margin-bottom: 1.2rem !important;
    }
}


/* Adult/Children/Babies row - 3 columns on wider screens, stack on small (P10) */
@media (min-width: 520px) {
    .booking-form .form-row:has(#adultsSelect) {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
}

/* Language dropdown - prevent right-edge overflow on small screens (P9) */
@media (max-width: 375px) {
    .lang-dropdown {
        right: -10px !important;
        min-width: 150px !important;
    }
    .lang-option {
        padding: 12px 15px !important;
        min-height: 44px;
    }
}

/* Booking steps - tighter on 320px screens (P11) */
@media (max-width: 360px) {
    .booking-steps {
        gap: 1.5rem !important;
    }
    .step-label {
        font-size: 0.6rem !important;
    }
}

/* Login alert - stack on very small screens (P12) */
@media (max-width: 400px) {
    .login-alert {
        flex-direction: column;
        text-align: center;
    }
}

/* intl-tel-input country list max height on mobile (P16) */
.iti__country-list {
    max-height: 200px !important;
}

/* Horizontal scroll cards - smaller on 360px screens (P21) */
@media (max-width: 360px) {
    .horizontal-scroll-mobile > * {
        flex: 0 0 250px !important;
    }
}

/* Touch-friendly nav links */
.nav__link, .tab-btn, .mobile-menu-toggle {
    touch-action: manipulation;
}

/* Admin table momentum scroll on iOS */
@media (max-width: 1024px) {
    .booking-table-container {
        -webkit-overflow-scrolling: touch;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 4500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

/* ── Package form mobile ── */
@media (max-width: 768px) {
    #packageForm > .admin-form-grid {
        grid-template-columns: 1fr !important;
    }
    #packageForm .fixed-map-grid {
        grid-template-columns: 1fr !important;
    }
    .map-canvas {
        height: 250px !important;
    }
    /* Small map on very tiny screens */
    @media (max-width: 480px) {
        .map-canvas {
            height: 200px !important;
        }
    }
}

/* ── Fixed Transfer editor mobile ── */
@media (max-width: 768px) {
    #ft-editor .fixed-map-grid {
        grid-template-columns: 1fr !important;
    }
    #ft-editor .map-canvas {
        height: 250px !important;
    }
    /* Drawing tool buttons wrap */
    #ft-editor div[style*="gap: 0.3rem"] {
        flex-wrap: wrap;
        gap: 0.3rem !important;
    }
    #ft-editor .btn-action {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.75rem !important;
    }
    /* Zone pricing inputs stack */
    #zone-pricing-container .accordion-content div[style*="flex"] {
        flex-direction: column;
        align-items: stretch !important;
    }
    #zone-pricing-container .zone-price-input {
        width: 100% !important;
        max-width: 120px;
    }
}

/* ── Booking tab action buttons row ── */
@media (max-width: 768px) {
    .booking-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .booking-filters > div {
        width: 100%;
    }
    .booking-filters select {
        width: 100%;
    }
    /* Export/clear/calendar buttons stack */
    #tab-bookings > header > div:last-child {
        flex-direction: column;
        width: 100%;
    }
    #tab-bookings > header > div:last-child button {
        width: 100%;
        justify-content: center;
    }
}

/* ── Dashboard responsive ── */
@media (max-width: 768px) {
    #tab-dashboard > header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    .user-profile {
        width: 100%;
        justify-content: flex-start !important;
    }
}

/* ── Settings tab mobile ── */
@media (max-width: 768px) {
    #tab-settings .admin-settings-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Packages tab header mobile ── */
@media (max-width: 768px) {
    #tab-packages > header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    #tab-packages > header button {
        width: 100%;
    }
    #fixed-transfers-list > div:first-child {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch !important;
    }
    #fixed-transfers-list > div:first-child button {
        width: 100%;
    }
    #ft-editor > div:first-child {
        flex-direction: column;
        gap: 0.5rem;
    }
    #ft-editor > div:first-child > div:last-child {
        width: 100%;
    }
    #ft-editor > div:first-child button {
        flex: 1;
    }
}

/* ── Traffic tab header mobile ── */
@media (max-width: 768px) {
    #tab-traffic > header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    #trafficStatusBadge {
        align-self: flex-start;
    }
    #tab-traffic .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── Full-width inline tables (package list, transfer list) ── */
@media (max-width: 768px) {
    #packageTable {
        min-width: 0 !important;
    }
    #packageTable thead {
        display: none;
    }
    #packageTable tbody,
    #packageTable tr,
    #packageTable td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #packageTable tr {
        margin-bottom: 0.8rem;
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem;
    }
    #packageTable td {
        padding: 0.3rem 0 !important;
        border: none !important;
    }
    #packageTable td[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--primary);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-right: 0.4rem;
    }
}

/* ── Fixed transfer list table mobile ── */
@media (max-width: 768px) {
    #ft-table-wrap table {
        min-width: 0 !important;
    }
    #ft-table-wrap table thead {
        display: none;
    }
    #ft-table-wrap table tbody,
    #ft-table-wrap table tr,
    #ft-table-wrap table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #ft-table-wrap table tr {
        margin-bottom: 0.8rem;
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem;
    }
    #ft-table-wrap table td {
        padding: 0.3rem 0 !important;
        border: none !important;
    }
    #ft-table-wrap table td[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--primary);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-right: 0.4rem;
    }
}

/* ── Reviews tab mobile ── */
@media (max-width: 768px) {
    #tab-reviews > header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    #tab-reviews > header button {
        width: 100%;
    }
    #tab-reviews .booking-card > table {
        min-width: 0 !important;
    }
    #tab-reviews .booking-card > table thead {
        display: none;
    }
    #tab-reviews .booking-card > table tbody,
    #tab-reviews .booking-card > table tr,
    #tab-reviews .booking-card > table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #tab-reviews .booking-card > table tr {
        margin-bottom: 0.8rem;
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem;
    }
    #tab-reviews .booking-card > table td {
        padding: 0.3rem 0 !important;
        border: none !important;
    }
    #tab-reviews .booking-card > table td[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--primary);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-right: 0.4rem;
    }
}

/* ── Reviews modal mobile ── */
@media (max-width: 480px) {
    #reviewModalStars button {
        font-size: 1.5rem !important;
        padding: 0.4rem !important;
    }
}

/* ── Fleet table mobile (admin) ── just scroll, keep table layout */
@media (max-width: 768px) {
    #fleetGrid {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    #fleetGrid table {
        min-width: 700px !important;
        width: auto;
    }
    #fleetGrid .row-actions {
        visibility: visible !important;
    }
    #fleetGrid > div[style*="display: flex"] {
        flex-wrap: wrap;
    }
    #fleetGrid div[style*="grid-template-columns: 200px 1fr"] {
        grid-template-columns: 120px 1fr !important;
    }
    /* Fleet tab: ensure horizontal scroll is visible */
    #tab-fleet {
        ;
    }
}

/* ── Marketing tab campaign form mobile ── */
@media (max-width: 768px) {
    #tab-marketing #campaignBody {
        font-size: 0.8rem !important;
    }
}

/* ── Recent activities mobile (dashboard) ── */
@media (max-width: 768px) {
    #recentActivities > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.3rem !important;
    }
    #recentActivities > div > div:first-child {
        width: 100%;
    }
}

/* ── Package detail accordion mobile ── */
@media (max-width: 768px) {
    #pkg-pricing-container .accordion-content div[style*="flex"] {
        flex-direction: column;
        align-items: stretch !important;
    }
}

/* ── Admin header logo area responsive ── */
@media (max-width: 480px) {
    .admin-mobile-header .logo img {
        height: 35px !important;
    }
    .admin-mobile-header .logo span {
        font-size: 0.8rem !important;
    }
}

/* ── Fix booking-card overflow clipping on mobile admin ── */
@media (max-width: 768px) {
    .admin-tab .booking-card,
    .admin-tab .booking-table-container {
        overflow: visible !important;
    }
    /* Ensure admin main content can scroll */
    .admin-main {
        ;
        max-width: 100vw;
    }
    /* Admin tabs should not clip content */
    .admin-tab {
        overflow: visible;
    }
    /* Also fix marketing grid layout */
    #tab-marketing > div[style*="grid-template-columns: 1fr 2fr"] {
        grid-template-columns: 1fr !important;
    }
    #tab-marketing header {
        margin-bottom: 1.5rem !important;
    }
    #tab-marketing header h1 {
        font-size: 1.3rem !important;
    }
}

/* ── Calendar bookings toggle button mobile ── */
@media (max-width: 768px) {
    #tab-bookings #bookings-list-view .booking-table-container {
        overflow-x: visible !important;
    }
    #tab-bookings .fc .fc-header-toolbar .fc-toolbar-chunk:first-child {
        order: 2;
    }
    #tab-bookings .fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
        order: 1;
    }
    #tab-bookings .fc .fc-header-toolbar .fc-toolbar-chunk:last-child {
        order: 3;
    }
}

/* ── Administrative sidebar scroll on small screens ── */
@media (max-height: 700px) {
    .admin-sidebar {
        overflow-y: auto;
        padding-bottom: 2rem;
    }
    #ft-table-wrap table tr,
    #ft-table-wrap table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #ft-table-wrap table tr {
        margin-bottom: 0.8rem;
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem;
    }
    #ft-table-wrap table td {
        padding: 0.3rem 0 !important;
        border: none !important;
    }
    #ft-table-wrap table td[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--primary);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-right: 0.4rem;
    }
}

/* ── Reviews tab mobile ── */
@media (max-width: 768px) {
    #tab-reviews > header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.5rem;
    }
    #tab-reviews > header button {
        width: 100%;
    }
    #tab-reviews .booking-card > table {
        min-width: 0 !important;
    }
    #tab-reviews .booking-card > table thead {
        display: none;
    }
    #tab-reviews .booking-card > table tbody,
    #tab-reviews .booking-card > table tr,
    #tab-reviews .booking-card > table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #tab-reviews .booking-card > table tr {
        margin-bottom: 0.8rem;
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem;
    }
    #tab-reviews .booking-card > table td {
        padding: 0.3rem 0 !important;
        border: none !important;
    }
    #tab-reviews .booking-card > table td[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--primary);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-right: 0.4rem;
    }
}

/* ── Reviews modal mobile ── */
@media (max-width: 480px) {
    #reviewModalStars button {
        font-size: 1.5rem !important;
        padding: 0.4rem !important;
    }
}

/* ── Fleet table mobile (admin) ── just scroll, keep table layout */
@media (max-width: 768px) {
    #fleetGrid {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }
    #fleetGrid table {
        min-width: 700px !important;
        width: auto;
    }
    #fleetGrid .row-actions {
        visibility: visible !important;
    }
    #fleetGrid > div[style*="display: flex"] {
        flex-wrap: wrap;
    }
    #fleetGrid div[style*="grid-template-columns: 200px 1fr"] {
        grid-template-columns: 120px 1fr !important;
    }
    /* Fleet tab: ensure horizontal scroll is visible */
    #tab-fleet {
        ;
    }
}

/* ── Marketing tab campaign form mobile ── */
@media (max-width: 768px) {
    #tab-marketing #campaignBody {
        font-size: 0.8rem !important;
    }
}

/* ── Recent activities mobile (dashboard) ── */
@media (max-width: 768px) {
    #recentActivities > div {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.3rem !important;
    }
    #recentActivities > div > div:first-child {
        width: 100%;
    }
}

/* ── Package detail accordion mobile ── */
@media (max-width: 768px) {
    #pkg-pricing-container .accordion-content div[style*="flex"] {
        flex-direction: column;
        align-items: stretch !important;
    }
}

/* ── Admin header logo area responsive ── */
@media (max-width: 480px) {
    .admin-mobile-header .logo img {
        height: 35px !important;
    }
    .admin-mobile-header .logo span {
        font-size: 0.8rem !important;
    }
}

/* ── Fix booking-card overflow clipping on mobile admin ── */
@media (max-width: 768px) {
    .admin-tab .booking-card,
    .admin-tab .booking-table-container {
        overflow: visible !important;
    }
    /* Ensure admin main content can scroll */
    .admin-main {
        ;
        max-width: 100vw;
    }
    /* Admin tabs should not clip content */
    .admin-tab {
        overflow: visible;
    }
    /* Also fix marketing grid layout */
    #tab-marketing > div[style*="grid-template-columns: 1fr 2fr"] {
        grid-template-columns: 1fr !important;
    }
    #tab-marketing header {
        margin-bottom: 1.5rem !important;
    }
    #tab-marketing header h1 {
        font-size: 1.3rem !important;
    }
}

/* ── Calendar bookings toggle button mobile ── */
@media (max-width: 768px) {
    #tab-bookings #bookings-list-view .booking-table-container {
        overflow-x: visible !important;
    }
    #tab-bookings .fc .fc-header-toolbar .fc-toolbar-chunk:first-child {
        order: 2;
    }
    #tab-bookings .fc .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
        order: 1;
    }
    #tab-bookings .fc .fc-header-toolbar .fc-toolbar-chunk:last-child {
        order: 3;
    }
}

/* ── Administrative sidebar scroll on small screens ── */
@media (max-height: 700px) {
    .admin-sidebar {
        overflow-y: auto;
        padding-bottom: 2rem;
    }
    .admin-nav {
        margin-top: 1.5rem;
    }
}

/* ── Search input in admin transfer editor ── */
@media (max-width: 768px) {
    #ft-editor input[type="text"],
    #ft-editor input[type="number"],
    #packageForm input[type="text"],
    #packageForm input[type="number"],
    #packageForm textarea {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   FlyAir Admin Mobile Optimization Overrides (2026 Fixes)
   ========================================================================== */

/* Restore sidebar overlay and admin mobile header */
.admin-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.admin-sidebar-overlay.active {
    opacity: 1;
}

@media (max-width: 1024px) {
    .admin-sidebar-overlay {
        display: block;
        pointer-events: none;
    }
    .admin-sidebar-overlay.active {
        pointer-events: auto;
    }
    .admin-sidebar {
        transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
    }
    .admin-sidebar.active {
        box-shadow: 4px 0 30px rgba(0,0,0,0.5);
    }
}

@media (max-width: 768px) {
    .admin-mobile-header {
        padding: 0.6rem 1rem !important;
        display: flex !important;
    }
    .admin-mobile-header .logo span {
        font-size: 0.9rem !important;
    }
    .whatsapp-float {
        width: 50px !important;
        height: 50px !important;
        bottom: 90px !important;
        right: 15px !important;
        font-size: 28px !important;
    }
    .hide-mobile {
        display: none !important;
    }
}

/* Restore confirm and review modal layouts */
@media (max-width: 480px) {
    .confirm-modal-box {
        width: 95% !important;
        padding: 1.5rem !important;
        margin: 0 auto !important;
    }
    .confirm-modal-box h3 {
        font-size: 1.1rem !important;
    }
    .confirm-modal-box p {
        font-size: 0.85rem !important;
    }
    .confirm-modal-actions {
        flex-direction: column !important;
        gap: 0.5rem !important;
    }
    .confirm-modal-actions button {
        width: 100% !important;
    }
    #reviewModal > div {
        width: 95% !important;
        padding: 1.5rem !important;
    }
    #reviewModal textarea {
        font-size: 16px !important;
    }
}

/* Convert all tables to card layouts on mobile */
@media (max-width: 768px) {
    .admin-tab table thead,
    #tab-reviews .booking-table-container > table thead {
        display: none !important;
    }
    .admin-tab table,
    .admin-tab table tbody,
    .admin-tab table tr,
    .admin-tab table td,
    #tab-reviews .booking-table-container > table,
    #tab-reviews .booking-table-container > table tbody,
    #tab-reviews .booking-table-container > table tr,
    #tab-reviews .booking-table-container > table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .admin-tab table tr,
    #tab-reviews .booking-table-container > table tr {
        margin-bottom: 1rem !important;
        background: var(--card-bg) !important;
        border: 1px solid var(--border) !important;
        border-radius: 12px !important;
        padding: 1rem !important;
        position: relative !important;
    }
    .admin-tab table td,
    #tab-reviews .booking-table-container > table td {
        padding: 0.4rem 0 !important;
        border-bottom: none !important;
        text-align: left !important;
        font-size: 0.85rem !important;
        min-height: auto !important;
    }
    /* Label each cell with its data attribute */
    .admin-tab table td[data-label]::before,
    #tab-reviews .booking-table-container > table td[data-label]::before {
        content: attr(data-label) ": ";
        font-weight: 600;
        color: var(--primary);
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-right: 0.4rem;
        min-width: 75px;
    }
    /* Stack action buttons as a row at the bottom */
    .admin-tab table td:last-child,
    #tab-reviews .booking-table-container > table td:last-child {
        margin-top: 0.6rem !important;
        padding-top: 0.8rem !important;
        border-top: 1px solid var(--border) !important;
    }
    .admin-tab table td:last-child > div[style*="flex"],
    #tab-reviews .booking-table-container > table td:last-child > div[style*="flex"] {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0.5rem !important;
        justify-content: flex-start !important;
    }
    /* Booking specific: max-width on from/to */
    .admin-tab table td div[style*="max-width"] {
        max-width: 100% !important;
    }
}

/* Fleet specific mobile styling */
@media (max-width: 768px) {
    #fleetGrid {
        max-width: 100% !important;
        overflow: visible !important;
    }
    #fleetGrid table {
        min-width: 0 !important;
        width: 100% !important;
    }
    #fleetGrid .row-actions {
        visibility: visible !important;
        display: flex !important;
        margin-top: 12px !important;
    }
    /* Hide first checkbox column */
    #tab-fleet table th:first-child,
    #tab-fleet table td:first-child {
        display: none !important;
    }
    /* Position the image column absolutely in top right of card */
    #tab-fleet table tr {
        position: relative !important;
        padding-right: 140px !important;
        min-height: 120px !important;
    }
    #tab-fleet table td:last-child {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        width: 110px !important;
        padding: 0 !important;
        border: none !important;
    }
    #tab-fleet table td:last-child img {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
}

/* Marketing Tab Grid Layout */
.marketing-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}
@media (max-width: 768px) {
    .marketing-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}
/* Image Preview Modal */
.image-preview-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}
.image-preview-modal.show {
    display: flex;
}
.image-preview-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}
.image-preview-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.image-preview-close:hover,
.image-preview-close:focus {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}
@keyframes zoomIn {
    from {transform:scale(0.8); opacity:0}
    to {transform:scale(1); opacity:1}
}

/* ==========================================================================
   FlyAir Global Mobile Responsiveness Overrides
   ========================================================================== */
@media (max-width: 768px) {
    /* Stack the logo and actions on mobile header */
    .header__container {
        flex-direction: column !important;
        gap: 0.8rem !important;
        padding: 0.5rem 1rem !important;
        text-align: center !important;
    }
    .header {
        padding: 0.5rem 0 !important;
        position: relative !important; /* Stack context */
    }
    .logo img {
        height: 60px !important; /* Shrink logo on mobile header */
    }
    .header__actions {
        gap: 1rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Adjust page container padding top since header is relative/stacked */
    .booking-page, .checkout-page {
        padding-top: 2rem !important;
    }
    
    /* Booking Steps responsive */
    .booking-steps {
        gap: 1rem !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem !important;
    }
    .step-circle {
        width: 30px !important;
        height: 30px !important;
        font-size: 0.8rem !important;
    }
    .step-label {
        font-size: 0.65rem !important;
    }
    
    /* Form tabs mobile friendly - vertical/horizontal wrap */
    .booking-tabs {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
    .tab-btn {
        padding: 0.8rem 0.5rem !important;
        font-size: 0.8rem !important;
    }
    
    /* Passengers & Adults dropdowns rows */
    .booking-form .form-row:has(#adultsSelect) {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 0.5rem !important;
    }
    .booking-form .form-row select {
        padding: 0.8rem 0.4rem !important;
        font-size: 0.85rem !important;
    }
    
    /* Vehicle Option stack layout */
    .vehicle-option {
        grid-template-columns: 1fr !important;
        border-radius: 12px !important;
    }
    .vehicle-img {
        padding: 1.5rem !important;
        border-bottom: 1px solid var(--border) !important;
        border-right: none !important;
        height: auto !important;
    }
    .vehicle-img img {
        max-width: 200px !important;
        margin: 0 auto !important;
    }
    .vehicle-info {
        padding: 1.5rem !important;
    }
    .vehicle-info h3 {
        font-size: 1.3rem !important;
        text-align: center !important;
    }
    .vehicle-specs {
        justify-content: center !important;
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .vehicle-features {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 0.8rem !important;
    }
    .vehicle-price {
        border-left: none !important;
        border-top: 1px solid var(--border) !important;
        padding: 1.5rem !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        background: rgba(255,255,255,0.02) !important;
    }
    .price-tag {
        margin-bottom: 0 !important;
        font-size: 1.6rem !important;
    }
    .vehicle-price .btn {
        width: auto !important;
        padding: 0.6rem 1.5rem !important;
        font-size: 0.85rem !important;
    }

    /* Checkout Page responsive adjustments */
    .checkout-form-section {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }
    .btn--place-order {
        width: 100% !important;
        align-self: center !important;
        text-align: center !important;
    }
}
