* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #1a1a1a;
    --accent: #00d4ff;
    --white: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #666;
    --text: #333;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-lg: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px var(--shadow);
    z-index: 1000;
    transition: all 0.3s;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    font-size: 32px;
    transition: transform 0.3s;
}

.nav-logo:hover .logo-icon {
    transform: scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 11px;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 102, 255, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-full {
    width: 100%;
}

/* Quick Booking Bar */
.quick-booking {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 20px;
    max-width: 1000px;
    width: 90%;
}

.booking-input {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-input label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.booking-input input {
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.booking-input input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-end;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 100px 20px;
    background: var(--gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 15px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow);
}

.feature-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary);
}

.feature-card p {
    color: var(--gray-dark);
    font-size: 14px;
}

/* Cars Section */
.cars {
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--secondary);
}

.section-description {
    font-size: 18px;
    color: var(--gray-dark);
}

.cars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.car-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.4s;
    position: relative;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px var(--shadow-lg);
}

.car-card.featured {
    border: 3px solid var(--primary);
}

.car-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-card.featured .car-badge {
    background: var(--accent);
    color: var(--secondary);
}

.car-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.car-card:hover .car-image img {
    transform: scale(1.1);
}

.car-content {
    padding: 30px;
}

.car-category {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.car-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary);
}

.car-description {
    color: var(--gray-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--gray);
    border-radius: 12px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
}

.spec-icon {
    font-size: 18px;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 2px solid var(--border);
}

.car-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
}

.price-period {
    font-size: 14px;
    color: var(--gray-dark);
}

.rent-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.rent-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

.how-it-works .section-header {
    color: var(--white);
}

.how-it-works .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.how-it-works .section-title {
    color: var(--white);
}

.how-it-works .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 25px;
}

.step-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.step-card p {
    color: var(--gray-dark);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: var(--gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--secondary);
}

.contact-info > p {
    font-size: 18px;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-item .icon {
    font-size: 28px;
    background: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary);
}

.info-item p {
    color: var(--gray-dark);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.contact-form-wrapper h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--secondary);
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: var(--primary);
}

#contactForm textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--secondary);
    padding: 40px 20px;
    text-align: center;
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: rgba(255, 255, 255, 0.7);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: block;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    opacity: 0;
    display: none;
}

.modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: all 0.3s ease-in-out;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
    color: var(--gray-dark);
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

.modal h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--secondary);
}

#bookingForm input,
#bookingForm select,
#bookingForm textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

#bookingForm input:focus,
#bookingForm select:focus,
#bookingForm textarea:focus {
    outline: none;
    border-color: var(--primary);
}

#bookingForm textarea {
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
    }

    .quick-booking {
        flex-direction: column;
        padding: 20px;
    }

    .search-btn {
        width: 100%;
        align-self: stretch;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .car-name {
        font-size: 22px;
    }

    .modal {
        padding: 30px 20px;
    }

    .contact-info h2 {
        font-size: 32px;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}