/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #fff;
    background-color: #000;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1 {
    font-family: 'Bruno Ace', sans-serif; /* Futuristic font */
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 400;
}

p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 15px 60px;
}

.nav-left {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-center {
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    padding: 8px 8px;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.nav-links a:hover, .nav-links a.active {
    background: rgba(255, 255, 255, 0.15);
}

.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.btn-contact {
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 35px;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    /* Ensure image exists or fallback to black */
    background-color: #000;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url('../images/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.hero-content {
    max-width: 950px;
    z-index: 2;
    margin-top: 40px; 
    animation: fadeIn 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 50px;
}

.btn-primary {
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(120, 120, 120, 0.6); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #000; 
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(140, 140, 140, 0.8);
    transform: translateY(-2px);
}

/* Sparkle */
.sparkle {
    position: absolute;
    bottom: 50px;
    right: 50px;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 0.3; }
}
/* Vehicles Section */
.vehicles-section {
    background-color: #fff;
    color: #000;
    padding: 100px 60px;
}

.vehicles-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title.left-align {
    text-align: left;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vehicle-card {
    background: #f4f4f4;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.vehicle-image {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.vehicle-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vehicle-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.vehicle-info p {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.5;
    margin: 0 0 30px 0;
    max-width: none;
    flex: 1;
}

.vehicle-action {
    display: flex;
    justify-content: flex-end;
}

.btn-black-pill {
    background: #000;
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-black-pill:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Pourquoi Nous Section */
.why-us {
    background-color: #f4f4f4;
    color: #000;
    padding: 100px 60px;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 400;
}

.why-us-content {
    display: flex;
    gap: 50px;
    align-items: stretch;
}

.features-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.feature-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 45px;
    height: auto;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
}

.feature-card p {
    font-size: 0.9rem;
    color: #000;
    line-height: 1.5;
    margin: 0;
    max-width: none;
}

.why-us-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.why-us-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transform: scale(1.25) translateX(10%);
    transform-origin: right center;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
    color: #000;
    padding: 100px 60px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #e2e2e2;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.stars {
    color: #000;
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.5;
    margin: 0;
    max-width: none;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    background-color: #000;
    color: #fff;
    padding: 100px 60px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
}

.contact-content .section-title {
    margin-bottom: 20px;
    color: #fff;
}

.contact-content p {
    margin: 0 auto 40px auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    cursor: pointer;
    border: none;
    margin-top: 10px;
    align-self: center;
}

.form-result {
    margin-top: 15px;
    font-size: 0.9rem;
    display: none;
}
.form-result.success {
    color: #4CAF50;
    display: block;
}
.form-result.error {
    color: #f44336;
    display: block;
}


/* CTA Section */
.cta-section {
    background-color: #fff;
    padding: 20px 60px 100px;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cta-card {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../images/BMW.png');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h2 {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.2;
}

.cta-content p {
    font-family: 'Bruno Ace', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.cta-card .sparkle {
    bottom: 30px;
    right: 30px;
}

.cta-card .btn-black-pill {
    padding: 18px 45px;
    font-size: 1.05rem;
}

/* Footer Section */
.footer {
    background-color: #fff;
    color: #000;
    padding: 60px 20px 20px;
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-divider {
    border: none;
    border-top: 1px solid #000;
    margin: 30px 0;
}

.footer-top-text {
    text-align: center;
    max-width: 800px;
    margin: 40px auto 60px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #000;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.nav-col {
    flex: 0 0 150px;
    margin-right: 100px;
}

.contact-col {
    flex: 0 0 250px;
    margin-right: auto;
}

.footer-col h4 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: #000;
}

.footer-col ul {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.footer-col li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #000;
}

.footer-col a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-col a:hover {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.footer-social a {
    color: #000;
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: #000;
    padding: 10px 0;
}

/* Motion Graphics Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Card Hover Effects */
.vehicle-card, .feature-card, .testimonial-card {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.vehicle-card:hover, .feature-card:hover, .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Image zoom effect on hover for vehicles */
.vehicle-image img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.08);
}

/* Responsive - iPad / Tablet */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    .navbar {
        padding: 20px 40px;
    }
    .navbar.scrolled {
        padding: 15px 40px;
    }
    .nav-links a {
        padding: 10px 18px;
    }
    
    /* Pourquoi Nous Responsive */
    .why-us {
        padding: 80px 40px;
    }
    .why-us-content {
        flex-direction: column;
    }
    .why-us-image {
        justify-content: center;
        margin-top: 40px;
    }
    
    /* Vehicles Responsive */
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Testimonials Responsive */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* CTA Responsive */
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
        margin-bottom: 20px;
    }
    p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .desktop-break {
        display: none;
    }
    
    .navbar {
        padding: 15px 20px;
    }
    .navbar.scrolled {
        padding: 15px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 320px;
        padding: 16px 20px;
    }
    
    .nav-left, .nav-right {
        flex: auto;
    }
    
    .nav-right {
        display: none; /* Hide contact button on small mobile or move to menu */
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile Menu Open State */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav-center {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.4s ease;
        z-index: 999;
    }

    .nav-center.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        background: none;
        border: none;
        backdrop-filter: none;
        padding: 0;
        gap: 30px;
        width: 100%;
    }

    .nav-links a {
        font-size: 1.5rem;
        padding: 15px;
        width: 100%;
        text-align: center;
    }

    .sparkle {
        bottom: 20px;
        right: 20px;
        width: 32px;
        height: 32px;
    }

    /* Pourquoi Nous Mobile Responsive */
    .why-us {
        padding: 60px 20px;
    }
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
        text-align: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Vehicles Mobile Responsive */
    .vehicles-section {
        padding: 60px 20px;
    }
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials Mobile Responsive */
    .testimonials-section {
        padding: 60px 20px;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    /* CTA Mobile Responsive */
    .cta-section {
        padding: 10px 20px 60px;
    }
    .cta-card {
        padding: 50px 20px;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
    .cta-content p {
        font-size: 0.95rem;
    }
    /* Footer Mobile Responsive */
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .nav-col, .contact-col {
        margin-right: 0;
    }
    .footer-social {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    /* Contact Mobile Responsive */
    .contact-section {
        padding: 60px 20px;
    }
    .form-row {
        flex-direction: column;
    }
}
