/* ================================================
   ISTANBUL BALIK TEZGAHI REHBERI
   Tema: Deniz, balik tezgahi, Bogazici, dalga
   ================================================ */

:root {
  /* Ocean Blues */
  --sea-900: #0a1628;
  --sea-800: #0f2240;
  --sea-700: #153562;
  --sea-600: #1b4d8a;
  --sea-500: #2568b0;

  /* Teal / Aqua accent */
  --teal-700: #0e7c6b;
  --teal-600: #0f9b85;
  --teal-500: #14b8a0;
  --teal-400: #3dd4bd;
  --teal-100: #e6f9f5;

  /* Warm Sand tones */
  --sand-900: #3b3228;
  --sand-800: #5a4a3a;
  --sand-700: #7a6a56;
  --sand-500: #a89882;
  --sand-400: #c4b8a6;
  --sand-300: #d9d0c2;
  --sand-200: #ebe6dc;
  --sand-100: #f5f1ea;

  /* Coral Red (fish market accent) */
  --coral: #d44a3a;
  --coral-light: #e8675a;
  --coral-dark: #a83828;

  /* Backgrounds */
  --bg-main: #f7f4ed;
  --bg-alt: #efeade;
  --bg-card: #ffffff;

  /* Text */
  --text: #2e2a25;
  --text-secondary: #5e564d;
  --text-light: #8a8279;

  --white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(10,22,40,0.07);
  --shadow-md: 0 4px 16px rgba(10,22,40,0.1);
  --shadow-lg: 0 8px 30px rgba(10,22,40,0.14);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Transitions */
  --transition: 0.3s ease;

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-main);
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--sea-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--coral); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.3;
}

/* ---------- Container ---------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  background: linear-gradient(180deg, var(--sea-900) 0%, var(--sea-800) 100%);
  color: var(--sand-100);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(10,22,40,0.4);
  border-bottom: 3px solid var(--teal-600);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sand-100);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--white); }
.logo-icon { flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(14,124,107,0.4)); }

/* --- Nav Toggle (Mobile) --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 210;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sand-100);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Navigation --- */
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 2px; align-items: center; }

.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--sand-400);
  font-size: 0.85rem;
  font-family: var(--font-body);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(14,124,107,0.15);
}
.nav-link .arrow {
  font-size: 0.6em;
  transition: transform var(--transition);
}
.nav-item:hover .arrow,
.nav-item.open .arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--sea-800);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: var(--transition);
  z-index: 250;
  border-top: 2px solid var(--teal-600);
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  color: var(--sand-400);
  font-size: 0.84rem;
  transition: var(--transition);
}
.nav-dropdown a:hover,
.nav-dropdown a.active {
  color: var(--white);
  background: rgba(14,124,107,0.12);
  padding-left: 22px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: var(--sea-900);
  color: var(--white);
  padding: 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  border-radius: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(170deg,
      rgba(10,22,40,0.92) 0%,
      rgba(15,34,64,0.75) 40%,
      rgba(14,124,107,0.3) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 70px 24px;
  max-width: 640px;
  width: 100%;
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(10,22,40,0.5);
  line-height: 1.2;
}
.hero p {
  font-size: 1.1rem;
  color: var(--sand-300);
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   PAGE HEADER (Inner Pages)
   ============================================ */
.page-header {
  background:
    linear-gradient(135deg, var(--sea-900) 0%, var(--sea-700) 100%);
  color: var(--white);
  padding: 44px 0 40px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -5%;
  right: -5%;
  height: 50px;
  background: var(--bg-main);
  border-radius: 50% 50% 0 0;
  z-index: 2;
}
.page-header h1 {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-header p {
  color: var(--sand-400);
  font-size: 1rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--sand-500);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--teal-400); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.4; }

/* ============================================
   SECTION DECORATION (Fish SVG)
   ============================================ */
.section-decoration {
  margin-bottom: 12px;
}
.section-decoration svg path { stroke: var(--teal-600); }
.section-decoration svg circle { fill: var(--teal-600); }

/* ============================================
   TABELA (Market Signboard)
   ============================================ */
/* Standalone .tabela-red usage (section heading box) */
.tabela-red {
  display: block;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, var(--sea-800) 0%, var(--sea-700) 100%);
  border-left: 4px solid var(--coral);
  box-shadow: var(--shadow-md), 0 0 20px rgba(212,74,58,0.1);
}
.tabela-red::before {
  content: '';
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border: 2px solid var(--coral);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0.4;
}

