/* ==========================================================================
   Dörtrenk Anaokulu | Nihai Masterpiece Design System (Header ile Uyumlu)
   ========================================================================== */

/* NOT: body, html ve .container ayarları global olarak header.css içinden 
   çekilmektedir. Çakışma olmaması için buradan silinmiştir. */

:root {
    --c-primary: #c6d800;
    --c-primary-dark: #a1b000;
    --c-dark: #0f172a;
    --c-dark-soft: #1e293b;
    --c-text: #64748b;
    --c-bg: #f8fafc;
    --c-white: #ffffff;
    
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 40px;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-float: 0 20px 40px -10px rgba(198,216,0,0.25);
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    --bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

h1, h2, h3 { color: var(--c-dark); margin: 0; line-height: 1.2; }
p { line-height: 1.7; }

/* Global Link (Header'ı bozmaması için header harici linklere atanmıştır) */
.dr-main a { text-decoration: none; color: inherit; }

.dr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s var(--bezier);
    cursor: pointer;
    border: none;
}

.dr-btn-primary {
    background: var(--c-primary);
    color: var(--c-dark);
    box-shadow: var(--shadow-float);
}

.dr-btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(198,216,0,0.4);
}

.dr-btn-ghost {
    background: transparent;
    color: var(--c-dark);
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.dr-btn-ghost:hover {
    border-color: var(--c-dark);
    background: var(--c-white);
}

.dr-mesh-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100vh;
    overflow: hidden; z-index: -1; pointer-events: none;
}

.dr-mesh-blob { position: absolute; filter: blur(80px); border-radius: 50%; opacity: 0.4; }
.blob-1 { width: 500px; height: 500px; background: var(--c-primary); top: -100px; left: -100px; }
.blob-2 { width: 400px; height: 400px; background: #e2e8f0; top: 20%; right: -50px; }

/* 1. HERO SECTION & SLIDER ALANI */
.dr-hero { padding: 120px 0 80px; }

.dr-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 60px;
    align-items: center;
}

.dr-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: var(--c-white);
    border: 1px solid rgba(0,0,0,0.05); border-radius: 100px;
    font-size: 14px; font-weight: 600; color: var(--c-dark);
    margin-bottom: 30px; box-shadow: var(--shadow-soft);
}

.dr-badge-dot { width: 8px; height: 8px; background: var(--c-primary); border-radius: 50%; }

.dr-title-huge {
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 800; letter-spacing: -0.04em; margin-bottom: 24px;
}

.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 { font-size: 18px; max-width: 540px; margin-bottom: 40px; }
.dr-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.dr-hero-visual { position: relative; display: flex; justify-content: center; }

.dr-hero-slider-wrapper {
    width: 100%; 
    max-width: 540px; 
    aspect-ratio: 4/5;
    background: var(--c-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.dr-hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s var(--bezier), transform 1s var(--bezier);
    transform: scale(1.05);
}

.dr-hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.dr-hero-slide-img {
    width: 100%; height: 100%;
    object-fit: cover; 
}

.dr-slide-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-white);
}

.placeholder-logo {
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 60%; 
    max-height: 60%;
    margin: 0 auto;
}

.dr-slider-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    background: rgba(255,255,255,0.4);
    padding: 10px 16px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

.dr-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.4s var(--bezier);
}

.dr-dot.active {
    background: var(--c-dark);
    width: 28px;
    border-radius: 100px;
}

.dr-glass-card {
    position: absolute; background: var(--glass-bg);
    backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.4);
    padding: 16px 24px; border-radius: var(--radius-md);
    display: flex; gap: 16px; align-items: center;
    box-shadow: var(--shadow-soft); z-index: 10;
}

.stat-1 { top: 8%; left: -5%; animation: float 6s ease-in-out infinite; }
.stat-2 { bottom: 8%; right: -5%; animation: float 8s ease-in-out infinite reverse; }

