/* Reset & Base Styles */
:root {
    --primary-color: #2c3e50;
    /* Dark Slate Blue - Professional & Elegant */
    --accent-color: #800020;
    /* Burgundy Red - requested by user */
    --light-bg: #f4f6f7;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    /* Dark Theme Variables for Inner Pages */
    --primary-gold: var(--accent-color);
    --dark-bg: #2c3e50;
    --dark-surface: #34495e;
    --text-light: #ecf0f1;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Navigation */
.navbar {
    position: fixed;
    /* Fixed for scrolling */
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: 0.3s;
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

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

.btn-nav {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    border: none;
    transition: 0.3s;
}

.btn-nav:hover {
    background-color: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.btn-nav:after {
    display: none;
    /* No underline for button */
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    /* Slightly shorter to encourage scroll */
    min-height: 600px;
    display: flex;
    align-items: center;
    /* Background Image: Clean road/map vibe */
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Light overlay for readability */
    background: rgba(255, 255, 255, 0.3);
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 50px;
    padding-top: 60px;
    /* Account for fixed header */
}

/* Hero Text */
.hero-text {
    flex: 1;
    max-width: 600px;
    color: var(--text-dark);
}

.subtitle {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--primary-color);
}

.description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 500px;
    font-weight: 500;
    line-height: 1.8;
}

/* Features List */
.features-list {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.gold-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
    background: #fff;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Booking Widget */
.booking-widget {
    flex: 0 0 400px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.widget-header {
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.widget-header h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.widget-header p {
    font-size: 0.8rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-size: 0.8rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group label i {
    color: var(--primary-color);
    margin-right: 5px;
    width: 15px;
}

.input-group input,
.input-group select {
    background: var(--light-bg);
    border: 1px solid transparent;
    padding: 15px;
    border-radius: 6px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: 0.3s;
    font-weight: 500;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

.input-row {
    display: flex;
    gap: 15px;
}

.input-row .input-group {
    flex: 1;
}

.btn-gold {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
}

.btn-gold:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(230, 126, 34, 0.3);
}

/* Page Header */
.page-header {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-title {
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-title h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-title .subtitle {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* White Page Header (Aesthetic Update) */
.page-header-white {
    padding: 120px 0 60px;
    background-color: #fff;
    text-align: center;
    position: relative;
}

.page-header-white h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 800;
}

.page-header-white .subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Service Cards */
.service-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Vehicle Cards */
.vehicle-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.vehicle-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vehicle-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9rem;
}

.spec-item i {
    color: var(--primary-color);
}

.vehicle-desc {
    color: #666;
    margin-bottom: 30px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item h3 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-item p {
    color: #333;
    font-size: 1rem;
}

/* New Sections for Homepage Scroll */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.check-list {
    margin-top: 20px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
}

.check-item i {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
}

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

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .navbar {
        padding: 10px 0;
    }

    .logo {
        gap: 10px;
        font-size: 0.9rem;
        /* Smaller font on mobile */
        max-width: 80%;
        /* Prevent overflow */
    }

    .nav-logo {
        height: 40px !important;
        /* Smaller logo on mobile */
    }

    .hero {
        height: auto;
        padding-bottom: 40px;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
        /* Reduced padding */
    }

    .page-header-white {
        padding: 100px 0 40px;
        /* Adjusted for mobile */
    }

    .page-header-white h1 {
        font-size: 2.2rem;
        /* Smaller H1 */
    }

    .hero-text {
        margin-bottom: 40px;
    }

    .features-list {
        justify-content: center;
    }

    .feature-item {
        align-items: center;
    }

    .booking-widget {
        width: 100%;
        max-width: 450px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 60px;
        /* Adjusted for smaller navbar */
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 20px;
        z-index: 999;
    }

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

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        flex-direction: column;
    }
}

/* Hamburger Menu */
.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-color);
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-item {
    margin-bottom: 30px;
}

.contact-textarea {
    background: var(--light-bg);
    border: 1px solid transparent;
    padding: 15px;
    border-radius: 6px;
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    resize: vertical;
    transition: 0.3s;
}

.contact-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
}

/* Service Grid (Inner Pages) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Vehicle Styles (Inner Pages) */
.vehicle-image {
    flex: 1;
    min-height: 300px;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    /* Allow items to wrap on small screens */
}

@media (max-width: 768px) {
    .vehicle-card {
        flex-direction: column;
    }

    .vehicle-image {
        height: 250px;
    }
}

/* Reservation Page */
.reservation-page {
    min-height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?q=80&w=2021&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px;
}

.reservation-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px;
}

/* Utility Classes for Clean HTML */
.btn-gold-inline {
    display: inline-block;
    width: auto;
    margin-top: 30px;
    border-radius: 50px;
    padding: 12px 30px;
    text-align: center;
}

.text-sm-gray {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

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

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

.text-center-mt40 {
    text-align: center;
    margin-top: 40px;
}

/* Sticky Mobile Call Button */
/* Sticky Mobile Call Button */
.mobile-cta-btn {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
    transform: none;
    background-color: var(--accent-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease-in-out;
    opacity: 1;
    pointer-events: auto;
}

.mobile-cta-btn.btn-hidden {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

@media (max-width: 968px) {
    .mobile-cta-btn {
        display: flex;
    }

    .hamburger {
        display: block !important;
        /* Force visibility */
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 2001;
        /* Above navbar background and sticky button */
    }

    .hamburger .bar {
        background-color: var(--primary-color) !important;
        /* Force color */
    }
}

@media (max-width: 968px) {
    .mobile-cta-btn {
        display: flex;
    }

    .hamburger {
        display: block !important;
        /* Force visibility */
        position: absolute;
        top: 25px;
        right: 20px;
        z-index: 2001;
        /* Above navbar background and sticky button */
    }

    .hamburger .bar {
        background-color: var(--primary-color) !important;
        /* Force color */
    }
}

/* Vehicle Gallery Layout */
.vehicle-layout-grid {
    display: flex;
    gap: 40px;
    align-items: start;
}

.gallery-wrapper {
    flex: 1;
}

/* Mobile Responsive Gallery */
@media (max-width: 768px) {
    .vehicle-layout-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .gallery-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }

    .vehicle-image img {
        width: 100%;
        height: auto;
    }

    .vehicle-info {
        width: 100%;
        padding: 0 5px;
        box-sizing: border-box;
    }

    .vehicle-info h2,
    .vehicle-info p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        max-width: 100%;
    }
}