:root {
    --bg: #f8f4eb;
    --surface: #ffffff;
    --text: #14161b;
    --muted: #6e7481;
    --primary: #d1a154;
    --primary-contrast: #ffffff;
    --border: rgba(20,20,28,0.1);
    --shadow: 0 25px 60px rgba(20,20,28,0.08);
}

.dark-theme {
    --bg: #0f1320;
    --surface: #161b2c;
    --text: #f5f5fb;
    --muted: #9ba3b5;
    --border: rgba(255,255,255,0.08);
    --shadow: 0 25px 60px rgba(0,0,0,0.4);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid rgba(20,20,28,0.08);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(20,20,28,0.06);
}

.header-inner {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.navbar-toggler {
    border: 1px solid rgba(20,20,28,0.12);
    border-radius: 14px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.navbar-toggler-icon {
    width: 22px;
    height: 2px;
    background-color: currentColor;
    display: inline-block;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    width: 22px;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0.55rem;
    transition: color 180ms ease, transform 180ms ease;
    border-radius: 12px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.icon-button {
    border: 1px solid rgba(20,20,28,0.12);
    background: var(--surface);
    color: var(--text);
    width: 46px;
    height: 46px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.icon-button:hover {
    transform: translateY(-1px);
    background: rgba(209,161,84,0.14);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(20,20,28,0.12);
    background: var(--surface);
    cursor: pointer;
    font-size: 0.92rem;
    transition: background 160ms ease, transform 160ms ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    background: rgba(209,161,84,0.1);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    min-width: 300px;
    background: var(--surface);
    border: 1px solid rgba(20,20,28,0.08);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20,20,28,0.12);
    padding: 1rem;
    display: none;
}

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

.dropdown-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 0.75rem;
    border-bottom: 1px solid rgba(20,20,28,0.06);
}

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

.dropdown-item-title {
    font-weight: 600;
}

.dropdown-item-subtitle {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.hero {
    position: relative;
    min-height: 86vh;
    display: grid;
    align-items: center;
    padding: 4.5rem 0 3.5rem;
    background: url('https://i.pinimg.com/1200x/32/98/a8/3298a880844fa003be53758b80723a9d.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.9) 40%, rgba(255,255,255,0.72) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6f716e;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
}

.hero-copy {
    max-width: 620px;
}

.hero-copy h1 {
    font-size: clamp(3rem, 5vw, 5.25rem);
    line-height: 0.99;
    margin: 0;
    letter-spacing: -0.05em;
    color: #111317;
}

.hero-copy p.lead {
    margin: 1.4rem 0 0.95rem;
    font-size: 1.12rem;
    color: var(--muted);
    max-width: 42rem;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.btn,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1rem 1.8rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    text-decoration: none;
}

.btn {
    color: var(--primary-contrast);
    background: var(--primary);
    box-shadow: 0 18px 40px rgba(209,161,84,0.24);
}

.btn:hover {
    transform: translateY(-1px);
    background: #b38f53;
}

.btn-secondary {
    color: var(--text);
    background: rgba(209,161,84,0.14);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-badge {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(209,161,84,0.18);
    color: var(--text);
    padding: 0.8rem 1rem;
    border-radius: 18px;
    font-size: 0.92rem;
    font-weight: 600;
}

.hero-panel {
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(209,161,84,0.22);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 35px 90px rgba(20,20,28,0.1);
}

.hero-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-panel p {
    color: var(--muted);
    line-height: 1.75;
}

.hero-panel .panel-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.25rem;
}

.hero-panel .panel-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(209,161,84,0.16);
    color: var(--primary);
    font-weight: 700;
}

.hero-panel .panel-item-text {
    line-height: 1.75;
}

.booking-banner {
    width: 100%;
    height: 350px;
    position: relative;
    background: linear-gradient(135deg, #d1a154 0%, #c48b3f 50%, #b67730 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-banner-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.booking-banner-text {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 2rem;
}

.booking-banner-text h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    margin: 1rem 0 0.75rem;
    line-height: 1.1;
    font-weight: 800;
}

.booking-banner-text p {
    font-size: 1.05rem;
    margin: 0;
    opacity: 0.98;
    line-height: 1.6;
}

.booking-banner-text .eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

.booking-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 35px 90px rgba(20,20,28,0.09);
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text);
}

.form-divider {
    height: 1px;
    background: var(--border);
    margin: 1.75rem 0;
}

.booking-form .form-label {
    font-weight: 600;
    margin-bottom: 0.65rem;
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.booking-form .form-control {
    border-radius: 12px;
    border: 1.5px solid rgba(108, 117, 125, 0.12);
    min-height: 3rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: var(--surface);
    color: var(--text);
    transition: all 200ms ease;
}

.booking-form .form-control::placeholder {
    color: rgba(108, 117, 125, 0.5);
}

.booking-form .form-control:hover {
    border-color: rgba(209,161,84,0.3);
}

.booking-form .form-control:focus {
    border-color: rgba(209,161,84,0.8);
    box-shadow: 0 0 0 3px rgba(209,161,84,0.1);
    outline: none;
}

.booking-form .form-text {
    color: var(--muted);
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: block;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.btn.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn.btn-outline:hover {
    background: var(--border);
    border-color: var(--text);
}

.booking-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 1.75rem;
}

.booking-stat {
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(209,161,84,0.1) 0%, rgba(209,161,84,0.05) 100%);
    border: 1px solid rgba(209,161,84,0.15);
    padding: 1.4rem;
    color: var(--text);
    text-align: center;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-weight: 600;
    display: block;
    margin-bottom: 0.6rem;
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.map-card {
    border-radius: 28px;
    overflow: hidden;
    min-height: 430px;
    box-shadow: 0 35px 90px rgba(20,20,28,0.1);
    border: 1px solid var(--border);
}

#map {
    width: 100%;
    height: 100%;
    min-height: 430px;
}

.offerings {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 5rem 1.25rem 3rem;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 2.5vw, 2.8rem);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    max-width: 46rem;
    line-height: 1.85;
}

