/* =========================================================
   Anthropic-style Design System — refined, compact build
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400&display=swap");

:root {
    /* Brand & Accent */
    --primary: #cc785c;
    --primary-active: #a9583e;
    --primary-soft: #f4e7df;
    --accent-teal: #5db8a6;
    --accent-amber: #e8a55a;

    /* Surface */
    --canvas: #faf9f5;
    --surface-soft: #f5f0e8;
    --surface-card: #efe9de;
    --surface-cream-strong: #e8e0d2;
    --surface-dark: #181715;
    --surface-dark-elevated: #252320;
    --surface-dark-soft: #1f1e1b;
    --hairline: #e6dfd8;
    --hairline-soft: #ebe6df;

    /* Text */
    --ink: #141413;
    --body-strong: #252523;
    --body: #3d3d3a;
    --muted: #6c6a64;
    --muted-soft: #8e8b82;
    --on-primary: #ffffff;
    --on-dark: #faf9f5;
    --on-dark-soft: #a09d96;

    /* Semantic */
    --success: #5db872;
    --warning: #d4a017;
    --error: #c64545;

    /* Radius */
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 16px;
    --r-pill: 9999px;

    /* Spacing */
    --s-xxs: 4px;
    --s-xs: 8px;
    --s-sm: 12px;
    --s-md: 16px;
    --s-lg: 24px;
    --s-xl: 32px;
    --s-xxl: 48px;
    --s-section: 64px;

    --font-display:
        "EB Garamond", "Tiempos Headline", Garamond, "Times New Roman", serif;
    --font-body:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    --font-mono:
        "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    background: var(--canvas);
    color: var(--body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-home {
    background: transparent;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--ink);
    margin: 0 0 var(--s-sm);
}
h1 {
    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -1.2px;
}
h2 {
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.15;
    letter-spacing: -0.6px;
}
h3 {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.2px;
}
h4 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink);
    margin: 0 0 var(--s-xs);
}

p {
    margin: 0 0 var(--s-md);
    color: var(--body);
}
a {
    color: var(--primary);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-lg);
}

/* ============== Top Navigation ============== */
.site-header {
    background: rgba(250, 249, 245, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--hairline);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 var(--s-lg);
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--s-xs);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
    letter-spacing: -0.3px;
}
.logo:hover {
    text-decoration: none;
}
.spike-mark {
    width: 16px;
    height: 16px;
    color: var(--ink);
}
.logo-image {
    max-height: 56px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: var(--s-lg);
    align-items: center;
}
.main-nav a {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 6px 4px;
    position: relative;
}
.main-nav a:hover {
    color: var(--primary);
    text-decoration: none;
}
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    color: var(--ink);
    line-height: 1;
}

/* ============== Main ============== */
.main-content {
    padding: var(--s-lg) var(--s-lg) var(--s-section);
    max-width: 1200px;
    margin: 0 auto;
    min-height: calc(100vh - 280px);
    position: relative;
    z-index: 1; /* Keep content above slider */
}

/* ============== Hero / intro ============== */
.hero {
    padding: var(--s-xxl) 0 var(--s-xl);
    max-width: 720px;
}
.hero h1 {
    margin-bottom: var(--s-sm);
}
.hero p {
    font-size: 17px;
    line-height: 1.55;
    color: var(--body-strong);
    max-width: 580px;
}

/* Compact hero when slider precedes it */
.slider + .hero {
    padding: var(--s-xl) 0 var(--s-md);
}

/* Anasayfa spesifik tipografi (Arkaplan karanlık olduğu için) */
.is-home h1, 
.is-home .section-head h2,
.is-home .empty h2 {
    color: var(--on-dark) !important;
}

.is-home .hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9) !important;
}

.is-home .section-meta, 
.is-home .empty p {
    color: rgba(255, 255, 255, 0.8) !important;
}

