:root {
    --black: #000000;
    --white: #ffffff;
    --dark-grey: #111111;
    --grey: #333333;
    --light-grey: #e0e0e0;
    --border-color: rgba(255, 255, 255, 0.2);
    --border-color-dark: rgba(0, 0, 0, 0.2);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    background-color: var(--black);
    line-height: 1.6;
    width: 100%;
    transition: opacity 0.6s ease;
}

.site-wrapper {
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body.fade-out {
    opacity: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

/* Background Utility Classes */
.bg-black {
    background-color: var(--black);
    color: var(--white);
}

.bg-white {
    background-color: var(--white);
    color: var(--black);
}

.bg-white .section-title {
    border-bottom-color: var(--border-color-dark);
}

.bg-white p {
    color: var(--grey);
}

/* Image Styling */
.bw-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: filter 0.5s ease, transform 0.5s ease;
}

/* Fixed Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: #000000;
    padding: 1rem 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.1rem, 1.5vw, 1.25rem);
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative; /* Allows absolute positioning of the arrow */
    margin-top: 10px; /* Gives room for the arrow at the top */
}

.logo svg {
    position: absolute;
    top: -20px; /* Elegant desktop positioning */
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
}

@media (max-width: 1200px) {
    .logo svg {
        width: 26px !important;
        height: 26px !important;
        top: -22px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

.logo:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.logo:active {
    transform: scale(0.98);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links.right {
    justify-content: flex-end;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    text-transform: capitalize;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    white-space: nowrap !important;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-cta {
    background: #ffffff;
    color: #000000 !important;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    transition: all 0.3s ease !important;
    opacity: 1 !important;
}

.nav-cta:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    height: 100vh;
    height: 100svh; /* Stable modern fix: small viewport height to prevent jumping on iOS scroll */
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding-bottom: 2.5rem; /* Push content to bottom to clear jet, lifted from 1rem to prevent clipping */
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-front-web.jpg');
    background-size: cover;
    background-position: 70% top;
    transform: scale(1.1); /* Zoom in to hide the transparent/black edge of the PNG file */
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: -1;
}

.hero-content {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4.8vw, 4.5rem); /* Dynamically shrinks to fit screen */
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: #ffffff;
    white-space: nowrap; /* Forces text to stay on one single line */
}

.pill-btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    text-decoration: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5rem;
    transition: all 0.3s ease;
}

.pill-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--white);
    color: var(--black);
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--grey);
    color: var(--white);
}

/* About Section */
.about-section {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.bg-black .about-text p {
    color: var(--light-grey);
}

.about-image-container {
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===========================================================
   GLOBAL FLEET SHOWCASE (BRIGHT & AIRY)
   =========================================================== */
.global-fleet-section {
    background: #ffffff;
    padding-top: 120px;
    color: #000000;
    overflow: hidden;
    position: relative;
}

.fleet-eyebrow {
    display: block;
    font-size: 1.1rem;
    color: #666666;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.fleet-headline {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 40px;
}

.fleet-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 80px;
}

.btn-dark-pill, .btn-outline-pill {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-dark-pill {
    background: rgba(0, 0, 0, 0.85); /* Slightly transparent black */
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-dark-pill:hover {
    background: rgba(0, 0, 0, 0.95);
    transform: translateY(-2px);
}

.btn-outline-pill {
    background: rgba(255, 255, 255, 0.4); /* Glassmorphism transparent */
    border: 1px solid #000000;
    color: #000000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-outline-pill:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.fleet-image-fade {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 800px;
}

.fleet-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.fade-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

@media (max-width: 1024px) {
    .global-fleet-section {
        padding-top: 80px;
    }
    .fleet-actions {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 50px;
    }
    .btn-dark-pill, .btn-outline-pill {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .fleet-image-fade {
        height: 50vh;
    }
}

/* Fleet Section */
.fleet-section {
    padding: 8rem 0;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fleet-card {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: 400px;
}

.fleet-image-wrapper {
    width: 100%;
    height: 100%;
}

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

.fleet-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--white); /* Keep text white on image */
}

.fleet-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    margin: 0;
}

.view-specs {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--white);
    padding-bottom: 2px;
}

/* Quote Section */
.quote-section {
    padding: 8rem 0;
}

/* Dedicated Quote Page Styling */
/* Dedicated Quote Page Styling */
.quote-hero {
    position: relative;
    height: 100vh;
    height: 100svh; /* Stable modern viewport height to prevent jumping and keep parity with homepage */
    display: flex;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.quote-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('newrq4.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 1;
    filter: brightness(0.9); /* Increased from 0.8 to make it slightly less dim */
}

@media (max-width: 768px) {
    .quote-hero .hero-image {
        background-position: 15% center; /* Shifted left to ensure the tip of the tail is fully visible */
    }
}

.quote-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.quote-hero .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.quote-hero .amalfi-quote-wrapper {
    max-width: 1080px;
    width: 90%;
    margin: 0 auto;
}

.quote-hero .amalfi-booking-bar {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.quote-subtitle {
    font-size: 1.1rem;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    opacity: 0.9;
}

.logo {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

/* Amalfi Style Quote Section - EXACT MATCH */
.amalfi-quote-wrapper {
    max-width: 1080px;
    width: 90%;
    margin: 40px auto 0 auto; /* Added top margin to push it down from the text */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    position: relative; /* CRITICAL: Traps the absolute-positioned error message so it stays right under the bar! */
}

.quote-top-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10; /* always below any open dropdown */
}

.trip-type-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    width: fit-content;
}

.toggle-pill {
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #888888;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.toggle-pill.active {
    color: #000000;
}

/* The Sliding Pill background */
.trip-type-toggle::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: #ffffff;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.trip-type-toggle.is-oneway::before {
    transform: translateX(100%);
}

.pax-counter-pill {
    position: relative;
    z-index: 15 !important;
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 3px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 44px;
}
.pax-btn {
    position: relative;
    z-index: 20 !important;
    pointer-events: auto !important;
    background: transparent;
    border: none;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.2s ease;
    user-select: none;
    user-select: none;
}

.pax-btn svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    margin: auto !important;
}

.pax-btn:hover {
    transform: scale(1.08);
}

.pax-btn:active {
    transform: scale(0.92);
}

