/* ============================================
   Contact Page - Matches Products/Services Design
   ============================================ */

.contact-page {
    --font-heading: 'Playfair Display', 'Cairo', Georgia, serif;
    --font-body: 'DM Sans', 'Poppins', -apple-system, sans-serif;
    --gold: #C6A87C;
    --gold-light: #d4b896;
    --forest: #0b1d16;
    --cream: #faf8f5;
    --text-secondary: #5c5c5c;
}

/* Hero */
.contact-hero {
    position: relative;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(11, 29, 22, 0.9) 0%, rgba(11, 29, 22, 0.75) 100%),
        url('../img/about-contact-hero.jpg') center/cover;
    padding: 160px 5% 80px;
}

.contact-hero__badge {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.contact-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -0.02em;
}

.contact-hero__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 12px;
}

/* Info cards */
.contact-cards {
    margin-top: -50px;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.contact-cards__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(11, 29, 22, 0.06);
    box-shadow: 0 10px 40px rgba(11, 29, 22, 0.06);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(11, 29, 22, 0.1);
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--gold);
    font-size: 1.5rem;
    border-radius: 8px;
}

.contact-card__title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.contact-card__text {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--forest);
    line-height: 1.5;
}

.contact-card__text a {
    color: inherit;
    text-decoration: none;
}

.contact-card__text a:hover {
    color: var(--gold);
}

/* Main content */
.contact-main {
    padding: 80px 5%;
}

.contact-main__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

/* Form */
.contact-form {
    background: #fff;
    padding: 48px;
    border-radius: 8px;
    border: 1px solid rgba(11, 29, 22, 0.06);
    box-shadow: 0 10px 40px rgba(11, 29, 22, 0.04);
}

.contact-form__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--forest);
    margin-bottom: 8px;
}

.contact-form__subtitle {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-form .form-control {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid rgba(11, 29, 22, 0.1);
    border-radius: 4px;
    transition: border-color 0.2s;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 8px;
}

.contact-form .form-group .error {
    font-size: 0.8125rem;
    color: #c53030;
    margin-top: 6px;
}

.contact-form__submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--gold);
    color: var(--forest) !important;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form__submit:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 168, 124, 0.35);
}

.contact-form .alert {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.contact-form .alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-form .alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Sidebar */
.contact-sidebar__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--forest);
    margin-bottom: 28px;
}

.contact-reason {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.contact-reason__icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    color: var(--gold);
    font-size: 1.25rem;
    border-radius: 8px;
}

.contact-reason__title {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 6px;
}

.contact-reason__text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Map */
.contact-map {
    width: 100%;
    height: 400px;
    border-top: 4px solid var(--gold);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-main__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 35vh;
        padding: 140px 5% 60px;
    }
    .contact-cards__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: -40px;
    }
    .contact-form {
        padding: 32px 24px;
    }
    .contact-map {
        height: 300px;
    }
}
