/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gold accent color */
.gold-text {
    color: #c19c5b;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: black;
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.nav-logo h2 {
    
    color: #c19c5b;
    font-weight: 700;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #c19c5b;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c19c5b;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #c19c5b;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    color: white;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    color: #cccccc;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-button {
    background: linear-gradient(45deg, #c19c5b, #ffed4e);
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-button:hover {
    background: linear-gradient(45deg, #ffed4e, #c19c5b);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.button-icon {
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon {
    transform: scale(1.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-car-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-car {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    animation: float 6s ease-in-out infinite;
}

/* Price Calculator Section */
.calculator-section {
    padding: 80px 0;
    background: #111111;
    border-top: 1px solid #333;
}

.calculator-container {
    max-width: 600px;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #333;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    color: #c19c5b;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    background: #0a0a0a;
    border: 1px solid #333;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c19c5b;
}

.form-control:read-only {
    background: #1a1a1a;
    color: #cccccc;
}

.price-display {
    text-align: center;
    padding: 1.5rem;
    background: #0a0a0a;
    border-radius: 15px;
    border: 2px solid #c19c5b;
}

.price-label {
    color: #c19c5b;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.rent-calculator-btn {
    background: linear-gradient(45deg, #c19c5b, #ffed4e);
    color: #000000;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rent-calculator-btn:hover:not(:disabled) {
    background: linear-gradient(45deg, #ffed4e, #c19c5b);
    transform: translateY(-2px);
}

.rent-calculator-btn:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* Filter Section */
.filter-section {
    padding: 2rem 0;
    background: #0a0a0a;
    border-bottom: 1px solid #333;
}

.filter-container {
    text-align: center;
}

.filter-container h3 {
    margin-bottom: 1.5rem;
    color: #c19c5b;
    font-size: 1.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.filter-btn {
    background: #1a1a1a;
    border: 2px solid #333;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #c19c5b;
    color: #000000;
    border-color: #c19c5b;
    transform: translateY(-2px);
}

/* Cars Section */
.cars-section {
    padding: 80px 0;
    background: #111111;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}
.cars-grid {
    display: none;
 /* Hide scrollbar */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE and Edge */
    display: flex;               /* Flex row for horizontal layout */
    gap: 1.5rem;                 /* Space between cars */
    overflow-x: auto;            /* Enable horizontal scroll */
    scroll-snap-type: x mandatory;  /* Smooth snap scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-bottom: 1rem;        /* Padding so last card is fully visible */
}

/* Car Card Styles */
.car-card {
    background: #1a1a1a;
     min-width: 300px;            /* Fixed width for each card */
    flex-shrink: 0;              /* Prevent shrinking */
    scroll-snap-align: start;    /* Snap alignment for smooth slide */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 1;
    transform: scale(1);
    border: 1px solid #333;
}

.car-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
    border-color: #c19c5b;
}

.car-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.car-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.car-card:hover .car-image {
    transform: scale(1.1);
}

.car-info {
    padding: 1.5rem;
}

.car-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.car-category {
    display: inline-block;
    background: #c19c5b;
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.car-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.car-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #c19c5b;
}

.car-fuel {
    color: #cccccc;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.car-fuel::before {
    content: '⛽';
}

.rent-button {
    width: 100%;
    background: linear-gradient(45deg, #c19c5b, #ffed4e);
    color: #000000;
    border: none;
    padding: 0.75rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rent-button:hover {
    background: linear-gradient(45deg, #ffed4e, #c19c5b);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #0a0a0a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: #c19c5b;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 15px;
    border: 1px solid #333;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #c19c5b;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #cccccc;
    font-size: 0.9rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #c19c5b;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #c19c5b;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #cccccc;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #111111;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    color: #c19c5b;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 2rem;
}

.contact-methods {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 15px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: #c19c5b;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    text-align: center;
}

.contact-details h4 {
    color: #c19c5b;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #cccccc;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #c19c5b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffed4e;
}

.contact-form-container h3 {
    color: #c19c5b;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #c19c5b;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(45deg, #c19c5b, #ffed4e);
    color: #000000;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #ffed4e, #c19c5b);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #0a0a0a;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #c19c5b;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #c19c5b;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #c19c5b;
    color: #000000;
    border-color: #c19c5b;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #cccccc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #0a0a0a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
        border-top: 1px solid #333;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-visual {
        height: 250px;
        order: -1;
    }

    /* Form rows */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Filter */
    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    /* Cars Grid */
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* About and Contact */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Sections */
    .cars-section,
    .about-section,
    .contact-section,
    .calculator-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .car-info {
        padding: 1rem;
    }

    .car-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .calculator-container {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Smooth transitions for filtering */
.cars-grid {
    transition: all 0.3s ease;
}