.pax-btn.minus-btn {
        background: #222222;
        color: #888888;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

.pax-btn.minus-btn:hover {
    background: #444444;
    color: #ffffff;
}

.pax-btn.plus-btn {
        background: #e6e6e6;
        color: #000000;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

.pax-btn.plus-btn:hover {
    background: #ffffff;
}
#pax-count {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 30px;
    justify-content: center;
    padding-right: 4px; /* Optical balance for the person icon */
}

.amalfi-booking-bar.dark-theme {
    display: flex;
    background: #080808;
    border-radius: 12px;
    padding: 0;
    align-items: stretch;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    border: 1px solid #1c1c1e;
    min-height: 92px;
    height: 92px;
    overflow: visible; /* Prevent clipping of autocomplete dropdowns */
    position: relative;
    z-index: 20;
}

.input-cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 36px;
    position: relative;
    cursor: text;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: left; /* Explicitly reset inherited center-alignment from parent hero sections */
}

.input-cell:has(#departure) {
    border-top-left-radius: 11px;
    border-bottom-left-radius: 11px;
}

/* Amalfi Style Vertical line dividers (Desktop Only) */
@media (min-width: 769px) {
    .input-cell:has(#arrival)::before,
    #depart-group::before {
        content: '';
        position: absolute;
        left: 0;
        top: 4%; /* Almost touching the top edge */
        bottom: 4%; /* Almost touching the bottom edge */
        width: 1px;
        background-color: rgba(255, 255, 255, 0.12) !important; /* Lighter, more greyish translucent color */
        z-index: 10;
    }
}

.input-cell.has-error .cell-label.muted {
    color: #ff0000 !important; /* Exact pure red from Amalfi */
}

.input-cell.has-error {
    animation: shake 0.4s ease-in-out;
}

.error-message-bottom {
    display: none;
    align-items: center;
    gap: 8px;
    color: #ff0000; /* Exact pure red from Amalfi */
    font-size: 0.8rem; /* Scaled down slightly to match the delicate look */
    padding-left: 0;
    font-weight: 400; /* Thinner weight so the pure red doesn't look overwhelming */
    /* Absolute position prevents it from taking up physical space and pushing the form UP */
    position: absolute;
    bottom: -28px;
    left: 0; /* perfectly aligned with the far left edge of the black booking bar box */
}

.error-message-bottom.active {
    display: flex;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.cell-label.muted {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 6px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    transition: all 0.3s ease;
}

.cell-label.error {
    color: #E50000 !important;
    opacity: 1 !important;
}

.input-cell input {
    border: none;
    background: transparent;
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 1;
    outline: none;
    width: 100%;
}

.input-cell input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.select-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.select-wrapper input {
    cursor: pointer;
    padding-right: 20px;
}

.chevron-icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(180deg); /* SVG points down, so 180deg points it UPWARD on desktop */
    color: #a3a3a3; /* Dim white, not too dark, not too bright */
    pointer-events: none;
    transition: all 0.3s ease;
    width: 18px; /* Slightly larger and wider to match Amalfi */
    height: 18px;
    stroke-width: 2.2px !important; /* Thicker to match Amalfi solidness */
}

/* ============================================================
   LUMINARY JETS — CUSTOM LUXURY CALENDAR
   ============================================================ */

/* The calendar sits directly above the booking bar with precise dynamic styling */
#lj-calendar {
    display: none;
    position: absolute;
    width: 620px;
    background: #0a0a0a;
    border: 1px solid #1e1e1e;
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.95);
    padding: 24px;
    font-family: var(--font-main);
    z-index: 1000000; /* overlay navbar and everything else */
    animation: ljCalFadeIn 0.2s ease forwards;
}

#lj-calendar.lj-cal-visible {
    display: block;
}

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

/* ── Header ── */
.lj-cal-hdr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #1a1a1a;
    margin-bottom: 20px;
}

.lj-cal-back-btn {
    display: none; /* hidden on desktop */
}

.lj-cal-hdr-labels {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lj-cal-hdivider {
    width: 1px;
    height: 30px;
    background: #222222;
    margin: 0 -20px;
}

.lj-cal-hlabel {
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
}

.lj-hl-title {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.lj-cal-hlabel.lj-hl-active .lj-hl-title {
    color: rgba(255, 255, 255, 0.4);
}

.lj-hl-val {
    font-size: 1.1rem;
    font-weight: 500;
    color: #888888;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
}

.lj-cal-hlabel.lj-hl-active .lj-hl-val {
    color: #ffffff;
}

.lj-cal-hdr-btns {
    display: flex;
    gap: 10px;
    align-items: center;
}

.lj-btn-reset {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 7px 18px; /* Slightly reduced padding to offset border thickness */
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 400;
    cursor: pointer;
    font-family: var(--font-main);
    transition: all 0.2s ease;
    display: none; /* Hidden by default until JS triggers it */
}

.lj-btn-reset:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.lj-btn-done {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-main);
    transition: opacity 0.2s;
}
.lj-btn-done:hover { opacity: 0.85; }

/* ── Calendar body ── */
.lj-cal-body {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.lj-months-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex: 1;
}

/* Month header row */
.lj-month-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 4px;
}

.lj-month-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.lj-nav-btns-inline {
    display: flex;
    gap: 12px;
}

.lj-nav-btn-inline {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 1.4rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background 0.2s;
    border-radius: 50%;
}

