/* =========================================================
   Anadolu Tencere Mutfağı — Design System
   Bakır / Amber / Krem — Anadolu Ocağı Atmosferi
   ========================================================= */

/* --- CSS Custom Properties --- */
:root {
  /* Bakır (Copper) Palette */
  --bakir:         #B87333;
  --bakir-dark:    #8B5A2B;
  --bakir-deeper:  #6B3F1F;
  --bakir-light:   #D4956B;
  --bakir-glow:    #E8B88A;

  /* Amber / Bal */
  --amber:         #D4940A;
  --amber-light:   #F0C040;
  --amber-pale:    #F8DDA0;

  /* Krem / Sıcak Beyaz */
  --krem:          #FFF8E7;
  --krem-dark:     #F5ECD7;
  --krem-mid:      #EDE0C8;

  /* Toprak (Earth) */
  --toprak:        #5C3D2E;
  --toprak-light:  #7A5544;
  --toprak-pale:   #A68B7B;

  /* Ocak (Hearth) */
  --ocak:          #C94C1A;
  --ocak-light:    #E0673A;

  /* Nötr */
  --beyaz:         #FFFFFF;
  --siyah:         #2C1810;
  --gri-koyu:      #4A3F38;
  --gri:           #6B5B4F;
  --gri-acik:      #9E8E82;
  --gri-border:    #D6C9BC;

  /* Kilim Accent Colors */
  --kilim-kirmizi: #A0321E;
  --kilim-laciv:   #2E4057;
  --kilim-yesil:   #4A6741;

  /* Shadows */
  --shadow-soft:   0 2px 12px rgba(92, 61, 46, 0.08);
  --shadow-card:   0 4px 20px rgba(92, 61, 46, 0.12);
  --shadow-hover:  0 8px 32px rgba(92, 61, 46, 0.18);
  --shadow-bakir:  0 4px 16px rgba(184, 115, 51, 0.20);

  /* Typography */
  --font-body:     system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif:    Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  20px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow:   0.5s ease;

  /* Container */
  --container-max: 1140px;
  --container-narrow: 780px;
}

/* --- 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;
  }
  .scroll-reveal { opacity: 1 !important; transform: none !important; }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--siyah);
  background-color: var(--krem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--bakir-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover {
  color: var(--ocak);
  text-decoration-color: var(--ocak);
}

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

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--siyah);
  color: var(--beyaz);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 10000;
  font-weight: 600;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  color: var(--toprak);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: var(--space-lg); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: var(--space-sm); }
h4 { font-size: 1.125rem; margin-bottom: var(--space-sm); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

/* --- Kilim Border Ornament (CSS Pattern) --- */
.kilim-border {
  height: 8px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--kilim-kirmizi) 0px,
      var(--kilim-kirmizi) 12px,
      var(--amber) 12px,
      var(--amber) 16px,
      var(--kilim-laciv) 16px,
      var(--kilim-laciv) 28px,
      var(--amber) 28px,
      var(--amber) 32px,
      var(--kilim-yesil) 32px,
      var(--kilim-yesil) 44px,
      var(--amber) 44px,
      var(--amber) 48px
    );
}

.kilim-border--thin {
  height: 4px;
}

/* Kilim Diamond Pattern (decorative divider) */
.kilim-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.kilim-divider::before,
.kilim-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bakir-light), transparent);
}

.kilim-divider-diamond {
  width: 12px;
  height: 12px;
  background: var(--bakir);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Decorative corner ornament */
.corner-ornament {
  position: relative;
}

.corner-ornament::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 24px;
  height: 24px;
  border-top: 3px solid var(--bakir);
  border-left: 3px solid var(--bakir);
  border-radius: 2px 0 0 0;
  pointer-events: none;
}

.corner-ornament::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-bottom: 3px solid var(--bakir);
  border-right: 3px solid var(--bakir);
  border-radius: 0 0 2px 0;
  pointer-events: none;
}


/* =========================================================
   HEADER / NAVİGASYON
   ========================================================= */
.site-header {
  background: linear-gradient(180deg, var(--toprak) 0%, var(--bakir-deeper) 100%);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(44, 24, 16, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  min-height: 60px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--krem);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.site-logo:hover {
  color: var(--amber-light);
}

/* Inline SVG tencere icon */
.logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.logo-text-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Desktop Navigation */
.main-nav {
  display: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-xs);
}

