:root {
    --primary-color: #D4AF37;
    /* Champagne Gold */
    --secondary-color: #F9F9F5;
    /* Off-white/Cream */
    --text-color: #333333;
    /* Deep Charcoal */
    --light-text: #666666;
    --white: #FFFFFF;
    --accent-bg: #F4F1EA;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

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

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between logo image and text */
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.nav-logo-img {
    height: 50px;
    /* Adjust based on navbar height */
    width: auto;
    object-fit: contain;
}

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

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

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 10px 0;
}

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

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

/* Hero Section */
#hero {
    min-height: 100vh;
    /* Allow it to grow if needed */
    height: auto;
    background-color: var(--secondary-color);
    padding-top: 100px;
    /* Compensate for fixed header */
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background blob/gradient effect for depth */
#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    z-index: 1;
    /* Above background */
}

.hero-text {
    flex: 1;
    max-width: 50%;
    padding-right: 40px;
    animation: slideInLeft 1s ease-out;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 35px;
    max-width: 90%;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
}

.hero-logo-large {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    /* Prevent it from being too massive on huge screens */
    object-fit: contain;
    /* Optional: Subtle warmth filter to match theme if logo is stark white */
    /* filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); */
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gallery Section */
#gallery {
    background-color: var(--white);
}

.cars-grid {
    display: grid;
    /* Reduced min width for better mobile stacking */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
}

.car-card {
    background-color: var(--white);
    border: 1px solid #eee;
    transition: var(--transition);
    overflow: hidden;
}

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

.car-image {
    height: 250px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

/* Helper for images that shouldn't be cropped */
/* Helper for images that shouldn't be cropped */
.car-image img.img-contain {
    object-fit: contain;
    background-color: var(--white);
    /* Fill empty space with something nice */
}

.car-details {
    padding: 25px;
    text-align: center;
}

.car-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.car-desc {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.car-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: var(--light-text);
}

.car-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Booking Section */
#booking {
    background-color: var(--accent-bg);
}

.booking-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fcfcfc;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.success-message {
    display: none;
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

/* About Section */
#about {
    background-color: var(--white);
}

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

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

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
#contact {
    background-color: #222;
    color: var(--white);
}

#contact .section-title {
    color: var(--white);
}

#contact .section-subtitle {
    color: #aaa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.map-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    /* Dark mode map effect */
    filter: invert(90%) hue-rotate(180deg) brightness(90%) contrast(90%);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: invert(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

footer {
    background-color: #111;
    color: #666;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
}

/* Video Section Styles */
/* Video Section Styles */
#video {
    background-color: var(--accent-bg);
    /* Cream accent background */
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 15px;
    /* Creates a white photo-frame border */
    border: 1px solid rgba(212, 175, 55, 0.3);
    /* Subtle gold border */
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Premium soft shadow */
    position: relative;
}

/* Decorative element behind video */
.video-container::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    border-top: 3px solid var(--primary-color);
    border-right: 3px solid var(--primary-color);
    pointer-events: none;
}

.video-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 100px;
    height: 100px;
    border-bottom: 3px solid var(--primary-color);
    border-left: 3px solid var(--primary-color);
    pointer-events: none;
}

.video-container iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    /* Modern aspect ratio handling */
    height: auto;
    /* Allow auto height based on ratio */
    border-radius: 2px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--light-text);
}

/* Responsive */
/* Responsive */
@media (max-width: 900px) {
    #hero {
        padding-top: 100px;
        padding-bottom: 60px;
        height: auto;
        display: block;
        /* Let content flow naturally */
    }

    .hero-wrapper {
        flex-direction: column-reverse;
        /* Puts the image (2nd child) on TOP */
        gap: 30px;
    }

    .hero-text {
        max-width: 100%;
        text-align: center;
        padding-right: 0;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .hero-image-container {
        width: 100%;
        justify-content: center;
        margin-bottom: 20px;
    }

    .hero-logo-large {
        max-height: 300px;
        /* Limit height on tablet */
        width: 70%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

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

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

    .logo {
        font-size: 1.2rem;
    }

    .nav-logo-img {
        height: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-logo-large {
        width: 90%;
        /* Bigger logo on small phone screens */
        max-height: 250px;
    }

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

    .hero-text p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
}