.lj-nav-btn-inline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lj-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.lj-dh {
    font-size: 0.68rem;
    color: #444;
    text-align: center;
    padding: 4px 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Day cells ── */
.lj-d {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    user-select: none;
    width: 34px;
    height: 34px;
    margin: auto;
}
.lj-d:hover:not(.lj-d-past):not(.lj-d-empty) {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.lj-d-empty  { cursor: default; }
.lj-d-past   { color: #333333; cursor: default; pointer-events: none; }
.lj-d-today  { border: 1px solid rgba(255, 255, 255, 0.3); font-weight: 600; }

/* Range highlight */
.lj-d-range  { background: rgba(255, 255, 255, 0.05); border-radius: 0; color: #fff; }

/* Start date (Depart) */
.lj-d-start {
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 50% !important;
    font-weight: 600;
}

/* End date (Return) */
.lj-d-end {
    background: #ffffff !important;
    color: #000000 !important;
    border-radius: 50% !important;
    font-weight: 600;
}

/* When start and end are the same day */
.lj-d-start.lj-d-end {
    border-radius: 50% !important;
}


.cell-divider-wrapper {
    position: relative;
    width: 0;
    height: 92px;
    align-self: center;
    flex-shrink: 0;
    z-index: 99999 !important; /* Force it to sit above the autocomplete cells which have z-index: 10000 */
}

.cell-divider-wrapper .cell-divider {
    display: none;
}

.cell-divider-wrapper .switch-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0 !important;
    z-index: 10;
}

.cell-divider {
    display: none;
}

.switch-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #111111;
    color: #888888;
    cursor: pointer;
    z-index: 10;
    border: 1px solid #222222;
    transition: all 0.3s ease;
}

.switch-icon svg {
    transform: none; /* Keep horizontal pointing on desktop */
}

.switch-icon:hover {
    background: #222222;
    color: #ffffff;
    border-color: #444444;
}

.amalfi-submit-btn.arrow-btn {
    background: #1c1c1e;
    border: 1px solid #3a3a3c; /* Light gray border to match Amalfi Jets styling */
    width: 44px;
    height: 44px;
    border-radius: 50%; /* Perfect circle matching Amalfi Jets */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: auto 24px auto 24px;
    flex-shrink: 0;
}

.amalfi-submit-btn.arrow-btn:hover {
    background: #2c2c2e;
}

.amalfi-submit-btn.arrow-btn svg {
    color: #ffffff; /* Crisp white arrow matching Amalfi Jets */
    width: 18px;
    height: 18px;
    stroke-width: 1.25 !important; /* Slimmer stroke for a high-end refined look */
    transition: color 0.3s ease;
}

.amalfi-submit-btn.arrow-btn:hover svg {
    color: #ffffff;
}

/* Autocomplete Dark Theme Adjustments */
/* Give the cell itself a high stacking context so the dropdown
   floats above the trip-type toggle and all other booking-bar siblings */
.autocomplete-group {
    position: relative;
    z-index: 10000;
}

.autocomplete-dropdown {
    position: absolute;
    bottom: 100%; /* Default opens upwards for homepage */
    left: 0;
    width: 100%;
    max-height: 350px;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 16px;
    margin-bottom: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Quote Page Specific: Add more spacing when active to handle toggle better */
.quote-hero .amalfi-quote-wrapper.dropdown-active .quote-top-controls {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 1px solid #1e1e1e;
    transition: background 0.15s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #1a1a1a;
}

.ac-country {
    font-size: 0.72rem;
    color: #666666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ac-flag {
    font-size: 1rem;
    line-height: 1;
}

.ac-code {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    line-height: 1.2;
}

.ac-icao {
    font-size: 1rem;
    font-weight: 400;
    color: #555555;
    letter-spacing: 0.3px;
}

.ac-city {
    font-size: 0.8rem;
    color: #888888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}



/* Footer */
.footer {
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.footer-logo {
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 1rem;
    display: flex !important;
    justify-content: center;
}



.footer-brand p {
    color: var(--light-grey);
    font-size: 0.9rem;
}

.small-url {
    font-size: 0.75rem !important;
    opacity: 0.5;
    letter-spacing: 1px;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--white);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--light-grey);
    transform: translateY(-2px);
}

.footer-link {
    color: #888888 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link:active {
    color: #ffffff !important;
}

.footer-fleet-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.fleet-modal-trigger,
.fleet-link {
    color: #888888 !important;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.fleet-modal-trigger:hover,
.fleet-modal-trigger:active,
.fleet-link:hover,
.fleet-link:active {
    color: #ffffff !important;
}

.footer-heading {
    color: #ffffff !important;
    margin-top: 0; /* Ensures perfect baseline alignment with logo */
}

.footer-heading a {
    color: #ffffff !important;
}

.footer a, .footer a:visited {
    color: inherit;
}

.footer-cta-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    background: transparent !important;
}

.footer-cta-btn:hover,
.footer-cta-btn:active,
.footer-cta-btn:focus,
.footer-cta-btn:visited {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--light-grey);
    font-size: 0.8rem;
}

.dot-disclaimer {
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--light-grey);
    opacity: 0.6;
    width: 100%;
    margin: 0 auto 1.5rem auto;
    text-align: center;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--border-color);
    padding: 3rem;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--white);
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
}

#modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.specs-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.spec-label {
    color: var(--light-grey);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.spec-value {
    font-weight: 600;
}

/* Hide mobile menu elements by default on desktop/large screens */
.hamburger-menu,
.mobile-dropdown-menu {
    display: none !important;
}

.fullscreen-close-btn {
    display: none !important; /* Always hidden on desktop */
}

