/* =========================================
   Taş Fırın Evde Rehberi — styles.css
   Palette: taş beji, sıcak kahve, hafif kömür
   Texture: un dokusu, taş fırın
   ========================================= */

/* --- CSS Custom Properties --- */
:root {
    --tas-beji: #E8D5B7;
    --tas-acik: #F3EADB;
    --un-beyaz: #FAF6F0;
    --krem: #F2E8D8;
    --sicak-kahve: #6B4226;
    --koyu-kahve: #4A2C17;
    --altin: #C4956A;
    --altin-acik: #D4AD82;
    --hafif-komur: #3E3E3E;
    --komur: #2C2C2C;
    --yanik-siyah: #1A1A1A;
    --kirmizi-hata: #B5432A;
    --yesil-basari: #4A7C3F;
    --beyaz: #FFFFFF;

    --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: Georgia, 'Times New Roman', serif;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(74, 44, 23, 0.1);
    --shadow-md: 0 4px 12px rgba(74, 44, 23, 0.12);
    --shadow-lg: 0 8px 24px rgba(74, 44, 23, 0.15);

    --max-width: 1100px;
    --header-h: 64px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--hafif-komur);
    background-color: var(--un-beyaz);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(232, 213, 183, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(196, 149, 106, 0.08) 0%, transparent 40%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 60px,
            rgba(232, 213, 183, 0.06) 60px,
            rgba(232, 213, 183, 0.06) 61px
        );
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--sicak-kahve);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover {
    color: var(--koyu-kahve);
    text-decoration-color: var(--altin);
}

a:focus-visible {
    outline: 2px solid var(--altin);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--sicak-kahve);
    color: var(--beyaz);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 10000;
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: 8px;
}

/* --- Visually Hidden --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--un-beyaz);
    border-bottom: 1px solid rgba(196, 149, 106, 0.25);
    box-shadow: 0 1px 6px rgba(74, 44, 23, 0.06);
    height: var(--header-h);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 16px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--sicak-kahve);
    flex-shrink: 0;
}

.site-logo:hover {
    text-decoration: none;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--koyu-kahve);
}

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--sicak-kahve);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav scroll wrapper */
.main-nav {
    flex: 1;
    min-width: 0;
}

.nav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--altin-acik) transparent;
}

.nav-scroll::-webkit-scrollbar {
    height: 3px;
}

.nav-scroll::-webkit-scrollbar-thumb {
    background: var(--altin-acik);
    border-radius: 2px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2px;
    white-space: nowrap;
    justify-content: flex-end;
}

.nav-list a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hafif-komur);
    border-radius: var(--radius-sm);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-list a:hover {
    background-color: var(--krem);
    color: var(--sicak-kahve);
    text-decoration: none;
}

.nav-list a.is-active {
    color: var(--sicak-kahve);
    background-color: rgba(196, 149, 106, 0.12);
    font-weight: 600;
}

.nav-list a:focus-visible {
    outline: 2px solid var(--altin);
    outline-offset: 2px;
}

/* Nav divider between section links and page links */
.nav-divider {
    width: 1px;
    align-self: stretch;
    margin: 8px 6px;
    background: rgba(196, 149, 106, 0.3);
    flex-shrink: 0;
}

/* Page link styling */
.nav-page-link {
    opacity: 0.85;
}

/* Contact link with phone icon */
.nav-contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.nav-phone-icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    color: var(--altin);
    transition: color 0.2s ease;
}

.nav-contact-link:hover .nav-phone-icon {
    color: var(--sicak-kahve);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
        margin-left: auto;
        margin-right: 4px;
    }

    .main-nav {
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--un-beyaz);
        border-bottom: 1px solid rgba(196, 149, 106, 0.25);
        box-shadow: var(--shadow-md);
        display: none;
    }

    .main-nav.is-open {
        display: block;
    }

    .nav-scroll {
        overflow-x: visible;
    }

    .nav-list {
        flex-direction: column;
        padding: 12px 20px;
        gap: 2px;
        white-space: normal;
        justify-content: flex-start;
    }

    .nav-list a {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .nav-divider {
        width: 100%;
        height: 1px;
        margin: 6px 0;
    }
}

