/* ==========================================================================
   Dörtrenk Anaokulu | İletişim & Başvuru (Birleştirilmiş Premium UI)
   Yol: css/basvuru.css
   ========================================================================== */

:root {
    --c-primary: #c6d800;
    --c-primary-dark: #a1b000;
    --c-dark: #0a0f15;
    --c-text: #526070;
    --c-bg: #f8fafc;
    --c-white: #ffffff;
    
    --radius-md: 16px;
    --radius-lg: 32px;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 50px -10px rgba(0,0,0,0.12);
    --shadow-glow: 0 10px 30px rgba(198,216,0,0.3);
    --bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

.dr-apply-page { 
    position: relative; 
    padding-bottom: 100px; 
    background-color: var(--c-bg); 
    overflow: hidden; 
}

/* Header'ı bozmaması için sadece bu sayfaya özel ayarlar */
.dr-apply-page .container {
    position: relative;
    z-index: 1;
}

.dr-apply-page * {
    box-sizing: border-box;
}

/* Arka Plan */
.dr-mesh-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.dr-mesh-blob { position: absolute; filter: blur(120px); border-radius: 50%; opacity: 0.3; }
.blob-apply-1 { width: 600px; height: 600px; background: var(--c-primary); top: -100px; right: -100px; animation: pulse 12s infinite alternate; }
.blob-apply-2 { width: 500px; height: 500px; background: #e2e8f0; bottom: 20%; left: -100px; animation: pulse 10s infinite alternate-reverse; }
@keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.1) translate(20px, 20px); } }

/* 1. HERO ALANI */
.dr-apply-hero { padding: 80px 0 40px; display: flex; justify-content: center; }
.dr-hero-content { width: 100%; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }

.dr-badge-glow { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.8); border-radius: 100px; font-size: 14px; font-weight: 700; color: var(--c-dark); margin-bottom: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05); }
.dr-badge-dot { width: 10px; height: 10px; background: var(--c-primary); border-radius: 50%; }
.pulse { animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(198,216,0,0.4); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.dr-title-massive { width: 100%; font-size: clamp(36px, 5vw, 68px); font-weight: 800; color: var(--c-dark); letter-spacing: -0.04em; line-height: 1.1; margin: 0 0 20px 0; }
.dr-text-gradient { background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dr-hero-desc { width: 100%; font-size: 18px; color: var(--c-text); line-height: 1.7; max-width: 700px; margin: 0 auto; }


/* 2. SPLIT FORM ALANI */
.dr-apply-split-section { padding: 20px 0 60px; }
.dr-apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}

/* SOL: Karanlık Bilgi Paneli (İletişim Bilgileri) */
.dr-apply-info-side {
    position: relative;
    background: var(--c-dark);
    padding: 60px 50px;
    color: var(--c-white);
    overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}
.info-bg-glow { position: absolute; bottom: -50px; left: -50px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(198,216,0,0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }

.info-content { position: relative; z-index: 2; }
.info-content h3 { font-size: 32px; font-weight: 800; color: var(--c-white); margin: 0 0 16px 0; letter-spacing: -0.02em; }
.info-content > p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.6; margin: 0 0 40px 0; }

/* Karanlık Kutu İçindeki İletişim Kartları */
.dr-dark-contact-bento { display: flex; flex-direction: column; gap: 16px; }
.d-contact-card {
    display: flex; align-items: center; gap: 20px;
    background: rgba(255,255,255,0.03);
    padding: 20px; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}
.d-contact-card:hover { background: rgba(255,255,255,0.06); border-color: rgba(198,216,0,0.3); }

.d-icon { width: 50px; height: 50px; background: rgba(198,216,0,0.15); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--c-primary); flex-shrink: 0; }
.d-text h4 { margin: 0 0 6px 0; font-size: 12px; color: var(--c-primary); text-transform: uppercase; letter-spacing: 0.1em; }
.d-text p, .d-text a { margin: 0; font-size: 15px; color: var(--c-white); font-weight: 600; text-decoration: none; line-height: 1.5; transition: 0.3s; }
.d-text a:hover { color: var(--c-primary-dark); }

/* Vurgulu İletişim Kartı */
.highlight-dark { background: linear-gradient(135deg, rgba(198,216,0,0.1) 0%, transparent 100%); border-color: rgba(198,216,0,0.2); }


