/* ================================================
   Karanlik Oda Rehberi — fotografisakisi.com.tr
   Premium fotograf isleme egitim platformu
   ================================================ */

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

:root {
    --white: #ffffff;
    --off-white: #fafaf9;
    --cream: #f5f5f0;
    --sand-100: #eceae3;
    --sand-200: #dedad0;
    --sand-300: #c4bfb3;
    --sand-400: #a39e93;
    --sand-500: #7c7870;
    --sand-600: #5c5952;
    --sand-700: #44423d;
    --sand-800: #2e2d2a;
    --sand-900: #1c1b19;
    --sand-950: #0f0e0d;

    --amber: #c2790e;
    --amber-light: #e09422;
    --amber-dark: #9a5f08;
    --amber-glow: rgba(194, 121, 14, 0.12);
    --amber-bg: #fdf8ef;

    --ink: #1a1918;
    --ink-light: #292826;

    --success: #3d8b5e;
    --success-bg: #f0f9f3;
    --warning: #b8860b;
    --warning-bg: #fdf6e3;
    --error: #c94040;
    --error-bg: #fdf0f0;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 14px;
    --r-xl: 20px;
    --r-full: 9999px;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --max-w: 1140px;
    --content-w: 720px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.75;
    color: var(--sand-600);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--amber-glow);
    color: var(--ink);
}

/* ===================== SKIP LINK ===================== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--ink);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--r-md);
    font-weight: 600;
    z-index: 10000;
    text-decoration: none;
    font-size: 0.875rem;
}
.skip-link:focus { top: 16px; }

:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 2px;
}
a:focus:not(:focus-visible) { outline: none; }

/* ===================== TYPOGRAPHY ===================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
}
h1 { font-size: 2.125rem; margin-bottom: 0.75rem; }
h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.5rem; }
h4 { font-size: 1.0625rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a {
    color: var(--amber-dark);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
a:hover { color: var(--amber); text-decoration: underline; }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.3rem; }

blockquote {
    border-left: 2px solid var(--amber);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    background: var(--amber-bg);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    color: var(--sand-700);
    font-style: italic;
}

code {
    font-family: var(--font-mono);
    font-size: 0.84em;
    background: var(--cream);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--sand-800);
}

hr {
    border: none;
    border-top: 1px solid var(--sand-100);
    margin: 2.5rem 0;
}

img { max-width: 100%; height: auto; display: block; }

/* ===================== LAYOUT ===================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

.content-narrow {
    max-width: var(--content-w);
    margin: 0 auto;
}

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-delay-6 { transition-delay: 0.48s; }

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===================== HEADER ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 250, 249, 0.85);
    backdrop-filter: blur(16px) saturate(1.5);
    -webkit-backdrop-filter: blur(16px) saturate(1.5);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    background: rgba(250, 250, 249, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 28px;
}

.site-logo,
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.02em;
    transition: opacity 0.2s var(--ease);
}
.site-logo:hover,
.logo:hover { opacity: 0.7; text-decoration: none; color: var(--ink); }

.logo-icon {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: var(--amber);
}

.logo-text { white-space: nowrap; }

/* ===================== NAV ===================== */
.main-nav { display: flex; align-items: center; }

.nav-list {
    display: flex;
    list-style: none;
    gap: 0;
    padding: 0;
    margin: 0;
}

.nav-list a {
    display: block;
    padding: 8px 18px;
    color: var(--sand-500);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--r-full);
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    letter-spacing: -0.01em;
}
.nav-list a:hover {
    color: var(--ink);
    background: rgba(0,0,0,0.04);
    text-decoration: none;
}
.nav-list a[aria-current="page"] {
    color: var(--ink);
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    color: var(--ink);
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: var(--r-md);
    transition: background 0.2s var(--ease);
    font-size: 0;
    line-height: 0;
}
.nav-toggle:hover { background: rgba(0,0,0,0.04); }

/* span-based hamburger: hide any text */