.is-home .section-head {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.is-home .hero h1 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -0.4px;
    color: var(--on-dark);
}
.is-home .hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.is-home .section-head h2 {
    color: var(--on-dark);
}
.is-home .section-meta {
    color: rgba(255, 255, 255, 0.8);
}
.is-home .empty h2, .is-home .empty p {
    color: var(--on-dark);
}
.is-home .section-head {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--s-md);
    flex-wrap: wrap;
    margin: var(--s-lg) 0 var(--s-md);
    padding-bottom: var(--s-sm);
    border-bottom: 1px solid var(--hairline);
}
.section-head h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.4px;
}
.section-head .section-meta {
    color: var(--muted);
    font-size: 13px;
}

/* ============== Card ribbons & badges ============== */
.card-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    z-index: 2;
}
.ribbon-featured {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 4px 10px rgba(204, 120, 92, 0.35);
}
.ribbon-new {
    background: rgba(24, 23, 21, 0.78);
    color: var(--on-dark);
    backdrop-filter: blur(6px);
}

.card-category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(250, 249, 245, 0.92);
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    backdrop-filter: blur(6px);
    z-index: 2;
}

/* File size info */
.card-file-info {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
}
.card-file-info svg {
    width: 12px;
    height: 12px;
}

/* ============== Program Grid ============== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    margin-top: var(--s-md);
}
.program-card {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition:
        border-color 0.15s,
        transform 0.15s,
        box-shadow 0.15s;
    display: flex;
    flex-direction: column;
}
.program-card:hover {
    border-color: var(--surface-cream-strong);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 20, 19, 0.06);
}

/* Öne çıkan: aynı boyut, sadece tinted bg + coral border */
.program-card.is-featured {
    background: var(--primary-soft);
    border-color: rgba(204, 120, 92, 0.35);
}
.program-card.is-featured:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(204, 120, 92, 0.15);
}
.program-card.is-featured .card-image {
    background: rgba(204, 120, 92, 0.08);
}
.program-card.is-featured .card-footer {
    border-top-color: rgba(204, 120, 92, 0.18);
}
.program-card.is-featured .meta-chip {
    background: var(--canvas);
    border-color: rgba(204, 120, 92, 0.15);
}
.card-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    height: 100%;
}
.card-link:hover {
    text-decoration: none;
}

