/*
 * Almanya Ulusal Vize — içerik / program detay sayfaları
 * global-layout.css sonrası yüklenir
 */

:root {
    --dp-accent: #e11d48;
    --dp-accent-dark: #9f1239;
    --dp-gold: #eab308;
    --dp-gold-soft: #fde047;
    --dp-slate: #0f172a;
    --dp-muted: #64748b;
}

/* -------------------------------------------------------------------------
   Program şablonu: page-hero + main.main-content (açık zemin)
   ------------------------------------------------------------------------- */
body.detail-program .page-hero {
    margin-top: 0;
    min-height: clamp(360px, 50vh, 580px);
    height: auto;
    border-radius: 0 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 24px 80px rgba(15, 23, 42, 0.12);
}

body.detail-program .hero-overlay {
    background: linear-gradient(
        145deg,
        rgba(15, 23, 42, 0.82) 0%,
        rgba(15, 23, 42, 0.5) 45%,
        rgba(225, 29, 72, 0.22) 100%
    );
    z-index: 0;
}

body.detail-program .hero-img {
    z-index: -2;
}

body.detail-program .hero-container {
    z-index: 2;
}

body.detail-program .hero-badge {
    background: linear-gradient(135deg, var(--dp-accent) 0%, var(--dp-accent-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 28px rgba(225, 29, 72, 0.35);
    letter-spacing: 0.12em;
}

body.detail-program .hero-container h1 span {
    color: var(--dp-gold-soft);
    font-weight: 800;
}

body.detail-program .main-content {
    background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 14%, #ffffff 100%);
    max-width: 1240px;
    border-radius: 0 0 24px 24px;
}

body.detail-program .intro-text h2::after {
    width: 72px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--dp-accent), var(--dp-gold));
}

body.detail-program .intro-image {
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 32px 64px rgba(15, 23, 42, 0.1);
}

body.detail-program .feature-item {
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: linear-gradient(165deg, #ffffff 0%, #fafafa 100%);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

body.detail-program .feature-item:hover {
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

body.detail-program .feature-icon {
    background: linear-gradient(145deg, #fffbeb, #fef3c7);
    color: #b45309;
    border: 1px solid rgba(234, 179, 8, 0.35);
}

body.detail-program .steps-section {
    background: linear-gradient(180deg, #e2e8f0 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.detail-program .step-num {
    background: linear-gradient(145deg, var(--dp-slate), #334155);
    color: var(--dp-gold-soft);
    border-color: rgba(234, 179, 8, 0.6);
    font-family: "Outfit", sans-serif;
    letter-spacing: 0.02em;
}

body.detail-program .final-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 55%, #0f172a 100%);
    border: 1px solid rgba(234, 179, 8, 0.18);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.35);
}

body.detail-program .final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 20% 0%, rgba(234, 179, 8, 0.12), transparent 55%);
    pointer-events: none;
}

body.detail-program .final-cta h2,
body.detail-program .final-cta p {
    position: relative;
    z-index: 1;
}

body.detail-program .final-cta .cta-btn-xl {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--dp-accent), #be123c);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 36px rgba(225, 29, 72, 0.4);
}

body.detail-program .final-cta .cta-btn-xl:hover {
    box-shadow: 0 16px 40px rgba(225, 29, 72, 0.5);
}

@media (max-width: 1000px) {
    body.detail-program .section-intro {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    body.detail-program .feature-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    body.detail-program .hero-container h1 {
        font-size: clamp(2rem, 8vw, 2.75rem) !important;
    }

    body.detail-program .page-hero {
        min-height: 320px;
    }
}

/* -------------------------------------------------------------------------
   Eski program şablonu referansı kaldırıldı — sade metin blokları (koyu tema)
   ------------------------------------------------------------------------- */
body.program-simple-detail {
    font-family: "Inter", system-ui, sans-serif !important;
    background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(234, 179, 8, 0.08), transparent),
        linear-gradient(180deg, #05080f 0%, #0f172a 40%, #1e293b 100%) !important;
    color: #e2e8f0 !important;
}

body.program-simple-detail main {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 3rem) clamp(16px, 4%, 32px) 4rem;
}

.program-detail-section {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
}

.program-header h1 {
    font-family: "Outfit", system-ui, sans-serif;
    font-size: clamp(1.65rem, 4.2vw, 2.35rem);
    font-weight: 800;
    color: #f8fafc;
    margin: 0 0 0.25rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.program-header {
    margin-bottom: 1.75rem;
}

.program-header::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin-top: 1.25rem;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--dp-gold), var(--dp-accent));
}

.program-content {
    font-size: 1.05rem;
    line-height: 1.78;
    color: #cbd5e1;
}

.program-content > p:first-of-type {
    font-size: 1.08rem;
    color: #e2e8f0;
}

.program-content h3 {
    font-family: "Outfit", system-ui, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 2rem 0 1rem;
}

.program-content ul {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.program-content li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.program-content li:hover {
    border-color: rgba(234, 179, 8, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.program-content li i {
    color: var(--dp-gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.program-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--dp-gold), #ca8a04);
    color: #0f172a !important;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none !important;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 28px rgba(234, 179, 8, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(234, 179, 8, 0.45);
}

.back-link {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--dp-gold-soft) !important;
}

.program-detail-section.reveal-on-scroll {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.program-detail-section.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------
   programlar.html — liste / hub
   ------------------------------------------------------------------------- */
body.programs-index .page-main-title {
    padding-bottom: 0.5rem;
}

body.programs-index .page-main-title h1 {
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}

body.programs-index .program-hub-card {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

body.programs-index .program-hub-card:hover {
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.45);
}

body.programs-index .program-hub-cta {
    font-weight: 800;
    letter-spacing: 0.02em;
}
