:root {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --secondary: #0d9488;
  --secondary-light: #ccfbf1;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --danger: #ef4444;
  --danger-light: #fee2e2;
  --success: #10b981;
  --success-light: #d1fae5;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #38bdf8;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(90deg, #0f172a, #1e293b);
  color: #f1f5f9;
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-actions {
  display: flex;
  gap: 8px;
}
.badge-link {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s;
}
.badge-link:hover {
  background: rgba(255, 255, 255, 0.25);
}
.badge-link.warning {
  background: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* Navbar */
.navbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  font-size: 1.9rem;
  background: var(--primary-light);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}
.brand-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}
.dot-com {
  color: var(--primary);
}
.brand-tagline {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  gap: 6px;
}
.nav-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.nav-btn:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
}
.nav-btn.active {
  background: var(--primary);
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 10% 20%, #e0f2fe 0%, #f0fdf4 40%, #f8fafc 90%);
  padding: 60px 0 40px 0;
  border-bottom: 1px solid var(--border);
}
.hero-content {
  text-align: center;
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  background: var(--secondary-light);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.hero-title {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #0f172a;
}
.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Search Box Card */
.search-box-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  text-align: left;
}
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.search-icon {
  position: absolute;
  left: 16px;
  font-size: 1.2rem;
  color: var(--text-muted);
}
#species-search {
  width: 100%;
  padding: 16px 48px 16px 48px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#species-search:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}
.clear-search-btn {
  position: absolute;
  right: 14px;
  background: #e2e8f0;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-muted);
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.cat-pill {
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s;
}
.cat-pill:hover {
  background: #e2e8f0;
}
.cat-pill.active {
  background: var(--text-main);
  color: #ffffff;
  border-color: var(--text-main);
}

/* Sub-filter row */
.sub-filter-row {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
  font-size: 0.85rem;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-group label {
  font-weight: 600;
  color: var(--text-muted);
}
.filter-group select {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
}

/* Section Padding & Headings */
.section-padding {
  padding: 48px 0;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 16px;
}
.section-heading {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
}
.section-subheading {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.stats-badge {
  background: var(--primary-light);
  color: var(--primary-hover);
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

/* Species Grid */
.species-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

/* Species Card */
.species-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.species-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}
.card-header-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}
.card-species-icon {
  font-size: 2.2rem;
  background: var(--bg-main);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.card-title-group {
  flex-grow: 1;
}
.card-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 4px;
}
.card-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.card-latin {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--text-muted);
}

.card-summary {
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* Specs Chips in Card */
.card-specs-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  background: #f8fafc;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.8rem;
}
.spec-chip {
  display: flex;
  flex-direction: column;
}
.spec-chip-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}
.spec-chip-val {
  font-weight: 700;
  color: #1e293b;
  margin-top: 2px;
}
.spec-chip-val.diff-1 { color: #059669; }
.spec-chip-val.diff-2 { color: #d97706; }
.spec-chip-val.diff-3 { color: #dc2626; }

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.view-guide-btn {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.view-guide-btn:hover {
  background: var(--primary-hover);
}

/* Calculators Layout */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.calc-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.calc-card.full-width {
  grid-column: span 2;
}
.calc-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.calc-icon {
  font-size: 2.2rem;
  background: var(--primary-light);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}
.calc-card-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}
.calc-card-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.calc-form .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.calc-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-transform: uppercase;
}
.calc-form input, .calc-form select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}
.calc-form input:focus, .calc-form select:focus {
  border-color: var(--border-focus);
}

.calc-results-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 14px;
}
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.result-item:last-child {
  border-bottom: none;
}
.res-label {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
}
.res-val {
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  font-family: 'JetBrains Mono', monospace;
}
.res-val.highlight {
  color: var(--primary);
}
.res-val.safety {
  color: var(--secondary);
}
.calc-tip {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--accent-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

/* Toxic Food Checker */
.food-checker-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.pet-selector-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.pet-selector-bar label {
  font-weight: 700;
  font-size: 0.95rem;
}
.pet-choice-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pet-choice-btn {
  background: #f1f5f9;
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.pet-choice-btn:hover {
  background: #e2e8f0;
}
.pet-choice-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.food-search-box {
  margin-bottom: 24px;
}
#food-search-input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  outline: none;
}
#food-search-input:focus {
  border-color: var(--border-focus);
}

.food-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.food-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.food-card.toxic {
  border-left: 6px solid var(--danger);
  background: #fffdfd;
}
.food-card.safe {
  border-left: 6px solid var(--success);
  background: #fdfffe;
}
.food-card.caution {
  border-left: 6px solid var(--accent);
  background: #fffdfa;
}

