/* ===== CSS Variables ===== */
:root {
    --primary: #c9a227;
    --primary-dark: #a68521;
    --secondary: #0a0a0a;
    --accent: #1a1a1a;
    --text-dark: #ffffff;
    --text-light: #a0a0a0;
    --white: #ffffff;
    --black: #000000;
    --gradient: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    --gold-gradient: linear-gradient(135deg, #c9a227 0%, #f0d875 50%, #c9a227 100%);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 10px 40px rgba(201, 162, 39, 0.3);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.logo-icon {
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary);
    color: var(--black) !important;
    padding: 12px 28px;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background: var(--primary-dark);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 100%;
    padding: 0 2rem;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
}

.hero-stats .stat {
    text-align: left;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { opacity: 1; height: 60px; }
    50% { opacity: 0.5; height: 40px; }
}

/* ===== Brand Strip ===== */
.brand-strip {
    background: var(--accent);
    padding: 1.5rem 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.strip-content {
    display: flex;
    gap: 3rem;
    animation: scroll 25s linear infinite;
    white-space: nowrap;
}

.strip-content span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 3px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--black);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--accent);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay .car-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}

.gallery-overlay p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== Featured Section ===== */
.featured {
    padding: 8rem 2rem;
    background: var(--accent);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-card {
    background: var(--secondary);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 162, 39, 0.3);
}

.featured-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 6px 14px;
    background: var(--primary);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-badge.hot {
    background: #e74c3c;
    color: var(--white);
}

.featured-content {
    padding: 2rem;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.featured-content .car-brand {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.car-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.featured-content h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.featured-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.car-specs {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--white);
}

.spec-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== About Section ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary);
    color: var(--black);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content .section-title {
    text-align: left;
}

.about-content .section-subtitle {
    display: block;
    text-align: left;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--accent);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.feature p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

/* ===== Testimonials ===== */
.testimonials {
    padding: 8rem 2rem;
    background: var(--accent);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.testimonial-card.featured {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.05);
}

.testimonial-card.featured .stars {
    color: var(--black);
}

.testimonial-card.featured p {
    color: rgba(0, 0, 0, 0.8);
}

.testimonial-card.featured .author-name {
    color: var(--black);
}

.testimonial-card.featured .author-title {
    color: rgba(0, 0, 0, 0.6);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.stars {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.7;
}

.author-name {
    display: block;
    color: var(--white);
    font-weight: 600;
}

.author-title {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ===== Newsletter ===== */
.newsletter {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(0, 0, 0, 0.7);
    margin-bottom: 2rem;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    max-width: 350px;
    padding: 16px 24px;
    border: none;
    background: var(--white);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}

.newsletter-form .btn-primary {
    background: var(--black);
    color: var(--white);
}

.newsletter-form .btn-primary:hover {
    background: var(--secondary);
}

/* ===== Contact Section ===== */
.contact {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--accent);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.contact-hours h4 {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.contact-hours p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--accent);
    color: var(--white);
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: var(--transition);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .btn {
    align-self: flex-start;
}

/* ===== Footer ===== */
.footer {
    background: var(--accent);
    padding: 5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-light);
    max-width: 300px;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column a {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-subtitle,
    .about-content .section-title {
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .testimonial-card.featured {
        transform: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 2rem;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .about-badge {
        right: 20px;
        bottom: -20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        max-width: 100%;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature {
        flex-direction: column;
        text-align: center;
    }

    .car-specs {
        flex-wrap: wrap;
        justify-content: center;
    }
}