.card-image {
    aspect-ratio: 2/1;
    background: var(--surface-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.program-card:hover .card-image img {
    transform: scale(1.03);
}
.no-image {
    font-size: 2.5rem;
    opacity: 0.3;
    color: var(--muted);
}
.no-image.big {
    font-size: 5rem;
}

.card-body {
    padding: 10px 12px 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.card-body h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.1px;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-vendor {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
.card-desc {
    color: var(--body);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta chips row */
.card-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

.meta-row-os {
    display: flex;
    gap: 6px;
    align-items: center;
}
.meta-os-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--surface-card);
    border-radius: 6px;
    border: 1px solid var(--hairline-soft);
    cursor: default;
    transition:
        background 0.15s,
        border-color 0.15s;
    color: var(--body-strong);
    font-weight: 500;
    flex-shrink: 0;
}

.meta-row-info {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--surface-card);
    color: var(--body-strong);
    line-height: 1.3;
    border: 1px solid var(--hairline-soft);
}
.meta-chip.os-chip {
    background: var(--canvas);
    color: var(--muted);
    border-color: var(--hairline);
    font-weight: 600;
    letter-spacing: 0.3px;
}
.meta-chip.license-chip {
    background: rgba(93, 184, 166, 0.12);
    color: #2d7a6b;
    border-color: rgba(93, 184, 166, 0.3);
}
.meta-chip.price-chip {
    background: var(--primary-soft);
    color: var(--primary-active);
    border-color: rgba(204, 120, 92, 0.25);
    gap: 4px;
}
.meta-chip.price-chip s {
    color: var(--muted);
    font-weight: 400;
}
.meta-chip.price-chip strong {
    font-weight: 700;
    letter-spacing: 0.5px;
}
/* Kalan süre — card-body içinde */
.card-time {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
    margin-top: 5px;
}
.card-time svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* OS badge iç ikon */
.meta-os-badge svg {
    width: 15px;
    height: 15px;
    display: block;
    flex-shrink: 0;
}

.card-footer {
    margin-top: auto;
    padding: 8px 12px;
    border-top: 1px solid var(--hairline-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    gap: 6px;
}

.card-footer .footer-left {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.card-footer .detail-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.card-footer .detail-link svg {
    width: 12px;
    height: 12px;
    transition: transform 0.15s;
}
.program-card:hover .detail-link svg {
    transform: translateX(3px);
}

/* ============== Badges ============== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--surface-card);
    color: var(--ink);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: var(--r-pill);
}
.badge svg {
    width: 12px;
    height: 12px;
}
.badge.big {
    font-size: 13px;
    padding: 6px 14px;
    background: var(--primary-soft);
    color: var(--primary-active);
}
.badge.coral {
    background: var(--primary);
    color: var(--on-primary);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============== Empty state ============== */
.empty {
    text-align: center;
    padding: var(--s-xxl) var(--s-lg);
    color: var(--muted);
    background: var(--surface-card);
    border-radius: var(--r-lg);
}
.empty h2 {
    color: var(--ink);
    margin-bottom: var(--s-xs);
    font-size: 22px;
}
.empty p {
    color: var(--muted);
    margin: 0;
}

/* ============== Program Detail ============== */
.program-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: var(--s-xl);
    margin-top: var(--s-lg);
    align-items: start;
}
.detail-main {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    padding: var(--s-xl);
}
.detail-image {
    background: var(--surface-card);
    border-radius: var(--r-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    margin-bottom: var(--s-lg);
    border: 1px solid var(--hairline-soft);
}
.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-main h1 {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: var(--s-sm);
    letter-spacing: -0.6px;
}
.detail-main .description {
    color: var(--body-strong);
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-line;
}
.detail-section {
    margin-top: var(--s-xl);
    padding-top: var(--s-md);
    border-top: 1px solid var(--hairline-soft);
}
.detail-section h3 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 var(--s-sm);
}
.detail-section-body {
    color: var(--body-strong);
    font-size: 14px;
    line-height: 1.7;
}

/* Info sidebar */
.detail-aside {
    position: sticky;
    top: 80px;
    background: var(--surface-card);
    border-radius: var(--r-xl);
    padding: var(--s-lg);
}
.detail-aside .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 13px;
}
.detail-aside .info-row:last-of-type {
    border-bottom: 0;
}
.detail-aside .info-row .label {
    color: var(--muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 11px;
}
.detail-aside .info-row .value {
    color: var(--ink);
    font-weight: 500;
}
.detail-aside .info-row .value.highlight {
    color: var(--primary-active);
}

.os-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.os-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-strong);
    background: var(--surface-card);
    border: 1px solid var(--hairline-soft);
    border-radius: var(--r-sm);
    padding: 4px 10px 4px 7px;
}
.os-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: var(--primary);
    color: var(--on-primary);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    padding: 12px 20px;
    height: 44px;
    border-radius: var(--r-md);
    text-align: center;
    margin-top: var(--s-md);
    transition:
        background 0.15s,
        transform 0.1s;
}
.btn-download:hover {
    background: var(--primary-active);
    text-decoration: none;
    color: var(--on-primary);
}
.btn-download:active {
    transform: translateY(1px);
}
.btn-download svg {
    width: 16px;
    height: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: var(--s-md);
}
.back-link:hover {
    color: var(--ink);
    text-decoration: none;
}
.back-link svg {
    width: 12px;
    height: 12px;
}

/* ============== Static pages ============== */
.static-page {
    background: var(--canvas);
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    padding: var(--s-xl);
    margin-top: var(--s-md);
    max-width: 820px;
}
.static-page h1 {
    margin-top: 0;
    font-size: clamp(30px, 4vw, 42px);
    letter-spacing: -0.6px;
}
.static-page h2 {
    margin-top: var(--s-xl);
    font-size: 24px;
}
.page-content {
    font-size: 16px;
    line-height: 1.7;
    color: var(--body-strong);
}
.page-content a {
    color: var(--primary);
    text-decoration: underline;
}
.page-content > *:first-child {
    margin-top: 0;
}

