/* ================================================
   Natural — Earthy, Calm & Nature-Inspired Theme
   Langkawi Tourism Booking System
   Warm organic palette, botanical feel, grounded comfort
   ================================================ */

/* Typography — Lora (headings, earthy serif) + Nunito Sans (body, readable) */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Nunito+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
    /* Typography */
    --font-primary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Lora', Georgia, 'Times New Roman', serif;

    /* Nature-inspired Color Palette */
    --primary: #4A7C59;         /* forest green */
    --primary-dark: #3A6147;    /* deep forest */
    --primary-light: #6B9E7A;   /* sage */
    --secondary: #8B6F47;       /* warm bark/earth */
    --secondary-dark: #6D5537;  /* deep earth */

    /* Warm Neutral Scale */
    --dark: #1C2017;
    --gray-900: #2D2F27;        /* deep moss */
    --gray-800: #404438;        /* dark bark */
    --gray-700: #5A5F50;        /* stone */
    --gray-600: #767B6A;        /* pebble */
    --gray-500: #9BA08E;        /* driftwood */
    --gray-400: #BEC4B2;        /* pale sage */
    --gray-300: #D8DECE;        /* linen */
    --gray-200: #EBF0E4;        /* soft fern */
    --gray-100: #F5F7F2;        /* morning dew */
    --white: #FEFDF9;           /* warm white */

    /* Status Colors */
    --success: #4A7C59;
    --warning: #C88B30;
    --danger: #B25042;
    --info: #4A6E8B;

    /* Spacing — comfortable, generous */
    --spacing-xs: 0.3rem;
    --spacing-sm: 0.6rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.625rem;
    --spacing-xl: 2.25rem;
    --spacing-2xl: 3.5rem;
    --spacing-3xl: 5.5rem;

    /* Border Radius — soft organic, natural shapes */
    --radius-sm: 0.375rem;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.875rem;
    --radius-full: 9999px;

    /* Shadows — warm earth-tinted, gentle depth */
    --shadow-sm: 0 1px 4px 0 rgba(74, 124, 89, 0.08);
    --shadow-md: 0 4px 16px -2px rgba(74, 124, 89, 0.12), 0 2px 6px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 28px -4px rgba(74, 124, 89, 0.16), 0 4px 10px -2px rgba(0, 0, 0, 0.07);
    --shadow-xl: 0 18px 44px -8px rgba(74, 124, 89, 0.20), 0 8px 16px -4px rgba(0, 0, 0, 0.08);
    --shadow-2xl: 0 28px 60px -10px rgba(74, 124, 89, 0.24);

    /* Transitions — eased, calm movements */
    --transition-fast: 150ms ease-out;
    --transition-base: 220ms ease-out;
    --transition-slow: 360ms ease-out;

    /* Layout */
    --container-max: 1280px;
    --header-height: 76px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.25;
    color: var(--gray-900);
    letter-spacing: -0.015em;
}

h1 { font-size: 3.125rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.625rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.0625rem; }
h6 {
    font-size: 0.875rem;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-600);
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.75;
    font-weight: 400;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 16px -2px rgba(74, 124, 89, 0.42);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -2px rgba(74, 124, 89, 0.52);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    box-shadow: 0 4px 16px -2px rgba(139, 111, 71, 0.38);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -2px rgba(139, 111, 71, 0.48);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.btn-lg {
    padding: 0.9375rem 2.25rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 253, 249, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 124, 89, 0.12);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(254, 253, 249, 0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 44px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--gray-700);
    padding: 0.5rem 0.875rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(74, 124, 89, 0.08);
}

.nav-links a.active {
    color: var(--primary);
    background: rgba(74, 124, 89, 0.1);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-lg);
    background: rgba(74, 124, 89, 0.1);
    color: var(--primary);
    transition: all var(--transition-fast);
}