/* =========================================
   TABLE SCROLL (horizontal overflow)
   ========================================= */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--altin-acik) transparent;
    margin-top: 16px;
    border-radius: var(--radius-sm);
}

.table-scroll::-webkit-scrollbar {
    height: 4px;
}

.table-scroll::-webkit-scrollbar-thumb {
    background: var(--altin-acik);
    border-radius: 2px;
}

.table-scroll .temp-table {
    margin-top: 0;
}

/* =========================================
   MAIN / CONTAINER
   ========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

main {
    min-height: 60vh;
}

/* =========================================
   HERO
   ========================================= */
.hero {
    position: relative;
    padding: 60px 0 48px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(196, 149, 106, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(232, 213, 183, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(196, 149, 106, 0.15);
    border: 1px solid rgba(196, 149, 106, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sicak-kahve);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    color: var(--koyu-kahve);
    line-height: 1.2;
    margin-bottom: 16px;
    position: relative;
}

.hero p {
    font-size: 1.1rem;
    color: var(--hafif-komur);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.hero-stamp {
    display: inline-block;
    margin-top: 8px;
}

/* Decorative stamp SVG */
.stamp-circle {
    fill: none;
    stroke: var(--altin);
    stroke-width: 1.5;
    opacity: 0.4;
}

.stamp-text {
    font-family: var(--font-heading);
    font-size: 9px;
    fill: var(--altin);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* =========================================
   SECTIONS
   ========================================= */
.content-section {
    padding: 48px 0;
    border-top: 1px solid rgba(196, 149, 106, 0.12);
}

.content-section:first-of-type {
    border-top: none;
}

.section-header {
    text-align: center;
    margin-bottom: 36px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--koyu-kahve);
    margin-bottom: 8px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--altin);
    margin: 10px auto 0;
    border-radius: 1px;
}

.section-header p {
    color: var(--hafif-komur);
    font-size: 1rem;
    max-width: 560px;
    margin: 12px auto 0;
}

/* =========================================
   FIRIN ETİKETİ — Card System
   ========================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.firin-card {
    background: var(--beyaz);
    border: 1px solid rgba(196, 149, 106, 0.2);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.firin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--altin-acik), var(--altin), var(--altin-acik));
    opacity: 0.6;
}

.firin-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .firin-card:hover {
        transform: none;
    }
}

.firin-card .card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--krem);
    border-radius: 50%;
    margin-bottom: 14px;
}

.firin-card .card-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--sicak-kahve);
    fill: none;
    stroke-width: 1.5;
}

.firin-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--koyu-kahve);
    margin-bottom: 10px;
    line-height: 1.3;
}

.firin-card p,
.firin-card ul {
    font-size: 0.95rem;
    color: var(--hafif-komur);
    line-height: 1.7;
}

.firin-card ul {
    padding-left: 18px;
    margin-top: 8px;
}

.firin-card ul li {
    margin-bottom: 4px;
}

/* Label Tag on cards */
.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--altin);
    border: 1px solid var(--altin-acik);
    border-radius: 3px;
    padding: 2px 8px;
    margin-bottom: 12px;
}

/* =========================================
   RECIPE PANELS
   ========================================= */
.recipe-panel {
    background: var(--beyaz);
    border: 1px solid rgba(196, 149, 106, 0.2);
    border-left: 4px solid var(--altin);
    border-radius: var(--radius-sm);
    padding: 24px 28px;
    margin-bottom: 20px;
    position: relative;
}

.recipe-panel h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--koyu-kahve);
    margin-bottom: 6px;
}

.recipe-panel .recipe-subtitle {
    font-size: 0.85rem;
    color: var(--altin);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.recipe-panel p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.recipe-panel .allergen-note {
    font-size: 0.82rem;
    color: var(--hafif-komur);
    background: var(--tas-acik);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
    display: inline-block;
}

.recipe-panel .allergen-note::before {
    content: 'Bilgi: ';
}

/* Variation list */
.variation-list {
    list-style: none;
    margin-top: 10px;
}

.variation-list li {
    padding: 6px 0 6px 20px;
    position: relative;
    font-size: 0.93rem;
}

.variation-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border: 1.5px solid var(--altin);
    border-radius: 50%;
}

