/* Global Styles */
:root {
    --primary-color: #c2272c;
    --primary-color-hover: #a61b2c;
    --secondary-color: #6c757d;
    --accent-color: #c2272c;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --body-color: #ffffff;
    --text-color: #333333;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--body-color);
    padding-top: 0; /* Remove padding as navbar will be transparent */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.btn {
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important   ;
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
}

/* Navigation */
.navbar {
    padding: 1.5rem 2rem;
    transition: all 0.4s ease;
    background-color: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
    height: 30px;
    margin-right: 10px;
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.85) !important;
    padding: 0.8rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    backdrop-filter: blur(5px);
}

.navbar.scrolled .navbar-logo {
    height: 35px;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.4rem;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector button {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.9);
    margin-left: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.language-selector button:hover, 
.language-selector button.active {
    color: white;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Page Header */
.page-header {
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/backgrounds/b4.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-top: 80px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/backgrounds/image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
    max-width: 900px;
    padding: 2rem;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Reservation Form */
.reservation-form-container {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    margin-top: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.reservation-form label {
    color: white;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.reservation-form .form-control {
    height: 45px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
}

.reservation-form .btn-primary {
    height: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .reservation-form-container {
        padding: 1.5rem;
    }
    
    .reservation-form .col-md-6 {
        margin-bottom: 1rem;
    }
}

/* Highlights Section */
.highlights {
    padding: 4rem 0;
}

.highlight-box {
    text-align: center;
    padding: 2rem;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.highlight-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.highlight-box i {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.highlight-box h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Car Cards */
.car-card {
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    transition: var(--transition);
    height: 100%;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.car-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.car-details {
    padding: 1.5rem;
}

.car-details h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.car-specs {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.car-specs li {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.car-specs i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/backgrounds/b3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 5rem 0;
    margin-top: 3rem;
}

.contact-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
    background-color: #128C7E;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    padding-top: 3rem !important;
}

footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

footer ul a:hover {
    color: white;
    text-decoration: none;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.9);
}

footer a:hover {
    color: white;
}

footer p, footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

footer a:hover {
    color: white;
    text-decoration: none;
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

footer .col-md-4 {
    margin-bottom: 2rem;
}

/* Fleet Page Styles */
.filter-section {
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: var(--light-color);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    margin: 0.5rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.car-item {
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.car-item:hover {
    transform: translateY(-10px);
}

/* Pricing Page Styles */
.pricing-table {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
}

.pricing-table thead {
    background-color: var(--primary-color);
    color: white;
}

.pricing-note {
    color: var(--secondary-color);
    font-style: italic;
    margin-top: 1rem;
}

.offer-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    height: 100%;
    border: 1px solid #e0e0e0;
    transition: var(--transition);
}

.offer-card:hover {
    box-shadow: var(--box-shadow);
}

.offer-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    font-size: 0.8rem;
}

.pricing-table th {
    background-color: var(--primary-color);
    color: white;
}

.pricing-info {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.pricing-card {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.pricing-card-header {
    margin-bottom: 1.5rem;
}

.pricing-card-header h3 {
    font-weight: 700;
}

.pricing-card-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-card-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-card-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.pricing-tag {
    position: absolute;
    top: 20px;
    right: -30px;
    transform: rotate(45deg);
    background: var(--accent-color);
    color: #333;
    padding: 0.2rem 2rem;
    font-weight: 600;
    font-size: 0.8rem;
}

/* About Page Styles */
.about-story {
    margin-top: 3rem;
    padding: 3rem 0;
}

.about-mission {
    background-color: var(--light-color);
    padding: 3rem 0;
}

.why-us-item {
    text-align: center;
    margin-bottom: 2rem;
}

.icon-box {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 2rem;
}

.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid var(--light-color);
    box-shadow: var(--box-shadow);
}

.testimonials {
    background-color: var(--light-color);
    padding: 4rem 0;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    height: 100%;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    margin-top: 2rem;
}

.testimonial-stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 1rem;
}

.testimonial-author .name {
    color: var (--primary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Terms Page Styles */
.terms-block {
    margin-bottom: 3rem;
    margin-bottom: 2.5rem;
}

.terms-block h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.terms-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
    color: var(--dark-color);
}

.terms-content ul {
    margin-bottom: 2rem;
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.terms-acceptance {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
}

/* Contact Page Styles */
.contact-methods {
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.whatsapp-btn {
    background-color: #25d366;
    border-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    border-color: #128c7e;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.location-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.location-card:hover {
    box-shadow: var(--box-shadow);
    transform: translateY(-10px);
    transform: translateY(-10px);
}

.location-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.location-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Popular Cars Section Styling */
.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.section-divider {
    width: 80px;
    height: 2px;
    background-color: #e9ecef;
    margin: 1rem auto;
    position: relative;
}

.section-divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 0 15px;
}

.section-divider i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    color: #6c757d;
}

.car-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    background-color: #fff;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.car-image-container {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.car-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image-container img {
    transform: scale(1.05);
}

.car-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.car-details {
    padding: 1.5rem;
}

.car-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.car-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.car-features span {
    display: flex;
    align-items: center;
}

.car-features i {
    margin-right: 5px;
    color: var(--primary-color);
}

.car-price {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: #343a40;
}

.car-price .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.popular-cars .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.popular-cars .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

.popular-cars .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* .popular-cars .btn-primary:hover {
    background-color: #e76b00;
    border-color: #e76b00;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .car-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .car-image-container {
        height: 180px;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);
        padding: 1rem;
        border-radius: var(--border-radius);
        margin-top: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 450px;
        height: 80vh;
    }
    
    .page-header {
        padding: 4rem 0 2rem;
        height: 40vh;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-buttons a {
        width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .highlight-box {
        margin-bottom: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 1s ease-out;
}