/* ============================================
   SECTION HEADING
   ============================================ */
.section-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--sea-800);
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
  margin-top: 8px;
  border-radius: 2px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
}

/* ============================================
   TEZGAH CARD (Market Panel)
   ============================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.card-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.tezgah-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--sand-200);
  position: relative;
}
.tezgah-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--sea-500));
  z-index: 2;
  opacity: 0;
  transition: opacity var(--transition);
}
.tezgah-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.tezgah-card:hover::before {
  opacity: 1;
}
.tezgah-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.tezgah-card-img .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--white);
}
.tezgah-card-img .badge-taze,
.tezgah-card-img .badge-evde,
.tezgah-card-img .badge-kolay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}
.tezgah-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s ease;
}
.tezgah-card:hover .tezgah-card-img img {
  transform: scale(1.04);
}
.tezgah-card-body {
  padding: 20px;
}
.tezgah-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--sea-800);
}
.tezgah-card-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}
.tezgah-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-700);
  transition: color var(--transition), letter-spacing var(--transition);
  border-bottom: 1.5px solid transparent;
}
.tezgah-card-link:hover {
  color: var(--teal-600);
  border-bottom-color: var(--teal-500);
  letter-spacing: 0.02em;
}

/* ============================================
   BADGES (Fish Market Tags)
   ============================================ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: var(--shadow-sm);
}
.badge-taze {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  border: none;
}
.badge-evde {
  color: var(--white);
  background: linear-gradient(135deg, var(--sea-700), var(--sea-600));
  border: none;
}
.badge-kolay {
  color: var(--white);
  background: linear-gradient(135deg, var(--coral-dark), var(--coral));
  border: none;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  padding: 48px 0;
}
.content-section:nth-child(even) {
  background: var(--bg-alt);
}
.content-section h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--sea-800);
}
.content-section h3 {
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: var(--sea-700);
}
/* Fix: headings inside dark .tabela-red must stay white */
.tabela-red h1,
.tabela-red h2,
.tabela-red h3,
.tabela-red h4 {
  color: var(--white);
}
.content-section p {
  margin-bottom: 14px;
  color: var(--text);
}
.content-section ul,
.content-section ol {
  margin-bottom: 16px;
}
.content-section ul {
  list-style: none;
  padding-left: 0;
}
.content-section ol {
  list-style: decimal;
  padding-left: 24px;
}
.content-section li {
  margin-bottom: 6px;
  color: var(--text);
}
.content-section ul li {
  position: relative;
  padding-left: 1.8em;
}
.content-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 12px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='16' viewBox='0 0 12 16'%3E%3Ccircle cx='4' cy='2' r='1.5' fill='%230f9b85'/%3E%3Cpath d='M4 2 L4 10 Q4 15 9 15 Q12 15 12 12 Q12 9 9 9 L8 9' stroke='%230f9b85' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
/* Exclude recipe/legal lists from fish hook — they have their own bullet styles */
.recipe-ingredients ul { list-style: disc; padding-left: 20px; }
.recipe-ingredients ul li { padding-left: 0; }
.recipe-ingredients ul li::before { display: none; }
.legal-content ul li { padding-left: 0; }
.legal-content ul li::before { display: none; }
.content-section ol li::marker {
  color: var(--teal-700);
  font-weight: 700;
}

