/* =====================================================
   AZAL Airlines - Premium Contact Page
   Matches the Services Page design language
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

body {
    background-color: #f4f7fa;
    font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}

/* ========== HERO SECTION ========== */
.contact-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(135deg, #020c24 0%, #0a1f4a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    direction: rtl;
}

/* Elegant gold lines in background */
.hero-circles {
    position: absolute;
    right: -10%;
    top: -50%;
    width: 60%;
    height: 200%;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 23, 0.15);
    box-shadow: 0 0 0 40px rgba(212, 160, 23, 0.08),
                0 0 0 80px rgba(212, 160, 23, 0.05),
                0 0 0 120px rgba(212, 160, 23, 0.03);
    z-index: 1;
}

.contact-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(to left, rgba(2, 12, 36, 0.95) 0%, rgba(10, 31, 74, 0.5) 100%);
    z-index: 2;
}

.hero-plane-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    margin-right: 0;
    margin-left: auto;
}

.hero-subtitle {
    color: #d4a017;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

/* ========== CONTACT WRAPPER ========== */
.contact-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding-bottom: 80px;
    direction: rtl;
}

.contact-container-box {
    background: #ffffff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(10, 31, 74, 0.06);
    display: flex;
}

/* ========== CONTACT INFO SIDE ========== */
.contact-info-side {
    background: linear-gradient(135deg, #020c24 0%, #0a1f4a 100%);
    color: #fff;
    padding: 60px 50px;
    width: 40%;
    position: relative;
    overflow: hidden;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.contact-info-side::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.1) 0%, rgba(212, 160, 23, 0) 70%);
    border-radius: 50%;
}

.contact-info-side h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.contact-info-side > p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 2;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

.info-icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(212, 160, 23, 0.15);
    color: #d4a017;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon-wrap svg {
    width: 24px;
    height: 24px;
}

.info-text-wrap h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.info-text-wrap p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ========== FORM SIDE ========== */
.contact-form-side {
    padding: 60px 50px;
    width: 60%;
    background: #ffffff;
}

.contact-form-side h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #020c24;
    margin-bottom: 10px;
}

.contact-form-side > p {
    color: #6c7a9c;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 700;
    color: #0a1f4a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.premium-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #eef2f7;
    border-radius: 12px;
    background: #f8fafc;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 1rem;
    color: #020c24;
    transition: all 0.3s ease;
}

.premium-input:focus {
    outline: none;
    border-color: #d4a017;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

.premium-input::placeholder {
    color: #a0aec0;
}

select.premium-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c7a9c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
    padding-left: 40px;
}

textarea.premium-input {
    resize: vertical;
    min-height: 150px;
}

.btn-gold {
    background: linear-gradient(90deg, #d4a017, #e6b32b);
    color: #020c24 !important;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(212, 160, 23, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 160, 23, 0.4);
}

/* Alert styles */
.alert {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeInDown 0.5s ease forwards;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== MAP SECTION ========== */
.map-section {
    padding-bottom: 80px;
}

.map-container {
    border-radius: 30px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 20px 40px rgba(10, 31, 74, 0.08);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-wrapper {
        margin-top: -40px;
    }
    .contact-container-box {
        flex-direction: column;
    }
    .contact-info-side {
        border-top-right-radius: 30px;
        border-top-left-radius: 30px;
        border-bottom-right-radius: 0;
    }
    .contact-info-side, .contact-form-side {
        width: 100%;
        padding: 30px 20px;
    }
    .info-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .info-card {
        flex: 1 1 calc(50% - 13px);
    }
}

@media (max-width: 768px) {
    .contact-hero { height: 45vh; min-height: 320px; }
    .hero-title { font-size: 2rem; line-height: 1.3; }
    .hero-subtitle { font-size: 1rem; }
    .hero-desc { font-size: 0.9rem; }
    .hero-content { max-width: 100%; padding: 0 10px; }
    .contact-wrapper { margin-top: -20px; }
    .form-grid { grid-template-columns: 1fr; }
    .info-cards { flex-direction: column; }
    .info-card { flex: 1 1 100%; padding: 15px; }
    .info-card h4 { font-size: 0.9rem; }
    .info-card p { font-size: 0.8rem; }
    .contact-info-side, .contact-form-side { padding: 25px 15px; }
    .contact-form-side h2 { font-size: 1.3rem; }
    .map-container { height: 250px; }
    .map-container iframe { height: 250px; }
}

@media (max-width: 480px) {
    .contact-hero { height: 40vh; min-height: 280px; }
    .hero-title { font-size: 1.7rem; }
    .hero-desc { font-size: 0.8rem; }
    .contact-info-side, .contact-form-side { padding: 20px 12px; }
    .premium-input, .premium-textarea { padding: 12px 15px; font-size: 0.9rem; }
    .map-container { height: 200px; }
    .map-container iframe { height: 200px; }
}
