/* =========================================================
   Yeşilbayır Unlu Mamülleri — Ana Stil Dosyası
   Tema: "Fırından Sıcak" — krem, altın amber, espresso
   ========================================================= */

:root {
  /* Renk paleti */
  --cream: #faf6ef;
  --cream-2: #f3ebdd;
  --gold: #c79a3c;
  --gold-dark: #a97e28;
  --espresso: #2e2018;
  --espresso-soft: #4a3627;
  --text: #33281f;
  --muted: #7a6b5c;
  --line: #e5dccb;
  --white: #ffffff;

  /* Tipografi */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Ölçüler */
  --container: 1180px;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(46, 32, 24, 0.45);
  --shadow-sm: 0 8px 20px -14px rgba(46, 32, 24, 0.4);
  --transition: 0.25s ease;
}

/* ---------- Reset & taban ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--espresso);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section--tight {
  padding: 60px 0;
}

.bg-cream-2 {
  background: var(--cream-2);
}

.bg-espresso {
  background: var(--espresso);
  color: var(--cream);
}

.bg-espresso h2,
.bg-espresso h3 {
  color: var(--cream);
}

/* ---------- Yardımcılar ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.bg-espresso .eyebrow {
  color: var(--gold);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.bg-espresso .section-head p {
  color: #cbb9a8;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition),
    color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--gold);
  color: var(--espresso);
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--gold-dark);
  color: var(--white);
}

.btn--outline {
  border-color: var(--espresso);
  color: var(--espresso);
}

.btn--outline:hover {
  background: var(--espresso);
  color: var(--cream);
}

.btn--light {
  border-color: rgba(250, 246, 239, 0.5);
  color: var(--cream);
}

.btn--light:hover {
  background: var(--cream);
  color: var(--espresso);
}

/* ---------- Header / Navigasyon ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.05;
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
}

.brand__name {
  font-size: 1.15rem;
  color: var(--espresso);
}

.brand__sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__links a {
  display: inline-block;
  padding: 8px 15px;
  font-weight: 500;
  font-size: 0.98rem;
  border-radius: 8px;
  color: var(--espresso-soft);
  transition: color var(--transition), background var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--espresso);
  background: var(--cream-2);
}

.nav__cta {
  margin-left: 10px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--espresso);
  transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(30, 20, 14, 0.86) 0%,
    rgba(30, 20, 14, 0.55) 55%,
    rgba(30, 20, 14, 0.25) 100%
  );
  z-index: -1;
}

.hero__inner {
  max-width: 620px;
  padding: 60px 0;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 20px;
}

.hero__lead {
  font-size: 1.2rem;
  color: #ece0d2;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .eyebrow {
  color: var(--gold);
}

/* Küçük sayfa başlığı hero'su */
.page-hero {
  position: relative;
  padding: 96px 0 72px;
  color: var(--cream);
  text-align: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 14, 0.72);
  z-index: -1;
}

.page-hero h1 {
  color: var(--cream);
  margin-bottom: 10px;
}

.page-hero p {
  color: #ece0d2;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}

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

/* ---------- Özellik şeridi ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 8px;
}

.feature__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--gold-dark);
}

.feature h3 {
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- Ürün kartları ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
  transform: scale(1.06);
}

.product-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__tag {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.product-card h3 {
  margin-bottom: 8px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 16px;
  flex: 1;
}

.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--espresso);
}

.price {
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.25rem;
}

/* ---------- Menü listesi (Ürünler sayfası) ---------- */
.menu-block {
  margin-bottom: 56px;
}

.menu-block__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.menu-block__title h2 {
  margin: 0;
  white-space: nowrap;
}

.menu-block__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 48px;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.menu-item__name {
  font-weight: 600;
  color: var(--espresso);
  white-space: nowrap;
}

.menu-item__dots {
  flex: 1;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
}

.menu-item__desc {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

.menu-item__price {
  color: var(--gold-dark);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Öne çıkan / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.split__body h2 {
  margin-bottom: 18px;
}

.split__body p {
  color: var(--muted);
}

.stat-row {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}

.stat__num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--gold-dark);
  line-height: 1;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Galeri ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 16px;
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item--wide {
  grid-column: span 2;
}

/* ---------- Yorumlar ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial__stars {
  color: var(--gold);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.testimonial p {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--espresso-soft);
}

.testimonial__author {
  margin-top: 16px;
  font-weight: 600;
  color: var(--espresso);
  font-size: 0.95rem;
}

.testimonial__author span {
  display: block;
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- CTA şeridi ---------- */
.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  color: #cbb9a8;
  max-width: 520px;
  margin: 0 auto 26px;
}

/* ---------- İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.info-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-list__icon {
  width: 44px;
  height: 44px;
  flex: none;
  background: var(--cream-2);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
}

.info-list__icon svg {
  width: 22px;
  height: 22px;
}

.info-list strong {
  display: block;
  color: var(--espresso);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.info-list a,
.info-list span {
  color: var(--muted);
  font-size: 0.98rem;
}

.info-list a:hover {
  color: var(--gold-dark);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.hours-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.96rem;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--muted);
}

.hours-table tr.today td {
  color: var(--gold-dark);
  font-weight: 700;
}

/* Form */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--espresso);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  background: var(--cream);
  color: var(--text);
  transition: border var(--transition);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 6px;
}

.form-success {
  display: none;
  background: #eef6ea;
  border: 1px solid #bcd9ac;
  color: #3f6a2c;
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

.map-embed {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--espresso);
  color: #cbb9a8;
  padding: 62px 0 26px;
}

.footer a {
  color: #cbb9a8;
  transition: color var(--transition);
}

.footer a:hover {
  color: var(--gold);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(203, 185, 168, 0.2);
}

.footer .brand__name,
.footer h4 {
  color: var(--cream);
}

.footer h4 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__desc {
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer ul li {
  margin-bottom: 11px;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(203, 185, 168, 0.3);
  display: grid;
  place-items: center;
  transition: background var(--transition), border var(--transition),
    color var(--transition);
}

.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--espresso);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.85rem;
}

/* ---------- Animasyon ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 940px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform 0.35s ease;
  }

  .nav__links.open {
    transform: translateY(0);
  }

  .nav__links a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 1.05rem;
  }

  .nav__cta {
    margin: 12px 0 0;
    justify-content: center;
  }

  .nav__toggle {
    display: flex;
  }

  .features,
  .product-grid,
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split__media {
    order: -1;
  }

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

  .menu-list {
    grid-template-columns: 1fr;
    gap: 0 0;
  }

  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 60px 0;
  }

  .features,
  .product-grid,
  .testimonials,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery__item--wide {
    grid-column: span 1;
  }

  .stat-row {
    gap: 26px;
  }

  .hero__actions .btn {
    flex: 1;
    justify-content: center;
  }
}