/* For span-based hamburger */
.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav { position: static; }
    .nav-list {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--off-white);
        border-bottom: 1px solid var(--sand-100);
        flex-direction: column;
        padding: 12px 20px 20px;
        gap: 2px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
        z-index: 99;
    }
    .nav-list.is-open { display: flex; }
    .nav-list a {
        padding: 14px 18px;
        border-radius: var(--r-md);
        font-size: 0.9375rem;
    }
    nav .nav-list { display: none; }
    nav .nav-list.is-open { display: flex; }
}

/* ===================== NAV SUBMENU ===================== */
.nav-has-sub {
    position: relative;
}
.nav-has-sub > a {
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-chevron {
    width: 10px;
    height: 10px;
    transition: transform 0.25s var(--ease);
}
.nav-has-sub.is-sub-open .nav-chevron {
    transform: rotate(180deg);
}
@media (min-width: 769px) {
    .nav-has-sub:hover .nav-chevron {
        transform: rotate(180deg);
    }
}
.nav-sub {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 240px;
    background: var(--white);
    border: 1px solid var(--sand-100);
    border-radius: var(--r-lg);
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.04);
    list-style: none;
    margin: 0;
    z-index: 200;
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
@media (min-width: 769px) {
    .nav-has-sub:hover .nav-sub {
        display: block;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}
.nav-has-sub.is-sub-open .nav-sub {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.nav-sub li {
    margin: 0;
}
.nav-sub a {
    display: block;
    padding: 9px 14px;
    font-size: 0.8125rem;
    color: var(--sand-600);
    border-radius: var(--r-sm);
    font-weight: 500;
    transition: all 0.15s var(--ease);
    white-space: nowrap;
}
.nav-sub a:hover {
    background: var(--amber-bg);
    color: var(--amber-dark);
    text-decoration: none;
}
.nav-sub a[aria-current="page"] {
    background: var(--ink);
    color: var(--white);
}

@media (max-width: 768px) {
    .nav-sub {
        position: static;
        transform: none !important;
        border: none;
        box-shadow: none;
        min-width: 0;
        padding: 0;
        margin: 0;
        opacity: 1;
        background: transparent;
        display: none;
    }
    .nav-has-sub.is-sub-open .nav-sub {
        display: block;
    }
    .nav-sub li {
        padding-left: 16px;
    }
    .nav-sub a {
        padding: 10px 14px;
        font-size: 0.875rem;
    }
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.8125rem;
    color: var(--sand-400);
    max-width: var(--max-w);
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}
.breadcrumb li::after {
    content: "/";
    margin-left: 8px;
    color: var(--sand-200);
    font-weight: 300;
}
.breadcrumb li:last-child::after { content: none; }
.breadcrumb li:last-child { color: var(--sand-600); }
.breadcrumb a { color: var(--sand-400); }
.breadcrumb a:hover { color: var(--amber); text-decoration: none; }

/* ===================== HERO ===================== */
.hero {
    padding: 80px 0 64px;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

/* Animated grain/texture overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 20% 40%, var(--amber-glow) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 80% 30%, rgba(194, 121, 14, 0.05) 0%, transparent 60%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Decorative aperture ring */
.hero::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(194, 121, 14, 0.08);
    transform: translateY(-50%);
    pointer-events: none;
    animation: apertureRotate 30s linear infinite;
}

@keyframes apertureRotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.hero .container {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h1,
.hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    margin-bottom: 1.25rem;
    color: var(--ink);
    letter-spacing: -0.04em;
    line-height: 1.1;
    font-weight: 800;
}

.hero .subtitle,
.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--sand-500);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.75;
}

@media (max-width: 600px) {
    .hero { padding: 52px 0 40px; }
}

/* ===================== SECTIONS ===================== */
.section-title {
    font-size: 1.375rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--ink);
    letter-spacing: -0.03em;
}