.cart-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--danger);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gray-700);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    filter: saturate(0.95) brightness(0.9);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(28, 32, 23, 0.70) 0%,
        rgba(44, 60, 36, 0.45) 55%,
        rgba(28, 32, 23, 0.20) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
    padding: var(--spacing-3xl) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: var(--spacing-lg);
    backdrop-filter: blur(8px);
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: #A5C67A;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero h1 span {
    font-style: italic;
    color: #A5C67A;
}

.hero-description {
    font-size: 1.1875rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-xl);
    line-height: 1.75;
    font-weight: 400;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: var(--spacing-xs);
    font-weight: 400;
}

/* ===== Sections ===== */
.section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto var(--spacing-2xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0.375rem 1rem;
    background: rgba(74, 124, 89, 0.1);
    border: 1px solid rgba(74, 124, 89, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.04em;
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-description {
    color: var(--gray-600);
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 400;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--primary);
    margin-top: var(--spacing-lg);
    font-size: 0.9375rem;
    padding: 0.5rem 1.125rem;
    border-radius: var(--radius-md);
    border: 1.5px solid rgba(74, 124, 89, 0.3);
    transition: all var(--transition-fast);
}

.section-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    gap: var(--spacing-md);
}

.section-link svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.section-link:hover svg {
    transform: translateX(4px);
}

/* ===== Card Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.card-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== Car Card ===== */
.car-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.car-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 124, 89, 0.2);
}

.car-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--gray-100);
}

.car-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.car-card:hover .car-card-image img {
    transform: scale(1.06);
}

.car-card-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.3rem 0.75rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.car-card-badge.promo {
    background: var(--danger);
}

.car-card-content {
    padding: var(--spacing-lg);
}

.car-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
}

.car-card-title {
    font-size: 1.1875rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

.car-card-title a:hover {
    color: var(--primary);
}

.car-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gray-200);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.8125rem;
    color: var(--gray-600);
    font-weight: 400;
}

.spec-item svg {
    width: 15px;
    height: 15px;
    color: var(--primary-light);
}

.car-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.car-card-price {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-period {
    font-size: 0.7rem;
    color: var(--gray-500);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.price-original {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

/* ===== Activity Card ===== */
.activity-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(74, 124, 89, 0.2);
}

.activity-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}

.activity-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.activity-card:hover .activity-card-image img {
    transform: scale(1.06);
}

.activity-card-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: 0.3rem 0.75rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.activity-card-content {
    padding: var(--spacing-lg);
}

.activity-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-primary);
}

.activity-card-title {
    font-size: 1.1875rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

.activity-card-title a:hover {
    color: var(--primary);
}

.activity-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 400;
}

.meta-item svg {
    width: 15px;
    height: 15px;
    color: var(--primary-light);
}

.activity-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--gray-200);
}

.activity-card-price {
    display: flex;
    flex-direction: column;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.125rem;
    max-width: 580px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    margin-top: 80px;
}

.site-footer.no-gap {
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    font-weight: 400;
    color: var(--gray-500);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 17px;
    height: 17px;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-500);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--gray-500);
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--secondary);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--gray-600);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a:hover {
    color: var(--primary-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 3.25rem; }
}

@media (max-width: 768px) {
    :root { --header-height: 68px; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        padding: var(--spacing-xl);
        background: var(--white);
        box-shadow: var(--shadow-xl);
        overflow-y: auto;
        z-index: 1001;
        transition: right 0.3s ease;
    }

    .main-nav.active { right: 0; }

    .nav-links {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
        margin-top: var(--spacing-2xl);
    }

    .nav-links a {
        font-size: 1rem;
        padding: var(--spacing-md);
        width: 100%;
        border-radius: var(--radius-md);
    }

    .mobile-menu-btn { display: flex; }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 280px;
        bottom: 0;
        background: rgba(28, 32, 23, 0.45);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-overlay.active { opacity: 1; visibility: visible; }

    .header-actions .btn { display: none; }

    .hero {
        min-height: auto;
        padding: calc(var(--header-height) + var(--spacing-2xl)) 0 var(--spacing-2xl);
    }

    .hero h1 { font-size: 2.5rem; }
    .hero-description { font-size: 1rem; }
    .hero-stats { flex-wrap: wrap; gap: var(--spacing-lg); }
    .stat-item { flex: 1 1 40%; }
    .stat-value { font-size: 2rem; }

    .card-grid, .card-grid-4 { grid-template-columns: 1fr; }
    .section { padding: var(--spacing-2xl) 0; }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--spacing-xl); }
    .footer-brand { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--spacing-md); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-muted { color: var(--gray-500); }
