/* ============================================================
   Adventure Cab Service — Design Tokens & Custom Styles
   Tailwind (CDN) handles utility classes; this file carries the
   brand tokens, the route-line signature motif, and anything
   Tailwind's default utility set can't express cleanly.
============================================================ */

:root {
    /* BRAND */
    --primary: #253A74;
    --primary-hover: #1F3265;
    --primary-light: #4964A6;
    --primary-soft: #EAF0FA;

    --secondary: #51657E;
    --secondary-light: #8091A7;

    --accent: #4B6E91;
    --accent-light: #DCE8F5;

    /* BACKGROUNDS */
    --bg: #FAFBFD;
    --surface: #FFFFFF;
    --surface-2: #F4F7FB;
    --surface-3: #EDF2F8;
    --card: #FFFFFF;

    /* TEXT */
    --text: #1B2430;
    --text-light: #58677D;
    --text-muted: #7D8898;
    --text-white: #FFFFFF;

    /* BORDERS */
    --border: #E4EAF3;
    --border-light: #F1F4F8;
    --border-dark: #C7D1DF;

    /* STATUS */
    --success: #4D9078;
    --warning: #C9913D;
    --danger: #C65A5A;
    --info: #4E7CA8;

    /* BUTTONS */
    --btn-primary: var(--primary);
    --btn-primary-hover: var(--primary-hover);
    --btn-secondary: #EEF3FA;
    --btn-secondary-hover: #E3EBF6;

    /* SHADOWS */
    --shadow-sm: 0 2px 8px rgba(37, 58, 116, 0.06);
    --shadow: 0 10px 30px rgba(37, 58, 116, 0.10);
    --shadow-lg: 0 18px 45px rgba(37, 58, 116, 0.14);

    /* GRADIENTS */
    --gradient-primary: linear-gradient(135deg, #2C437D 0%, #3D5D9A 100%);
    --gradient-light: linear-gradient(180deg, #FFFFFF 0%, #F3F7FC 100%);
    --gradient-dark: linear-gradient(135deg, #243B75 0%, #1A274A 100%);

    /* GLASS */
    --glass: rgba(255,255,255,0.72);
    --glass-border: rgba(255,255,255,0.35);

    /* RADIUS */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-pill: 999px;

    /* TRANSITIONS */
    --transition: all .3s ease;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    background: var(--bg);
    color: var(--text);
}

h1, h2, h3, h4, h5, .font-display {
    font-family: 'Poppins', sans-serif;
}

/* ============================================================
   SIGNATURE ELEMENT — The Route Line
   A dashed highway line with waypoint dots and a travelling car
   marker. Used as a section divider and inside route/place cards
   to visualise the journey (origin -> distance -> destination).
   Echoes the brief's own routes: Delhi -> Agra -> Jaipur/Vrindavan.
============================================================ */
.route-divider {
    position: relative;
    width: 100%;
    height: 40px;
    overflow: hidden;
}
.route-divider svg { width: 100%; height: 100%; display: block; }
.route-divider .route-path {
    stroke: var(--border-dark);
    stroke-width: 2;
    stroke-dasharray: 10 10;
    fill: none;
    animation: route-dash 3s linear infinite;
}
.route-divider .route-car {
    animation: route-drive 6s ease-in-out infinite;
}
@keyframes route-dash {
    to { stroke-dashoffset: -40; }
}
@keyframes route-drive {
    0%   { transform: translateX(0); }
    50%  { transform: translateX(calc(100vw - 120px)); }
    100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
    .route-divider .route-path,
    .route-divider .route-car { animation: none; }
}

.route-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.75rem;
}
.route-mini .route-line {
    flex: 1;
    height: 0;
    border-top: 2px dashed var(--border-dark);
    position: relative;
    min-width: 30px;
}
.route-mini .route-line::after {
    content: '';
    position: absolute;
    right: -2px;
    top: -4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}
.route-mini .route-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-outline {
    background: transparent;
    color: var(--text-white);
    border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}
.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-secondary {
    background: var(--btn-secondary);
    color: var(--primary);
}
.btn-secondary:hover { background: var(--btn-secondary-hover); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

/* ============================================================
   CARDS
============================================================ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.card-img-zoom { overflow: hidden; }
.card-img-zoom img { transition: transform .6s ease; }
.card-img-zoom:hover img { transform: scale(1.08); }

/* ============================================================
   GLASSMORPHISM MODAL
============================================================ */
.glass-modal {
    background: var(--glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
}
.modal-overlay {
    background: rgba(27, 36, 48, 0.55);
    backdrop-filter: blur(4px);
}

/* ============================================================
   STICKY FLOATING BUTTONS
============================================================ */
.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.floating-btn:hover { transform: scale(1.1); }

/* ============================================================
   HEADER
============================================================ */
.site-header {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.nav-link {
    position: relative;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
}
.nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--primary);
    transition: width .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ============================================================
   MISC
============================================================ */
.hero-overlay {
    background: linear-gradient(180deg, rgba(27,36,48,0.55) 0%, rgba(27,36,48,0.35) 45%, rgba(27,36,48,0.85) 100%);
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.section-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--primary);
    display: inline-block;
}
.star-rating i { color: var(--warning); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 10px; }

.skeleton-img {
    background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