.section-desc {
    text-align: center;
    color: var(--sand-500);
    max-width: 520px;
    margin: 0 auto 2rem;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===================== WORKFLOW SELECTOR ===================== */
.workflow-selector {
    max-width: 820px;
    margin: 48px auto 24px;
    padding: 0 28px;
}

.tabs-wrapper {
    background: var(--white);
    border: 1px solid var(--sand-100);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.tab-list {
    display: flex;
    gap: 0;
    background: var(--cream);
    padding: 6px;
    border-bottom: none;
}

.tab-btn {
    flex: 1;
    padding: 11px 14px;
    background: none;
    border: none;
    border-radius: var(--r-lg);
    color: var(--sand-500);
    font-family: var(--font);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    text-align: center;
    letter-spacing: -0.01em;
    position: relative;
}
.tab-btn:hover {
    color: var(--sand-700);
}
.tab-btn--active,
.tab-btn[aria-selected="true"] {
    color: var(--ink);
    background: var(--white);
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.tab-panel {
    display: none;
    padding: 28px 28px 24px;
}
.tab-panel--active,
.tab-panel:not([hidden]) { display: block; }
.tab-panel[hidden] { display: none; }

.panel-title {
    font-size: 1.0625rem;
    margin: 0 0 6px;
    color: var(--ink);
}

.panel-desc {
    font-size: 0.9375rem;
    color: var(--sand-500);
    margin-bottom: 20px;
    line-height: 1.65;
}

.workflow-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: wfstep;
}
.workflow-steps li {
    counter-increment: wfstep;
    margin-bottom: 6px;
}
.workflow-steps li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: var(--off-white);
    border: 1px solid transparent;
    border-radius: var(--r-md);
    color: var(--sand-700);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}
.workflow-steps li a:hover {
    background: var(--amber-bg);
    border-color: rgba(194, 121, 14, 0.15);
    text-decoration: none;
    color: var(--amber-dark);
    transform: translateX(6px);
}
.workflow-steps li a::before {
    content: counter(wfstep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--r-full);
    font-size: 0.6875rem;
    font-weight: 700;
    flex-shrink: 0;
    font-family: var(--font-mono);
    transition: background 0.3s var(--ease);
}
.workflow-steps li a:hover::before {
    background: var(--amber);
}

/* ===================== CARD GRID ===================== */
.card-grid-section {
    padding: 64px 0 40px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin: 0;
}

@media (max-width: 420px) {
    .card-grid { grid-template-columns: 1fr; }
}

.card {
    background: var(--white);
    border: 1px solid var(--sand-100);
    border-radius: var(--r-lg);
    padding: 24px 26px 22px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    cursor: pointer;
}
.card:hover {
    border-color: rgba(194, 121, 14, 0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.card .card-number {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.625rem;
    color: var(--amber);
    background: none;
    padding: 0;
    margin-bottom: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.card .card-number::before {
    content: "— ";
    color: var(--sand-200);
}

.card h3,
.card .card-title {
    font-size: 1.0625rem;
    margin-top: 0;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.card h3 a,
.card .card-title a {
    color: var(--ink);
    transition: color 0.2s var(--ease);
}
.card h3 a:hover,
.card .card-title a:hover {
    color: var(--amber);
    text-decoration: none;
}

.card p,
.card .card-desc {
    font-size: 0.875rem;
    color: var(--sand-500);
    margin-bottom: 0;
    line-height: 1.65;
}

.card a.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.card a.card-link:hover { text-decoration: none; }

/* ===================== ARTICLE ===================== */
.article-content {
    padding: 2rem 0 4rem;
}

.article-content h1 {
    margin-bottom: 0.5rem;
    font-size: 2.125rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.article-meta {
    font-size: 0.8125rem;
    color: var(--sand-400);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--sand-100);
    font-weight: 500;
}

.article-content h2 {
    padding-top: 0.5rem;
    color: var(--ink);
    font-size: 1.375rem;
}

.article-content h3 {
    color: var(--sand-800);
}

/* ===================== PANEL PLACEHOLDER ===================== */
.panel-placeholder {
    background: var(--cream);
    border: 1px dashed var(--sand-200);
    border-radius: var(--r-lg);
    padding: 32px;
    margin: 2rem 0;
    text-align: center;
}

.panel-placeholder .panel-label {
    font-size: 0.6875rem;
    color: var(--sand-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    font-weight: 600;
}

.panel-placeholder svg { max-width: 100%; height: auto; }

/* ===================== INFO BOX ===================== */
.info-box {
    background: var(--amber-bg);
    border-left: 2px solid var(--amber);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    padding: 20px 24px;
    margin: 2rem 0;
    font-size: 0.9375rem;
    line-height: 1.75;
}
.info-box strong { color: var(--ink); }

.info-box--warning {
    background: var(--warning-bg);
    border-left-color: var(--warning);
}
.info-box--tip {
    background: var(--success-bg);
    border-left-color: var(--success);
}
.info-box--caution {
    background: var(--error-bg);
    border-left-color: var(--error);
}

/* ===================== RELATED CONTENT ===================== */
.related-content {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--sand-100);
}
.related-content h2 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 1.25rem;
}
.related-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 8px;
}
.related-list li { margin-bottom: 0; }
.related-list a {
    display: block;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--sand-100);
    border-radius: var(--r-md);
    color: var(--sand-700);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
}
.related-list a:hover {
    background: var(--amber-bg);
    border-color: rgba(194, 121, 14, 0.2);
    text-decoration: none;
    color: var(--amber-dark);
    transform: translateX(4px);
}

/* ===================== FAQ ===================== */
.faq-list { margin: 2.5rem 0; }
.faq-item {
    border: 1px solid var(--sand-100);
    border-radius: var(--r-lg);
    margin-bottom: 10px;
    background: var(--white);
    transition: all 0.25s var(--ease);
}
.faq-item:hover {
    border-color: var(--sand-200);
}
.faq-item.is-open {
    border-color: rgba(194, 121, 14, 0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.faq-item h2 {
    margin: 0;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 24px;
    color: var(--ink);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s var(--ease);
    font-family: var(--font);
    line-height: 1.5;
    letter-spacing: -0.01em;
}
.faq-question:hover { color: var(--amber); }

.faq-question::after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--sand-400);
    border-bottom: 2px solid var(--sand-400);
    flex-shrink: 0;
    margin-left: 20px;
    transform: rotate(45deg);
    transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease);
}
.faq-item.is-open .faq-question::after {
    transform: rotate(-135deg);
    border-color: var(--amber);
}

.faq-answer-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s var(--ease-out);
}
.faq-item.is-open .faq-answer-wrap {
    grid-template-rows: 1fr;
}
.faq-answer {
    overflow: hidden;
    color: var(--sand-600);
    font-size: 0.9375rem;
    line-height: 1.8;
}
.faq-answer > p {
    padding: 0 24px 20px;
    margin: 0;
}