.bg-light { background-color: var(--gray-100); }
.bg-dark { background-color: var(--gray-900); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.fade-in { animation: fadeIn 0.5s ease forwards; }
.slide-up { animation: slideUp 0.5s ease forwards; }

/* ===== Loading States ===== */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== Prose ===== */
.prose { line-height: 1.75; color: var(--gray-700); }
.prose p { margin-bottom: 1.25em; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    margin-top: 1.5em; margin-bottom: 0.75em;
    font-weight: 600; line-height: 1.3;
    color: var(--gray-900);
}
.prose h1 { font-size: 2em; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.25em; }
.prose h4 { font-size: 1.125em; }
.prose ul, .prose ol { margin-bottom: 1.25em; padding-left: 1.5em; }
.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }
.prose li { margin-bottom: 0.5em; }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--primary); text-decoration: underline; }
.prose a:hover { color: var(--primary-dark); }
.prose blockquote {
    padding-left: 1em;
    border-left: 3px solid rgba(74, 124, 89, 0.4);
    font-style: italic;
    margin: 1.5em 0;
    color: var(--gray-600);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { padding: 0.75em; border: 1px solid var(--gray-300); }
.prose th { background-color: var(--gray-100); font-weight: 600; }

/* ===== Detail Page Variables (Natural / Earthy) ===== */
:root {
    --detail-page-bg: #F5F7F2;
    /* morning dew — cool sage white */
    --detail-card-radius: 12px;
    /* soft organic edges */
    --detail-card-shadow: 0 4px 16px -2px rgba(74, 124, 89, 0.10);
    /* gentle green-tinted shadow */
    --detail-card-border: 1px solid #EBF0E4;
    /* soft fern border */
    --detail-booking-shadow: 0 8px 28px -4px rgba(74, 124, 89, 0.18);
    /* stronger for sidebar card */
    --detail-spec-bg: #FEFDF9;
    --detail-spec-radius: 10px;
    --detail-spec-icon-bg: linear-gradient(135deg, #e8f5ec, #d1ead8);
    /* leafy icon bg */
    --detail-spec-icon-radius: 8px;
    --detail-input-radius: 8px;
    /* comfortably rounded inputs */
    --detail-thumb-radius: 8px;
    --detail-tab-indicator-height: 2px;
    --detail-car-price-bg: linear-gradient(135deg, #4A7C59, #3A6147);
    /* forest green gradient */
    --detail-activity-price-bg: linear-gradient(135deg, #4A7C59, #3A6147);
}

/* Natural: spec icon uses leaf-green background */
.spec-icon {
    background: linear-gradient(135deg, #e8f5ec, #d1ead8) !important;
    border: none !important;
}

/* Natural: booking card soft shadow + fern border */
.booking-card,
.price-card {
    box-shadow: var(--detail-booking-shadow) !important;
    border: 1px solid #EBF0E4 !important;
}

/* Natural: tabs — underline style with forest green indicator */
.car-tabs .tabs-nav,
.content-tabs .tabs-nav {
    border-bottom: 1px solid var(--gray-200);
    background: transparent;
}

.car-tabs .tab-btn.active,
.content-tabs .tab-btn.active {
    color: var(--primary);
}

/* Natural: specs grid adapts gracefully */
.specs-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)) !important;
}
