:root {
    --primary-color: #000000;
    --secondary-color: #1a1a1a;
    --accent-color: #D4AF37; /* Gold */
    --accent-color-hover: #b5952f;
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --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);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.text-center {
    text-align: center;
}

.highlight {
    color: var(--accent-color);
}

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

.bg-dark {
    background-color: var(--secondary-color);
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
}

.section-heading {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.sub-heading {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.separator {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

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

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

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

.full-width {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

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

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    text-align: center;
}

.mobile-menu li {
    margin: 20px 0;
}

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
}

.mobile-menu a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

/* Founder Section */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.founder-image img {
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--accent-color);
}

.founder-info .description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.designation {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

/* Featured Cars */
.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.car-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.car-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.car-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.car-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-img-wrapper img {
    transform: scale(1.1);
}

.car-details {
    padding: 20px;
}

.car-name {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.car-price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.car-specs span i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* Highlights */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: var(--secondary-color);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.card-img {
    height: 200px;
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-overlay i {
    font-size: 3rem;
    color: var(--accent-color);
}

.card-content {
    padding: 20px;
    text-align: center;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Booking Section */
.booking-wrapper {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-body);
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Reviews */
.reviews-slider {
    overflow: hidden;
}

.review-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.review-track::-webkit-scrollbar {
    height: 5px;
}

.review-track::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

.review-card {
    min-width: 350px;
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    scroll-snap-align: center;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.review-header img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.review-header h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stars {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: #050505;
    padding: 80px 0 20px;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-col h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-col ul li i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Collection Page Styles */
.page-header {
    height: 50vh;
    background: url('https://images.unsplash.com/photo-1533473359331-0135ef1b58bf?q=80&w=1920&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-header .hero-title {
    opacity: 1;
    transform: none;
}

.collection-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.sidebar {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: 80vh;
    overflow-y: auto;
}

/* Scrollbar for sidebar */
.sidebar::-webkit-scrollbar {
    width: 5px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 5px;
}

.sidebar h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--glass-border);
}

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

.filter-group label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-group label:hover {
    color: var(--accent-color);
}

.filter-group input {
    margin-right: 10px;
}

/* Detail Page Styles */
.car-detail-container {
    padding: 150px 0 100px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.detail-image img {
    border-radius: 10px;
    width: 100%;
}

.detail-info h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.detail-price {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
}

.spec-item i {
    color: var(--accent-color);
    margin-right: 10px;
}

.detail-desc {
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Animations Initial States */
.reveal-section {
    opacity: 0;
    transform: translateY(50px);
}

/* Responsive */
@media (max-width: 992px) {
    .collection-layout {
        grid-template-columns: 1fr;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
}