/* =========================================
   TEMPERATURE / INFO BLOCKS
   ========================================= */
.info-block {
    background: linear-gradient(135deg, var(--tas-acik) 0%, var(--krem) 100%);
    border: 1px solid rgba(196, 149, 106, 0.15);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 20px;
}

.info-block h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--koyu-kahve);
    margin-bottom: 10px;
}

.info-block p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.temp-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.9rem;
}

.temp-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--sicak-kahve);
    color: var(--beyaz);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
}

.temp-table th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.temp-table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.temp-table td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(196, 149, 106, 0.15);
}

.temp-table tr:nth-child(even) td {
    background: rgba(232, 213, 183, 0.15);
}

/* =========================================
   MISTAKES / TIPS
   ========================================= */
.mistake-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.mistake-item {
    background: var(--beyaz);
    border: 1px solid rgba(196, 149, 106, 0.18);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    padding-left: 52px;
}

.mistake-item .mistake-num {
    position: absolute;
    left: 16px;
    top: 18px;
    width: 28px;
    height: 28px;
    background: var(--krem);
    border: 1px solid var(--altin-acik);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sicak-kahve);
}

.mistake-item h4 {
    font-size: 0.95rem;
    color: var(--koyu-kahve);
    margin-bottom: 6px;
}

.mistake-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--hafif-komur);
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(196, 149, 106, 0.18);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--beyaz);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--koyu-kahve);
    text-align: left;
    line-height: 1.4;
    font-family: var(--font-body);
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--tas-acik);
}

.faq-question:focus-visible {
    outline: 2px solid var(--altin);
    outline-offset: -2px;
}

.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .faq-icon {
        transition: none;
    }
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 0.93rem;
    line-height: 1.8;
    color: var(--hafif-komur);
    transition: max-height 0.35s ease-out, padding-bottom 0.35s ease-out;
}

.faq-answer.is-open {
    padding-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer {
        transition: none;
    }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn:focus-visible {
    outline: 2px solid var(--altin);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--sicak-kahve);
    color: var(--beyaz);
    border-color: var(--sicak-kahve);
}

.btn-primary:hover {
    background: var(--koyu-kahve);
    border-color: var(--koyu-kahve);
    color: var(--beyaz);
    text-decoration: none;
}

.btn-secondary {
    background: var(--krem);
    color: var(--sicak-kahve);
    border-color: var(--krem);
}

.btn-secondary:hover {
    background: var(--tas-beji);
    border-color: var(--tas-beji);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: var(--sicak-kahve);
    border-color: var(--altin-acik);
}

.btn-outline:hover {
    background: var(--krem);
    border-color: var(--altin);
    text-decoration: none;
}

/* =========================================
   FORMS
   ========================================= */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--koyu-kahve);
    margin-bottom: 6px;
}

.form-group label .required {
    color: var(--kirmizi-hata);
    margin-left: 2px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--hafif-komur);
    background: var(--beyaz);
    border: 1px solid rgba(196, 149, 106, 0.35);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--altin);
    box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.15);
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--hafif-komur);
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--sicak-kahve);
    flex-shrink: 0;
}

.form-status {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-top: 16px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(74, 124, 63, 0.1);
    color: var(--yesil-basari);
    border: 1px solid rgba(74, 124, 63, 0.25);
}

.form-status.error {
    display: block;
    background: rgba(181, 67, 42, 0.08);
    color: var(--kirmizi-hata);
    border: 1px solid rgba(181, 67, 42, 0.2);
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Form card — standalone element */
.form-card {
    background: var(--beyaz);
    border: 1px solid rgba(196, 149, 106, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    margin-top: 32px;
    box-shadow: var(--shadow-sm);
}

.form-card h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--koyu-kahve);
    margin: 0 0 8px;
}

.form-card > p {
    font-size: 0.95rem;
    color: var(--hafif-komur);
    margin-bottom: 24px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .form-card {
        padding: 24px 18px;
    }
}

/* =========================================
   PAGE BANNER (Inner pages)
   ========================================= */
.page-banner {
    padding: 40px 0 32px;
    text-align: center;
    background: linear-gradient(180deg, var(--krem) 0%, var(--un-beyaz) 100%);
    border-bottom: 1px solid rgba(196, 149, 106, 0.12);
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--koyu-kahve);
    margin-bottom: 8px;
}