@media (max-width: 1024px) {
    .navbar {
        z-index: 20000 !important;
        background: #000000 !important; /* Solid black header on mobile */
        padding: 10px 0 !important; /* Slightly smaller header */
    }

    .nav-links, .nav-links.left, .nav-links.right {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        position: absolute !important;
        overflow: hidden !important;
        pointer-events: none !important;
    }
    
    .nav-content {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .logo {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 18px !important;
        text-transform: uppercase !important;
        letter-spacing: 2px !important;
        font-weight: 500 !important; /* Slightly thicker on mobile */
    }

    .logo svg {
        position: absolute !important;
        width: 26px !important;
        height: 26px !important;
        top: -24px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin-bottom: 0 !important;
    }
    
    .footer-logo {
        margin-top: 0 !important;
    }

    /* Hamburger Menu Button */
    .hamburger-menu {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 28px !important;
        height: 28px !important; /* Square container for perfect centering */
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        margin-right: 4px !important;
        z-index: 20001 !important;
        position: relative !important;
    }

    .hamburger-menu .bar {
        position: absolute !important;
        width: 20px !important; /* Slimmer horizontal lines like Amalfi */
        height: 2px !important; /* Slightly thinner */
        background-color: #a3a3a3 !important; /* Dimmer, less pure white */
        transition: all 0.3s ease !important;
        border-radius: 4px !important;
        left: 4px !important; /* Center the 20px bar in the 28px container */
    }
    
    .hamburger-menu .bar:nth-child(1) { top: 6px !important; }
    .hamburger-menu .bar:nth-child(2) { top: 13px !important; }
    .hamburger-menu .bar:nth-child(3) { top: 20px !important; }

    /* Hamburger Active (Perfect Mathematical X) */
    .hamburger-menu.active .bar:nth-child(1) {
        top: 13px !important;
        transform: rotate(45deg) !important;
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0 !important;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        top: 13px !important;
        transform: rotate(-45deg) !important;
    }

    /* Dropdown Menu Container */
    .mobile-dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important; /* Fill entire screen below navbar */
        background: #000000 !important; /* Pure black */
        border-bottom: none !important;
        display: grid !important;
        grid-template-columns: 1fr auto !important; /* Grid for aligning bottom row */
        align-content: flex-start !important;
        padding: 16px 24px !important;
        gap: 0 !important;
        transform: translateY(-150%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 10000 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .mobile-dropdown-menu.active {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-item {
        color: #d4d4d4 !important; /* Greyish, lighter than dark grey but not pure white */
        font-size: 0.95rem !important;
        text-decoration: none !important;
        font-family: 'Outfit', sans-serif !important;
        font-weight: 400 !important;
        padding: 16px 0 !important;
        border-bottom: 1px solid #1a1a1a !important; /* Amalfi subtle divider */
        display: flex !important;
        align-items: center !important;
        transition: color 0.3s ease !important;
        grid-column: 1 / 3 !important; /* Span both columns */
    }

    .dropdown-item:last-of-type {
        border-bottom: none !important;
    }

    .dropdown-item.tel-link {
        font-weight: 400 !important;
        font-size: 0.8rem !important; /* Smaller text */
        color: #cccccc !important;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important; /* Cleaner system plus sign */
        grid-column: 1 / 2 !important; /* Left side */
        border-bottom: none !important;
        padding: 24px 0 0 0 !important; /* Spacing from items above */
        justify-content: flex-start !important; /* Align left */
    }

    .dropdown-item.tel-link::before {
        content: "" !important;
        display: inline-block !important;
        width: 12px !important;
        height: 12px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E") !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        margin-right: 8px !important;
    }

    .dropdown-cta-btn {
        background: #d4d4d4 !important; /* Dimmer grayish pill */
        color: #000000 !important;
        text-align: center !important;
        padding: 8px 16px !important; /* Sleek small pill */
        border-radius: 30px !important;
        text-decoration: none !important;
        font-family: var(--font-main) !important;
        font-weight: 500 !important;
        font-size: 0.8rem !important;
        margin-top: 24px !important; /* Align vertically with phone */
        transition: all 0.3s ease !important;
        grid-column: 2 / 3 !important; /* Right side */
        align-self: center !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.5rem !important;
    }
    .about-grid {
        grid-template-columns: 1fr !important;
    }
    .about-image-container {
        height: 300px !important;
    }
    .quote-container {
        padding: 2rem !important;
    }
    
    .header-title {
        font-size: 2.2rem !important;
    }
}

/* Aircraft Page Integrated Redesign */
.aircraft-page {
    padding: 140px 0 100px;
    background-color: #000000;
}

.container-premium {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.aircraft-header-ref {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.header-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
}

.btn-book-flight {
    background: #ffffff;
    color: #000000;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-book-flight:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* Selector Grid */
.aircraft-selector-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-bottom: 2rem; /* Reduced for seamless feel */
}

.aircraft-card-ref {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.aircraft-card-ref:hover {
    border-color: #333;
    background: #111;
}

.aircraft-card-ref.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.aircraft-card-ref.active h3 {
    color: #ffffff;
}

.aircraft-card-ref.active .mini-spec-item {
    color: #ccc;
}

.aircraft-card-ref h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
    font-weight: 500;
}

.card-mini-specs {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.mini-spec-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #888;
}

.mini-spec-item span {
    font-size: 0.8rem;
    font-weight: 400;
}

/* Dynamic Content Area */
.aircraft-dynamic-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Specs left, images right */
    gap: 2rem; /* Desktop gap between columns */
    transition: opacity 0.4s ease;
}

.dynamic-specs-col {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    justify-content: center;
    background: #0a0a0a; /* Desktop specs box */
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    order: 1; /* Keep specs on left side */
}

.spec-card-clean h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 3rem;
    font-weight: 500;
}

.spec-rows-clean {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.clean-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #1a1a1a;
}

.clean-row .label {
    color: #666;
    font-size: 0.95rem;
    font-weight: 300;
}

.value-with-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
}

.value-with-icon svg {
    color: #888;
}

.value-with-icon span {
    font-size: 1rem;
    font-weight: 400;
}

/* Images Side */
.dynamic-images-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Desktop gap between images */
    height: 100%;
    order: 2; /* Keep images on right side */
}

.image-slot-premium {
    flex: 1;
    background: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    width: 100%;
    border-radius: 12px; /* Desktop rounded corners */
    overflow: hidden;
}

.slot-label {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
    font-family: var(--font-heading);
    display: none;
}

.image-slot-premium img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aircraft-img-fade {
    animation: imgFadeIn 0.8s ease forwards;
}

