/* Reset & Variables */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --dark: #1d3557;
    --darker: #111d2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

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

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

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

.btn-dark:hover {
    background: var(--darker);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Header & Navigation */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: 0.3s;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
        url('../img/hero-bg.jpg');
    color: var(--white);
    padding: 110px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 25px;
    color: #e2e8f0;
}

/* Booking Bar */
.booking-bar {
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.booking-form {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: end;
}

/* Sections & Grids */
.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 40px;
}

.page-header {
    background: var(--dark);
    color: var(--white);
    padding: 55px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.3rem;
    margin-bottom: 8px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Vehicle Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

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

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

.card-body {
    padding: 20px;
}

.badge {
    background: #ffe5e7;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-body h3 {
    margin: 10px 0 5px;
    color: var(--dark);
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--gray);
}

.specs {
    list-style: none;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    margin-bottom: 18px;
    font-size: 0.9rem;
    color: var(--gray);
}

/* Fleet Filters */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--dark);
    background: transparent;
    color: var(--dark);
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--dark);
    color: var(--white);
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.9rem;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

.features-list {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 4px;
}

/* Contact Page & Forms */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info h2 {
    color: var(--dark);
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 1.05rem;
}

.info-item i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
}

.contact-form-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-feedback {
    margin-top: 12px;
    font-weight: 600;
    color: #2a9d8f;
}

/* Footer & Social Media Links */
footer {
    background: var(--darker);
    color: #cbd5e1;
    padding-top: 55px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.footer-col h3 span {
    color: var(--primary);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

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

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

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

/* Responsive Design */
@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .booking-form {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--white);
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .nav-links.active {
        display: flex;
    }
    .grid-3,
    .booking-form {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2rem;
    }
}

/* WhatsApp Integration Styles */
.card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
    transform: scale(1.08);
}


/* FAQ Accordion Section */
.faq-section {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light);
}

.faq-question {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: #eef2f6;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--white);
    padding: 0 22px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 16px 22px;
    border-top: 1px solid #e2e8f0;
}

.faq-answer p {
    color: #555;
    margin: 0;
}

/* FAQ Call-to-Action */
.faq-cta {
    text-align: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.faq-cta p {
    color: var(--gray);
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.faq-cta .btn-whatsapp {
    display: inline-flex;
    padding: 14px 28px;
    font-size: 1rem;
}

/* Side-by-Side Form Fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 650px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Outline Button for View Details */
.btn-outline {
    background: transparent;
    border: 2px solid var(--dark);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

/* Vehicle Details Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 29, 46, 0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: 10px;
    max-width: 850px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(15px);
    transition: transform 0.25s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    color: var(--dark);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
}

/* Modal Multi-Photo Gallery */
.modal-gallery {
    display: flex;
    flex-direction: column;
    background: #0f172a;
}

.modal-main-image {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 290px;
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 29, 46, 0.75);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.gallery-nav:hover {
    background: var(--primary);
}

.gallery-nav.prev {
    left: 12px;
}

.gallery-nav.next {
    right: 12px;
}

.modal-thumbnails {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: var(--darker);
    overflow-x: auto;
}

.modal-thumb {
    width: 64px;
    height: 46px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: 0.2s;
    flex-shrink: 0;
}

.modal-thumb:hover,
.modal-thumb.active {
    opacity: 1;
    border-color: var(--primary);
}

@media (max-width: 720px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-main-image {
        min-height: 220px;
    }
    .modal-main-image img {
        max-height: 240px;
    }
}


.modal-details {
    padding: 28px;
}

.modal-details h2 {
    color: var(--dark);
    margin: 10px 0 4px;
    font-size: 1.7rem;
}

.modal-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: var(--light);
    padding: 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.modal-spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--dark);
    font-weight: 500;
}

.modal-spec-item i {
    color: var(--primary);
    width: 18px;
}

.modal-deposit {
    font-size: 0.92rem;
    color: var(--dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-deposit i {
    color: #2a9d8f;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 720px) {
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-image img {
        min-height: 220px;
        max-height: 250px;
    }
}

/* Stats Section */
.stats-section {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-bottom: 3px solid var(--primary);
}

.stat-item i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 500;
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* Client Testimonials Carousel/Grid */
.testimonials-section {
    background-color: var(--light);
}

.testimonials-wrapper {
    overflow: hidden;
    padding: 10px 0;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease-in-out;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    background: var(--white);
    padding: 28px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--dark);
}

.testimonial-card .stars {
    color: #f4a261;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.testimonial-card .quote {
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
    font-size: 0.98rem;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-info h4 {
    color: var(--dark);
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--gray);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 28px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--dark);
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}

.t-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 650px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}
