/* ============================================================
   Faida360 - Contact Page Stylesheet
   Imports landing.css for shared styles
============================================================ */
@import url('landing.css');

/* ============================================================
   CONTACT HERO - Background image, no carousel
============================================================ */
.contact-hero {
    position: relative;
    height: 380px;
    background-image: url('https://images.unsplash.com/photo-1611348586804-61bf6c080437?w=1600&q=80');
    background-size: cover;
    background-position: center 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,17,23,0.75) 0%,
        rgba(13,17,23,0.55) 100%
    );
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 60px;
}

.contact-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 12px;
}
.contact-breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.contact-breadcrumb a:hover { color: var(--gold); }
.contact-breadcrumb i { font-size: 0.6rem; color: rgba(255,255,255,0.3); }

.contact-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
}
.contact-hero-title span { color: var(--gold); }

/* ============================================================
   CONTACT SECTION
============================================================ */
.contact-section { background: #f9fafb; padding: 80px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

/* Info cards */
.contact-info { display: flex; flex-direction: column; gap: 16px; }

.info-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s;
}
.info-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.info-icon {
    width: 46px; height: 46px;
    background: var(--green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
}

.info-value {
    font-size: 0.925rem;
    font-weight: 600;
    color: var(--text);
}
.info-value a { color: var(--text); transition: color 0.2s; }
.info-value a:hover { color: var(--green); }

.info-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Map card */
.map-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: 4px;
}
.map-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #1a3a2a 0%, #0d1f15 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
}
.map-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231a7a4a' fill-opacity='0.08'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.map-placeholder i { font-size: 2rem; color: var(--green); position: relative; }
.map-placeholder span { position: relative; }
.map-address {
    padding: 14px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--border);
}
.map-address i { color: var(--green); }

/* ============================================================
   CONTACT FORM
============================================================ */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}
.form-subtitle {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.form-group label span { color: var(--green); }

.form-control-f {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--text);
    background: #f9fafb;
    transition: all 0.2s;
    outline: none;
}
.form-control-f:focus {
    border-color: var(--green);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--green-glow);
}
.form-control-f::placeholder { color: #adb5bd; }

textarea.form-control-f {
    resize: vertical;
    min-height: 110px;
}

.form-select-f {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--text);
    background: #f9fafb;
    transition: all 0.2s;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}
.form-select-f:focus {
    border-color: var(--green);
    background-color: var(--white);
    box-shadow: 0 0 0 3px var(--green-glow);
}

.btn-submit {
    width: 100%;
    background: var(--green);
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-top: 8px;
}
.btn-submit:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

/* Success message */
.form-success {
    display: none;
    background: var(--green-light);
    border: 1.5px solid var(--green);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-top: 16px;
}
.form-success i {
    font-size: 2rem;
    color: var(--green);
    display: block;
    margin-bottom: 8px;
}
.form-success p {
    font-size: 0.9rem;
    color: var(--green-dark);
    font-weight: 600;
}

/* ============================================================
   HOURS / EXTRA INFO
============================================================ */
.hours-section { background: var(--white); padding: 64px 0; }

.hours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.hours-card {
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
}
.hours-icon {
    width: 48px; height: 48px;
    background: var(--green-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    font-size: 1.2rem;
    margin: 0 auto 14px;
}
.hours-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 8px; }
.hours-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   RESPONSIVE - Contact
============================================================ */
@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hours-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .contact-hero { height: 300px; }
    .contact-form-wrap { padding: 24px; }
    .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   WhatsApp Floating Button
============================================================ */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    transition: transform 0.25s ease, background 0.25s ease,
                box-shadow 0.25s ease;
    text-decoration: none;
    animation: waBounce 1.8s ease infinite;
}
.wa-float:hover {
    background: #128C7E;
    color: #fff;
    animation: none;
    transform: scale(1.12);
    box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.wa-float:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

/* Bounce animation */
@keyframes waBounce {
    0%, 100% { transform: translateY(0);    }
    20%       { transform: translateY(-10px); }
    40%       { transform: translateY(-4px);  }
    60%       { transform: translateY(-8px);  }
    80%       { transform: translateY(-2px);  }
}

/* Pulse ring */
.wa-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: waPulse 2.2s ease-out infinite;
    z-index: -1;
}
@keyframes waPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.6); opacity: 0;   }
    100% { transform: scale(1.6); opacity: 0;   }
}

.wa-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    background: #0d1117;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(6px);
    transition: all 0.2s ease;
    pointer-events: none;
}
.wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #0d1117;
}

@media (max-width: 767px) {
    .wa-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
    }
}