@keyframes imgFadeIn {
    from { opacity: 0; transform: scale(1.05); filter: blur(5px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* Responsiveness */
@media (max-width: 1200px) {
    .aircraft-selector-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-content {
        padding: 0 20px !important;
        gap: 1rem !important;
    }
    .nav-links {
        gap: 1rem !important;
    }
    .header-title {
        font-size: 3.5rem;
    }
    .aircraft-dynamic-content {
        grid-template-columns: 1fr;
        gap: 1.5rem; /* Divider gap between sections on mobile */
    }
    .dynamic-specs-col {
        padding: 1.2rem;
    }
    .spec-card-clean h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    .clean-row .label {
        font-size: 0.85rem;
    }
    .value-with-icon span {
        font-size: 0.85rem;
    }
    .dynamic-images-col {
        gap: 1rem; /* Divider gap between images on mobile */
        margin-left: -1rem;
        margin-right: -1rem;
    }
}

@media (max-width: 1024px) {
    /* Switch to horizontal scroll row */
    .aircraft-selector-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 12px !important;
        padding-top: 4px !important;
        padding-bottom: 12px !important;
        /* Hide scrollbar but keep scroll behavior */
        -ms-overflow-style: none;
        scrollbar-width: none;
        /* Pure momentum scrolling */
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    .aircraft-selector-grid::-webkit-scrollbar {
        display: none;
    }

    .aircraft-card-ref {
        /* Fixed width so cards partially peek off screen */
        min-width: 220px !important;
        flex-shrink: 0 !important;
        padding: 1.4rem !important;
    }

    .aircraft-header-ref {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
    }
}

/* ============================================================
   DETAILS PAGE SPLIT LAYOUT
   ============================================================ */
.details-page {
    background-color: #000000;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.split-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

.split-left {
    flex: 1;
    background-color: #111111;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.split-logo {
    align-self: flex-start;
    margin-bottom: 80px;
    align-items: center !important; /* Centered arrow matching the header style */
}

.split-heading {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.2;
    font-family: var(--font-main);
}

.split-right {
    flex: 1;
    background-color: #000000;
    padding: 60px 80px;
    overflow-y: auto;
}

.split-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.back-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    font-family: var(--font-main);
    transition: opacity 0.3s ease;
}

.back-btn:hover {
    opacity: 0.7;
}

.flight-summary {
    color: #aaaaaa;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
}

/* Form Styles */
.details-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.details-form input,
.details-form select,
.details-form textarea {
    width: 100%;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 16px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
}

.details-form input:focus,
.details-form select:focus,
.details-form textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.details-form select {
    appearance: none;
    cursor: pointer;
    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='white' 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 16px center;
    background-size: 16px;
    padding-right: 48px;
}

/* Force options to be readable in native OS dropdown menus */
.details-form select option {
    color: #000000;
    background-color: #ffffff;
}

.details-form textarea {
    resize: none;
    height: 120px;
}

.details-form input.error-border,
.details-form select.error-border,
.details-form textarea.error-border {
    border: 2px solid #ff4444 !important;
}

.error-msg {
    color: #ff4444 !important;
    font-size: 0.85rem;
    margin-top: 6px;
    margin-left: 4px;
    font-family: var(--font-main);
}

.custom-checkbox.error-border .checkmark {
    border: 2px solid #ff4444 !important;
}

.checkbox-group {
    margin-top: 10px;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #888888;
    line-height: 1.4;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #555555;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #ffffff;
    border-color: #ffffff;
}

.custom-checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-details-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 40px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: opacity 0.3s ease;
    font-family: var(--font-main);
}

.submit-details-btn:hover {
    opacity: 0.8;
}

.form-success-msg {
    color: #4CAF50;
    font-size: 0.95rem;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .split-layout {
        flex-direction: column;
        height: auto;
        overflow: auto;
    }
    .details-page {
        height: auto;
        overflow: auto;
    }
    .split-left, .split-right {
        padding: 40px 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
}



/* Mobile Booking Bar Design matching reference screenshot */
@media (max-width: 900px) {
    .hero {
        padding-bottom: 0 !important; /* Make form touch the true bottom edge */
        align-items: stretch !important; /* Let content fill height */
    }

    .quote-hero {
        height: 100svh !important; /* Force quote page hero height to match the main page */
    }
    
    /* Default padding for both */
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        height: 100% !important;
        box-sizing: border-box !important;
        padding-top: 110px !important; /* Restore normal top padding */
        padding-bottom: 0 !important;
    }





    .hero-content h1 {
        padding: 0 20px !important; /* Restore padding to text */
        box-sizing: border-box;
        line-height: 1.2 !important;
        white-space: normal !important; /* Allow wrapping on mobile */
        font-size: 2.45rem !important; /* Slightly larger for better luxury presence */
    }
    
    .quote-subtitle {
        margin: 10px auto 20px auto !important; /* Reduce massive 3rem bottom margin to save vertical space */
        font-size: 0.95rem !important; /* Slightly smaller text */
        padding: 0 20px !important; /* Add padding so it doesn't touch the edges */
        box-sizing: border-box !important;
    }
    
    /* 1. Entire wrapper should be transparent, not a card */
    .amalfi-quote-wrapper {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
        margin: auto auto 0 auto !important; /* margin-top: auto pushes the booking bar completely to the bottom! */
        box-sizing: border-box;
    }
    
    /* 2. Top Controls Row (Toggle + Pax Count) */
    .quote-top-controls {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        /* Break out of parent padding to match #quote-form width */
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        margin-bottom: 6px !important; /* Brought much closer to the booking bar */
        gap: 8px !important;
        flex-direction: row !important;
        padding: 0 5px !important; /* Minimal padding so it stretches very wide */
        box-sizing: border-box;
    }
    
    .trip-type-toggle {
        background: #000000 !important;
        border: 1px solid #111111 !important;
        border-radius: 30px !important;
        padding: 4px !important;
        height: 46px !important; /* Exact match to pax-counter-pill */
        flex: 1 !important; /* Stretch to occupy remaining width */
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
    }
    
    .toggle-pill {
        flex: 1 !important;
        text-align: center !important;
        padding: 10px 0 !important; /* Slightly thinner */
        font-size: 0.95rem !important; /* Slightly smaller text */
        font-weight: 500 !important; /* Bolder text */
        color: #ffffff !important;
        position: relative !important;
        z-index: 2 !important;
        transition: color 0.3s ease !important;
        white-space: nowrap !important; /* Prevent text wrapping */
    }
    
    .toggle-pill.active {
        color: #000000 !important;
    }
    
    .trip-type-toggle::before {
        content: "" !important;
        position: absolute !important;
        background: #ffffff !important; /* Light grey/white active pill background */
        top: 4px !important;
        left: 4px !important;
        height: calc(100% - 8px) !important;
        width: calc(50% - 4px) !important;
        border-radius: 30px !important;
        z-index: 1 !important;
        transition: left 0.3s ease !important;
        transform: none !important; /* Prevent desktop transform from stacking */
    }
    
    .trip-type-toggle.is-oneway::before {
        left: calc(50%) !important;
        transform: none !important;
    }
    
    .pax-counter-pill {
        background: #000000 !important;
        border: 1px solid #111111 !important;
        border-radius: 30px !important;
        height: 46px !important;
        padding: 4px 8px !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
        display: flex !important;          /* Flex container to centre icons */
        align-items: center !important;   /* Vertically centre */
        justify-content: center !important; /* Horizontally centre */
    }
    
    .pax-btn {
        width: 30px !important;
        height: 30px !important;
        font-size: 1.15rem !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .pax-btn svg {
        width: 20px !important; /* Force larger SVG size on mobile */
        height: 20px !important;
        display: block !important;
        margin: auto !important;
    }
    
    .pax-btn.minus-btn {
        background: #222222 !important; /* Synced to match the exact grey of the Search button */
        color: #888888 !important;
        padding-bottom: 0 !important; /* Removed optical tweak now that it's a perfect SVG */
    }
    
    .pax-btn.plus-btn {
        background: #ffffff !important;
        color: #000000 !important;
        padding-bottom: 0 !important; /* Removed optical tweak now that it's a perfect SVG */
    }
    
    #pax-count {
        font-size: 1.05rem !important; /* Slightly smaller text */
        font-weight: 500 !important;
        padding-right: 4px !important; /* Push the number leftward to visually center it between the buttons */
    }

    /* 3. Form is the actual Solid Black Card */
    #quote-form {
        display: flex !important;
        flex-direction: column !important;
        background: #000000 !important;
        border-top: 1px solid #1a1a1a !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-radius: 20px 20px 0 0 !important; /* Rounded top, flat bottom */
        padding: 8px 0 calc(16px + env(safe-area-inset-bottom)) 0 !important; /* Absorb safe area inside the black form */
        box-shadow: 0 -5px 25px rgba(0,0,0,0.5) !important;
        position: relative !important;
        gap: 0 !important;
        height: auto !important; /* OVERRIDE DESKTOP FIXED HEIGHT */
        overflow: visible !important;
        
        /* Break out of parent padding to touch edges */
        width: calc(100% + 40px) !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
    }
    
    /* Specific overrides for smaller phones (iPhone SE, Pro, Max) to ensure perfect fit */
    @media (max-width: 480px) {
        .hero-content h1 {
            font-size: 2.2rem !important; /* Perfect heading scale for small screens */
        }
        
        .trip-type-toggle {
            height: 40px !important;
        }
        
        .toggle-pill {
            font-size: 0.8rem !important;
            padding: 8px 0 !important;
        }
        
        .pax-counter-pill {
            height: 40px !important;
            padding: 4px 6px !important;
            gap: 6px !important;
        }
        
        .pax-btn {
            width: 26px !important;
            height: 26px !important;
            font-size: 1rem !important;
        }
        
        #pax-count {
            font-size: 0.95rem !important;
        }
    }
    
    .input-cell {
        position: relative !important;
        z-index: 1 !important;
        display: flex;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 10px 0 !important; /* Compressed padding to make the entire booking bar shorter */
        margin: 0 20px !important; 
        border-bottom: 1px solid #333333 !important; /* Brighter grey line for visibility */
        border-left: none !important; /* OVERRIDE DESKTOP VERTICAL LINE */
        border-right: none !important;
        border-top: none !important;
        min-height: auto !important; /* Shrink height to wrap content tightly */
        min-width: auto !important;
        background: transparent !important;
        border-radius: 0 !important;
    }

    /* Remove bottom border on the last visible cell */
    #return-date-group {
        border-bottom-color: transparent !important;
    }
    
    /* If Return group is hidden (One Way), remove bottom border on Depart group */
    #quote-form:has(#return-date-group[style*="display: none"]) #depart-group {
        border-bottom-color: transparent !important;
    }
    
    /* 5. Swap Button (Positioned vertically between From and To on the right) */
    .switch-icon {
        position: absolute !important;
        right: 28px !important; /* Moved slightly more to the left */
        left: auto !important; /* Override desktop left: 50% */
        top: 0 !important; /* Wrapper is at height 0 between cells */
        transform: translateY(-50%) !important;
        z-index: 1000 !important; /* Massive z-index to ensure it covers the border line */
        background: #222222 !important; /* Match Amalfi dark grey */
        border: none !important; 
        border-radius: 50% !important;
        width: 26px !important; /* Shrunk slightly so it perfectly fits the new shorter padding */
        height: 26px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        cursor: pointer !important;
    }
    
    .switch-icon svg {
        transform: rotate(90deg) !important; /* Rotate to point vertically on mobile */
        color: #888888 !important; /* Bright enough to see */
        stroke: #888888 !important;
        width: 12px !important; /* Match the smaller circle */
        height: 12px !important;
        stroke-width: 1.5px !important; /* Thinner, sleeker arrows like Amalfi */
    }

    /* 6. Date Select Chevrons styling */
    .select-wrapper {
        position: relative !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .chevron-icon {
        position: absolute !important;
        right: 8px !important;
        top: 50% !important;
        transform: translateY(-50%) rotate(0deg) !important; /* SVG points down, keep it pointing DOWN on mobile */
        margin-top: 0 !important; /* Reset margin nudge since arrow orientation changed */
        color: #ffffff !important;
        opacity: 0.8 !important;
        pointer-events: none !important;
        width: 22px !important; /* Noticeably larger arrow */
        height: 22px !important;
    }

    /* 7. Hide desktop dividers completely */
    .cell-divider {
        display: none !important;
    }
    
    .cell-divider-wrapper {
        display: block !important; /* Block element sitting exactly between cells */
        position: relative !important;
        width: 100% !important;
        height: 0 !important; /* Zero height so it doesn't add space */
        z-index: 50 !important; /* Ensure it sits ABOVE the input cells so borders don't overlap the button */
    }
    
    /* 8. Input Text and Labels styling */
    .cell-label.muted {
        font-size: 0.75rem !important; /* Smaller label text */
        color: #888888 !important; /* Darker grey like screenshot */
        text-transform: capitalize !important; 
        margin-bottom: 2px !important; /* Tighter gap to save vertical space */
        font-weight: 400 !important;
        opacity: 1 !important;
    }
    
    .input-cell input {
        font-size: 1.25rem !important; /* Slightly larger input text to match Amalfi perfectly */
        font-weight: 400 !important;
        color: #f5f5f5 !important; /* Brighter white text like Amalfi */
        padding: 0 !important;
        margin-top: 0 !important;
    }
    
    .input-cell input::placeholder {
        color: #888888 !important; /* Dim placeholder */
        opacity: 0.9 !important;
    }
    
    .error-message-bottom {
        left: 0 !important; /* perfectly aligned with the far left edge of the black booking bar box */
        bottom: -32px !important; /* Give it a bit more space below the rounded box */
    }

    /* 9. Search Button styling */
    .amalfi-submit-btn.arrow-btn {
        width: calc(100% - 40px) !important;
        height: 46px !important; /* Slightly shorter */
        background: #222222 !important; /* Default dark grey */
        color: #888888 !important; /* Muted text color */
        margin: 8px auto 0 auto !important; /* Tighter margin */
        border-radius: 8px !important; /* Sharper corners */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        font-size: 0.95rem !important; /* Scaled down text to match Amalfi */
        font-weight: 500 !important;
        border: none !important; /* Remove border to match the smooth Amalfi look */
        cursor: pointer !important;
        transition: all 0.3s ease !important;
    }

    .amalfi-submit-btn.arrow-btn::before {
        content: "Request Quote" !important;
        color: #888888 !important; /* Synced color */
        transition: all 0.3s ease !important;
    }
    
    .amalfi-submit-btn.arrow-btn svg {
        stroke: #888888 !important; /* Synced color */
        width: 16px !important;
        height: 16px !important;
        transition: all 0.3s ease !important;
    }

    /* 10. Dynamic Form Filled State */
    .amalfi-booking-bar.form-filled .amalfi-submit-btn.arrow-btn {
        background: #cfcfcf !important; /* Dim white / light grey */
        color: #000000 !important; /* Black text */
    }

    .amalfi-booking-bar.form-filled .amalfi-submit-btn.arrow-btn::before {
        color: #000000 !important;
    }

    .amalfi-booking-bar.form-filled .amalfi-submit-btn.arrow-btn svg {
        stroke: #000000 !important;
    }
}