.page-banner p {
    font-size: 1rem;
    color: var(--hafif-komur);
    max-width: 520px;
    margin: 0 auto;
}

/* =========================================
   CONTENT PAGES (legal, about, contact)
   ========================================= */
.page-content {
    padding: 40px 0 60px;
}

.page-content .container {
    max-width: 800px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--koyu-kahve);
    margin: 32px 0 12px;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content h3 {
    font-size: 1.05rem;
    color: var(--sicak-kahve);
    margin: 24px 0 10px;
}

.page-content p {
    margin-bottom: 14px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.page-content ul,
.page-content ol {
    margin: 10px 0 16px 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.page-content li {
    margin-bottom: 6px;
}

/* Contact cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.contact-card {
    background: var(--beyaz);
    border: 1px solid rgba(196, 149, 106, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

.contact-card svg {
    margin-bottom: 10px;
}

.contact-card h3 {
    font-size: 0.9rem;
    margin: 0 0 6px;
    color: var(--koyu-kahve);
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--hafif-komur);
    margin: 0;
}

.contact-card a {
    color: var(--sicak-kahve);
}

/* =========================================
   COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--beyaz);
    border-top: 1px solid rgba(196, 149, 106, 0.3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
}

.cookie-text p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--hafif-komur);
    margin-bottom: 14px;
}

.cookie-options fieldset {
    border: none;
    padding: 0;
    margin: 0 0 14px;
}

.cookie-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--hafif-komur);
    cursor: pointer;
}

.cookie-option input {
    accent-color: var(--sicak-kahve);
    width: 16px;
    height: 16px;
}

.cookie-option small {
    color: var(--altin);
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-buttons .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* All cookie buttons visually equal — no hierarchy */
.btn-cookie {
    background: var(--beyaz);
    color: var(--sicak-kahve);
    border: 1.5px solid var(--altin);
}

.btn-cookie:hover {
    background: var(--krem);
    border-color: var(--sicak-kahve);
    color: var(--koyu-kahve);
    text-decoration: none;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--komur);
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 0 0;
    margin-top: 40px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding-bottom: 32px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--beyaz);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--altin-acik);
    text-decoration: none;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.9rem;
}

.footer-contact svg {
    flex-shrink: 0;
    color: var(--altin-acik);
}

.footer-contact a {
    display: inline;
    padding: 0;
}

.footer-divider {
    padding: 0 0 16px;
}

.footer-bottom {
    padding: 16px 0 24px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   REVEAL ANIMATION (scroll)
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =========================================
   DECORATIVE ELEMENTS
   ========================================= */
.deco-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 32px 0;
    color: var(--altin-acik);
    opacity: 0.5;
}

.deco-line::before,
.deco-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: currentColor;
}

.deco-line svg {
    flex-shrink: 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
    }

    .mistake-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 40px 0 32px;
    }

    .content-section {
        padding: 36px 0;
    }

    .recipe-panel {
        padding: 20px;
    }

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

/* =========================================
   UN DOKUSU BACKGROUND PATTERNS (flour dust)
   ========================================= */
.un-pattern {
    position: relative;
}

.un-pattern::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(242, 232, 216, 0.5) 0px, transparent 2px),
        radial-gradient(circle at 45% 75%, rgba(242, 232, 216, 0.3) 0px, transparent 1.5px),
        radial-gradient(circle at 72% 40%, rgba(242, 232, 216, 0.4) 0px, transparent 2px),
        radial-gradient(circle at 88% 15%, rgba(242, 232, 216, 0.3) 0px, transparent 1px),
        radial-gradient(circle at 30% 90%, rgba(242, 232, 216, 0.35) 0px, transparent 1.5px);
    pointer-events: none;
    z-index: 0;
}

.un-pattern > * {
    position: relative;
    z-index: 1;
}

/* =========================================
   PRINT
   ========================================= */
@media print {
    .site-header,
    .cookie-banner,
    .site-footer {
        display: none;
    }

    body {
        background: white;
        color: black;
        font-size: 12pt;
    }

    .firin-card,
    .recipe-panel,
    .info-block {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}