.food-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.food-title {
  font-size: 1.1rem;
  font-weight: 700;
}
.food-status-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.food-status-badge.toxic {
  background: var(--danger-light);
  color: var(--danger);
}
.food-status-badge.safe {
  background: var(--success-light);
  color: #065f46;
}
.food-status-badge.caution {
  background: var(--accent-light);
  color: #92400e;
}
.food-reason {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
}

/* Architecture Section */
.arch-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.arch-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.arch-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-hover);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.arch-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.arch-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.arch-card code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
}

/* Modal Window */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
.modal-backdrop.open {
  display: flex;
}
.modal-window {
  background: #ffffff;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.25s ease;
}
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--text-muted);
  z-index: 10;
  transition: background 0.2s;
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Modal Content Styling */
.modal-header-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #ffffff;
  padding: 36px 32px;
  position: relative;
}
.modal-header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.modal-species-avatar {
  font-size: 3.5rem;
  background: rgba(255, 255, 255, 0.2);
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.modal-species-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 2px;
}
.modal-species-latin {
  font-size: 0.95rem;
  opacity: 0.9;
  font-style: italic;
}

/* Modal Tabs */
.modal-tabs-nav {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  overflow-x: auto;
}
.modal-tab-btn {
  background: transparent;
  border: none;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}
.modal-tab-btn:hover {
  color: var(--primary);
}
.modal-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.modal-tab-body {
  padding: 30px;
}
.modal-tab-panel {
  display: none;
}
.modal-tab-panel.active {
  display: block;
}

/* Spec Matrix Table */
.spec-matrix-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}
.spec-matrix-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.spec-matrix-table td:first-child {
  font-weight: 700;
  color: #475569;
  width: 35%;
  background: #f8fafc;
}
.spec-matrix-table td:last-child {
  font-weight: 600;
  color: #0f172a;
}

/* Bullet Checklist */
.equipment-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.equipment-checklist li {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}
.checklist-icon {
  color: var(--success);
  font-size: 1.1rem;
}

