/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --green:   #2D5A27;
  --red:     #8B1A1A;
  --gold:    #C9933A;
  --ivory:   #FFFFF0;
  --taupe:   #C4A882;
  --parchment: #FAF6F0;
  --charcoal: #2C2C2C;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', Arial, sans-serif;

  --max-width: 1100px;
  --nav-height: 70px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--parchment);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--green {
  background-color: var(--green);
  color: var(--ivory);
}

.section--taupe {
  background-color: var(--taupe);
  color: var(--charcoal);
}

.section--ivory {
  background-color: var(--ivory);
}

.text-center { text-align: center; }

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.btn--primary {
  background-color: var(--red);
  color: var(--ivory);
  border: 2px solid var(--red);
}

.btn--outline {
  background-color: transparent;
  color: var(--ivory);
  border: 2px solid var(--gold);
}

.btn--outline-dark {
  color: var(--charcoal);
  border-color: var(--green);
}

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--parchment);
  border-bottom: 2px solid var(--taupe);
  z-index: 100;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__logo img {
  height: 48px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 2rem;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color 0.2s;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--gold);
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background-color: var(--parchment);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--taupe);
  }

  .nav__links.open { display: flex; }

  .nav__links a {
    display: block;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--taupe);
  }
}

/* ============================================================
   Page Offset (fixed nav)
   ============================================================ */
.page-content {
  margin-top: var(--nav-height);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background-color: var(--green);
  color: var(--ivory);
  padding: 3rem 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer__heading {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer__links a {
  display: block;
  color: var(--ivory);
  opacity: 0.8;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer__links a:hover { opacity: 1; }

.footer__bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ============================================================
   Section Divider
   ============================================================ */
.divider {
  width: 60px;
  height: 3px;
  background-color: var(--gold);
  margin: 1rem auto 2rem;
}

.divider--left {
  margin-left: 0;
  margin-right: auto;
}

/* ============================================================
   Cards
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--ivory);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background-color: var(--taupe);
  overflow: hidden;
}

.card__body {
  padding: 1rem 1.25rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 0.35rem;
}

.card__text {
  font-size: 0.78rem;
  opacity: 0.75;
  margin-bottom: 0;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--parchment);
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 28px,
    rgba(180, 150, 100, 0.10) 28px,
    rgba(180, 150, 100, 0.10) 29px
  );
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--charcoal);
  padding: 2rem;
  max-width: 640px;
  width: 100%;
}

.hero__tagline {
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__title {
  color: var(--green);
  margin-bottom: 0.5rem;
}

.hero__composition {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 56 / 46;
  margin: 1rem auto 1.5rem;
}

.hero__sketches {
  display: none;
}

.hero__photo-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72%;
}

.hero__photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: multiply;
}

@media (max-width: 600px) {
  .hero__composition {
    aspect-ratio: unset;
  }
  .hero__photo-frame {
    position: static;
    transform: none;
    width: 100%;
  }
}

/* ============================================================
   Feature Strip
   ============================================================ */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}

.feature-strip__item {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.feature-strip__item:last-child { border-right: none; }

.feature-strip__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-strip__title {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-strip__text {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 3rem 0;
  }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .feature-strip__item:last-child { border-bottom: none; }
}

/* ============================================================
   Pull Quote
   ============================================================ */
.pull-quote {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   Menu Page
   ============================================================ */
.menu-section {
  margin-bottom: 3rem;
}

.menu-section__header {
  background-color: var(--green);
  color: var(--ivory);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  border-left: 4px solid var(--gold);
  margin-bottom: 1rem;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}

@media (max-width: 768px) {
  .menu-items { grid-template-columns: 1fr; }
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--taupe);
}

.menu-item__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.menu-item__desc {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.2rem;
  margin-bottom: 0;
}

.menu-item__price {
  font-family: var(--font-heading);
  color: var(--red);
  font-size: 1rem;
  white-space: nowrap;
  margin-left: 1rem;
}

/* ============================================================
   About Page
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
}

.split__image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
  background-color: var(--taupe);
}

/* ============================================================
   Catering Packages
   ============================================================ */
.package-card {
  background-color: var(--ivory);
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.package-card__name {
  font-family: var(--font-heading);
  color: var(--green);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.package-card__guests {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
}

.package-card__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 1rem;
}

.package-card__features {
  text-align: left;
  margin-bottom: 1.5rem;
}

.package-card__features li {
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.package-card__features li::before {
  content: "✓ ";
  color: var(--green);
  font-weight: bold;
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.hours-table td {
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--taupe);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--green);
  font-weight: 600;
}

.map-placeholder {
  width: 100%;
  height: 350px;
  background-color: var(--taupe);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--green);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--taupe);
  border-radius: 2px;
  background-color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.25);
}

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

/* ============================================================
   Page Headers (inner pages)
   ============================================================ */
.page-header {
  background-color: var(--green);
  color: var(--ivory);
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gold);
  font-family: var(--font-body);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* ============================================================
   Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
