/* ============================================
   ANTPLUS DERSHANE - ANA STIL
   Editorial, warm-toned education brand
   ============================================ */

:root {
    --clr-bg: #faf6f0;
    --clr-bg-alt: #f0e9dd;
    --clr-dark: #1a1410;
    --clr-ink: #2d241c;
    --clr-muted: #6b5d4f;
    --clr-primary: #d97706;
    --clr-primary-dark: #b45309;
    --clr-accent: #0f5132;
    --clr-accent-soft: #d1e7dd;
    --clr-cream: #fef3e2;
    --clr-white: #ffffff;
    --clr-border: rgba(45, 36, 28, 0.12);
    
    --font-display: 'Fraunces', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-sm: 0 2px 8px rgba(26, 20, 16, 0.06);
    --shadow-md: 0 8px 24px rgba(26, 20, 16, 0.1);
    --shadow-lg: 0 20px 60px rgba(26, 20, 16, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--clr-ink);
    background: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(250, 246, 240, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    padding: 14px 0;
    border-bottom-color: var(--clr-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--clr-dark);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    color: white;
    border-radius: 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    box-shadow: var(--shadow-sm);
    transform: rotate(-3deg);
    transition: var(--transition);
}

.logo:hover .logo-mark {
    transform: rotate(3deg) scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-ink);
    position: relative;
    transition: color 0.2s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: width 0.3s;
}

.main-nav a:hover { color: var(--clr-primary); }
.main-nav a:hover::after { width: 100%; }

.btn-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--clr-dark);
    color: white;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--clr-dark);
    transition: var(--transition);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
}

.slides-wrapper {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--clr-bg-alt);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 20, 16, 0.6) 0%, rgba(217, 119, 6, 0.4) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 820px;
}

.slide.active .slide-subtitle { animation: slideUp 0.8s 0.2s both; }
.slide.active .slide-title    { animation: slideUp 0.8s 0.4s both; }
.slide.active .slide-desc     { animation: slideUp 0.8s 0.6s both; }
.slide.active .slide-btn      { animation: slideUp 0.8s 0.8s both; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slide-subtitle {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.slide-desc {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    max-width: 620px;
    margin-bottom: 36px;
    opacity: 0.95;
    line-height: 1.6;
}

.slide-btn {
    display: inline-block;
    padding: 16px 32px;
    background: white;
    color: var(--clr-dark);
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.slide-btn:hover {
    background: var(--clr-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 2rem;
    line-height: 1;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.slider-nav:hover { background: white; color: var(--clr-dark); }
.slider-nav.prev { left: 32px; }
.slider-nav.next { right: 32px; }

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 32px;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 56px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    opacity: 0.8;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, white, transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -60px;
    width: 100%;
    height: 60px;
    background: white;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    to { top: 100%; }
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--clr-accent-soft);
    color: var(--clr-accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--clr-dark);
    margin-bottom: 20px;
}

.section-title em {
    font-style: italic;
    color: var(--clr-primary);
    font-weight: 500;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--clr-muted);
    line-height: 1.6;
}

/* ============================================
   EĞİTİM BÖLÜMLERİ
   ============================================ */
.education-sections {
    padding: 120px 0;
    background: var(--clr-bg);
    position: relative;
}

.education-sections::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--clr-cream) 0%, transparent 70%);
    pointer-events: none;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.section-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--clr-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.8s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.section-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--clr-primary);
}

.card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--clr-bg-alt);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.section-card:hover .card-image img {
    transform: scale(1.08);
}

.card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--clr-cream) 0%, var(--clr-bg-alt) 100%);
}

.card-icon {
    font-size: 5rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.card-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: var(--clr-dark);
    padding: 8px 14px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}

.card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--clr-dark);
    margin-bottom: 12px;
}