.main-nav a {
  display: block;
  padding: var(--space-xs) var(--space-sm);
  color: var(--krem-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(255, 248, 231, 0.12);
  color: var(--amber-light);
}

/* Mobile Menu Button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--krem);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu — overlays content */
.mobile-nav {
  display: none;
  background: var(--toprak);
  border-top: 1px solid rgba(255,248,231,0.1);
  padding: var(--space-md) 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.3);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  color: var(--krem-dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav a:hover {
  background: rgba(255, 248, 231, 0.08);
  color: var(--amber-light);
}

.mobile-nav a.active {
  color: var(--amber-light);
  background: rgba(255, 248, 231, 0.06);
}

/* İletişim nav link highlight */
.nav-iletisim {
  border: 1px solid rgba(255, 248, 231, 0.3) !important;
  border-radius: var(--radius-sm) !important;
  padding: var(--space-xs) var(--space-md) !important;
}

.main-nav .nav-iletisim:hover,
.main-nav .nav-iletisim.active {
  background: rgba(255, 191, 0, 0.18) !important;
  border-color: var(--amber-light) !important;
  color: var(--amber-light) !important;
}

.mobile-nav .nav-iletisim.active {
  color: var(--amber-light);
  border-color: var(--amber-light);
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}


/* =========================================================
   HERO SECTION — background image
   ========================================================= */
.hero {
  background:
    linear-gradient(
      170deg,
      rgba(92, 61, 46, 0.88) 0%,
      rgba(184, 115, 51, 0.82) 40%,
      rgba(212, 148, 10, 0.78) 100%
    ),
    url('../images/hero-bakir-tencere.jpg') center / cover no-repeat;
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle bakır texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(184,115,51,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(212,148,10,0.10) 0%, transparent 50%);
  pointer-events: none;
}

.hero h1 {
  color: var(--krem);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-md);
  position: relative;
  text-shadow: 0 2px 8px rgba(44, 24, 16, 0.3);
}

.hero p {
  color: var(--krem-dark);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  position: relative;
  text-shadow: 0 1px 4px rgba(44, 24, 16, 0.2);
}

.hero-cta {
  display: inline-block;
  margin-top: var(--space-xl);
  padding: var(--space-sm) var(--space-xl);
  background: var(--krem);
  color: var(--toprak);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
}

.hero-cta:hover {
  background: var(--beyaz);
  color: var(--bakir-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-bakir);
}

/* =========================================================
   SECTION IMAGES — constrained, centered, elegant
   ========================================================= */
.section-img {
  max-width: 720px;
  margin: 0 auto var(--space-2xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 4px solid var(--krem-dark);
  position: relative;
}

.section-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(184, 115, 51, 0.15);
  pointer-events: none;
}

.section-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 340px;
}

@media (max-width: 768px) {
  .section-img {
    max-width: 100%;
    border-width: 3px;
  }
  .section-img img {
    max-height: 220px;
  }
}


/* =========================================================
   SECTION LAYOUTS
   ========================================================= */
.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background: var(--krem-dark);
}

.section--warm {
  background:
    linear-gradient(180deg, var(--krem) 0%, var(--krem-dark) 100%);
}

.section--dark {
  background: var(--toprak);
  color: var(--krem);
}

.section--dark h2,
.section--dark h3 {
  color: var(--bakir-glow);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--bakir), var(--amber));
  margin: var(--space-sm) auto 0;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--gri);
  font-size: 1.05rem;
  margin-top: var(--space-sm);
}


/* =========================================================
   TARIF KARTLARI (Recipe Cards)
   ========================================================= */
.recipe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .recipe-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.recipe-card {
  background: var(--beyaz);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gri-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Card top accent with bakır gradient */
.recipe-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bakir), var(--amber), var(--bakir-light));
}

.recipe-card__tag {
  display: inline-block;
  background: var(--krem);
  color: var(--bakir-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  border: 1px solid var(--bakir-light);
}

.recipe-card h3 {
  color: var(--toprak);
  margin-bottom: var(--space-sm);
}

.recipe-card__desc {
  color: var(--gri);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

/* Ingredient list styling */
.recipe-card__ingredients {
  list-style: none;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--krem);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--bakir);
}

.recipe-card__ingredients li {
  padding: 3px 0;
  font-size: 0.9rem;
  color: var(--gri-koyu);
  position: relative;
  padding-left: var(--space-lg);
}

