
/* ===== Hero Section Variables ===== */
:root {
    --hero-primary: #2563eb;
    --hero-primary-dark: #1d4ed8;
    --hero-secondary: #64748b;
    --hero-bg: #f8fafc;
    --hero-text: #0f172a;
    --hero-text-light: #475569;
    --hero-border: #e2e8f0;
    --hero-white: #ffffff;
    --hero-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --hero-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 20px 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== Hero Content ===== */
.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--hero-white);
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
    color: #fbbf24;
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* ===== Search Form ===== */
.hero-search-form {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.search-wrapper {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr auto;
    gap: 15px;
    background: var(--hero-white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: var(--hero-shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 15px;
    width: 20px;
    height: 20px;
    color: var(--hero-secondary);
    pointer-events: none;
}

.search-input,
.search-select {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid var(--hero-border);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--hero-text);
    background: var(--hero-white);
    transition: all 0.3s ease;
    outline: none;
}

.search-input:focus,
.search-select:focus {
    border-color: var(--hero-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input::placeholder {
    color: var(--hero-text-light);
}

.search-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--hero-primary);
    color: var(--hero-white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--hero-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.search-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Popular Searches ===== */
.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.popular-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

.popular-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--hero-white);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popular-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ===== Hero Stats ===== */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--hero-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ===== Background Shapes ===== */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -75px;
    animation-delay: 10s;
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .search-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .search-btn {
        grid-column: 1 / -1;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 15px 60px;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .search-wrapper {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 10px;
    }

    .search-input,
    .search-select {
        padding: 12px 12px 12px 40px;
        font-size: 0.95rem;
    }

    .search-btn {
        padding: 12px 24px;
        justify-content: center;
    }

    .popular-searches {
        margin-top: 20px;
    }

    .popular-tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }
}

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

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

    .stat-number {
        font-size: 1.75rem;
    }

    .popular-searches {
        flex-direction: column;
        align-items: flex-start;
    }
}