.content-img {
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* --- Centered intro image (only child in container) --- */
.content-section > .container > img:only-child {
  margin: 0 auto;
  max-width: 860px;
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

/* --- Beautiful link effect for content links --- */
.content-section p a,
.content-section li a,
.legal-content p a,
.legal-content li a {
  color: var(--teal-700);
  font-weight: 600;
  text-decoration: none;
  background-image: linear-gradient(var(--teal-500), var(--teal-500));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  transition: background-size var(--transition), color var(--transition);
}
.content-section p a:hover,
.content-section li a:hover,
.legal-content p a:hover,
.legal-content li a:hover {
  color: var(--teal-600);
  background-size: 100% 1.5px;
}

/* --- Responsive Tables --- */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}
.tabela {
  display: block;
  width: 100%;
  background: var(--sea-800);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--teal-500);
  margin: 24px 0;
  position: relative;
  overflow-x: auto;
}
.tabela::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  border: 2px solid var(--sea-600);
  border-radius: 12px;
  pointer-events: none;
}
.tabela .tabela-red {
  display: block;
  background: none;
  border-left: none;
  box-shadow: none;
  padding: 0 0 10px 0;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--coral-light);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  letter-spacing: 0.3px;
  position: static;
}
.tabela .tabela-red::before { display: none; }
.tabela table {
  width: 100%;
  border-collapse: collapse;
  min-width: 380px;
  font-size: 0.88rem;
}
.tabela table tr:first-child th {
  background: rgba(0,0,0,0.25);
  padding: 11px 16px;
  text-align: left;
  color: var(--teal-400);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  white-space: nowrap;
}
.tabela table td {
  padding: 11px 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--sand-200);
}
.tabela table tr:hover td {
  background: rgba(20,184,160,0.07);
  transition: background 0.2s ease;
}
.tabela table tr:last-child td {
  border-bottom: none;
}

/* --- Tip / Note Box --- */
.tip-box {
  background: var(--teal-100);
  border-left: 4px solid var(--teal-600);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.92rem;
}
.tip-box strong {
  color: var(--teal-700);
}
.warning-box {
  background: rgba(212,74,58,0.06);
  border-left: 4px solid var(--coral);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 0.92rem;
}
.warning-box strong {
  color: var(--coral-dark);
}

/* ============================================
   RECIPE CARD
   ============================================ */
