/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f5f5f5;
    transition: height 0.3s ease;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% center;
    z-index: 0;
    transition: all 0.3s ease;
}

.hero-content {
    position: relative;
    top: -32%;
    /* Move text higher to match image */
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1.15;
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* First line: "Rent Your Luxury Car" */
.title-black {
    color: #1a1a1a;
    margin-bottom: 2px;
}

/* Second line: "At Your Doorstep!" - maintains red emphasis */
.title-red {
    color: #ce3528;
    /* Professional red */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

.hero-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 32px;
    color: #1a1a1a;
    margin-top: 12px;
    letter-spacing: 0.5px;
    font-weight: 900;
}

.hero-highlight {
    color: var(--primary-color);
    display: inline-block;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.hero-feature:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-feature i {
    font-size: 24px;
    color: var(--primary-color);
}

.hero-feature span {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

/* ===== RESPONSIVE: Tablet 1024px ===== */
@media (max-width: 1024px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 40px;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .hero-content {
        padding: 0 30px;
    }
}

/* ===== RESPONSIVE: Tablet Portrait 768px ===== */
@media (max-width: 768px) {
    .hero {
        height: 380px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 16px;
        font-weight: 900;
        margin-top: 10px;
    }

    .hero-content {
        top: -28%;
        padding: 0 25px;
    }

    .hero-features {
        gap: 15px;
        flex-wrap: wrap;
        padding: 0 15px;
    }

    .hero-feature {
        padding: 10px 20px;
    }

    .hero-feature span {
        font-size: 15px;
    }

    .hero-feature i {
        font-size: 18px;
    }
}

/* ===== RESPONSIVE: Mobile L 425px ===== */
@media (max-width: 425px) {
    .hero {
        height: 360px;
    }

    .hero-title {
        font-size: 34px;
        line-height: 1.2;
        letter-spacing: -0.3px;
        text-shadow: 0 1px 4px rgba(255, 255, 255, 0.5);
    }

    .title-black {
        margin-bottom: 5px;
    }

    .hero-subtitle {
        font-size: 15px;
        font-weight: 900;
        margin-top: 14px;
        letter-spacing: 0;
    }

    .hero-content {
        top: -22%;
        padding: 0 15px;
    }

    .hero-features {
        display: none;
    }
}

/* ===== RESPONSIVE: Mobile M 375px ===== */
@media (max-width: 375px) {
    .hero {
        height: 340px;
    }

    .hero-title {
        font-size: 30px;
        line-height: 1.2;
        letter-spacing: -0.2px;
    }

    .title-black {
        margin-bottom: 4px;
    }

    .title-red {
        /* Ensure red emphasis is maintained with good contrast */
        text-shadow: 0 1px 4px rgba(255, 255, 255, 0.6);
    }

    .hero-subtitle {
        font-size: 14px;
        margin-top: 12px;
        font-weight: 900;
    }

    .hero-content {
        top: -20%;
        padding: 0 12px;
    }
}

/* ===== RESPONSIVE: Mobile S 320px ===== */
@media (max-width: 320px) {
    .hero {
        height: 320px;
    }

    .hero-title {
        font-size: 26px;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .title-black {
        margin-bottom: 3px;
    }

    .title-red {
        /* Stronger text shadow for legibility on small screens */
        text-shadow: 0 1px 5px rgba(255, 255, 255, 0.7);
    }

    .hero-subtitle {
        font-size: 12px;
        margin-top: 10px;
        font-weight: 900;
    }

    .hero-content {
        top: -18%;
        padding: 0 10px;
    }
}