/* Hero Styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Header height */
    background: var(--bg-color);
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    /* box-shadow: 0 20px 40px var(--shadow-color); */
}

/* Features Grid */
.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 0;
    border-top: none;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
        min-height: 85svh;
        align-items: center;
    }

    .hero-grid {
        display: block;
        /* Remove grid to allow absolute positioning of image */
        margin-bottom: 2rem;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        text-align: left;
        max-width: 100%;
    }

    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        margin: 0;
        max-width: none;
    }

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
        opacity: 0.4;
        /* Dim image for text readability */
    }

    /* Add gradient overlay */
    .hero-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, var(--bg-color) 10%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
        z-index: 1;
    }

    /* Ensure image stays behind content */
    .hero-image img {
        position: relative;
        z-index: 0;
    }

    .hero-title {
        font-size: 2.5rem;
        position: relative;
        z-index: 2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        position: relative;
        z-index: 2;
    }

    .hero-actions {
        position: relative;
        z-index: 2;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        text-align: left;
        margin-top: 2rem;
        position: relative;
        z-index: 2;
    }
}