/**
 * ==============================================================================
 * FilterFlights - Contact Us Page Stylesheet
 * File: public/assets/css/contact.css
 * ==============================================================================
 */

/* ------------------------------------------------------------------------------
   1. HERO BANNER
   ------------------------------------------------------------------------------ */
.ff-contact-hero {
    background: radial-gradient(circle at 15% 25%, rgba(2, 132, 199, 0.15) 0%, transparent 45%),
                linear-gradient(135deg, #091322 0%, #0d213a 60%, #0a192f 100%);
    padding: 3.25rem 0 3.75rem;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ff-contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.6;
    pointer-events: none;
}

.ff-contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    background: rgba(2, 132, 199, 0.18);
    border: 1px solid rgba(2, 132, 199, 0.4);
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.ff-contact-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.ff-contact-highlight {
    background: linear-gradient(135deg, #38bdf8 0%, #22c55e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ff-contact-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #cbd5e1;
    max-width: 680px;
    margin-bottom: 2rem;
}

/* ------------------------------------------------------------------------------
   2. TOUCHPOINT CARDS GRID
   ------------------------------------------------------------------------------ */
.ff-touchpoints-section {
    padding: 3rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.ff-touchpoints-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.ff-touchpoint-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
}

.ff-touchpoint-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.ff-touchpoint-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.15rem;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-purple { background: #ede9fe; color: #7c3aed; }

.ff-touchpoint-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.ff-touchpoint-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.ff-touchpoint-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.ff-touchpoint-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    min-height: 44px;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    touch-action: manipulation;
    transition: all 0.2s ease;
}

.btn-blue { background: #0284c7; color: #ffffff; }
.btn-blue:hover { background: #0369a1; color: #ffffff; }

.btn-green { background: #16a34a; color: #ffffff; }
.btn-green:hover { background: #15803d; color: #ffffff; }

.btn-outline { background: #ffffff; border: 1px solid #cbd5e1; color: #334155; }
.btn-outline:hover { background: #f1f5f9; color: #0f172a; }

/* ------------------------------------------------------------------------------
   3. MAIN CONTACT SECTION (FORM + MAP / ADDRESS)
   ------------------------------------------------------------------------------ */
.ff-contact-main-section {
    padding: 4.5rem 0 5.5rem;
    background-color: var(--color-bg-alt, #f8fafc);
}

.ff-contact-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Inquiry Form Card */
.ff-contact-form-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.ff-form-header {
    margin-bottom: 2rem;
}

.ff-form-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.ff-form-subheading {
    font-size: 0.95rem;
    color: #64748b;
}

.ff-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.ff-field-wrap {
    margin-bottom: 1.25rem;
}

.ff-field-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.45rem;
}

.ff-field-label .req {
    color: #ef4444;
}

.ff-input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.ff-input-with-icon i {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.ff-contact-input,
.ff-contact-select,
.ff-contact-textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.6rem;
    font-size: 0.95rem;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s ease;
}

.ff-contact-textarea {
    padding-left: 1rem;
    resize: vertical;
    min-height: 120px;
}

.ff-contact-input:focus,
.ff-contact-select:focus,
.ff-contact-textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.ff-input-with-icon:focus-within i {
    color: #0284c7;
}

.ff-btn-submit-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
    transition: all 0.25s ease;
}

.ff-btn-submit-contact:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}

.ff-submit-success-card {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    padding: 2.25rem 2rem;
    text-align: center;
}

.ff-success-icon-wrap {
    width: 64px;
    height: 64px;
    background: #22c55e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.ff-success-heading {
    font-size: 1.4rem;
    font-weight: 800;
    color: #14532d;
    margin-bottom: 0.5rem;
}

.ff-success-text {
    font-size: 0.95rem;
    color: #166534;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

/* ------------------------------------------------------------------------------
   4. BUSINESS ADDRESS & GOOGLE MAPS CARD
   ------------------------------------------------------------------------------ */
.ff-contact-info-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    margin-bottom: 2rem;
}

.ff-info-header-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.ff-address-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.ff-address-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.ff-address-item i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #e0f2fe;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.ff-address-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.ff-address-val {
    font-size: 0.95rem;
    color: #0f172a;
    line-height: 1.5;
}

.ff-address-val a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.ff-address-val a:hover {
    text-decoration: underline;
}

/* Map Frame */
.ff-map-embed-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 280px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.ff-map-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ff-map-overlay-badge {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.ff-map-overlay-badge i {
    color: #ef4444;
}

/* ------------------------------------------------------------------------------
   5. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------------------------ */
@media (max-width: 1024px) {
    .ff-touchpoints-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ff-contact-layout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .ff-contact-hero {
        padding: 2.5rem 0;
    }

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

    .ff-touchpoints-grid {
        grid-template-columns: 1fr;
    }

    .ff-contact-form-card,
    .ff-contact-info-card {
        padding: 1.5rem;
    }

    .ff-form-grid-2 {
        grid-template-columns: 1fr;
    }
}
