/* Green Table Restaurant — accessible, calm and responsive restaurant theme */

:root {
  --ink: #1c2925;
  --muted: #68736e;
  --cream: #f7f4ed;
  --paper: #fffdf9;
  --green: #173f35;
  --green-soft: #e7eee9;
  --gold: #b88945;
  --line: #e4e0d7;
  --shadow: 0 14px 40px rgba(28, 41, 37, 0.08);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.7;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #d3a45e;
  outline-offset: 4px;
  border-radius: 6px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--green);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(228, 224, 215, 0.8);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 50%;
  font:
    700 0.78rem/1 Georgia,
    serif;
  letter-spacing: 0.04em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
}

.primary-nav a {
  text-decoration: none;
  color: #33413c;
}

.primary-nav a:hover {
  color: var(--green);
}

.nav-cta {
  padding: 9px 15px;
  color: white !important;
  background: var(--green);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 28px 0 18px;
  background: var(--paper);
}

.hero-frame {
  position: relative;
  isolation: isolate;
  min-height: min(680px, 76vh);
  overflow: hidden;
  display: grid;
  align-items: center;
  color: white;
  background: var(--green);
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(28, 41, 37, 0.13);
}

.hero-slideshow,
.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slideshow {
  z-index: -2;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(100%, 0, 0);
  z-index: 1;
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 4s cubic-bezier(0.25, 0.25, 0.5, 3);
}

.hero-slide.is-active {
  transform: translate3d(0, 0, 0);
  z-index: 2;
}

.hero-slide.is-prev {
  transform: translate3d(-100%, 0, 0);
  z-index: 1;
}

.hero-slide.is-next {
  transform: translate3d(100%, 0, 0);
  z-index: 0;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-overlay {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(10, 31, 25, 0.86) 0%,
    rgba(10, 31, 25, 0.6) 45%,
    rgba(10, 31, 25, 0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 100px clamp(28px, 6vw, 82px);
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: #e5c48d;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: 1.35rem;
}

.hero-text {
  max-width: 590px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-text,
.hero-content .hero-actions {
  animation: heroContentIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-content h1 {
  animation-delay: 0.08s;
}
.hero-content .hero-text {
  animation-delay: 0.16s;
}
.hero-content .hero-actions {
  animation-delay: 0.24s;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 19px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 750;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  color: white;
  background: var(--gold);
}

.button-light {
  color: var(--green);
  background: white;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 70px;
  padding-block: 10px 80px;
}

.content-column {
  min-width: 0;
}

.section-space {
  padding-top: 80px;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
  border-bottom: 1px solid var(--line);
  padding-bottom: 60px;
}

.intro p:not(.eyebrow) {
  margin-top: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.text-link {
  color: var(--green);
  font-weight: 750;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.section-heading > p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.menu-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 6px 24px rgba(28, 41, 37, 0.035);
}

.menu-card > img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.menu-card-body {
  min-height: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.menu-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.menu-card strong {
  color: var(--green);
  font-size: 1.05rem;
}

.menu-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.food-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #edf0ec;
}

.slides {
  position: relative;
  aspect-ratio: 16 / 9;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 7px 12px;
  color: white;
  background: rgba(18, 34, 29, 0.72);
  border-radius: 999px;
  font-size: 0.84rem;
  backdrop-filter: blur(5px);
}

.slider-controls {
  display: flex;
  gap: 8px;
}

.slider-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.slider-button:hover {
  background: var(--green-soft);
}

.slide-dots {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 7px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
}

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #bbc3be;
  cursor: pointer;
}

.dot.is-active {
  background: var(--green);
}

.reservation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px;
  background: var(--green-soft);
  border-radius: var(--radius);
}

.reservation p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #55625d;
}

.sidebar {
  padding-top: 80px;
}

.sidebar-card {
  padding: 25px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.sidebar-card h2 {
  font-size: 1.7rem;
}

.sidebar-card address {
  margin: 12px 0 16px;
  color: var(--muted);
  font-style: normal;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.hours-list li:last-child {
  border-bottom: 0;
}
.hours-list span {
  color: var(--muted);
}

.accent-card {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.accent-card .eyebrow {
  color: #e4c186;
}
.accent-card p:last-child {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer {
  padding-top: 70px;
  color: rgba(255, 255, 255, 0.78);
  background: #122d26;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr 1fr;
  gap: 60px;
  padding-bottom: 55px;
}

.footer-brand {
  color: white;
}

.site-description {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.66);
}

.site-footer h2 {
  margin-bottom: 14px;
  color: white;
  font-family: inherit;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer a,
.site-footer span {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.site-footer a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
}

@media (max-width: 980px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 60px;
  }
  .sidebar-card {
    margin: 0;
  }
  .intro {
    gap: 35px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    color: var(--green);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 750;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px 14px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 11px 12px;
    border-radius: 10px;
  }

  .primary-nav a:hover {
    background: var(--green-soft);
  }

  .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    padding: 14px 0 10px;
  }

  .hero-frame {
    min-height: 650px;
    border-radius: 20px;
  }

  .hero-content {
    padding: 75px 24px 120px;
  }

  .hero-slider-controls {
    right: 14px;
    bottom: 18px;
  }
  .hero-slider-button {
    width: 36px;
    height: 36px;
  }
  h1 {
    font-size: clamp(2.75rem, 14vw, 4.4rem);
  }
  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(10, 31, 25, 0.88),
      rgba(10, 31, 25, 0.48)
    );
  }

  .page-layout {
    padding-bottom: 45px;
  }

  .section-space {
    padding-top: 55px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 45px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

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

  .menu-card {
    min-height: 170px;
  }

  .sidebar {
    grid-template-columns: 1fr;
    padding-top: 45px;
  }

  .sidebar-card {
    padding: 22px;
  }

  .reservation {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide,
  .hero-slide img {
    transition: none !important;
  }

  .hero-slide,
  .hero-slide.is-active,
  .hero-slide.is-prev,
  .hero-slide.is-next,
  .hero-slide img,
  .hero-slide.is-active img {
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