.recipe-card__ingredients li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--bakir-light);
  border-radius: var(--radius-full);
  transform: translateY(-50%);
}

/* Steps styling */
.recipe-card__steps {
  counter-reset: step;
  list-style: none;
  margin-bottom: var(--space-md);
}

.recipe-card__steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
  line-height: 1.6;
}

.recipe-card__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.75rem;
  height: 1.75rem;
  background: linear-gradient(135deg, var(--bakir), var(--bakir-dark));
  color: var(--beyaz);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipe-card__note {
  background: linear-gradient(135deg, var(--krem) 0%, var(--amber-pale) 100%);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--toprak);
  border: 1px solid var(--amber-pale);
}

.recipe-card__note strong {
  color: var(--bakir-dark);
}

.recipe-card__allergen {
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--krem);
  border-left: 3px solid var(--ocak);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--gri);
}


/* =========================================================
   TEKNİK AÇIKLAMA (Technique Sections)
   ========================================================= */
.technique-block {
  background: var(--beyaz);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gri-border);
  position: relative;
}

.technique-block::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-xl);
  right: var(--space-xl);
  height: 2px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--bakir-light) 0px,
      var(--bakir-light) 8px,
      transparent 8px,
      transparent 14px
    );
}

.technique-block h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.technique-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--bakir-light), var(--bakir));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beyaz);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.technique-block p,
.technique-block ul {
  color: var(--gri-koyu);
  font-size: 0.95rem;
}

.technique-block ul {
  list-style: none;
  margin-top: var(--space-md);
}

.technique-block ul li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.technique-block ul li::before {
  content: '\2022';
  position: absolute;
  left: var(--space-sm);
  color: var(--bakir);
  font-weight: 700;
}

/* Highlight box within technique */
.technique-highlight {
  background: linear-gradient(135deg, var(--krem) 0%, var(--amber-pale) 100%);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-top: var(--space-md);
  border: 1px dashed var(--bakir-light);
  font-size: 0.9rem;
  color: var(--toprak);
}


/* =========================================================
   SIK HATA ÇÖZÜMLERİ (Common Mistakes)
   ========================================================= */
.mistakes-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .mistakes-list { grid-template-columns: repeat(2, 1fr); }
}

.mistake-item {
  background: var(--beyaz);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gri-border);
  position: relative;
  padding-left: calc(var(--space-lg) + 4px);
  border-left: 4px solid var(--ocak);
}

.mistake-item h4 {
  color: var(--ocak);
  margin-bottom: var(--space-xs);
  font-size: 1rem;
}

.mistake-item p {
  font-size: 0.9rem;
  color: var(--gri-koyu);
}

.mistake-solution {
  margin-top: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--krem);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--toprak);
  border-left: 3px solid var(--kilim-yesil);
}

.mistake-solution strong {
  color: var(--kilim-yesil);
}


/* =========================================================
   FAQ AKORDEONU
   ========================================================= */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gri-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--toprak);
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--bakir);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--transition-normal);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--bakir);
  border-radius: 2px;
}

.faq-icon::before {
  left: 50%;
  top: 4px;
  width: 2px;
  height: 16px;
  transform: translateX(-50%);
  transition: transform var(--transition-normal);
}

.faq-icon::after {
  top: 50%;
  left: 4px;
  width: 16px;
  height: 2px;
  transform: translateY(-50%);
}

.faq-question[aria-expanded="true"] .faq-icon::before {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 var(--space-sm);
}

.faq-answer.open {
  max-height: 600px;
  padding: 0 var(--space-sm) var(--space-lg);
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--gri-koyu);
  line-height: 1.7;
}


/* =========================================================
   FORM & İLETİŞİM
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-info-block {
  background: var(--beyaz);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gri-border);
}

.contact-info-block h3 {
  margin-bottom: var(--space-lg);
}

.contact-info-item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  align-items: flex-start;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--krem);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--bakir);
  font-size: 1.1rem;
  border: 1px solid var(--gri-border);
}

.contact-info-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gri);
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-info-item span {
  font-size: 0.95rem;
  color: var(--siyah);
}

/* Form */
.form-block {
  background: var(--beyaz);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--gri-border);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--toprak);
  margin-bottom: var(--space-xs);
}

