:root {
    --primary-color: #D4AF37;
    /* Gold */
    --primary-dark: #C5A028;
    --bg-dark: #121212;
    --bg-light: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background-color: var(--text-white);
    margin: 0 auto 15px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--bg-dark);
}

.btn-gold {
    background-color: var(--primary-color);
    color: var(--bg-dark);
    font-size: 1.2rem;
    margin-top: 20px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo - Bigger */
.logo img {
    height: 90px;
    border-radius: 15px;
    /* Rounded corners */
    transition: var(--transition);
}

.nav-links {
    display: flex;
    /* Sidebar fix */
}

.title {
    color: var(--primary-color);
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-white);
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    transition: var(--transition);
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    /* Slightly larger */
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('../assets/images/hero_car.png') no-repeat center center/cover;
    /* New 4K Image */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    /* Updated gradient */
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero h1 {
    font-size: 5rem;
    /* Larger title */
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.8rem;
    /* Larger text */
    margin-bottom: 50px;
    color: #e0e0e0;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
}

/* Services */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Slightly wider cards */
    gap: 40px;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 50px 30px;
    /* More padding */
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    border-color: #333;
    /* Border handled by top line */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

.service-card .icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.6rem;
    color: var(--text-white);
}

.service-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../assets/images/unnamed.webp') no-repeat center center/cover;
    /* Parallax effect bg */
    background-attachment: fixed;
    text-align: center;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.cta-content h2 {
    font-size: 2.2rem;
    color: var(--text-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content h3 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    max-height: 85vh;
    object-fit: contain;
    animation: zoomIn 0.4s;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 60px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

/* Pricing */
.pricing {
    background-color: var(--bg-light);
}

.pricing-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.pricing-card {
    background-color: var(--bg-dark);
    padding: 50px 40px;
    border-radius: 12px;
    flex: 1;
    min-width: 320px;
    max-width: 400px;
    border: 1px solid #333;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.1);
    background-color: #1a1a1a;
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1000px) {
    .pricing-card.featured {
        transform: none;
    }
}

.pricing-card h3 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #444;
}

.pricing-card ul {
    text-align: left;
}

.pricing-card li {
    padding: 18px 0;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 1.05rem;
}

.pricing-card li span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contact */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.info-item:hover {
    transform: translateX(10px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--text-white);
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    flex: 1.5;
    min-width: 300px;
    background: var(--bg-light);
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px;
    background-color: var(--bg-dark);
    border: 2px solid #333;
    color: var(--text-white);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Map */
.map-container {
    filter: invert(90%) hue-rotate(180deg);
    /* Darker map theme */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
    background-color: #050505;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-left: 25px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Pop Animations */
.scroll-pop {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-pop.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.hero h1,
.hero p,
.hero-buttons {
    /* Initial load animation */
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero p {
    animation-delay: 0.4s;
}

.hero-buttons {
    animation-delay: 0.6s;
}


/* Responsive */
@media (max-width: 768px) {
    .logo img {
        height: 70px;
        /* Smaller logic on mobile but still prominent */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .cta-content h3 {
        font-size: 2.5rem;
    }

    .lightbox-content {
        width: 95%;
    }
}