.stat-icon { font-size: 28px; background: var(--c-bg); width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.stat-text strong { display: block; color: var(--c-dark); font-size: 16px; }
.stat-text span { font-size: 13px; color: var(--c-text); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 2. BÖLÜM BAŞLIKLARI */
.dr-section-head { margin-bottom: 48px; display: flex; justify-content: space-between; align-items: flex-end; }
.dr-section-head h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.03em; }
.dr-section-head p { font-size: 18px; margin-top: 12px; max-width: 500px; }
.dr-head-center { flex-direction: column; align-items: center; text-align: center; margin: 0 auto 48px; }

/* Özellikler Grid */
.dr-features { padding: 80px 0; }
.dr-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dr-feature-card {
    background: var(--c-white); padding: 40px;
    border-radius: var(--radius-md); border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s var(--bezier);
}
.dr-feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.dr-card-active { background: var(--c-dark); color: var(--c-white); }
.dr-card-active h3 { color: var(--c-white); }
.dr-card-active p { color: rgba(255,255,255,0.7); }
.dr-feature-icon { font-size: 40px; margin-bottom: 24px; }
.dr-feature-card h3 { font-size: 24px; margin-bottom: 12px; }

/* 3. VİDEOLAR */
.dr-video-showcase { padding: 80px 0; }
.dr-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dr-video-card {
    background: var(--c-white); border-radius: var(--radius-md); overflow: hidden;
    transition: transform 0.4s var(--bezier); display: block;
}
.dr-video-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.dr-video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #e2e8f0; }
.dr-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s var(--bezier); }
.dr-video-card:hover .dr-video-thumb img { transform: scale(1.05); }
.dr-play-btn {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 60px; height: 60px; background: rgba(255,255,255,0.9);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: var(--c-dark); box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.dr-play-btn svg { width: 24px; height: 24px; }
.dr-video-info { padding: 24px; }
.dr-video-info h3 { font-size: 20px; margin-bottom: 8px; }
.dr-video-info p { font-size: 14px; margin: 0; }

/* 4. ASİMETRİK BENTO GALERİ */
.dr-gallery { padding: 80px 0; }
.dr-bento-gallery {
    display: grid; grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px; gap: 16px;
}
.dr-bento-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.dr-bento-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.8s var(--bezier); }
.dr-bento-item:hover img { transform: scale(1.1); }
.dr-bento-large { grid-column: span 2; grid-row: span 2; border-radius: var(--radius-md); }
.dr-bento-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white; font-weight: 600; font-size: 18px;
    opacity: 0; transition: 0.4s;
}
.dr-bento-item:hover .dr-bento-overlay { opacity: 1; }
.dr-link-arrow { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-dark); }

/* 5. DUYURULAR */
.dr-news { padding: 80px 0; }
.dr-news-wrapper {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px;
    background: var(--c-white); padding: 60px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}
.dr-news-left h2 { font-size: 40px; margin-bottom: 20px; }
.dr-news-left p { margin-bottom: 30px; font-size: 18px; }
.dr-btn-outline { border: 2px solid var(--c-dark); padding: 12px 24px; background: transparent; }
.dr-btn-outline:hover { background: var(--c-dark); color: var(--c-white); }
.dr-news-row {
    display: flex; gap: 24px; padding: 24px 0;
    border-bottom: 1px solid #e2e8f0; transition: 0.3s;
}
.dr-news-row:last-child { border-bottom: none; padding-bottom: 0; }
.dr-news-row:hover { transform: translateX(10px); }
.dr-news-date {
    background: var(--c-bg); min-width: 80px; height: 80px;
    border-radius: var(--radius-sm); display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: var(--c-primary-dark);
}
.dr-news-date strong { font-size: 28px; line-height: 1; }
.dr-news-date span { font-size: 14px; font-weight: 600; text-transform: uppercase; }
.dr-news-content h3 { font-size: 20px; margin-bottom: 8px; }
.dr-news-content a { transition: 0.2s; }
.dr-news-content a:hover { color: var(--c-primary-dark); }

/* 6. CTA BÖLÜMÜ */
.dr-cta { padding: 80px 0 120px; }
.dr-cta-box {
    background: linear-gradient(135deg, var(--c-primary) 0%, #a8b800 100%);
    border-radius: var(--radius-lg); padding: 80px 60px;
    display: flex; justify-content: space-between; align-items: center;
    box-shadow: var(--shadow-float);
}
.dr-cta-text h2 { font-size: 48px; margin-bottom: 16px; color: var(--c-dark); }
.dr-cta-text p { font-size: 20px; color: rgba(15,23,42,0.8); margin: 0; }
.dr-cta-btns { display: flex; gap: 16px; }
.dr-btn-white { background: var(--c-white); color: var(--c-dark); }
.dr-btn-white:hover { transform: scale(1.05); box-shadow: var(--shadow-soft); }
.dr-btn-dark {
    background: linear-gradient(135deg, #94a3b8  0%, #94a3b8  100%);
    color: var(--c-white);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 12px 26px -18px rgba(7, 22, 47, 0.34);
}
.dr-btn-dark:hover { transform: scale(1.05); box-shadow: var(--shadow-soft); }

/* MOBİL UYUM (RESPONSIVE) */
@media (max-width: 1024px) {
    .dr-hero-grid, .dr-news-wrapper { grid-template-columns: 1fr; }
    .dr-hero-content { text-align: center; }
    .dr-hero-desc { margin: 0 auto 40px; }
    .dr-hero-actions { justify-content: center; }
    .dr-hero-visual { margin-top: 60px; }
    .dr-features-grid, .dr-video-grid { grid-template-columns: repeat(2, 1fr); }
    .dr-bento-gallery { grid-template-columns: repeat(2, 1fr); }
    .dr-cta-box { flex-direction: column; text-align: center; gap: 40px; padding: 50px 30px; }
}

@media (max-width: 768px) {
    .dr-features-grid, .dr-video-grid, .dr-bento-gallery { grid-template-columns: 1fr; }
    .dr-bento-large { grid-column: span 1; grid-row: span 1; }
    .dr-section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
    .dr-news-wrapper { padding: 30px; }
    .dr-news-row { flex-direction: column; gap: 16px; }
    .stat-1, .stat-2 { display: none; }
}