/* Root Variables */
:root {
    --primary: #d9480f; /* Darker orange for 4.5:1+ contrast on white */
    --secondary: #9a3412; /* Richer terracotta for better contrast */
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #4b5563; /* Darker gray for 4.5:1+ contrast on light backgrounds */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Accessibility */
:focus-visible {
    outline: 3px solid rgba(255, 140, 0, 0.65);
    outline-offset: 3px;
}

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

ul {
    list-style: none;
}

/* Common Layout */
.section {
    padding: 70px 5%;
}

.bg-light {
    background: var(--light);
}

.section-title {
    text-align: center;
    font-size: 2.1rem;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    max-width: 850px;
    margin: 0 auto 30px;
}

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    padding: 10px 5%;
    font-size: 0.8rem;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

.burger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 8px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px;
    transition: var(--transition);
}

/* Mobile Menu Animation */
@media (max-width: 768px) {
    .nav-links {
        /* Slide-in panel: keep it renderable, hide via transform */
        position: fixed;
        right: 0px;
        top: 0;
        height: 100vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(360px, 82vw);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.5s ease-in, visibility 0.5s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: 80px; /* Space for burger if fixed top */
        z-index: 1001;
    }
    
    .nav-links li {
        margin: 20px 0;
    }

    .nav-active {
        transform: translateX(0%);
        visibility: visible;
        pointer-events: auto;
    }

    .burger {
        display: block;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .line2 {
        opacity: 0;
    }
    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    background: url('assets/stock/hero-delhi.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-sm {
    padding: 8px 15px;
    background: var(--primary);
    color: var(--white);
    border-radius: 5px;
    font-size: 0.9rem;
    display: inline-block;
}

/* WhatsApp Highlight Button */
.btn-whatsapp {
    background: #25d366 !important;
    color: white !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    animation: pulse-whatsapp 2s infinite;
}

.btn-whatsapp:hover {
    background: #128c7e !important;
    transform: scale(1.05);
}

@keyframes pulse-whatsapp {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Categories Section */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.cat-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: grid;
    grid-template-rows: 140px 1fr;
    min-height: 220px;
}

.cat-card:hover {
    transform: translateY(-6px);
}

.cat-media {
    background-size: cover;
    background-position: center;
    position: relative;
}

.cat-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
}

.cat-meta {
    padding: 16px 16px 18px;
    text-align: left;
}

.cat-title {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.cat-title i {
    color: var(--primary);
}

.cat-desc {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Fleet Card Image Refinement */
.fleet-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #fdfdfd;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Hero Section Refinement */
.hero {
    height: 80vh;
    background: url('assets/stock/hero-delhi.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--secondary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-info {
    padding: 20px;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Fleet Grid */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.fleet-card {
    text-align: center;
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.fleet-card img.fleet-photo {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
    background: #f2f2f2;
}

.fleet-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: var(--gray);
    font-size: 0.9rem;
}

.fleet-card .icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.fleet-price {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--secondary);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    display: flex;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.blog-img {
    flex: 1;
    min-height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-info {
    flex: 1.5;
    padding: 20px;
}

.read-more {
    display: block;
    margin-top: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--dark);
    color: #bbb;
    padding: 80px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.socials a,
.socials span {
    font-size: 1.5rem;
    color: var(--white);
}

.location-highlight {
    background: rgba(255, 140, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Sticky Actions */
.sticky-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.call { background: #007bff; }
.whatsapp { background: #25d366; }

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-btns { flex-direction: column; align-items: center; }
    .blog-card { flex-direction: column; }
    .top-bar { display: none; }
}

/* Testimonials Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: #ffffff; /* Fallback */
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Fallback */
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease; /* Fallback */
    transition: var(--transition);
    color: #1a1a1a; /* Fallback */
    color: var(--dark);
    text-align: left;
}

.review-card:hover {
    transform: translateY(-5px);
}

.reviewer-info {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

.reviewer-stars {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 4px;
}

.review-text {
    font-style: italic;
    color: var(--dark);
    line-height: 1.7;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; }