.card-short {
    color: var(--clr-primary-dark);
    font-weight: 500;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.card-full {
    color: var(--clr-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
    flex: 1;
}

.card-link {
    color: var(--clr-primary);
    font-weight: 600;
    font-size: 0.95rem;
    align-self: flex-start;
    transition: gap 0.3s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: var(--clr-primary-dark);
    gap: 12px;
}

.empty-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--clr-muted);
}

/* ============================================
   HAKKIMIZDA
   ============================================ */
.about-section {
    padding: 120px 0;
    background: var(--clr-bg-alt);
    position: relative;
    overflow: hidden;
}

.about-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--clr-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 40px;
    border-top: 1px solid var(--clr-border);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--clr-muted);
    font-weight: 500;
}

.about-visual {
    position: relative;
    aspect-ratio: 1;
}

.visual-shape {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-dark) 100%);
    border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
    animation: morph 12s ease-in-out infinite;
}

@keyframes morph {
    0%, 100% { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; }
    50%      { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; }
}

.visual-grid {
    position: absolute;
    inset: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 40px;
}

.grid-item {
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.grid-item:nth-child(1) { transform: translateY(-10px); }
.grid-item:nth-child(4) { transform: translateY(-10px); }
.grid-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   İLETİŞİM
   ============================================ */
.contact-section {
    padding: 120px 0;
    background: var(--clr-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    margin-bottom: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--clr-primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.info-card.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    border-color: transparent;
}

.info-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.info-value {
    font-size: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--clr-border);
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--clr-dark);
    color: white;
    transform: translateY(-3px);
    border-color: var(--clr-dark);
}

/* Form */
.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
}

.contact-form-wrapper h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--clr-dark);
}

.form-alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-alert.success {
    background: var(--clr-accent-soft);
    color: var(--clr-accent);
}

.form-alert.error {
    background: #fee;
    color: #c00;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-ink);
}

.form-field input,
.form-field textarea {
    font-family: inherit;
    font-size: 1rem;
    padding: 12px 16px;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-ink);
    transition: var(--transition);
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--clr-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
}

.btn-submit {
    padding: 16px 32px;
    background: var(--clr-dark);
    color: white;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--clr-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Harita */
.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--clr-dark);
    color: rgba(255, 255, 255, 0.85);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 60px;
    padding: 80px 32px 40px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 16px 0 8px;
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--clr-primary); }

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.admin-link {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    transition: var(--transition);
}

.admin-link:hover {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

/* Whatsapp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 99;
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 10px 40px rgba(37, 211, 102, 0.7); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .sections-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { grid-template-columns: 1fr; gap: 60px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    
    .main-nav,
    .btn-cta { display: none; }
    
    .menu-toggle { display: flex; }
    
    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-lg);
    }
    
    .main-nav.open ul {
        flex-direction: column;
        gap: 16px;
    }
    
    .hero-slider { min-height: 560px; }
    .slider-nav { width: 44px; height: 44px; font-size: 1.5rem; }
    .slider-nav.prev { left: 16px; }
    .slider-nav.next { right: 16px; }
    .scroll-indicator { display: none; }
    
    .sections-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; gap: 20px; }
    
    .education-sections,
    .about-section,
    .contact-section { padding: 80px 0; }
    
    .section-header { margin-bottom: 50px; }
    
    .footer-inner {
        grid-template-columns: 1fr;
        padding: 50px 20px 30px;
    }
    
    .contact-form-wrapper { padding: 28px; }
}

/* Logo görsel desteği */
.logo-img {
    height: 60px;
    max-height: 200px;
    max-width: 500px;
    object-fit: contain;
}
.footer-logo-img {
    max-height: 200px;
    max-width: 500px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: brightness(0) invert(1); /* footer'da beyaz göster */
}

/* Logo görsel desteği */
.logo-img { height: 80px; max-width: 200px; width: auto; object-fit: contain; display: block; }
.footer-logo-img { height: 80px; max-width: 200px; width: auto; object-fit: contain; margin-bottom: 8px; filter: brightness(0) invert(1); }