.grid {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--surface);
    border: none;
    border-radius: 28px;
    padding: 2.3rem;
    box-shadow: 0 35px 90px rgba(20,20,28,0.08);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.card p {
    margin-top: 0;
    color: var(--muted);
    line-height: 1.85;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 0.95rem;
}

.card li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    color: var(--text);
    line-height: 1.8;
}

.card li::before {
    content: '✔';
    color: var(--primary);
    font-weight: 700;
    min-width: 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer {
    margin-top: auto;
    padding: 2.5rem 1.25rem;
    background: var(--surface);
    border-top: 1px solid rgba(20,20,28,0.08);
}

/* Legal pages (Privacy Policy / Terms of Service) */
.legal-page {
    position: relative;
}

.legal-hero {
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 2.25rem;
    background: linear-gradient(135deg, rgba(209,161,84,0.18) 0%, rgba(209,161,84,0.08) 45%, rgba(255,255,255,0.35) 100%);
    border-bottom: 1px solid rgba(20,20,28,0.06);
}

.legal-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 10% 15%, rgba(209,161,84,0.18), transparent 55%),
        radial-gradient(900px 420px at 90% 30%, rgba(209,161,84,0.14), transparent 60%);
    pointer-events: none;
}

.legal-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: center;
}

.legal-hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(110,116,129,0.95);
    font-size: 0.78rem;
    font-weight: 800;
}

.legal-title {
    margin: 0;
    font-size: clamp(2.1rem, 3.2vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.legal-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
    max-width: 62ch;
}

.legal-banner {
    width: 100%;
    height: 220px;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(20,20,28,0.08);
    box-shadow: 0 35px 90px rgba(20,20,28,0.06);
    background: var(--surface);
}

.legal-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.legal-banner-fallback {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(209,161,84,0.35) 0%, rgba(209,161,84,0.12) 55%, rgba(255,255,255,0.4) 100%);
}

.legal-banner-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.35) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.75;
}