/* Critical Alert Box */
.critical-box {
  background: #fffbeb;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
}
.critical-box h4 {
  font-size: 1rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 8px;
}
.critical-box ul {
  padding-left: 20px;
  color: #78350f;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #f8fafc;
  border: none;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-answer {
  padding: 16px 18px;
  background: #fff;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
  border-top: 1px solid var(--border);
}

/* Footer */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 0 0;
  margin-top: 60px;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand .brand-title {
  color: #fff;
  font-size: 1.4rem;
}
.footer-brand p {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-links h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-title { font-size: 2rem; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-card.full-width { grid-column: span 1; }
  .arch-card-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; }
  .species-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   Rehber sayfaları (scripts/build_pages.js ile üretilen)
   ========================================== */
a.nav-btn { text-decoration: none; display: inline-flex; align-items: center; }
a.view-guide-btn { text-decoration: none; }
.guide-hero {
  background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
  color: #fff;
  padding: 28px 0 36px;
}
.guide-breadcrumb { font-size: 0.82rem; margin-bottom: 18px; opacity: 0.92; display: flex; flex-wrap: wrap; gap: 6px; }
.guide-breadcrumb a { color: #fff; text-decoration: none; }
.guide-breadcrumb a:hover { text-decoration: underline; }
.guide-breadcrumb .sep { opacity: 0.6; }
.guide-hero-row { display: flex; align-items: center; gap: 18px; }
.guide-cat-badge {
  display: inline-block; background: rgba(255,255,255,0.22); color: #fff; text-decoration: none;
  padding: 4px 12px; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.guide-title { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.2; margin-top: 6px; }
.guide-latin { font-style: italic; opacity: 0.9; margin-top: 2px; }
.guide-summary { max-width: 760px; margin-top: 18px; font-size: 1.05rem; line-height: 1.6; opacity: 0.96; }

.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; padding-top: 32px; align-items: start; }
.guide-article { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.guide-article section { margin-bottom: 36px; scroll-margin-top: 90px; }
.guide-h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; }
.guide-box-title { font-size: 1rem; font-weight: 800; color: #92400e; margin-bottom: 8px; }
.guide-toc { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 14px 18px; background: var(--bg-main); border-radius: var(--radius-md); margin-bottom: 28px; font-size: 0.88rem; }
.guide-toc a { color: var(--primary); text-decoration: none; font-weight: 600; }
.guide-toc a:hover { text-decoration: underline; }

.guide-diet { padding: 16px; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid; }
.guide-diet h3 { font-size: 0.95rem; font-weight: 800; margin-bottom: 4px; }
.guide-diet p { font-size: 0.92rem; }
.guide-diet-ok { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.guide-diet-extra { background: #eff6ff; border-color: #bfdbfe; color: #1e3a8a; }
.guide-diet-bad { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.guide-diet-bad p { font-weight: 600; }
.guide-routine { border-left: 4px solid; background: var(--bg-main); padding: 12px 16px; border-radius: 4px; margin-bottom: 12px; }
.guide-routine h3 { font-size: 0.95rem; font-weight: 800; }
.guide-routine p { font-size: 0.9rem; margin-top: 4px; color: #334155; }

.guide-faq summary { list-style: none; cursor: pointer; }
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary::after { content: '▼'; float: right; font-size: 0.75rem; transition: transform 0.2s; }
.guide-faq[open] summary::after { transform: rotate(180deg); }
.guide-faq .faq-answer { display: block; }
.guide-disclaimer { font-size: 0.8rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 16px; }

.guide-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.guide-side-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.guide-side-card h2 { font-size: 1.05rem; font-weight: 800; margin-bottom: 12px; }
.guide-side-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 10px; }
.guide-related-card { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text-main); }
.guide-related-card:hover { background: var(--primary-light); }
.guide-related-card strong { display: block; font-size: 0.9rem; }
.guide-related-card small { color: var(--text-muted); font-size: 0.78rem; }
.guide-related-icon { font-size: 1.6rem; }
.guide-all-link { display: inline-block; margin-top: 8px; color: var(--primary); font-weight: 700; font-size: 0.88rem; text-decoration: none; }

@media (max-width: 900px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
  .guide-article { padding: 20px 16px; }
  .guide-hero-row .modal-species-avatar { width: 56px; height: 56px; font-size: 1.8rem; }
}

/* Mobil taşma düzeltmesi (ana sayfa + rehber sayfaları) */
@media (max-width: 760px) {
  .nav-container { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 6px; gap: 6px; }
  .nav-links { width: 100%; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-btn { white-space: nowrap; flex-shrink: 0; }
  .sub-filter-row, .filter-group { flex-wrap: wrap; min-width: 0; }
  .filter-group select { max-width: 100%; min-width: 0; }
}

/* Çerez onay bandı */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000;
  max-width: 760px; margin: 0 auto; background: #0f172a; color: #e2e8f0;
  border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-lg);
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; font-size: 0.86rem; line-height: 1.5;
}
.cookie-banner p { flex: 1 1 320px; }
.cookie-banner a { color: #7dd3fc; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions button {
  border: 1px solid #334155; background: transparent; color: #e2e8f0; padding: 8px 14px;
  border-radius: var(--radius-full); font-weight: 700; cursor: pointer; font-family: inherit;
}
.cookie-actions button.primary { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Rehber görselleri ve genişletilmiş içerik */
.guide-figure { margin: 0 0 28px; }
.guide-figure img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-md); display: block; background: var(--bg-main); }
.guide-figure figcaption { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }
.guide-article p.guide-p { font-size: 0.98rem; line-height: 1.75; color: #1e293b; margin-bottom: 14px; }
.guide-health { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 12px; }
.guide-health h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.guide-health p { font-size: 0.9rem; color: #334155; margin-bottom: 4px; }
.card-image { width: calc(100% + 48px); max-width: none; height: auto; margin: 0 -24px 16px; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.species-card.has-image { padding-top: 0; overflow: hidden; }
.guide-author { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.guide-author a { color: var(--primary); }

/* Gıda sayfaları */
.food-pet-block { border: 1px solid var(--border); border-left-width: 5px; border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 12px; }
.food-pet-block.safe { border-left-color: var(--success); }
.food-pet-block.caution { border-left-color: var(--accent); }
.food-pet-block.toxic { border-left-color: var(--danger); }
.food-pet-block h2 { font-size: 1.05rem; font-weight: 800; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.food-pet-block p { font-size: 0.93rem; color: #334155; }
.food-index-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.food-index-grid a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text-main); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.food-index-grid a:hover { border-color: var(--primary); }
.food-card a.food-more { display: inline-block; margin-top: 8px; font-size: 0.8rem; font-weight: 700; color: var(--primary); text-decoration: none; }

/* Statik sayfalar */
.static-page h2 { font-size: 1.15rem; font-weight: 800; margin: 24px 0 8px; }
.static-page p, .static-page li { font-size: 0.95rem; line-height: 1.7; color: #1e293b; margin-bottom: 10px; }
.static-page ul { padding-left: 22px; }
.static-page a { color: var(--primary); }
.static-wrap { max-width: 860px; padding-top: 32px; }