.form-group label .required {
  color: var(--ocak);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--gri-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--siyah);
  background: var(--krem);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--bakir);
  box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15);
  background: var(--beyaz);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gri-acik);
}

.form-group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-group--checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--bakir);
}

.form-group--checkbox label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--gri-koyu);
  margin-bottom: 0;
}

.form-submit-btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-2xl);
  background: linear-gradient(135deg, var(--bakir), var(--bakir-dark));
  color: var(--beyaz);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, var(--bakir-dark), var(--toprak));
  transform: translateY(-1px);
  box-shadow: var(--shadow-bakir);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-message {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: none;
}

.form-message--success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.form-message--error {
  display: block;
  background: #fce4ec;
  color: #c62828;
  border: 1px solid #f8bbd0;
}

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


/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--toprak);
  color: var(--krem-dark);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--toprak-pale);
  max-width: 360px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--bakir-glow);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

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

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--toprak-pale);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-contact p {
  font-size: 0.85rem;
  color: var(--toprak-pale);
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  border-top: 1px solid rgba(255,248,231,0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: var(--toprak-pale);
}


/* =========================================================
   BREADCRUMBS
   ========================================================= */
.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: 0.85rem;
  color: var(--gri);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.breadcrumbs li::after {
  content: '/';
  margin-left: var(--space-xs);
  color: var(--gri-acik);
}

.breadcrumbs li:last-child::after {
  content: '';
}

.breadcrumbs a {
  color: var(--bakir);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .current {
  color: var(--gri-koyu);
}


/* =========================================================
   COOKIE BANNER & MODAL
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--beyaz);
  box-shadow: 0 -4px 20px rgba(44, 24, 16, 0.15);
  padding: var(--space-lg);
  z-index: 9999;
  display: none;
  border-top: 3px solid var(--bakir);
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
  }
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--gri-koyu);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--bakir);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
  border: 2px solid var(--bakir);
  white-space: nowrap;
}

.cookie-btn--accept {
  background: var(--bakir);
  color: var(--beyaz);
}

.cookie-btn--accept:hover {
  background: var(--bakir-dark);
  border-color: var(--bakir-dark);
}

.cookie-btn--reject {
  background: var(--beyaz);
  color: var(--bakir-dark);
}

.cookie-btn--reject:hover {
  background: var(--krem);
}

.cookie-btn--settings {
  background: transparent;
  color: var(--bakir);
  border-color: var(--bakir-light);
}

.cookie-btn--settings:hover {
  background: var(--krem);
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 24, 16, 0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.cookie-modal-overlay.visible {
  display: flex;
}

.cookie-modal {
  background: var(--beyaz);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-hover);
}

.cookie-modal__header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--gri-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-modal__header h3 {
  margin-bottom: 0;
}

.cookie-modal__close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--gri);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.cookie-modal__close:hover {
  color: var(--siyah);
  background: var(--krem);
}

.cookie-modal__body {
  padding: var(--space-lg);
}

.cookie-category {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--krem-dark);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-category__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--toprak);
}

.cookie-category__desc {
  font-size: 0.85rem;
  color: var(--gri);
  margin-top: var(--space-xs);
}

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--gri-border);
  border-radius: 13px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  background: var(--beyaz);
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--bakir);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-modal__footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--gri-border);
  text-align: right;
}

.cookie-modal__save {
  padding: var(--space-sm) var(--space-xl);
  background: var(--bakir);
  color: var(--beyaz);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-modal__save:hover {
  background: var(--bakir-dark);
}


/* =========================================================
   PAGE CONTENT
   ========================================================= */
.page-content {
  padding: var(--space-2xl) 0 var(--space-3xl);
}

.page-content h1 {
  color: var(--toprak);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 3px solid var(--bakir-light);
}

.page-content h2 {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gri-border);
}

.page-content h2:first-of-type {
  margin-top: var(--space-lg);
}

.page-content ul, .page-content ol {
  margin-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.page-content li {
  margin-bottom: var(--space-xs);
  line-height: 1.7;
}

.page-content strong {
  color: var(--toprak);
}


/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal */
.scroll-reveal[data-delay="1"] { transition-delay: 0.1s; }
.scroll-reveal[data-delay="2"] { transition-delay: 0.2s; }
.scroll-reveal[data-delay="3"] { transition-delay: 0.3s; }


/* =========================================================
   UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .cookie-banner, .cookie-modal-overlay, .skip-link { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 1rem 0; }
}
