/* ========================================
   TURFSPOT PREMIUM HERO SECTION
   Modern, Centered, Fully Responsive
   ======================================== */

/* Hero Section - Full Screen with Background */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1624880357913-a8539238245b?w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    padding-top: 70px; /* Account for fixed navbar */
}

/* Dark Green Overlay - Subtle to keep image visible */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 31, 27, 0.3), rgba(52, 168, 126, 0.25));
    z-index: 1;
}

/* Hero Content - Centered */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 90%;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

/* Hero Title */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3),
                 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out;
}

/* Hero Subtitle */
.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 500;
    color: #E9F6F0;
    line-height: 1.6;
    margin: 0;
    max-width: 650px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Premium Search Box */
.hero-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1),
                0px 8px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-search:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.12),
                0px 12px 48px rgba(0, 0, 0, 0.1);
}

/* Search Input Group */
.search-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    background: #F8F9FA;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    background: #FFFFFF;
    border-color: #34A87E;
    box-shadow: 0 0 0 4px rgba(52, 168, 126, 0.1);
}

.search-input-group i {
    color: #34A87E;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.search-input-group input,
.search-input-group select {
    border: none;
    background: transparent;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1A1F1B;
    width: 100%;
    flex: 1;
}

.search-input-group input::placeholder {
    color: #6B7280;
    font-weight: 400;
}

.search-input-group select {
    cursor: pointer;
    padding-right: 0.5rem;
}

.search-input-group select option {
    padding: 0.5rem;
}

/* Search Button */
.hero-search .btn-primary {
    background: linear-gradient(135deg, #34A87E, #2E9370);
    color: #FFFFFF;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 168, 126, 0.3);
}

.hero-search .btn-primary:hover {
    background: linear-gradient(135deg, #3FC490, #34A87E);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 168, 126, 0.4);
}

.hero-search .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(52, 168, 126, 0.3);
}

.hero-search .btn-primary i {
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-search {
        padding: 1.25rem;
    }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 70px 1rem 2rem;
        background-attachment: scroll;
    }
    
    .hero-content {
        width: 95%;
        padding: 1.5rem;
        gap: 1.75rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-search {
        flex-direction: column;
        padding: 1.25rem;
        gap: 12px;
    }
    
    .search-input-group {
        width: 100%;
        padding: 0.85rem 1rem;
    }
    
    .hero-search .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
}

/* Mobile (max-width: 520px) */
@media (max-width: 520px) {
    .hero {
        min-height: 100vh;
        padding: 70px 0.75rem 1.5rem;
    }
    
    .hero-content {
        width: 100%;
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
        letter-spacing: -0.3px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-search {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .search-input-group {
        padding: 0.75rem 0.9rem;
        border-radius: 10px;
    }
    
    .search-input-group i {
        font-size: 1rem;
    }
    
    .search-input-group input,
    .search-input-group select {
        font-size: 0.9rem;
    }
    
    .hero-search .btn-primary {
        padding: 0.9rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }
}

/* Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-search {
        padding: 0.85rem;
    }
    
    .search-input-group {
        padding: 0.7rem 0.85rem;
        gap: 10px;
    }
    
    .hero-search .btn-primary {
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}