/* ============== Footer ============== */
.site-footer {
    background: var(--surface-dark);
    color: var(--on-dark-soft);
    padding: var(--s-xxl) 0 var(--s-md);
    margin-top: var(--s-section);
    position: relative;
    z-index: 10;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: var(--s-xxl);
    align-items: start;
    padding-bottom: var(--s-xl);
}
.footer-col {
    min-width: 0;
}
.footer-brand-col {
    max-width: 360px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-dark);
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: -0.3px;
    margin-bottom: var(--s-sm);
}
.footer-brand:hover {
    text-decoration: none;
    color: var(--on-dark);
}
.footer-brand svg {
    width: 18px;
    height: 18px;
}
.footer-logo-img {
    max-height: 56px;
    width: auto;
}

.footer-desc {
    color: var(--on-dark-soft);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 var(--s-md);
}

.footer-social {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--on-dark-soft);
    background: var(--surface-dark-elevated);
    border-radius: 50%;
    transition:
        color 0.15s,
        background 0.15s,
        transform 0.15s;
}
.social-link:hover {
    color: var(--on-dark);
    background: var(--primary);
    text-decoration: none;
    transform: translateY(-2px);
}
.social-link svg {
    width: 16px;
    height: 16px;
}

.footer-title {
    color: var(--on-dark);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 0 var(--s-md);
}
.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-list li {
    line-height: 1.4;
}
.footer-list a {
    color: var(--on-dark-soft);
    font-size: 14px;
    transition: color 0.15s;
    display: inline-block;
}
.footer-list a:hover {
    color: var(--on-dark);
    text-decoration: none;
}
.footer-list .muted-soft {
    color: var(--muted-soft);
    font-size: 13px;
    font-style: italic;
}

.footer-bottom {
    border-top: 1px solid var(--surface-dark-elevated);
    padding-top: var(--s-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-md);
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--on-dark-soft);
}
.footer-copy {
    color: var(--on-dark-soft);
}
.footer-partner {
    color: var(--muted-soft);
}
.footer-partner a {
    color: var(--on-dark);
    font-weight: 500;
    transition: color 0.15s;
}
.footer-partner a:hover {
    color: var(--primary);
    text-decoration: none;
}
.urer-logo {
    opacity: 0.6;
    transition: opacity 0.3s;
}
.urer-logo:hover {
    opacity: 1;
}

/* ============== Flash ============== */
.flash {
    padding: 10px 14px;
    border-radius: var(--r-md);
    margin-bottom: var(--s-sm);
    border-left: 3px solid;
    font-size: 14px;
    background: var(--surface-card);
}
.flash-success {
    border-color: var(--success);
    color: var(--body-strong);
}
.flash-error {
    border-color: var(--error);
    color: var(--body-strong);
}

/* ============== Slider ============== */
.slider {
    position: fixed;
    top: 0px; /* Header height is around 70px typically, let's use var(--header-height) if available or sticky offset */
    left: 0;
    width: 100%;
    height: calc(100vh - 0px);
    z-index: -1;
    overflow: hidden;
    margin: 0;
    background: var(--surface-dark);
}
.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}
.slide.active {
    opacity: 1;
    pointer-events: auto;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.7); /* Karaltıldı */
    display: none; /* Hide content inside background slider, unless user still wants to see the slide titles? Let's check */
}
/* If they still want slide content to show up, we can leave it flex, but maybe it overlaps? 
Let's keep it just as a dark overlay. The user said "bodysinin arkasında dönsün, biraz karaltalım".
This implies the slides are just backgrounds. So the slide content might need to go, OR it is still visible but below the homepage content?
If the slide has content, it might interfere. But let's just make the overlay purely visual */
.slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65); /* Karaltma */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--s-xl);
}
.slide-content {
    display: none; /* Gizleyelim ki asıl metinlerle karışmasın */
}
.slide-content h2 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--on-dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.4px;
    margin: 0 0 var(--s-xs);
}
.slide-content p {
    color: var(--on-dark);
    font-size: 16px;
    opacity: 0.9;
    margin: 0 auto var(--s-md) auto;
    max-width: 600px;
}
.btn-primary-cream {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--canvas);
    color: var(--ink);
    padding: 9px 18px;
    height: 36px;
    border-radius: var(--r-md);
    font-weight: 500;
    font-size: 13px;
}
.btn-primary-cream:hover {
    background: var(--surface-card);
    text-decoration: none;
}
.btn-primary-cream svg {
    width: 12px;
    height: 12px;
}

