/* ==========================================================================
   Soul Meet India — Hero Banner Styles
   ========================================================================== */

:root {
    --color-primary: #ff5a5f;
    --color-primary-dark: #e8474c;
    --color-accent: #29b6c9;
    --color-accent-dark: #1f96a6;
    --color-text: #333333;
    --color-text-light: #6b6b6b;
    --color-border: #e6e6e6;
    --max-width: 1180px;
    --font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ---------------------------------------------------------------------- */
/* Banner shell                                                            */
/* ---------------------------------------------------------------------- */

.hero-banner {
    position: relative;
    min-height:85vh;
    display: flex;
    align-items: flex-end;
    background-image: url('../images/hero-couple.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #2a2420; /* fallback while image loads / if missing */
    font-family: var(--font-family);
    overflow: hidden;
}

.hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

.hero-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px 56px;
    text-align: center;
}

/* ---------------------------------------------------------------------- */
/* Headline                                                                 */
/* ---------------------------------------------------------------------- */

.hero-banner__title {
    margin: 0;
    color: #fff;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-banner__subtitle {
    margin: 16px 0 32px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------------------- */
/* Search bar                                                              */
/* ---------------------------------------------------------------------- */

.hero-search {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(4px);
    border-radius: 14px;
    padding: 20px;
    text-align: left;
}

.hero-search__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-search__field label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-search__field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    min-width: 150px;
    padding: 12px 36px 12px 14px;
    border: none;
    border-radius: 6px;
    background: #fff 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='%23333' d='M2.5 4.5L6 8l3.5-3.5z'/%3E%3C/svg%3E") no-repeat right 14px center;
    font-size: 15px;
    color: var(--color-text);
    cursor: pointer;
}

.hero-search__field select:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 1px;
}

.hero-search__field--age .hero-search__age-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-search__field--age select {
    min-width: 90px;
}

.hero-search__to {
    color: #fff;
    font-size: 14px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-search__submit {
    padding: 13px 32px;
    border: none;
    border-radius: 6px;
    background: var(--color-accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.hero-search__submit:hover {
    background: var(--color-accent-dark);
}

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */

/* Large tablet / small desktop */
@media (max-width: 1024px) {
    .hero-banner {
        min-height: 620px;
    }

    .hero-banner__title {
        font-size: 48px;
    }

    .hero-banner__subtitle {
        font-size: 18px;
    }

    .hero-search {
        gap: 14px;
    }

    .hero-search__field select {
        min-width: 130px;
    }
}

/* Tablet: search fields wrap into two rows, fields grow to share width */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 560px;
        align-items: flex-end;
    }

    .hero-banner__content {
        padding: 32px 16px 40px;
    }

    .hero-banner__title {
        font-size: 36px;
    }

    .hero-banner__subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-search {
        justify-content: flex-start;
        border-radius: 12px;
    }

    .hero-search__field {
        flex: 1 1 45%;
        min-width: 140px;
    }

    .hero-search__field select {
        width: 100%;
        min-width: 0;
    }

    .hero-search__submit {
        flex: 1 1 100%;
    }
}

/* Mobile: single-column stacked form */
@media (max-width: 480px) {
    .hero-banner {
        min-height: 520px;
    }

    .hero-banner__content {
        padding: 24px 12px 32px;
        text-align: left;
    }

    .hero-banner__title {
        font-size: 30px;
        text-align: center;
    }

    .hero-banner__subtitle {
        font-size: 14px;
        text-align: center;
    }

    .hero-search {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }

    .hero-search__field {
        flex: 1 1 auto;
        width: 100%;
    }

    .hero-search__field--age .hero-search__age-range {
        width: 100%;
    }

    .hero-search__field--age select {
        flex: 1;
        min-width: 0;
    }

    .hero-search__submit {
        width: 100%;
    }
}