.legal-card {
    background: var(--surface);
    border-radius: 28px;
    border: 1px solid rgba(20,20,28,0.08);
    box-shadow: 0 35px 90px rgba(20,20,28,0.07);
    padding: 2.25rem;
}

.legal-content {
    color: var(--text);
    line-height: 1.9;
    font-size: 1.02rem;
}

.legal-content p {
    margin-bottom: 1.1rem;
}

.legal-content ul,
.legal-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1.1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-footnote {
    margin-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    color: var(--muted);
}

.legal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(209,161,84,0.9);
    box-shadow: 0 0 0 6px rgba(209,161,84,0.15);
}

@media (max-width: 880px) {
    .legal-hero-inner {
        grid-template-columns: 1fr;
    }

    .legal-banner {
        height: 190px;
    }

    .legal-card {
        padding: 1.6rem;
    }
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.footer-inner p {
    margin: 0;
    color: var(--muted);
    line-height: 1.9;
}

@media (max-width: 992px) {
    .header-inner {
        padding: 1rem 1rem;
    }
    .hero {
        min-height: 80vh;
    }
    .hero-copy h1 {
        font-size: clamp(2.6rem, 6vw, 4.8rem);
    }
}

@media (max-width: 880px) {
    .header-inner,
    .hero,
    .offerings,
    .footer-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .navbar-collapse {
        background: rgba(255,255,255,0.96);
        border-radius: 20px;
        padding: 1rem 0.75rem;
        margin-top: 1rem;
    }
    nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .hero {
        padding-top: 3.5rem;
    }
    .grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 880px) {
    .booking-banner {
        height: 280px;
    }

    .booking-banner-text h1 {
        font-size: clamp(2rem, 3.5vw, 2.8rem);
    }

    .booking-form {
        padding: 2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
    }

    /* New header structure is mobile-only */
    .header-top {
        width: 100%;
        flex-direction: row;
        gap: 0.75rem;
    }


    .brand-title {
        font-size: 1.05rem;
    }

    .brand-subtitle {
        font-size: 0.62rem;
        letter-spacing: 0.14em;
    }

    #navbarSupportedContent {
        width: 100%;
    }

    .navbar-collapse {
        margin-top: 0.75rem;
    }

    .nav-link {
        padding: 0.65rem 0.75rem;
        font-size: 0.95rem;
    }

    nav {
        gap: 0.6rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero-copy {
        padding: 0;
    }

    .hero-actions {
        flex-direction: column;
    }

    .icon-button,
    .theme-toggle {
        width: 100%;
        justify-content: center;
    }

    .nav-actions {
        width: 100%;
        justify-content: space-between;
    }

    .booking-banner {
        height: 240px;
        padding: 1.5rem;
    }

    /* Ensure desktop stays unchanged by not styling nav-actions/layout on wider screens */
    /* (mobile overrides only within this breakpoint) */


    .booking-banner-text {
        padding: 0 1rem;
    }

    .booking-banner-text h1 {
        font-size: 1.75rem;
        margin: 0.5rem 0;
    }

    .booking-banner-text p {
        font-size: 0.95rem;
    }

    .booking-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .form-section-title {
        font-size: 1rem;
    }

    .booking-stats {
        gap: 0.75rem;
    }

    .stat-value {
        font-size: 1.35rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-actions .btn,
    .form-actions .btn-outline {
        width: 100%;
    }

    #map {
        min-height: 320px;
    }

    .map-card {
        min-height: 320px;
    }
}

/* Bookings */
@media (max-width: 880px) {
    .booking-banner {
        height: 280px;
    }

    .booking-banner-text h1 {
        font-size: clamp(2rem, 3.5vw, 2.8rem);
    }

    .booking-form {
        padding: 2rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

.ride-price {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #d1a054;
    padding: 30px;
    background-color: #fdf9f6;
    border-radius: 10px;
    border: 1px solid #d1a054;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.booking-stat {
    background-color: #fdf9f6;
    border: 1px solid #d1a054;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