.slider-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(40, 40, 40, 0.4);
    color: rgba(255, 255, 255, 0.7);
    border: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    backdrop-filter: blur(8px);
    z-index: 5;
}
.slider-arrow:hover {
    background: rgba(20, 20, 20, 0.8);
    color: #fff;
}
.slider-prev {
    left: var(--s-md);
}
.slider-next {
    right: var(--s-md);
}

.slider-dots {
    position: fixed;
    bottom: var(--s-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.slider-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: rgba(250, 249, 245, 0.5);
    cursor: pointer;
    padding: 0;
    transition:
        background 0.15s,
        width 0.15s;
}
.slider-dot.active {
    background: var(--canvas);
    width: 20px;
    border-radius: var(--r-pill);
}

/* ============== Contact form ============== */
.contact-form {
    margin-top: var(--s-md);
    display: flex;
    flex-direction: column;
    gap: var(--s-sm);
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-sm);
}
.contact-form label {
    display: block;
    font-weight: 500;
    color: var(--ink);
    font-size: 13px;
}
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 9px 12px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    font: 400 14px var(--font-body);
    background: var(--canvas);
    color: var(--ink);
}
.contact-form input {
    height: 38px;
}
.contact-form textarea {
    resize: vertical;
    line-height: 1.55;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.15);
}
.contact-form .form-actions {
    margin-top: var(--s-xs);
}
.contact-form .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: var(--on-primary);
    border: 0;
    height: 40px;
    padding: 0 22px;
    border-radius: var(--r-md);
    font: 500 14px var(--font-body);
    cursor: pointer;
}
.contact-form .btn-primary:hover {
    background: var(--primary-active);
}
.turnstile-widget,
.recaptcha-widget {
    margin: var(--s-xs) 0;
}

/* ============== Responsive ============== */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--canvas);
        flex-direction: column;
        padding: var(--s-md) var(--s-lg);
        border-bottom: 1px solid var(--hairline);
        gap: var(--s-sm);
    }
    .main-nav.open {
        display: flex;
    }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        padding: var(--s-lg) 0 var(--s-md);
    }
    .hero h1 {
        font-size: 30px;
        letter-spacing: -0.4px;
    }
    .hero p {
        font-size: 15px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: var(--s-sm);
    }

    .program-detail {
        grid-template-columns: 1fr;
        gap: var(--s-md);
    }
    .detail-aside {
        position: static;
    }
    .detail-main {
        padding: var(--s-lg);
    }

    .static-page {
        padding: var(--s-lg);
    }
    .main-content {
        padding: var(--s-md) var(--s-lg) var(--s-xxl);
    }

    .slider {
        aspect-ratio: auto;
        border-radius: 0;
        max-height: none;
        height: calc(100vh - 60px);
        height: calc(100svh - 60px);
        top: 60px;
    }
    .slide-overlay {
        padding: var(--s-md);
        background: rgba(0, 0, 0, 0.65); /* Mobilde de aynı karartma */
    }
    .slide-content h2 {
        font-size: 22px;
    }
    .slide-content p {
        font-size: 14px;
    }
    .slider-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--s-xl);
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--s-xs);
        text-align: left;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--s-xl);
    }
    .footer-brand-col {
        grid-column: 1 / -1;
        max-width: none;
    }
}

/* ============== Hakkımda - İki sütunlu düzen ============== */
.about-with-image {
    max-width: none;
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--s-xl);
    align-items: start;
}
.about-text {
    min-width: 0;
}
.about-layout h1 {
    margin-top: 0;
}
.about-image-col {
    position: sticky;
    top: 80px;
}
.about-image-col img {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: 0 4px 20px rgba(20, 20, 19, 0.12);
    display: block;
}
@media (max-width: 768px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
    .about-image-col {
        order: -1;
        position: static;
    }
    .about-image-col img {
        max-width: 100%;
        max-height: 260px;
        object-fit: cover;
    }
}