/* ===================== CONTACT FORM ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 24px;
    margin: 2.5rem 0;
    align-items: start;
}
@media (max-width: 700px) {
    .contact-grid { grid-template-columns: 1fr; gap: 20px; }
}

.contact-info-item { margin-bottom: 28px; }
.contact-info-item .label {
    font-size: 0.6875rem;
    color: var(--sand-400);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 4px;
    font-weight: 600;
}
.contact-info-item .value { color: var(--ink); font-weight: 600; font-size: 0.9375rem; }

.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--sand-700);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.form-group .required-mark { color: var(--error); }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--sand-200);
    border-radius: var(--r-md);
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.9375rem;
    transition: all 0.25s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--amber);
    outline: none;
    box-shadow: 0 0 0 4px var(--amber-glow);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: var(--amber);
    width: 16px;
    height: 16px;
}
.form-checkbox label {
    font-size: 0.8125rem;
    font-weight: 400;
    margin-bottom: 0;
    color: var(--sand-500);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--ink);
    color: var(--white);
    border: none;
    border-radius: var(--r-full);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: var(--font);
    letter-spacing: -0.01em;
}
.btn-submit:hover {
    background: var(--sand-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.btn-submit:active { transform: translateY(0); box-shadow: none; }
.btn-submit:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }

.form-result {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--r-md);
    font-size: 0.875rem;
    display: none;
    font-weight: 500;
}
.form-result.is-success {
    display: block;
    background: var(--success-bg);
    color: var(--success);
}
.form-result.is-error {
    display: block;
    background: var(--error-bg);
    color: var(--error);
}

/* Honeypot */
.kor-alan { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ===================== FOOTER ===================== */
.site-footer {
    background: var(--sand-950);
    color: var(--sand-500);
    padding: 52px 0 32px;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--amber) 50%, transparent 100%);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