/* ===========================================================
   1. THE LUMINARY EXPERIENCE (EDITORIAL LAYOUT)
   =========================================================== */
.experience-section {
    background: #ffffff;
    padding: 140px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.section-header {
    margin-bottom: 100px;
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    color: #111;
    font-family: 'Playfair Display', 'Didot', serif;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #888;
    letter-spacing: 1px;
}

.editorial-block {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 120px auto;
    gap: 80px;
}

.editorial-block.reverse {
    flex-direction: row-reverse;
}

.editorial-block:last-child {
    margin-bottom: 0;
}

.editorial-image-col {
    flex: 1.2;
    overflow: hidden;
    border-radius: 4px;
}

.editorial-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 1.5s ease;
    filter: grayscale(20%); /* Adds a cinematic, moody feel */
}

.editorial-block:hover .editorial-img {
    transform: scale(1.05);
}

.editorial-text-col {
    flex: 1;
    padding: 20px 0;
}

.editorial-number {
    display: block;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.editorial-text-col h3 {
    font-size: 2.2rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    color: #111;
    margin-bottom: 25px;
}

.editorial-text-col p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    font-weight: 300;
}

/* ===========================================================
   2. CINEMATIC PARALLAX WINDOW
   =========================================================== */
.cinematic-parallax {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -30%; left: 0; width: 100%; height: 160%; /* Extra room to move up/down */
    background-size: cover;
    background-position: center center;
    z-index: 1;
    will-change: transform; /* Hardware acceleration for smooth scrolling */
}