/* ============== Üye navigasyon ============== */
.nav-register-btn {
    background: var(--primary);
    color: var(--on-primary) !important;
    padding: 5px 14px !important;
    border-radius: var(--r-pill);
    font-size: 13px !important;
}
.nav-register-btn:hover {
    background: var(--primary-active);
    color: var(--on-primary) !important;
    text-decoration: none !important;
}
.nav-login-link {
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}
.nav-member-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}
.nav-member-name {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
}
.nav-member-name:hover {
    color: var(--primary);
    text-decoration: none;
}
.logout-form {
    display: contents;
}
.nav-member-logout {
    color: var(--muted);
    font-size: 13px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-pill);
    padding: 3px 10px;
    background: none;
    cursor: pointer;
    font-family: var(--font-body);
    line-height: 1;
}
.nav-member-logout:hover {
    color: var(--error);
    border-color: var(--error);
    text-decoration: none;
}

/* ============== Auth sayfaları (Giriş / Üye Ol) ============== */
.auth-page {
    max-width: 460px;
    margin: var(--s-xxl) auto;
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    padding: var(--s-xxl) var(--s-xl);
    box-shadow: 0 4px 24px rgba(20, 20, 19, 0.07);
}
.auth-head {
    margin-bottom: var(--s-lg);
    padding-bottom: var(--s-lg);
    border-bottom: 1px solid var(--hairline-soft);
}
.auth-head h1 {
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: var(--s-xxs);
}
.auth-head p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}
.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--s-md);
}
.auth-form label {
    display: block;
    font-weight: 500;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.1px;
}
.auth-form input,
.auth-form select {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 13px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    font: 400 14px var(--font-body);
    background: var(--canvas);
    color: var(--ink);
    height: 40px;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(204, 120, 92, 0.15);
}
.btn-auth {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--on-primary);
    border: 0;
    height: 44px;
    padding: 0 24px;
    border-radius: var(--r-md);
    font: 500 15px var(--font-body);
    cursor: pointer;
    margin-top: var(--s-xs);
    width: 100%;
    transition: background 0.15s, transform 0.1s;
}
.btn-auth:hover {
    background: var(--primary-active);
}
.btn-auth:active {
    transform: translateY(1px);
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-sm);
}
@media (max-width: 520px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    .auth-page {
        padding: var(--s-xl) var(--s-lg);
        margin: var(--s-lg) auto;
        border-radius: var(--r-lg);
    }
}

/* ============== Hesap Yönetimi ============== */
.account-page {
    max-width: 640px;
    margin: var(--s-xxl) auto;
}
.account-header {
    margin-bottom: var(--s-xl);
}
.account-header h1 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 var(--s-xxs);
}
.account-header p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}
.account-section {
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: var(--r-xl);
    padding: var(--s-xl);
    margin-bottom: var(--s-md);
    box-shadow: 0 2px 12px rgba(20, 20, 19, 0.05);
}
.account-section-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 0 0 var(--s-lg);
    padding-bottom: var(--s-md);
    border-bottom: 1px solid var(--hairline-soft);
}
.account-section-title.danger {
    color: var(--error);
}
.account-section-danger {
    border-color: rgba(220, 38, 38, 0.2);
}
.btn-danger {
    background: var(--error) !important;
}
.btn-danger:hover {
    background: #b91c1c !important;
}
@media (max-width: 520px) {
    .account-page {
        margin: var(--s-lg) auto;
    }
    .account-section {
        padding: var(--s-lg);
        border-radius: var(--r-lg);
    }
}

/* ============== Üye girişi zorunlu programlar ============== */
.members-only-notice {
    margin-top: var(--s-md);
    padding: var(--s-md);
    background: var(--primary-soft);
    border: 1px solid rgba(204, 120, 92, 0.3);
    border-radius: var(--r-lg);
    text-align: center;
}
.members-only-notice p {
    color: var(--body-strong);
    font-size: 14px;
    margin: 0 0 var(--s-sm);
    line-height: 1.5;
}
.members-only-notice .btn-download {
    margin-top: 0;
    background: var(--primary);
}
