/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

:root {
    --primary: #002b5c;
    /* Navy Blue */
    --primary-dark: #001f42;
    --secondary: #ff7200;
    /* Orange */
    --secondary-hover: #e66700;
    --dark: #1f2937;
    --light: #f3f4f6;
    --white: #ffffff;
    --gray: #6b7280;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    --radius: 0.25rem;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: var(--secondary);
    /* Orange buttons for CTA */
    color: var(--white);
}

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

.btn-secondary {
    background-color: var(--primary);
    /* Blue buttons */
    color: var(--white);
}

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

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

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

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Navbar */
.navbar {
    background-color: var(--primary);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.nav-cta {
    background-color: var(--secondary);
    color: var(--white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 700;
}

.nav-cta:hover {
    background-color: var(--secondary-hover);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    /* Background handled inline for asset path */
    color: var(--white);
    padding: 8rem 0 10rem;
    /* Extra padding bottom for overlap */
    position: relative;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Widget */
.search-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: -6rem;
    /* Overlap hero */
    position: relative;
    z-index: 10;
}

.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-group {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.search-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0.25rem;
    font-weight: 700;
    text-transform: uppercase;
}

.search-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    background-color: #f9fafb;
    font-weight: 500;
}

.search-btn {
    align-self: flex-end;
    padding: 1rem 2rem;
    background-color: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    min-width: 150px;
}

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--secondary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
}

/* Cards */
.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 4rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #e5e7eb;
}

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

.card-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 1.5rem;
    text-align: center;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.card-price {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.card-btn {
    display: block;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
}

.card-btn:hover {
    background-color: var(--primary-dark);
}


/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: auto;
}

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

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 700;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .nav-cta {
        display: inline-block;
        width: auto !important;
        margin: 1rem 0;
    }

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

    .hero {
        padding: 6rem 0 8rem;
    }

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

    .search-widget {
        margin-top: -4rem;
        padding: 1.5rem;
    }

    .search-form {
        flex-direction: column;
        gap: 1rem;
    }

    .search-btn {
        width: 100%;
        margin-top: 1rem;
    }

    /* Service Page Responsive */
    .service-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .service-sidebar {
        width: 100%;
        position: static;
        order: 2;
        /* Put sidebar below content on mobile */
    }

    .service-content {
        order: 1;
        width: 100%;
    }

    .service-images-grid {
        grid-template-columns: 1fr;
    }

    .features-row {
        gap: 2rem;
    }

    .feature-box {
        min-width: 100%;
    }
}

/* Catalog Layout */
.catalog-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.filters-sidebar {
    width: 300px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.filters-header h3 {
    color: var(--primary);
    font-weight: 800;
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group h4 {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.range-slider {
    margin-bottom: 1rem;
}

.range-slider input {
    width: 100%;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 600;
}

.full-width {
    width: 100%;
}

.catalog-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Redesigned Vehicle Card */
.vehicle-card-redesigned {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
    border: 1px solid #f1f1f1;
}

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

.vehicle-badge {
    position: absolute;
    top: 1rem;
    left: 0;
    background-color: var(--dark);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.vehicle-image-container {
    height: 250px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9fafb;
}

.vehicle-image-container img {
    max-height: 100%;
    object-fit: contain;
}

.vehicle-info {
    padding: 1.5rem;
    text-align: center;
}

.vehicle-info h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.vehicle-price {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.vehicle-price .amount {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
}

.vehicle-specs {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.reserve-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    width: 100%;
    border-radius: var(--radius);
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.reserve-btn:hover {
    background-color: var(--primary-dark);
}

/* Responsive Catalog */
@media (max-width: 992px) {
    .catalog-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
    }

}

/* Service Page Styles */
.service-hero {
    padding: 8rem 0;
    color: white;
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    margin-bottom: 0;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 43, 92, 0.7);
    /* Overlay */
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero p {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.service-features {
    background: white;
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

.features-row {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-box {
    flex: 1;
    min-width: 250px;
}

.feature-icon-circle {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-box p {
    font-size: 0.9rem;
    color: var(--gray);
}

.service-layout {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.service-content {
    flex: 2;
}

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

.service-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.service-images-grid img {
    border-radius: var(--radius);
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-sidebar {
    flex: 1;
    position: sticky;
    top: 100px;
}

.reservation-widget-sidebar {
    background: var(--primary);
    padding: 2rem;
    border-radius: var(--radius);
    color: white;
}

.reservation-widget-sidebar h3 {
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.reservation-widget-sidebar .form-group {
    margin-bottom: 1rem;
}

.reservation-widget-sidebar label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.reservation-widget-sidebar .form-control {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
}

.reservation-widget-sidebar .form-row {
    display: flex;
    gap: 1rem;
}

.reservation-widget-sidebar .half {
    flex: 1;
}

/* Global Form Styles */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--dark);
    background-color: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* FAQ Section */
.service-faq-section {
    background-color: var(--primary);
    padding: 5rem 0;
    color: white;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

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

    .service-hero h1 {
        font-size: 2rem;
    }
}