/* We removed the CSS-only fixed parallax because iOS Safari natively breaks it. We will use JS for a smooth, unified effect across all devices. */

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.parallax-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.parallax-content h2 {
    font-size: clamp(2rem, 8vw, 4.5rem);
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.parallax-content .btn-primary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 15px 40px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.parallax-content .btn-primary:hover {
    background: #fff;
    color: #000;
}

/* ===========================================================
   3. REDEFINED ABOUT SECTION
   =========================================================== */
.redefined-about-section {
    background: #0a0a0a;
    color: #fff;
    padding: 150px 20px;
    text-align: center;
}

.about-grid-new {
    max-width: 800px;
    margin: 0 auto;
}

.elegant-title {
    font-size: 2.5rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.accent-line {
    width: 60px;
    height: 1px;
    background: #fff;
    opacity: 0.3;
    margin: 0 auto 40px auto;
}

.about-text-new p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #ccc;
    font-weight: 300;
    margin-bottom: 25px;
}

/* ===========================================================
   SCROLL FADE ANIMATIONS
   =========================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}
.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.is-visible,
.fade-in-left.is-visible,
.fade-in-right.is-visible {
    opacity: 1;
    transform: translate(0);
}

/* FULLSCREEN SEARCH OVERLAY FOR MOBILE */
@media (max-width: 1024px) {
    #mobile-airport-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
        background: #000000 !important;
        display: none !important;
        flex-direction: column !important;
        padding: 16px 20px !important;
        box-sizing: border-box !important;
    }

    #mobile-airport-overlay.mobile-search-active {
        display: flex !important;
    }

    .mobile-search-header {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        height: 54px !important;
        margin-bottom: 12px !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    .mobile-search-back-btn {
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        color: #ffffff !important;
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 12px !important;
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    .mobile-search-back-btn svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }

    #mobile-search-input {
        flex: 1 !important;
        font-size: 1.05rem !important;
        border: 1px solid #222222 !important;
        border-radius: 8px !important;
        background: #111111 !important;
        color: #ffffff !important;
        padding: 12px 16px !important;
        box-sizing: border-box !important;
        font-family: var(--font-body) !important;
        outline: none !important;
    }

    #mobile-search-input:focus {
        border-color: #444444 !important;
    }

    .mobile-search-results {
        flex: 1 !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        padding-bottom: 40px !important;
    }

    .mobile-search-results .autocomplete-item {
        border-bottom: 1px solid #111111 !important;
        padding: 16px 0 !important;
        cursor: pointer !important;
    }
    
    .no-results-msg {
        color: #666666 !important;
        font-size: 1.05rem !important;
        text-align: center !important;
        padding: 80px 20px !important;
        font-family: var(--font-body) !important;
        font-weight: 400 !important;
    }

    #lj-calendar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 999999 !important;
        background: #000000 !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 16px 20px !important;
        box-sizing: border-box !important;
        display: none !important;
        flex-direction: column !important;
        overflow-y: auto !important;
    }

    #lj-calendar.lj-cal-visible {
        display: flex !important;
    }

    .lj-cal-hdr {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding-bottom: 20px !important;
        border-bottom: 1px solid #1a1a1a !important;
        margin-bottom: 20px !important;
    }

    .lj-cal-back-btn {
        order: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        cursor: pointer !important;
        width: 32px !important;
        height: 32px !important;
        padding: 0 !important;
    }

    .lj-cal-back-btn svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
    }

    .lj-cal-hdr-btns {
        order: 2 !important;
    }

    .lj-btn-done {
        background: #ffffff !important;
        color: #000000 !important;
        font-weight: 600 !important;
        padding: 8px 22px !important;
        font-size: 0.85rem !important;
        border-radius: 20px !important;
        border: none !important;
    }

    .lj-cal-hdr-labels {
        order: 3 !important;
        width: 100% !important;
        display: flex !important;
        gap: 0 !important;
        justify-content: space-between !important;
        margin-top: 20px !important;
    }

    .lj-cal-hlabel {
        flex: 1 !important;
    }

    .lj-cal-hdivider {
        width: 1px !important;
        height: 36px !important;
        background: #222222 !important;
        align-self: center !important;
        margin: 0 20px !important;
        display: block !important;
    }

    .lj-hl-title {
        font-size: 0.72rem !important;
        color: #666666 !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }

    .lj-hl-val {
        font-size: 1.2rem !important;
        font-weight: 500 !important;
        color: #888888 !important;
        margin-top: 4px !important;
    }

    .lj-cal-body {
        flex: 1 !important;
        display: block !important;
        overflow-y: auto !important;
        margin-top: 10px !important;
    }

    .lj-months-wrap {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
    }

    .lj-month {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .lj-month-header-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 16px !important;
    }

    .lj-month-title {
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: #ffffff !important;
    }

    .lj-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 6px !important;
    }

    .lj-dh {
        font-size: 0.72rem !important;
        color: #444444 !important;
        padding: 6px 0 !important;
    }

    .lj-d {
        aspect-ratio: 1 !important;
        width: 100% !important;
        height: auto !important;
        max-width: 44px !important;
        max-height: 44px !important;
        font-size: 0.95rem !important;
        margin: auto !important;
        border-radius: 50% !important;
    }
}