.footer-col h4,
.footer-heading {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sand-400);
    margin-bottom: 18px;
    margin-top: 0;
    font-weight: 600;
}

.footer-col p,
.footer-about {
    font-size: 0.8125rem;
    color: var(--sand-600);
    line-height: 1.75;
}

.footer-col ul,
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a,
.footer-links a {
    font-size: 0.8125rem;
    color: var(--sand-500);
    transition: color 0.2s var(--ease);
}
.footer-col a:hover,
.footer-links a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    text-align: center;
    font-size: 0.75rem;
    color: var(--sand-600);
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 480px;
    background: var(--white);
    border: 1px solid var(--sand-100);
    padding: 24px;
    z-index: 9999;
    border-radius: var(--r-xl);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.06);
    animation: cookieSlideUp 0.5s var(--ease-out) both;
}
.cookie-banner.is-visible { display: block; }

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

.cookie-inner {
    max-width: 100%;
}

.cookie-banner p {
    font-size: 0.8125rem;
    margin-bottom: 16px;
    color: var(--sand-600);
    line-height: 1.65;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.cookie-btn {
    padding: 9px 20px;
    border-radius: var(--r-full);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--sand-200);
    background: var(--white);
    color: var(--sand-700);
    transition: all 0.2s var(--ease);
    font-family: var(--font);
}
.cookie-btn:hover { border-color: var(--sand-300); background: var(--cream); }

.cookie-btn--accept {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--white);
}
.cookie-btn--accept:hover {
    background: var(--sand-800);
    border-color: var(--sand-800);
}

.cookie-settings {
    display: none;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--sand-100);
}
.cookie-settings.is-open { display: block; }

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.8125rem;
}
.cookie-option span { color: var(--sand-800); font-weight: 500; }
.cookie-option .cookie-note {
    font-size: 0.6875rem;
    color: var(--sand-400);
    margin-top: 1px;
}

/* Toggle */
.toggle-switch {
    position: relative;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--sand-200);
    border-radius: 11px;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}
.toggle-slider::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.25s var(--ease-spring);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.toggle-switch input:checked + .toggle-slider { background: var(--amber); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.4; cursor: default; }

.cookie-save-btn {
    margin-top: 14px;
    padding: 9px 20px;
    background: var(--ink);
    border: none;
    color: var(--white);
    border-radius: var(--r-full);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font);
    transition: background 0.2s var(--ease);
}
.cookie-save-btn:hover { background: var(--sand-800); }

/* ===================== SITE HARITASI ===================== */
.sitemap-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin: 2.5rem 0;
}
@media (max-width: 600px) { .sitemap-columns { grid-template-columns: 1fr; } }

.sitemap-columns h3 { font-size: 1rem; margin-top: 0; }
.sitemap-columns ul { list-style: none; padding: 0; }
.sitemap-columns li {
    padding: 10px 0;
    border-bottom: 1px solid var(--sand-100);
}
.sitemap-columns li a {
    font-weight: 500;
}

