/* ==========================================================================
   Dörtrenk Kolej | İletişim & Başvuru
   Yol: css/basvuru.css
   ========================================================================== */

:root {
    --c-primary: #0c5adb;
    --c-primary-dark: #093b8f;
    --c-primary-soft: #eaf2ff;

    --c-dark: #091224;
    --c-dark-soft: #162033;
    --c-text: #526070;
    --c-bg: #f6f9ff;
    --c-white: #ffffff;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 32px;
    --radius-xl: 40px;

    --shadow-soft: 0 12px 40px -14px rgba(8, 40, 92, 0.10);
    --shadow-hover: 0 24px 60px -18px rgba(8, 40, 92, 0.16);
    --shadow-glow: 0 14px 34px rgba(12, 90, 219, 0.22);

    --bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

.dr-apply-page {
    position: relative;
    padding-bottom: 100px;
    background-color: var(--c-bg);
    overflow: hidden;
}

.dr-apply-page .container {
    position: relative;
    z-index: 1;
}

.dr-apply-page * {
    box-sizing: border-box;
}

/* ==========================================================================
   BACKGROUND
   ========================================================================== */

.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.28;
}

.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: #dbeafe;
    bottom: 20%;
    left: -100px;
    animation: pulse 10s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.08) translate(20px, 20px); }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.dr-apply-hero {
    padding: 80px 0 40px;
    display: flex;
    justify-content: center;
}

.dr-hero-content {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.dr-badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.74);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(8, 40, 92, 0.06);
}

.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(12, 90, 219, 0.35); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

.dr-title-massive {
    width: 100%;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 900;
    color: var(--c-dark);
    letter-spacing: -0.05em;
    line-height: 1.05;
    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.8;
    max-width: 720px;
    margin: 0 auto;
}

/* ==========================================================================
   SPLIT SECTION
   ========================================================================== */

.dr-apply-split-section {
    padding: 20px 0 60px;
}

.dr-apply-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    border: 1px solid rgba(12, 90, 219, 0.06);
}

/* LEFT PANEL */
.dr-apply-info-side {
    position: relative;
    background: linear-gradient(180deg, #0b172c 0%, #091224 100%);
    padding: 60px 46px;
    color: var(--c-white);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-bg-glow {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(12, 90, 219, 0.16) 0%, transparent 72%);
    border-radius: 50%;
    pointer-events: none;
}

.info-content {
    position: relative;
    z-index: 2;
}

.info-content h3 {
    font-size: 32px;
    font-weight: 900;
    color: var(--c-white);
    margin: 0 0 14px 0;
    letter-spacing: -0.03em;
}

.info-content > p {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
    margin: 0 0 36px 0;
}

.dr-dark-contact-bento {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.d-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.04);
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: 0.3s;
}

.d-contact-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(12, 90, 219, 0.28);
}

.d-icon {
    width: 48px;
    height: 48px;
    background: rgba(12, 90, 219, 0.16);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--c-white);
    flex-shrink: 0;
}

.d-text h4 {
    margin: 0 0 6px 0;
    font-size: 12px;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 800;
}

.d-text p,
.d-text a {
    margin: 0;
    font-size: 15px;
    color: var(--c-white);
    font-weight: 600;
    text-decoration: none;
    line-height: 1.55;
    transition: 0.3s;
}

.d-text a:hover {
    color: #93c5fd;
}

.highlight-dark {
    background: linear-gradient(135deg, rgba(12,90,219,0.12) 0%, rgba(12,90,219,0.02) 100%);
    border-color: rgba(12,90,219,0.22);
}

/* RIGHT PANEL */
.dr-apply-form-side {
    padding: 56px 48px;
    background: var(--c-white);
}

.form-header {
    margin-bottom: 34px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--c-dark);
    margin: 0 0 8px 0;
    letter-spacing: -0.03em;
}

.form-header span {
    font-size: 15px;
    color: var(--c-text);
}

.dr-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.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: 15px 16px;
    background: #f8fbff;
    border: 1px solid rgba(12, 90, 219, 0.08);
    border-radius: 14px;
    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: 110px;
}

.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(12, 90, 219, 0.12);
}

.form-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--c-primary-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 6px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(12, 90, 219, 0.10);
}

.form-divider::before {
    margin-right: 16px;
}

.form-divider::after {
    margin-left: 16px;
}

.dr-checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 4px;
}

.dr-checkbox-group input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--c-primary);
    cursor: pointer;
}

.dr-checkbox-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text);
    cursor: pointer;
    line-height: 1.5;
}

/* SUBMIT BUTTON */
.dr-btn-apply-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    margin-top: 6px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: var(--c-white);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.28s var(--bezier);
    box-shadow: 0 12px 28px -18px rgba(12, 90, 219, 0.36);
}

.dr-btn-apply-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -18px rgba(12, 90, 219, 0.44);
}

.dr-btn-apply-large svg {
    transition: transform 0.25s ease;
}

.dr-btn-apply-large:hover svg {
    transform: translateX(3px);
}

/* SUCCESS */
.dr-success-box {
    padding: 56px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.success-icon {
    width: 76px;
    height: 76px;
    background: rgba(12, 90, 219, 0.10);
    color: var(--c-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    margin-bottom: 22px;
    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: 900;
    color: var(--c-dark);
    margin: 0 0 14px 0;
    letter-spacing: -0.03em;
}

.dr-success-box p {
    font-size: 16px;
    color: var(--c-text);
    line-height: 1.8;
    margin: 0 0 28px 0;
    max-width: 430px;
    text-align: center;
}

.dr-btn-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: var(--c-white);
    border: 1.5px solid rgba(9, 18, 36, 0.14);
    color: var(--c-dark);
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: 0.28s;
}

.dr-btn-return:hover {
    background: var(--c-dark);
    color: var(--c-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   MAP
   ========================================================================== */

.dr-map-section {
    padding: 40px 0 80px;
}

.dr-map-header {
    text-align: center;
    margin-bottom: 28px;
}

.dr-map-header h3 {
    font-size: 28px;
    font-weight: 900;
    color: var(--c-dark);
    margin: 0 0 8px 0;
    letter-spacing: -0.03em;
}

.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(12, 90, 219, 0.06);
}

/* ==========================================================================
   ANIMATION
   ========================================================================== */

.reveal-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--bezier);
}

.reveal-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@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;
    }
}

@media (max-width: 560px) {
    .dr-btn-apply-large,
    .dr-btn-return {
        min-height: 42px;
        font-size: 13px;
        border-radius: 10px;
    }
}