:root {
  --background: #f6f0e5;
  --surface: rgba(255, 250, 242, 0.82);
  --surface-strong: #fffaf1;
  --surface-muted: #e7decd;
  --primary: #355845;
  --primary-deep: #244132;
  --secondary: #8b6a44;
  --secondary-soft: #c6ab88;
  --text: #263126;
  --text-muted: #5f6758;
  --line: rgba(53, 88, 69, 0.12);
  --shadow: 0 18px 60px rgba(45, 61, 48, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100% - 2rem));
  --ease: 320ms ease;
}

/* Temel sıfırlama ve akıcı kaydırma davranışı. */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Urbanist", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(148, 173, 137, 0.28), transparent 30%),
    radial-gradient(circle at right, rgba(198, 171, 136, 0.22), transparent 28%),
    linear-gradient(180deg, #f8f4ea 0%, #f4efe4 38%, #efe8da 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.page-ready .page-loader {
  opacity: 0;
  visibility: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-spacing {
  padding: 5.5rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 3rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.96;
}

h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
  margin-bottom: 1.35rem;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  margin-bottom: 0.85rem;
}

p {
  margin: 0;
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    background-color var(--ease),
    color var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #46745c 100%);
  color: #f9f6ee;
  box-shadow: 0 14px 32px rgba(53, 88, 69, 0.22);
}

.button-secondary {
  color: var(--primary-deep);
  background: rgba(255, 250, 242, 0.58);
  border: 1px solid rgba(255, 250, 242, 0.48);
  backdrop-filter: blur(12px);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(245, 240, 230, 0.96), rgba(239, 232, 218, 0.94));
  transition: opacity 450ms ease, visibility 450ms ease;
}

.loader-mark {
  text-align: center;
}

.loader-mark p {
  margin-top: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  font-size: 0.8rem;
}

.loader-ring {
  display: inline-block;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: 2px solid rgba(53, 88, 69, 0.18);
  border-top-color: var(--primary);
  animation: spin 0.8s linear infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 1rem;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(249, 245, 237, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 34px rgba(60, 71, 56, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(53, 88, 69, 0.14), rgba(139, 106, 68, 0.28));
  color: var(--primary);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ease);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-cta {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: rgba(53, 88, 69, 0.1);
  color: var(--primary);
}

.site-nav .nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  border-radius: 50%;
  background: rgba(53, 88, 69, 0.08);
}

.nav-toggle span:not(.sr-only) {
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: transform var(--ease), opacity var(--ease);
}

.hero {
  position: relative;
  padding-top: 4.5rem;
}

.hero-backdrop {
  position: absolute;
  inset: 2rem 0 auto;
  width: 100%;
  height: calc(100% - 4rem);
  background:
    linear-gradient(90deg, rgba(26, 41, 31, 0.68), rgba(26, 41, 31, 0.28)),
    url("./photo-1506744038136-46273834b3fb.jpg") center/cover;
  border-radius: 0 0 3rem 3rem;
  overflow: hidden;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 11rem;
  background: linear-gradient(180deg, transparent, rgba(246, 240, 229, 0.96));
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 2rem;
  align-items: end;
}

.hero-copy {
  padding: 5rem 0 4rem;
  color: #f8f3ea;
}

.hero-text {
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(248, 243, 234, 0.84);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 2.6rem;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-highlights article {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 250, 242, 0.08);
  backdrop-filter: blur(8px);
}

.hero-highlights strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #ffffff;
}

.hero-highlights span {
  color: rgba(248, 243, 234, 0.78);
  font-size: 0.95rem;
}

.hero-card {
  margin-top: 9rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero-card-image {
  aspect-ratio: 4 / 3;
}

.hero-card-image img {
  height: 100%;
  object-fit: cover;
}

.hero-card-content {
  padding: 1.7rem;
}

.card-label {
  margin-bottom: 0.75rem;
  color: var(--secondary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card-content h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 0.9rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.about-copy {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(16px);
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.about-note span {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(53, 88, 69, 0.08);
  color: var(--primary);
  font-weight: 600;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.menu-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(240, 232, 220, 0.84));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.48);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease);
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 88, 69, 0.15), transparent 70%);
}

.menu-card:hover,
.menu-card:focus-within {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(53, 88, 69, 0.16);
}

.menu-icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(53, 88, 69, 0.12);
  color: var(--primary);
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 16rem;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(24, 35, 28, 0.8) 100%);
}

.gallery-item figcaption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.15rem;
  z-index: 1;
  color: #f8f3ea;
  font-weight: 600;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.06);
}

.testimonials-shell {
  padding: 2.5rem;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(239, 232, 218, 0.9));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.testimonial-slider {
  display: grid;
  gap: 1.4rem;
}

.testimonial-track {
  position: relative;
  min-height: 12rem;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity 360ms ease, transform 360ms ease;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-card p {
  font-size: 1.08rem;
}

.testimonial-card strong {
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.slider-button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(53, 88, 69, 0.1);
  color: var(--primary);
  transition: transform var(--ease), background-color var(--ease);
}

.slider-button:hover,
.slider-button:focus-visible {
  transform: translateY(-2px);
  background: rgba(53, 88, 69, 0.16);
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.65rem;
}

.slider-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(53, 88, 69, 0.22);
  transition: transform var(--ease), background-color var(--ease);
}

.slider-dot.active {
  transform: scale(1.2);
  background: var(--primary);
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.6rem;
  border-radius: 2rem;
  background:
    linear-gradient(135deg, rgba(44, 74, 58, 0.94), rgba(89, 112, 79, 0.88)),
    url("./photo-1517248135467-4c7edcad34c4.jpg") center/cover;
  color: #f8f3ea;
  box-shadow: var(--shadow);
}

.cta-shell h2 {
  max-width: 35rem;
}

.cta-button {
  flex-shrink: 0;
  background: #f7efdf;
  color: var(--primary-deep);
}

.site-footer {
  padding: 0 0 2.5rem;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  border-top: 1px solid rgba(53, 88, 69, 0.12);
}

.footer-shell strong {
  font-size: 1rem;
}

.footer-shell p {
  color: var(--text-muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 2rem);
  z-index: 45;
  width: min(92vw, 28rem);
  padding: 1rem 1.2rem;
  border-radius: 999px;
  background: rgba(36, 65, 50, 0.94);
  color: #f8f3ea;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 42px rgba(36, 65, 50, 0.24);
  transition: transform 280ms ease, opacity 280ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Kaydırmayla görünür olan alanlar için ortak animasyon. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 120ms;
}

.delay-2 {
  transition-delay: 220ms;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .cta-shell,
  .menu-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 4rem;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 0;
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .cta-shell {
    align-items: flex-start;
  }
}

@media (max-width: 840px) {
  .site-header {
    padding-top: 0.75rem;
  }

  .nav-shell {
    border-radius: 1.4rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.2rem;
    padding: 1rem;
    border-radius: 1.4rem;
    background: rgba(249, 245, 237, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.75rem 0.5rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .section-spacing {
    padding: 4.5rem 0;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 1.2rem, 100% - 1.2rem);
  }

  .nav-shell,
  .about-copy,
  .testimonials-shell,
  .cta-shell,
  .menu-card,
  .hero-card-content,
  .testimonial-card {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .brand small {
    display: none;
  }

  .footer-shell,
  .slider-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .slider-dots {
    justify-content: flex-start;
    width: 100%;
  }

  .button,
  .cta-button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .cta-shell {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .testimonial-track {
    min-height: 15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}