/* MOBILE RESPONSIVE UPDATES */
@media (max-width: 1024px) {
    .editorial-block, .editorial-block.reverse {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 80px;
    }
    .editorial-img {
        height: 350px;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .redefined-about-section {
        padding: 100px 20px;
    }
    .elegant-title {
        font-size: 2rem;
    }
}

/* ===========================================================
   GOOGLE PLACES AUTOCOMPLETE STYLING
   =========================================================== */
.pac-container {
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    font-family: inherit;
    margin-top: 5px;
    padding: 5px 0;
}

/* Hide the "Powered by Google" Logo to match the reference */
.pac-container:after {
    display: none !important;
}

/* Style the individual dropdown items */
.pac-item {
    padding: 10px 15px;
    color: #555555;
    border-top: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
}

/* Remove border from the first item */
.pac-item:first-of-type {
    border-top: none;
}

.pac-item:hover {
    background-color: #f8f8f8;
}

/* Style the bold matched text */
.pac-item-query {
    color: #000000;
    font-weight: 600;
    font-size: 14px;
}


/* Hide the default pin icon */
.pac-icon {
    display: none !important;
}

/* ===========================================================
   SUCCESS PANEL — details.html (inline, within split-right)
   =========================================================== */

/* The panel sits inside split-right, replacing the form */
.lj-success-panel {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    padding: 60px 32px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lj-success-panel.lj-success-visible {
    opacity: 1;
}

/* Animated Checkmark */
.lj-success-check-wrap {
    margin-bottom: 28px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.5s ease 0.2s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
}

.lj-success-panel.lj-success-visible .lj-success-check-wrap {
    opacity: 1;
    transform: scale(1);
}

.lj-checkmark {
    width: 60px;
    height: 60px;
}

.lj-check-circle {
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    transition: stroke-dashoffset 0.6s ease 0.3s;
}

.lj-success-panel.lj-success-visible .lj-check-circle {
    stroke-dashoffset: 0;
}

/* Cinematic Logo */
.cinematic-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.cinematic-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; /* Room for the arrow */
}

.cinematic-arrow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    color: #ffffff;
}

.cinematic-letters {
    display: flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
}

.cinematic-letters span {
    opacity: 0;
}

/* Animations */
.lj-success-panel.lj-success-visible .cinematic-letters span {
    animation: letterFade 0.4s ease forwards;
    animation-delay: calc(var(--delay) * 0.06s);
}

.lj-success-panel.lj-success-visible .cinematic-arrow {
    /* Swoop in right as the letters finish (12 * 0.06 = 0.72s) */
    animation: arrowSwoop 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}

@keyframes letterFade {
    0% { opacity: 0; transform: translateY(5px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes arrowSwoop {
    0% {
        opacity: 0;
        left: 0%;
        top: 0px;
        transform: translateX(0) scale(0.5) rotate(-15deg);
    }
    100% {
        opacity: 1;
        left: 50%;
        top: -20px;
        transform: translateX(-50%) scale(1) rotate(0deg);
    }
}

/* Title */
.lj-success-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    font-family: var(--font-main);
    margin: 0 0 14px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lj-success-panel.lj-success-visible .lj-success-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.2s;
}

/* Subtitle */
.lj-success-msg {
    font-size: 1rem;
    color: #999;
    max-width: 350px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.lj-success-panel.lj-success-visible .lj-success-msg {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.4s;
}

/* Back to home button */
.lj-success-home-btn {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease;
}

.lj-success-panel.lj-success-visible .lj-success-home-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.6s;
}

.lj-success-home-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    .lj-success-panel {
        padding: 48px 24px;
        justify-content: center;
        min-height: 50vh;
    }

    .lj-success-title {
        font-size: 1.25rem;
    }
}



/* Responsive Footer Fixes */
@media (max-width: 850px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}
@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-contact, .footer-fleet-links {
        align-items: center;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}