/* SAĞ: Form Paneli */
.dr-apply-form-side { padding: 60px 50px; background: var(--c-white); }
.form-header { margin-bottom: 40px; }
.form-header h2 { font-size: 28px; font-weight: 800; color: var(--c-dark); margin: 0 0 8px 0; }
.form-header span { font-size: 15px; color: var(--c-text); }

/* Grid Form Yapısı */
.dr-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.span-2 { grid-column: span 2; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 14px; font-weight: 700; color: var(--c-dark); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 16px 20px; background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-md);
    font-family: inherit; font-size: 15px; color: var(--c-dark);
    transition: all 0.3s var(--bezier); outline: none; box-sizing: border-box;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Focus Durumu (Parlama) */
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    background: var(--c-white); border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(198,216,0,0.15);
}

/* Ayırıcı Çizgi */
.form-divider { display: flex; align-items: center; text-align: center; color: var(--c-primary-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin: 10px 0; }
.form-divider::before, .form-divider::after { content: ''; flex: 1; border-bottom: 1px solid rgba(0,0,0,0.05); }
.form-divider::before { margin-right: 16px; }
.form-divider::after { margin-left: 16px; }

/* Checkbox (KVKK) */
.dr-checkbox-group { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 10px; }
.dr-checkbox-group input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-primary-dark); cursor: pointer; }
.dr-checkbox-group label { font-size: 13px; font-weight: 500; color: var(--c-text); cursor: pointer; line-height: 1.5; }

/* Başvuru Butonu */
.dr-btn-apply-large {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    width: 100%; padding: 20px; margin-top: 10px;
    background: var(--c-dark); color: var(--c-white);
    border-radius: 100px; font-size: 18px; font-weight: 700;
    border: none; cursor: pointer; transition: all 0.4s var(--bezier);
}
.dr-btn-apply-large:hover { background: var(--c-primary); color: var(--c-dark); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.dr-btn-apply-large svg { transition: transform 0.3s; }
.dr-btn-apply-large:hover svg { transform: translateX(5px); }

/* BAŞARILI EKRANI */
.dr-success-box { padding: 60px 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; }
.success-icon { width: 80px; height: 80px; background: rgba(198,216,0,0.2); color: var(--c-primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; margin-bottom: 24px; animation: scaleIn 0.5s var(--bezier); }
@keyframes scaleIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.dr-success-box h3 { font-size: 32px; font-weight: 800; color: var(--c-dark); margin: 0 0 16px 0; }
.dr-success-box p { font-size: 16px; color: var(--c-text); line-height: 1.7; margin: 0 0 32px 0; max-width: 400px; text-align: center; }
.dr-btn-return { display: inline-flex; padding: 14px 28px; background: var(--c-white); border: 2px solid var(--c-dark); color: var(--c-dark); border-radius: 100px; font-weight: 700; text-decoration: none; transition: 0.3s; }
.dr-btn-return:hover { background: var(--c-dark); color: var(--c-white); }


/* 3. HARİTA ALANI */
.dr-map-section { padding: 40px 0 80px; }
.dr-map-header { text-align: center; margin-bottom: 30px; }
.dr-map-header h3 { font-size: 28px; font-weight: 800; color: var(--c-dark); margin: 0 0 8px 0; }
.dr-map-header p { font-size: 16px; color: var(--c-text); margin: 0; }
.dr-map-container { width: 100%; height: 450px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.03); }

/* Animasyon */
.reveal-fade-up { opacity: 0; transform: translateY(40px); transition: all 0.8s var(--bezier); }
.reveal-fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive Düzenlemeler */
@media (max-width: 1024px) {
    .dr-apply-wrapper { grid-template-columns: 1fr; }
    .dr-apply-info-side { padding: 40px 30px; }
    .dr-dark-contact-bento { grid-template-columns: repeat(2, 1fr); display: grid; }
    .dr-apply-form-side { padding: 40px 30px; }
    .dr-map-container { height: 350px; }
}

@media (max-width: 768px) {
    .dr-title-massive { font-size: 40px; }
    .dr-dark-contact-bento { grid-template-columns: 1fr; }
    .dr-form-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: span 1; }
    .dr-map-container { height: 300px; }
}