﻿
/* AI Feature */
#monologue-result {
    background-color: var(--bg);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 16px;
    min-height: 100px;
    white-space: pre-wrap;
    color: var(--ink);
    border: 1.5px solid #e5e7eb;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: var(--brand);
    animation: spin 1s ease infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Butonun pasif durum stili */
.btn:disabled {
    background: var(--muted);
    cursor: not-allowed;
}


:root {
    --bg: #FBF8F3; /* açık krem */
    --paper: #FFFFFF;
    --ink: #0F4250; /* koyu mavi/teal */
    --muted: #6C8A93; /* metin ikincil */
    --brand: #0E8BA8; /* turkuaz */
    --accent: #F1C40F; /* altın */
    --accent-2: #55C3C7; /* açık turkuaz */
    --ok: #1F9D55;
    --danger: #C0392B;
    --shadow: 0 10px 30px rgba(15,66,80,.08);
    --radius: 18px;
}

* {
    box-sizing: border-box
}

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Poppins,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif
}

a {
    color: var(--brand);
    text-decoration: none
}

header {
    position: sticky;
    top: 0;
    background: rgba(251,248,243,.9);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid #eee;
    z-index: 50
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--ink)
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: conic-gradient(from 30deg,var(--accent),var(--accent-2));
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800
}

.nav .desktop-nav a {
    margin: 0 10px;
    font-weight: 600;
    color: var(--ink)
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ink);
    color: #fff;
    padding: 12px 18px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: .2s
}

    .btn:hover {
        transform: translateY(-1px);
    }

    .btn.alt {
        background: var(--brand)
    }

    .btn.ghost {
        background: transparent;
        color: var(--ink);
        border: 2px solid var(--ink)
    }

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
    align-items: center;
    padding: 64px 0
}

    .hero h1 {
        font-size: clamp(28px,4vw,46px);
        line-height: 1.1;
        margin: 0 0 14px
    }

    .hero p {
        color: var(--muted);
        margin: 0 0 24px
    }

.card {
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

    .card .pad {
        padding: 24px
    }

.grid {
    display: grid;
    gap: 18px
}

    .grid.cols-3 {
        grid-template-columns: repeat(3,1fr)
    }

    .grid.cols-2 {
        grid-template-columns: repeat(2,1fr)
    }

.tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(14,139,168,.08);
    color: var(--brand);
    font-weight: 600;
    font-size: 13px
}

.price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 10px 0 8px
}

    .price .num {
        font-size: 28px;
        font-weight: 800
    }

    .price .vat {
        color: var(--muted);
        font-size: 13px
    }

.feat {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0;
    color: #2c3e50
}

    .feat svg {
        flex: 0 0 18px;
        margin-top: 2px
    }

section {
    padding: 54px 0
}

h2 {
    font-size: clamp(22px,3vw,32px);
    margin: 0 0 12px
}

.section-intro {
    color: var(--muted);
    margin-bottom: 22px
}

.inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

/* Slider Styles */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background-color: var(--ink);
    color: #fff;
    height: 100%;
    min-height: 400px; /* Form height matching */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

    .slide h2 {
        font-size: clamp(32px, 4vw, 52px);
        line-height: 1.1;
        margin: 0 0 12px;
        color: #fff;
        z-index: 2;
    }

    .slide p {
        font-size: 18px;
        color: rgba(255,255,255,0.8);
        max-width: 400px;
        z-index: 2;
    }

    .slide .bg-text {
        position: absolute;
        font-size: 100px;
        font-weight: 800;
        color: rgba(255, 255, 255, 0.08);
        bottom: 20px;
        right: 20px;
        z-index: 1;
        line-height: 1;
        user-select: none;
    }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background-color 0.3s;
}

    .dot.active {
        background-color: #fff;
    }

/* Eğitim kartları */
.course-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px
}

.course-title {
    font-size: 20px;
    font-weight: 700
}

.buy-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 16px
}

/* Hakkımızda */
.about {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 28px
}

.quote {
    background: linear-gradient(135deg, rgba(14,139,168,.08), rgba(241,196,15,.10));
    border-left: 4px solid var(--brand);
    padding: 18px;
    border-radius: 12px;
    color: #2c3e50
}

/* Login */
form {
    display: grid;
    gap: 12px
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    font: inherit
}

label {
    font-weight: 600;
    font-size: 14px
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(0,0,0,.45);
    z-index: 100;
    overflow-y: auto;
    padding: 20px 0;
}

    .modal.open {
        display: grid
    }

.modal-card {
    background: #fff;
    max-width: 560px;
    width: 92%;
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #eee
}

.modal-body {
    padding: 18px 22px
}

/* Details & Policy Modal Specific Styles */
#detailsModal .modal-card, #policyModal .modal-card {
    max-width: 700px;
}

.details-content h3 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 8px;
    color: var(--ink);
    border-left: 3px solid var(--brand);
    padding-left: 10px;
}

.details-content h4 {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 5px;
    color: var(--muted);
}

.details-content p {
    color: var(--muted);
    line-height: 1.6;
}

.details-content ul {
    padding-left: 20px;
    color: #2c3e50;
}

    .details-content ul li {
        margin-bottom: 8px;
    }

#policyContent {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 15px;
}


/* Footer */
footer {
    border-top: 1px solid #eee;
    padding: 32px 0;
    color: var(--muted)
}

.foot-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 2fr 1fr 1fr
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    margin-right: 16px;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
}

    .footer-links a:hover {
        color: var(--brand);
    }

.payment-logos {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .payment-logos svg {
        height: 24px;
        fill: var(--muted);
    }

/* --- MOBIL UYUMLULUK --- */
/* Hamburger Menu Styles */
.hamburger {
    display: none; /* Hidden on desktop */
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 101;
}

    .hamburger svg {
        width: 30px;
        height: 30px;
        stroke: var(--ink);
    }

.mobile-nav {
    display: none; /* Hidden by default */
    position: absolute;
    top: 70px; /* Below header */
    left: 0;
    right: 0;
    background: rgba(251,248,243,.95);
    backdrop-filter: blur(8px);
    padding: 20px;
    border-bottom: 1px solid #eee;
    box-shadow: var(--shadow);
}

    .mobile-nav nav {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

        .mobile-nav nav a {
            font-size: 18px;
            padding: 10px;
            border-radius: 12px;
        }

            .mobile-nav nav a:hover {
                background-color: rgba(14,139,168,.08);
            }

    .mobile-nav .btn {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }


/* Responsive */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 32px 0;
    }

    .grid.cols-3 {
        grid-template-columns: 1fr 1fr
    }

    .grid.cols-2 {
        grid-template-columns: 1fr
    }

    .about {
        grid-template-columns: 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr 1fr
    }

    /* Mobile Header Logic */
    .nav .desktop-nav, .nav > .btn.alt {
        display: none; /* Hide desktop nav and button */
    }

    .hamburger {
        display: block; /* Show hamburger on mobile */
    }

    .mobile-nav.open {
        display: block; /* Show mobile nav when open */
    }
}

@media (max-width: 600px) {
    .grid.cols-3 {
        grid-template-columns: 1fr
    }

    .foot-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}
