/* contact-custom.css - Mavinokta Premium İletişim Sayfası */

.premium-contact-wrapper {
    background-color: #f8fafc;
}

/* ====================================================
   1. HARİTA HERO ALANI (MAP BACKGROUND)
   ==================================================== */
.contact-map-hero {
    position: relative;
    min-height: 80vh; /* Harita bölümü */
    display: flex;
    align-items: center;
    overflow: hidden; /* Taşmaları ve fazlalıkları gizle */
}

/* Google Maps altındaki logonun ve şartların görünmemesi için yüksekliği fazla tutup aşağı itiyoruz */
.map-bg-wrapper {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: -60px; /* Fazladan 60px aşağı uzat */
    z-index: 0;
}

.map-bg-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    filter: grayscale(80%) contrast(1.1);
    transition: filter 0.5s ease;
}

/* Harita olmayan durumlar için yedek arkaplan */
.map-fallback-bg {
    width: 100%;
    height: 100%;
    background: url('/images/placeholder.jpg') center/cover no-repeat;
    filter: grayscale(80%) blur(5px);
}

/* Sağdan sola karartma efekti (Kart sağa alındığı için) */
.map-overlay-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Kartın sadece arkasını hafif karartıp haritanın merkezini tamamen aydınlık bırakır */
    background: linear-gradient(-90deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0) 45%);
    pointer-events: none;
}

/* ====================================================
   2. YÜZEN BİLGİ KARTI (GLASSMORPHISM) - MASAÜSTÜ
   ==================================================== */
.contact-map-hero .container-xxl {
    pointer-events: none;
}

.glass-info-card {
    pointer-events: auto; /* Kartın içi tıklanabilir kalsın */
    background: rgba(15, 23, 42, 0.45); /* Şeffaflığı 0.45'e çektik */
    backdrop-filter: blur(12px); /* Blur azaltıldı */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.glass-info-card:hover {
    transform: translateY(-5px);
}

.badge-premium {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(5, 160, 212, 0.2);
    border: 1px solid rgba(5, 160, 212, 0.5);
    color: #38bdf8;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.glass-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

/* Info Item Düzeni */
.glass-card-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.i-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #38bdf8;
    flex-shrink: 0;
}

.i-text {
    display: flex;
    flex-direction: column;
}

.i-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.i-val {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
}

.i-val-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.i-val-link:hover {
    color: #38bdf8;
}

/* Sosyal Medya */
.glass-card-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links-glass {
    display: flex;
    gap: 15px;
}

.s-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.s-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
}

.s-btn.facebook:hover { color: #1877F2; }
.s-btn.instagram:hover { color: #E1306C; }
.s-btn.linkedin:hover { color: #0A66C2; }
.s-btn.whatsapp:hover { color: #25D366; }

/* ====================================================
   3. İLETİŞİM FORMU (BEYAZ & TEMİZ TASARIM)
   ==================================================== */
.contact-form-section {
    background-color: #f8fafc;
    position: relative;
    z-index: 5;
}

.premium-form-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.05);
}

.form-headline {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.form-subline {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 80%;
    margin: 0 auto;
}

/* Modern Input Alanları */
.modern-input-group {
    position: relative;
    margin-bottom: 10px;
}

.m-input {
    width: 100%;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 25px 20px 10px 20px;
    font-size: 1rem;
    color: #0f172a;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
}

.m-textarea {
    resize: none;
    padding-top: 30px;
}

.m-label {
    position: absolute;
    left: 20px;
    top: 18px;
    font-size: 1rem;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.3s ease;
}

.m-input:focus ~ .m-label,
.m-input:not(:placeholder-shown) ~ .m-label {
    top: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #05a0d4;
}

.m-input:focus {
    background: #ffffff;
    border-color: rgba(5, 160, 212, 0.3);
    box-shadow: 0 10px 20px rgba(5, 160, 212, 0.05);
}

/* Gönder Butonu */
.btn-premium-submit {
    background: linear-gradient(135deg, #05a0d4 0%, #1e3a5f 100%);
    color: #ffffff;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 15px 30px rgba(5, 160, 212, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.btn-premium-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(5, 160, 212, 0.4);
}

/* ====================================================
   4. MOBİL CİHAZ (RESPONSIVE) UYUMU
   ==================================================== */
@media (max-width: 991px) {
    
    /* Haritayı mobilde küçük ve üstte sabit bir blok yapalım */
    .contact-map-hero {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .map-bg-wrapper {
        position: relative;
        width: 100%;
        height: 350px;
        bottom: 0;
        overflow: hidden; /* Harita logolarını gizlemek için */
    }

    .map-bg-wrapper iframe {
        height: calc(100% + 60px) !important;
    }

    .map-overlay-gradient {
        display: none; /* Mobilde gradyana gerek yok */
    }

    /* Container'ı haritanın alt kısmına doğru hafif bindirelim */
    .contact-map-hero .container-xxl {
        position: relative;
        margin-top: -50px;
        pointer-events: auto;
        padding-top: 0 !important;
        z-index: 5;
    }

    /* Kartı mobilde tamamen açık renkli premium tasarıma geçirelim (okunabilirlik için) */
    .glass-info-card {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid rgba(0,0,0,0.05);
        color: #0f172a;
        box-shadow: 0 15px 35px rgba(0,0,0,0.08);
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    /* Kart İçi Yazı Renklerini Geri Siyaha/Laciverte Çevir (Beyaz zeminde okunsunlar diye) */
    .glass-title {
        color: #0f172a;
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .i-label {
        color: #64748b;
    }

    .i-val, .i-val-link {
        color: #1e3a5f;
    }
    
    .i-val-link:hover {
        color: #05a0d4;
    }

    .i-icon {
        background: #f8fafc;
        border-color: #e2e8f0;
        color: #05a0d4;
    }

    .glass-card-footer {
        border-top-color: #e2e8f0;
        margin-top: 20px;
        padding-top: 20px;
    }

    .s-btn {
        background: #f8fafc;
        border-color: #e2e8f0;
        color: #1e3a5f;
    }

    .s-btn:hover {
        background: #05a0d4;
        color: #ffffff;
        border-color: #05a0d4;
    }
    
    /* İletişim Formu */
    .contact-form-section {
        padding-top: 20px;
    }
    
    .premium-form-box {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .form-headline {
        font-size: 1.8rem;
    }
    
    .form-subline {
        font-size: 0.95rem;
        max-width: 100%;
    }
}