.recipe-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sand-200);
  position: relative;
  overflow: hidden;
}
.recipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--coral), var(--teal-600));
}
.recipe-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--sea-800);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sand-200);
}
.recipe-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.recipe-meta span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.recipe-ingredients {
  background: var(--teal-100);
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border-left: 3px solid var(--teal-600);
}
.recipe-ingredients h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--teal-700);
}
.recipe-ingredients ul {
  list-style: disc;
  padding-left: 20px;
}
.recipe-ingredients li {
  font-size: 0.88rem;
  margin-bottom: 4px;
}
.recipe-steps ol {
  list-style: decimal;
  padding-left: 20px;
}
.recipe-steps li {
  margin-bottom: 10px;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Recipe card badge row --- */
.recipe-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.recipe-card .badge-kolay,
.recipe-card .badge-evde,
.recipe-card .badge-taze {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.recipe-card .badge-kolay {
  background: linear-gradient(135deg, var(--coral-dark), var(--coral));
  color: var(--white);
}
.recipe-card .badge-evde {
  background: linear-gradient(135deg, var(--sea-700), var(--sea-500));
  color: var(--white);
}
.recipe-card .badge-taze {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: var(--white);
}
.recipe-card .recipe-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.recipe-card .recipe-meta span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--sand-100);
  border: 1px solid var(--sand-200);
  border-radius: 20px;
  padding: 3px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
/* Color accent bar per badge type */
.recipe-card:has(.badge-kolay)::before {
  background: linear-gradient(90deg, var(--coral-dark), var(--coral), var(--teal-600));
}
.recipe-card:has(.badge-taze)::before {
  background: linear-gradient(90deg, var(--teal-700), var(--teal-400), var(--teal-600));
}
.recipe-card:has(.badge-evde)::before {
  background: linear-gradient(90deg, var(--sea-700), var(--sea-500), var(--teal-600));
}
/* Recipe card hover effect */
.recipe-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.recipe-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
/* Recipe page grid for larger screens */
@media (min-width: 900px) {
  .recipe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .recipe-grid .recipe-card {
    margin-bottom: 0;
  }
}

/* ============================================
   RELATED LINKS
   ============================================ */
/* When related-section is a direct section element (iletisim, rehber pages) */
section.related-section {
  background: linear-gradient(135deg, var(--sea-900) 0%, var(--sea-800) 100%);
  color: var(--sand-100);
  padding: 40px 0;
  margin-top: 48px;
  position: relative;
}
/* When related-section is a div nested inside content (mutfak pages) */
.content-section .related-section {
  background: linear-gradient(135deg, var(--sea-900) 0%, var(--sea-800) 100%);
  color: var(--sand-100);
  padding: 36px 40px;
  margin: 0 -40px -48px;
  position: relative;
  border-radius: var(--radius-md);
}
@media (max-width: 860px) {
  .content-section .related-section {
    margin: 0 -20px -48px;
    padding: 28px 20px;
  }
}
.related-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400), var(--teal-600));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.related-section .section-title {
  color: var(--sand-100);
}
.related-section .section-title::after {
  background: linear-gradient(90deg, var(--teal-400), transparent);
}
.related-section h2 {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: var(--sand-100);
}
.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: rgba(14,124,107,0.12);
  color: var(--teal-400);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid rgba(14,124,107,0.2);
}
.related-link:hover {
  background: rgba(14,124,107,0.25);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14,124,107,0.2);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item:hover {
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sea-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition);
  cursor: pointer;
}
.faq-question:hover { background: var(--teal-100); }
.faq-question .faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--teal-600);
  font-weight: 700;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-item.open { border-color: var(--teal-600); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  color: var(--white);
  box-shadow: 0 3px 12px rgba(14,124,107,0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,124,107,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(61,212,189,0.4);
}
.btn-outline:hover {
  background: rgba(14,124,107,0.15);
  color: var(--white);
  border-color: var(--teal-400);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

/* Standalone contact form card */
.contact-form-section {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--sand-300);
  padding: 56px 0 60px;
  position: relative;
}
.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-700), var(--teal-400), var(--coral), var(--teal-400), var(--teal-700));
}
.contact-form-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--sand-200);
  position: relative;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.contact-form-card h2 {
  font-size: 1.4rem;
  color: var(--sea-800);
  margin-bottom: 6px;
}
.contact-form-card > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 24px;
}
.contact-form-section-title {
  text-align: center;
  margin-bottom: 32px;
}
.contact-form-section-title h2 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--sea-800);
  margin-bottom: 8px;
}
.contact-form-section-title p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
@media (max-width: 720px) {
  .contact-form-card { padding: 28px 20px; }
}
.contact-info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-info-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.contact-info-item .ci-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--sea-800), var(--sea-700));
  color: var(--teal-400);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.contact-info-item .ci-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-info-item .ci-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--sea-800);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  border: 1px solid var(--sand-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(14,124,107,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-msg {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-top: 12px;
  display: none;
}
.form-msg.success {
  background: var(--teal-100);
  color: var(--teal-700);
  border: 1px solid rgba(14,124,107,0.2);
  display: block;
}
.form-msg.error {
  background: rgba(212,74,58,0.06);
  color: var(--coral-dark);
  border: 1px solid rgba(212,74,58,0.15);
  display: block;
}
.hp-field { position: absolute; left: -9999px; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--sea-900);
  color: var(--sand-500);
  padding: 48px 0 0;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--teal-700) 0%,
    var(--teal-400) 25%,
    var(--sea-500) 50%,
    var(--teal-400) 75%,
    var(--teal-700) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 12px;
  color: var(--sand-700);
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal-400);
  margin-bottom: 14px;
  font-family: var(--font-body);
}
.footer-col a {
  display: block;
  padding: 3px 0;
  font-size: 0.84rem;
  color: var(--sand-500);
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--white);
  padding-left: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(14,124,107,0.15);
  padding: 18px 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--sand-700);
}

/* ============================================
   WAVE SEPARATOR (before footer)
   ============================================ */
