/* Base and variables */
:root {
  --dark-green: #1b4332;
  --medium-green: #2d6a4f;
  --light-green: #52b788;
  --pale-green: #d8f3dc;
  --gold-accent: #b4975a;
  --dark-grey: #2b2b2b;
  --background: #ffffff;
  --foreground: #1a1a1a;
  --muted: #f8f9f7;
  --border: rgba(0, 0, 0, 0.1);
  --radius: 0.375rem;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: var(--foreground);
  background: var(--background);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* Containers and layout helpers */
.container {
  max-width: 80rem; /* ~1280px */
  margin: 0 auto;
  padding: 0 1.5rem;
}
.center { text-align: center; }
.mt-16 { margin-top: 4rem; }
.wide { max-width: 42rem; margin-left: auto; margin-right: auto; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(27,67,50,0.1);
}
.header-inner {
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--dark-green);
}
.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-link {
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: #2b2b2b;
  transition: color .3s ease;
}
.nav-link:hover { color: var(--dark-green); }
@media (min-width: 768px) {
  .nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all .3s ease;
}
.btn-primary {
  background: var(--dark-green);
  color: #fff;
}
.btn-primary:hover {
  background: var(--medium-green);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.btn-light {
  background: #fff;
  color: var(--dark-green);
  padding: 1rem 2.5rem;
}
.btn-light:hover {
  background: var(--pale-green);
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}
.btn-outline {
  border: 2px solid var(--dark-green);
  color: var(--dark-green);
  padding: 0.75rem 2.5rem;
  background: transparent;
}
.btn-outline:hover {
  background: var(--dark-green);
  color: #fff;
}
.btn-ghost {
  border: 2px solid #fff;
  color: #fff;
  padding: 0.75rem 2.5rem;
  background: transparent;
}
.btn-ghost:hover {
  background: #fff;
  color: var(--dark-green);
}
.btn-accent {
  background: var(--gold-accent);
  color: #fff;
  padding: 1rem 3rem;
}
.btn-accent:hover {
  background: #9d8248;
  box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 56rem;
}
.hero-title {
  margin: 0 0 1rem 0;
  font-family: 'Playfair Display', serif;
  color: #fff;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 6vw, 6rem);
}
.hero-subtitle {
  margin: 0 0 3rem 0;
  color: rgba(255,255,255,0.9);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  letter-spacing: 0.02em;
}

/* Sections */
.section { padding: 6rem 0; }
.section-white { background: #fff; }
.section-muted { background: var(--muted); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dark-green);
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem 0;
}
.section-title.white { color: #fff; }
.section-subtitle {
  color: rgba(43,43,43,0.7);
  font-size: 1.125rem;
  margin: 0;
}
.section-subtitle.white { color: rgba(255,255,255,0.9); }
.section-header { margin-bottom: 4rem; }

/* About: grid and media */
.grid-2 {
  display: grid;
  gap: 4rem;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; }
}
.prose { color: #2b2b2b; line-height: 1.8; }
.prose p { margin: 0 0 1rem 0; }
.section-media { position: relative; }
.media-aspect {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #eee;
}
.media-img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.media-shadow { box-shadow: 0 25px 50px rgba(0,0,0,0.25); }
.media-deco {
  position: absolute;
  left: -1.5rem; bottom: -1.5rem;
  width: 12rem; height: 12rem;
  background: var(--pale-green);
  border-radius: 0.75rem;
  z-index: -1;
}

/* Cards (Menu preview) */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: box-shadow .3s ease, transform .3s ease;
}
.card:hover {
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}
.card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body {
  padding: 1.5rem;
  text-align: center;
}
.card-title {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--dark-green);
  letter-spacing: -0.01em;
}

/* Rooftop */
.rooftop {
  position: relative;
  padding: 0;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rooftop-bg { position: absolute; inset: 0; z-index: 0; }
.rooftop-tint {
  position: absolute; inset: 0;
  background: rgba(27,67,50,0.75);
}
.rooftop-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.rooftop-content .section-title { margin: 0; }
.rooftop-content .section-subtitle { margin: 0; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
.gallery-item {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: box-shadow .3s ease, transform .3s ease;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  transition: transform .5s ease;
}
.gallery-item:hover { box-shadow: 0 25px 60px rgba(0,0,0,0.25); }
.gallery-item:hover img { transform: scale(1.1); }

/* CTA */
.cta {
  background: var(--dark-green);
  color: #fff;
}

/* Footer */
.footer {
  background: var(--dark-grey);
  color: #fff;
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
.footer-brand {
  margin: 0 0 1rem 0;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}
.footer-muted {
  margin: 0;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-heading {
  margin: 0 0 1rem 0;
  color: var(--light-green);
  font-size: 1.125rem;
}
.footer-list { display: grid; gap: 0.5rem; }
.footer-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.footer-item .icon { flex: 0 0 auto; margin-top: 0.15rem; }
.socials { display: flex; gap: 1rem; }
.social {
  width: 2.5rem; height: 2.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center; justify-content: center;
  transition: background .3s ease;
  font-weight: 600;
}
.social:hover { background: var(--light-green); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Spacing helper to account for fixed header */
#home { scroll-margin-top: 5rem; }
#about, #menu, #gallery, #contact { scroll-margin-top: 6.5rem; }

