/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0b0f19;
    color: #f3f4f6;
    line-height: 1.6;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo .accent {
    color: #d4af37; /* Gold Accent */
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #9ca3af;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: #d4af37;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(11, 15, 25, 0.7), rgba(11, 15, 25, 0.95)), url('images/hero-bg.jpg') center/cover no-repeat;
    background-color: #0f172a;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #9ca3af;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #aa8416 100%);
    color: #0b0f19;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Car Section */
.car-section {
    padding: 100px 5%;
    background-color: #0b0f19;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-title p {
    color: #9ca3af;
    font-size: 1.1rem;
}

.car-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.car-card {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.car-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.fallback-text {
    position: absolute;
    text-align: center;
    padding: 20px;
    color: #64748b;
    font-weight: 600;
    font-size: 1.1rem;
    display: none;
    flex-direction: column;
}

.fallback-text span {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 5px;
    font-weight: 400;
}

.car-info {
    padding: 25px;
}

.car-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 20px;
}

.price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: #9ca3af;
}

.features {
    list-style: none;
    margin-bottom: 25px;
    color: #cbd5e1;
}

.features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-book {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.btn-book:hover {
    background: #d4af37;
    color: #0b0f19;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* Booking Section */
.booking-section {
    background-color: #0f172a;
    padding: 100px 5%;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.booking-container {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 45px;
    border-radius: 14px;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.booking-container h2 {
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
}

.booking-container p {
    text-align: center;
    color: #9ca3af;
    margin-bottom: 35px;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 14px;
    background-color: #0b0f19;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 1rem;
    color: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
}

.form-group select option {
    background-color: #0f172a;
    color: #ffffff;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #25D366 0%, #1cbd5a 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Footer */
footer {
    background-color: #0b0f19;
    color: #64748b;
    text-align: center;
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hidden for basic mobile fallback responsive layout */
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .booking-container {
        padding: 25px 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}
