/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: linear-gradient(135deg, var(--background) 0%, #E0E7FF 100%);
    overflow: hidden;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    animation: slideInLeft 0.8s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    animation: fadeInRight 1s ease-out;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    transform: scale(1.1);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    text-align: center;
    background: white;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card img {
    width: 100%;
    border-radius: 8px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 1rem 0;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 4rem 5%;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .features h2 {
        font-size: 1.8rem;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}

.hero-primary-btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.hero-placeholder-img {
    background: url('/storage/cars/inova%20reborn.jpg') no-repeat center center / cover;
    width: 100%;
    max-width: 600px;
    height: 400px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: inline-block;
}

.car-meta-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.price-suffix {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.btn-full-width {
    width: 100%;
    text-align: center;
}

.empty-car-card {
    grid-column: 1 / -1;
    text-align: center;
    background: #FFFBEB;
    border: 1px solid #FCD34D;
}

.empty-car-text {
    color: #B45309;
    padding: 2rem;
}

.features-bg {
    background: var(--background);
}

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

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-desc {
    color: var(--text-muted);
}