.svg-wave {
  display: block;
  width: 100%;
  height: 40px;
  color: var(--bg-main);
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sea-900);
  color: var(--sand-100);
  z-index: 9000;
  box-shadow: 0 -4px 24px rgba(10,22,40,0.4);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid var(--teal-600);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  padding: 20px;
}
.cookie-text {
  font-size: 0.88rem;
  color: var(--sand-400);
  margin-bottom: 16px;
  line-height: 1.6;
}
.cookie-text a { color: var(--teal-400); text-decoration: underline; }
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.cookie-btn-accept {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  color: var(--white);
  box-shadow: 0 3px 10px rgba(14,124,107,0.3);
}
.cookie-btn-accept:hover {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14,124,107,0.4);
}
.cookie-btn-reject {
  background: rgba(255,255,255,0.08);
  color: var(--sand-300);
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-btn-reject:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}
.cookie-btn-settings {
  background: rgba(255,255,255,0.08);
  color: var(--sand-300);
  border: 1px solid rgba(255,255,255,0.1);
}
.cookie-btn-settings:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}

/* Settings panel */
.cookie-settings {
  display: none;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(14,124,107,0.2);
}
.cookie-settings.visible { display: block; }
.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.cookie-option-label {
  font-size: 0.85rem;
}
.cookie-option-label small {
  display: block;
  font-size: 0.78rem;
  color: var(--sand-700);
  margin-top: 2px;
}

/* Toggle switch */
.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--sea-600);
  border-radius: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}
.toggle input:checked + .toggle-slider { background: var(--teal-600); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle input:disabled + .toggle-slider { opacity: 0.6; cursor: default; }
.cookie-save-btn {
  margin-top: 14px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.cookie-save-btn:hover { background: var(--teal-600); }

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  text-align: center;
  padding: 80px 20px;
}
.error-page h1 {
  font-size: 5rem;
  font-weight: 900;
  color: var(--sand-300);
  font-family: var(--font-heading);
}
.error-page h2 {
  font-size: 1.4rem;
  margin: 16px 0 12px;
  color: var(--sea-800);
}
.error-page p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  padding: 40px 0 60px;
}
.legal-content h2 {
  font-size: 1.2rem;
  color: var(--sea-800);
  margin: 28px 0 10px;
}
.legal-content h3 {
  font-size: 1.05rem;
  color: var(--sea-700);
  margin: 20px 0 8px;
}
.legal-content p {
  margin-bottom: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 14px;
}
.legal-content li {
  margin-bottom: 4px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================
   INLINE SVG DECORATIONS
   ============================================ */
.decoration-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--sea-800), var(--sea-700));
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.decoration-tag::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 8px solid transparent;
  border-left-color: var(--sea-700);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 { font-size: 1.8rem; }
  .hero-content { padding: 45px 24px; }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--sea-900);
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform var(--transition);
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .nav-item { width: 100%; }
  .nav-link {
    padding: 12px 16px;
    font-size: 0.92rem;
    justify-content: space-between;
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(14,124,107,0.06);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    border-top: none;
  }
  .nav-item.open .nav-dropdown {
    max-height: 500px;
    padding: 4px 0;
  }
  .nav-dropdown a { padding: 10px 32px; }

  .card-grid { grid-template-columns: 1fr; }
  .page-header h1 { font-size: 1.5rem; }
  .hero { min-height: 300px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.4rem; }
  .hero p { font-size: 0.95rem; }
  .hero-content { padding: 36px 20px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .tabela { padding: 14px 16px; }
  .tabela table { font-size: 0.82rem; }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { width: 100%; text-align: center; }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .tezgah-card:hover { transform: none; }
  .tezgah-card:hover .tezgah-card-img img { transform: none; }
  .btn-primary:hover { transform: none; }
  .related-link:hover { transform: none; }
  .cookie-btn-accept:hover { transform: none; }
  .cookie-btn-reject:hover { transform: none; }
  .cookie-btn-settings:hover { transform: none; }
  .recipe-card:hover { transform: none; }
}