/* ===================== 404 ===================== */
.page-404 {
    text-align: center;
    padding: 120px 28px;
}
.page-404 .code-404 {
    font-family: var(--font-mono);
    font-size: 7rem;
    font-weight: 800;
    color: var(--sand-100);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -0.06em;
}
.page-404 p {
    font-size: 1.0625rem;
    color: var(--sand-500);
    margin-bottom: 2.5rem;
}
.page-404 .btn-home {
    display: inline-block;
    padding: 14px 36px;
    background: var(--ink);
    color: var(--white);
    border-radius: var(--r-full);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s var(--ease);
}
.page-404 .btn-home:hover {
    background: var(--sand-800);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ===================== LEGAL ===================== */
.legal-content h2 {
    font-size: 1.25rem;
}

/* ===================== ARTICLE IMAGES ===================== */
.article-image {
    margin: 2rem 0;
    max-width: 600px;
}
.article-image img {
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
}
.article-image figcaption {
    font-size: 0.8125rem;
    color: var(--sand-400);
    margin-top: 10px;
    line-height: 1.55;
    font-style: italic;
}
@media (min-width: 800px) {
    .article-image--right {
        float: right;
        margin: 0.25rem 0 2rem 2.5rem;
        max-width: 340px;
    }
    .article-image--left {
        float: left;
        margin: 0.25rem 2.5rem 2rem 0;
        max-width: 340px;
    }
}

/* ===================== CONTACT PAGE ===================== */
.contact-info h2,
.contact-form-wrapper h2 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.contact-info {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--sand-100);
    border-radius: var(--r-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--sand-100);
}
.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    background: var(--amber-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--amber);
}
.contact-item-icon svg {
    width: 18px;
    height: 18px;
}
.contact-item h3 {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sand-400);
    margin: 0 0 4px;
    font-weight: 600;
}
.contact-item p {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}
.contact-item a {
    color: var(--amber-dark);
    font-weight: 600;
}
.contact-item a:hover {
    color: var(--amber);
}

.contact-form-wrapper {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--sand-100);
    border-radius: var(--r-xl);
}

.required { color: var(--error); }

/* ===================== MOBILE PADDING FIX ===================== */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
    .header-inner {
        padding: 0 20px;
    }
    .breadcrumb {
        padding-left: 20px;
        padding-right: 20px;
    }
    .workflow-selector {
        padding: 0 20px;
    }
    .tab-panel {
        padding: 20px;
    }
    .card {
        padding: 20px;
    }
    .faq-question {
        padding: 16px 18px;
    }
    .faq-answer > p {
        padding: 0 18px 16px;
    }
    .contact-grid {
        gap: 28px;
    }
}

/* ===================== TABLES ===================== */
.table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border: 1px solid var(--sand-100);
    border-radius: var(--r-lg);
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: nowrap;
}
thead {
    background: var(--cream);
}
thead th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--ink);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--sand-200);
}
tbody td {
    padding: 11px 16px;
    color: var(--sand-600);
    border-bottom: 1px solid var(--sand-100);
    white-space: normal;
    min-width: 120px;
}
tbody tr:last-child td {
    border-bottom: none;
}
tbody tr:hover {
    background: var(--amber-bg);
}
tbody tr:nth-child(even) {
    background: var(--off-white);
}
tbody tr:nth-child(even):hover {
    background: var(--amber-bg);
}

/* ===================== SMOOTH PAGE LOAD ===================== */
@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
body {
    animation: pageIn 0.4s var(--ease) both;
}

/* ===================== PRINT ===================== */
@media print {
    .site-header, .site-footer, .cookie-banner, .nav-toggle, .related-content { display: none; }
    body { background: #fff; color: #000; font-size: 12pt; animation: none; }
    a { color: #000; text-decoration: underline; }
    .container { max-width: 100%; padding: 0; }
    .hero { background: none; }
    .hero::before, .hero::after { display: none; }
    .card { break-inside: avoid; transform: none !important; }
    .reveal, .reveal-left { opacity: 1 !important; transform: none !important; }
}
