/* Modern Hero Section Styles */
.hero-modern {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: -85px;
    /* Negative margin to pull hero under navbar */
    padding-top: 85px;
    /* Padding to prevent content from being hidden under navbar */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-title-modern {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.search-box-modern {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 50px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.search-form-modern {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.form-control-modern {
    flex: 1;
    min-width: 150px;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    background: white;
    color: #374151;
    transition: all 0.3s;
    cursor: pointer;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-control-modern:hover {
    border-color: var(--primary);
}

.btn-search-modern {
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-search-modern:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-modern {
        min-height: 500px;
    }

    .hero-title-modern {
        font-size: 2rem;
    }

    .hero-subtitle-modern {
        font-size: 1rem;
    }

    .search-box-modern {
        border-radius: 20px;
        padding: 1rem;
    }

    .search-form-modern {
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-control-modern {
        width: 100%;
        min-width: 100%;
    }

    .btn-search-modern {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 1.75rem;
    }

    .hero-subtitle-modern {
        font-size: 0.9375rem;
    }
}