html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px; /* offset for main navbar + sticky toc-bar */
}

/* ========================================
   REHBER.CSS — Beytüşşebap Tanıtım Rehberi
   Premium, immersive, editorial style
   ======================================== */

/* HERO */
.rehber-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #0f2d1f 0%, #1a3d2a 30%, #2A5F43 60%, #1a3d2a 100%);
    overflow: hidden;
}
.rehber-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(74,222,128,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255,255,255,0.03) 0%, transparent 40%);
}
.rehber-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}
.rehber-hero__content { position: relative; z-index: 2; padding: 40px 0; }
.rehber-hero__badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.4);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
}
.rehber-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}
.rehber-hero__subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.1rem, 3vw, 1.5rem);
    font-style: italic;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}
.rehber-hero__desc {
    max-width: 560px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
}
.rehber-hero__stats {
    display: flex;
    gap: 40px;
}
.rehber-hero__stat { text-align: center; }
.rehber-hero__stat-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4ade80;
    font-family: 'Inter', sans-serif;
}
.rehber-hero__stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

/* TOC BAR (sticky nav) */
.toc-bar {
    background: #fff;
    border-bottom: 1px solid #E5E7EB;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    overflow-x: auto;
}
.toc-bar .container {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.toc-bar__link {
    padding: 14px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #6B7280;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}
.toc-bar__link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

/* SECTIONS */
.rehber-section { padding: 80px 0; }
.rehber-section--alt { background: #F8FAF9; }
.rehber-section--cta {
    background: linear-gradient(135deg, #2A5F43, #1a3d2a);
    padding: 80px 0;
}
.section-intro { margin-bottom: 40px; }
.section-title--rehber {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-top: 8px;
}

/* CONTENT GRID */
.rehber-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}
.rehber-text p { font-size: 0.95rem; line-height: 1.85; color: #374151; margin-bottom: 1em; }
.rehber-lead { font-size: 1.05rem !important; font-weight: 500; color: #1F2937 !important; line-height: 1.7; }

/* HIGHLIGHT CARD */
.highlight-card {
    padding: 30px;
    border-radius: 16px;
    color: #fff;
}
.highlight-card--green { background: linear-gradient(145deg, #2A5F43, #166534); }
.highlight-card__icon { margin-bottom: 16px; }
.highlight-card__icon svg { width: 32px; height: 32px; }
.highlight-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.highlight-card p { font-size: 0.85rem; line-height: 1.7; opacity: 0.85; }

/* TIMELINE */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), rgba(42,95,67,0.1));
}
.timeline__item { position: relative; margin-bottom: 36px; }
.timeline__marker {
    position: absolute;
    left: -33px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid #F8FAF9;
    box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline__date {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}
.timeline__content h3 { font-size: 1.1rem; font-weight: 700; color: #111827; margin-bottom: 6px; }
.timeline__content p { font-size: 0.88rem; line-height: 1.7; color: #6B7280; }

/* ADMIN CARDS */
.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 30px;
}
.admin-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s;
}
.admin-card:hover { transform: translateY(-3px); }
.admin-card--active { border-color: var(--color-primary); box-shadow: 0 4px 20px rgba(42,95,67,0.12); }
.admin-card__year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary);
    padding: 20px 20px 0;
    font-family: 'Inter', sans-serif;
}
.admin-card__body { padding: 10px 20px 20px; }
.admin-card__body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 6px; color: #111827; }
.admin-card__body p { font-size: 0.8rem; line-height: 1.6; color: #6B7280; }

/* CASTLE GRID */
.castle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0;
}
.castle-card {
    flex: 1 1 140px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}
.castle-card:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.castle-card svg { width: 28px; height: 28px; color: var(--color-primary); margin-bottom: 8px; }
.castle-card h4 { font-size: 0.85rem; font-weight: 600; color: #374151; }

.rehber-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.82rem;
    color: #9CA3AF;
    font-style: italic;
}
.rehber-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }

/* NATURE GRID */
.nature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}
.nature-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.nature-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.06); }
.nature-card--wide { grid-column: span 2; }
.nature-card__header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}
.nature-card__header svg { width: 24px; height: 24px; }
.nature-card__header h3 { font-size: 1.05rem; font-weight: 700; }
.nature-card__header--teal { background: linear-gradient(135deg, #0d9488, #134e4a); }
.nature-card__header--slate { background: linear-gradient(135deg, #475569, #1e293b); }
.nature-card__header--emerald { background: linear-gradient(135deg, #059669, #064e3b); }
.nature-card__header--blue { background: linear-gradient(135deg, #2563eb, #1e3a5f); }
.nature-card__body { padding: 20px 24px; }
.nature-card__body p { font-size: 0.88rem; line-height: 1.7; color: #374151; }

.nature-specs {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.nature-spec {
    background: #F0FDF4;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
}
.nature-spec span { display: block; color: #6B7280; font-size: 0.7rem; margin-bottom: 2px; }
.nature-spec strong { color: #166534; }

/* WARNING */
.warning-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: 12px;
    padding: 18px 22px;
    margin-top: 24px;
}
.warning-box svg { width: 22px; height: 22px; color: #D97706; flex-shrink: 0; margin-top: 2px; }
.warning-box strong { color: #92400E; font-size: 0.9rem; display: block; margin-bottom: 4px; }
.warning-box p { font-size: 0.82rem; color: #78350F; line-height: 1.6; margin: 0; }

/* CULTURE BLOCK */
.culture-block {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 40px;
}
.culture-block__icon { flex-shrink: 0; }
.culture-block__icon svg { width: 32px; height: 32px; color: var(--color-primary); }
.culture-block__content h3 { font-size: 1.1rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.culture-block__content p { font-size: 0.88rem; line-height: 1.7; color: #6B7280; }

/* KILIM SECTION */
.kilim-section { margin-bottom: 40px; }
.kilim-section__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.kilim-section__title svg { width: 22px; height: 22px; color: var(--color-primary); }
.kilim-section__desc { font-size: 0.9rem; line-height: 1.7; color: #6B7280; margin-bottom: 20px; max-width: 650px; }
.kilim-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kilim-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: transform 0.2s;
}
.kilim-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); }
.kilim-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto 14px;
}
.kilim-card h4 { font-size: 0.95rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.kilim-card p { font-size: 0.8rem; line-height: 1.6; color: #6B7280; }

/* HELISE */
.helise-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 100%);
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 32px;
}
.helise-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #92400E;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.helise-section h3 svg { width: 22px; height: 22px; }
.helise-recipe {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}
.helise-step {
    background: rgba(255,255,255,0.8);
    border-radius: 10px;
    padding: 14px;
    font-size: 0.8rem;
    color: #78350F;
    line-height: 1.5;
}
.helise-step span {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #D97706;
    margin-bottom: 6px;
}

/* FESTIVAL */
.festival-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}
.festival-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 28px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.festival-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.festival-card__icon {
    width: 48px;
    height: 48px;
    background: #F0FDF4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}
.festival-card__icon svg { width: 24px; height: 24px; color: var(--color-primary); }
.festival-card h4 { font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.festival-card p { font-size: 0.82rem; line-height: 1.65; color: #6B7280; }

/* CTA BUTTON */
.btn--white {
    display: inline-block;
    padding: 12px 32px;
    background: #fff;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn--white:hover { background: #F0FDF4; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* RESPONSIVE CSS IS NOW IN rehbermobile.css */
