/* ========================================
   contact.css - Alliance Global
   Contact Page Styles
   ======================================== */

/* Page Hero & Breadcrumb styles moved to style.css */

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 60px 0;
    background: var(--bg-light);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* ========================================
   CONTACT INFO (Left Side)
   ======================================== */
.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    padding: 36px 32px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(183, 147, 72, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info .section-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    padding: 6px 14px;
    background: rgba(183, 147, 72, 0.15);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
    width: fit-content;
}

.contact-info .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.contact-info .section-title em {
    font-style: italic;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Info Items */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(183, 147, 72, 0.3);
    transform: translateX(4px);
}

.info-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.info-icon.whatsapp {
    background: rgba(37, 211, 102, 0.2);
    color: var(--whatsapp);
}

.info-item:hover .info-icon {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.05);
}

.info-text h4 {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.info-text p {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.info-text a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: var(--accent);
}

/* ========================================
   CONTACT FORM (Right Side)
   ======================================== */
.contact-form-wrapper {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-header {
    margin-bottom: 24px;
}

.form-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.form-header p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}

/* Form Alert */
.form-alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeInDown 0.4s ease;
}

.form-alert.success {
    background: var(--success-bg);
    color: #155724;
    border: 1px solid var(--success-border);
}

.form-alert.error {
    background: var(--error-bg);
    color: #721c24;
    border: 1px solid var(--error-border);
}

/* Form Groups */
.form-group {
    margin-bottom: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Inline Validation */
.form-input.error {
    border-color: var(--error);
    background: var(--error-bg);
}

.form-input.error:focus {
    box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.1);
}

.form-input.success {
    border-color: var(--success);
}

.form-input.success:focus {
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
}

.error-message {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: fadeInDown 0.3s ease;
}

.form-group label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.required {
    color: var(--error);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-light);
    transition: color 0.3s ease;
    z-index: 2;
}

.textarea-wrapper .input-icon {
    top: 18px;
    transform: none;
}

.form-input {
    width: 100%;
    padding: 14px 16px 14px 46px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--text-light);
}

.form-input:focus {
    border-color: var(--accent);
    background: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(183, 147, 72, 0.12);
}

.form-input:focus + .input-icon,
.form-input:focus ~ .input-icon {
    color: var(--accent);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--bg-white);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(7, 41, 98, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(7, 41, 98, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section {
    position: relative;
    padding: 0;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1200px;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 0;
}

/* CTA styles moved to style.css */

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 28px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .map-wrapper iframe {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 30px 0;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .info-item {
        padding: 10px 12px;
    }

    .info-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 14px;
    }
}
