/**
 * Hero Section Fix
 * This file specifically fixes hero section layout issues
 */

/* Hero section fixes for desktop */
@media (min-width: 769px) {
    /* Hero section */
    .hero-section {
        position: relative;
        min-height: 600px;
        color: #ffffff;
        overflow: hidden;
    }
    
    /* Hero image */
    .hero-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.6);
    }
    
    /* Hero container */
    .hero-section .container {
        position: relative;
        z-index: 2;
        padding: 100px 20px;
    }
    
    /* Hero content */
    .hero-content {
        max-width: 900px;
        margin: 0 auto;
        text-align: center;
    }
    
    /* Hero title */
    .hero-title {
        font-size: 2.8rem !important;
        margin-bottom: 20px;
        font-weight: 700;
        color: #ffffff !important;
    }
    
    /* Hero subtitle */
    .hero-subtitle {
        font-size: 1.4rem !important;
        margin-bottom: 30px;
        opacity: 0.9;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        color: #ffffff !important;
    }
    
    /* Hero search */
    .hero-search {
        max-width: 600px;
        margin: 0 auto 40px;
        position: relative;
    }
    
    .hero-search form {
        display: flex;
    }
    
    .hero-search input {
        flex: 1;
        padding: 15px 20px;
        border: none;
        border-radius: 8px 0 0 8px;
        font-size: 16px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .hero-search button {
        padding: 15px 30px;
        background-color: #4a80f0;
        color: #ffffff;
        border: none;
        border-radius: 0 8px 8px 0;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
    }
    
    .hero-search button:hover {
        background-color: #3a70e0;
    }
    
    /* Stats counter */
    .stats-counter {
        display: flex;
        justify-content: center;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
        font-weight: 700;
        margin-bottom: 5px;
        color: #ffffff;
    }
    
    .stat-label {
        font-size: 1rem;
        opacity: 0.9;
        color: #ffffff;
    }
    
    /* Features grid */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .feature-box {
        background-color: rgba(255, 255, 255, 0.1);
        padding: 25px;
        border-radius: 8px;
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    .feature-box:hover {
        background-color: rgba(255, 255, 255, 0.2);
        transform: translateY(-5px);
    }
    
    .feature-box h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #ffffff;
    }
    
    .feature-box p {
        font-size: 0.9rem;
        opacity: 0.9;
        margin-bottom: 0;
        color: #ffffff;
    }
    
    /* Hero buttons */
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
}