/* ====================================================================
   CabGi / CabG - Commercial Classy Clean Responsive UI Design System
   Website: https://cabgi.in/
   ==================================================================== */

:root {
    --navy-dark: #0E1726;
    --navy-header: #101C36;
    --navy-primary: #1E293B;
    --accent-yellow: #FBBF24;
    --accent-yellow-hover: #F59E0B;
    --blue-primary: #0284C7;
    --blue-hover: #0369A1;
    
    --body-bg: #F8FAFC;
    --card-bg: #FFFFFF;
    
    --text-heading: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    
    --border-color: #E2E8F0;
    --radius-xl: 18px;
    --radius-lg: 12px;
    --radius-md: 8px;
    --radius-pill: 50px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
    --shadow-search: 0 20px 45px -10px rgba(16, 28, 54, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--body-bg);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* Global Image Containment Rule - Prevents image stretching */
img {
    max-width: 100%;
    height: auto;
}

/* Brand Typography & Accent Buttons */
.text-navy {
    color: var(--navy-header) !important;
}

.text-yellow {
    color: var(--accent-yellow) !important;
}

.btn-yellow-cta {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    color: #0F172A !important;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 26px;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-yellow-cta:hover {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #0F172A !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.45);
}

.btn-cabgi-primary {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
    color: #FFFFFF !important;
    font-weight: 800;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-cabgi-primary:hover {
    background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
}

.btn-navy-pill {
    background: var(--navy-header);
    color: #FFFFFF !important;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-pill);
    padding: 9px 24px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-navy-pill:hover {
    background: #1E293B;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

/* Top Notification Bar */
.top-nav-bar {
    background: var(--navy-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    padding: 8px 0;
    color: #CBD5E1;
}

.top-nav-bar a {
    color: #FFFFFF !important;
}

/* Header & Navbar (Original Dark Navy Theme) */
.navbar-cabgi {
    background: #101C36;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-brand-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.brand-text-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.03em;
}

.brand-text-logo .logo-g {
    color: var(--accent-yellow);
}

.brand-tagline {
    font-size: 0.725rem;
    color: #CBD5E1;
    font-weight: 600;
    margin-top: -4px;
}

.nav-link-custom {
    color: #CBD5E1 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: var(--radius-pill);
    transition: all 0.2s ease;
}

.nav-link-custom:hover, .nav-link-custom.active {
    color: var(--accent-yellow) !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(15, 23, 42, 0.85) 100%), url('../images/hero-banner.jpg') center/cover no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 50px 0 70px;
    color: #FFFFFF;
}

.hero-badge-genz {
    background: rgba(251, 191, 36, 0.18);
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #FBBF24;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    letter-spacing: -0.03em;
}

.highlight-text {
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #CBD5E1;
    font-weight: 500;
}

/* Search Engine Card */
.search-widget-card {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-search);
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: var(--text-heading);
    width: 100%;
}

.search-widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--navy-header);
}

.form-label-custom {
    font-size: 0.775rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.form-control-custom, .form-select-custom {
    background: #F8FAFC;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text-heading);
    transition: all 0.2s ease;
}

.form-control-custom:focus, .form-select-custom:focus {
    background: #FFFFFF;
    border-color: var(--navy-header);
    box-shadow: 0 0 0 4px rgba(16, 28, 54, 0.1);
    outline: none;
}

/* Multi-Stop Add Button */
.btn-add-stop {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--blue-primary);
    background: #E0F2FE;
    border: 1.5px dashed var(--blue-primary);
    border-radius: var(--radius-md);
    padding: 7px 14px;
    transition: all 0.2s ease;
}

.btn-add-stop:hover {
    background: var(--blue-primary);
    color: #FFFFFF;
}

/* Stats Counter Bar */
.stats-counter-bar {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 24px 30px;
    margin-top: -35px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.825rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Feature Cards (Popular Routes) */
.feature-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

/* Pilgrimage & Multi-Stop Circuit Cards - FIXED STRETCHING */
.circuit-card {
    background: var(--navy-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.circuit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.circuit-card-img-wrapper {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    background: #0F172A;
}

.circuit-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
}

.circuit-card:hover .circuit-card-img {
    transform: scale(1.05);
}

.circuit-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.95) 0%, transparent 60%);
}

.circuit-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--accent-yellow);
    color: #0F172A;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.circuit-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Vehicle Fleet Catalog Cards - FIXED STRETCHING */
.car-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.car-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.car-card-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 16px;
    background: #F8FAFC;
    border-bottom: 1px solid #F1F5F9;
    display: block;
}

.car-spec-pill {
    background: #E0F2FE;
    color: var(--blue-primary);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
}

/* Fleet Comparison Table */
.table-custom-comparison {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.table-custom-comparison thead {
    background: var(--navy-header);
    color: #FFFFFF;
}

.table-custom-comparison th {
    padding: 14px 16px;
    font-weight: 700;
    font-size: 0.875rem;
    border: none;
}

.table-custom-comparison td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-color);
    background: #FFFFFF;
}

.table-custom-comparison tbody tr:hover td {
    background: #F8FAFC;
}

/* Testimonials */
.testimonial-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

/* FAQ Accordion */
.accordion-cabgi .accordion-item {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-cabgi .accordion-button {
    font-weight: 700;
    font-size: 0.975rem;
    color: var(--navy-header);
    padding: 16px 20px;
    background: #FFFFFF;
}

.accordion-cabgi .accordion-button:not(.collapsed) {
    color: var(--blue-primary);
    background: #F0F9FF;
    box-shadow: none;
}

/* Footer */
.footer-cabgi {
    background: var(--navy-dark);
    color: #94A3B8;
    padding: 60px 0 30px;
    border-top: 4px solid var(--accent-yellow);
}

.footer-brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-title {
    color: #FFFFFF;
    font-weight: 800;
    font-size: 1.025rem;
    margin-bottom: 18px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    margin-bottom: 10px;
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

/* Floating Actions & Mobile Bottom Bar */
.desktop-floating-actions {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
}

.btn-call-floating {
    background: var(--navy-header);
    color: #FFFFFF !important;
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(16, 28, 54, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-floating {
    background: #25D366;
    color: #FFFFFF !important;
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    .desktop-floating-actions {
        display: none !important;
    }

    .mobile-bottom-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--navy-header);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.3);
        padding: 10px 16px;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .mobile-bottom-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 11px 8px;
        border-radius: var(--radius-md);
        font-weight: 800;
        font-size: 0.85rem;
        text-decoration: none;
    }

    .mobile-btn-call {
        background: var(--blue-primary);
        color: #FFFFFF !important;
    }

    .mobile-btn-book {
        background: var(--accent-yellow);
        color: #0F172A !important;
        flex: 1.4;
    }

    .mobile-btn-wa {
        background: #25D366;
        color: #FFFFFF !important;
    }

    body {
        padding-bottom: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }
}

/* Admin Dashboard System */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.admin-sidebar {
    width: 260px;
    min-width: 260px;
    background: #0F172A;
    color: #FFFFFF;
    min-height: 100vh;
    padding: 24px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar .nav-link {
    color: #94A3B8;
    font-weight: 600;
    font-size: 0.925rem;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.admin-sidebar .nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
}

.admin-sidebar .nav-link.active {
    color: #FFFFFF;
    background: rgba(2, 132, 199, 0.2);
    border-left-color: #0284C7;
}

.admin-content {
    flex-grow: 1;
    padding: 30px 36px;
    background: #F8FAFC;
    min-height: 100vh;
    overflow-x: hidden;
}
