/* ========================================
   NOURISHED — Stylesheet
   Palette: Terracotta + Sand
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-terracotta: #C2704E;
  --color-terracotta-dark: #A85A3A;
  --color-terracotta-light: #D4916F;
  --color-sand: #F5EDE4;
  --color-sand-light: #FAF6F1;
  --color-sand-dark: #E8DDD2;
  --color-cream: #FFFDF9;
  --color-charcoal: #2D2420;
  --color-text: #3D322C;
  --color-text-light: #6B5B52;
  --color-text-muted: #9A8A80;
  --color-white: #FFFFFF;
  --color-overlay: rgba(45, 36, 32, 0.65);

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

  --shadow-sm: 0 1px 3px rgba(45, 36, 32, 0.06);
  --shadow-md: 0 4px 16px rgba(45, 36, 32, 0.08);
  --shadow-lg: 0 8px 32px rgba(45, 36, 32, 0.10);
  --shadow-xl: 0 16px 48px rgba(45, 36, 32, 0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

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

/* --- Typography --- */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-terracotta);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--color-terracotta);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(194, 112, 78, 0.3);
}

.btn-primary:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(194, 112, 78, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-charcoal);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-terracotta);
  border: 1.5px solid var(--color-terracotta);
}

.btn-outline-light:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 253, 249, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
  transition: color var(--transition);
}

.navbar.scrolled .logo {
  color: var(--color-charcoal);
}

.logo-icon {
  display: flex;
  align-items: center;
  color: var(--color-terracotta-light);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-white);
}

.navbar.scrolled .nav-link {
  color: var(--color-text-light);
}

.navbar.scrolled .nav-link:hover {
  color: var(--color-charcoal);
}

.nav-cta {
  display: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar.scrolled .mobile-toggle span {
  background: var(--color-charcoal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- 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-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 36, 32, 0.75) 0%,
    rgba(45, 36, 32, 0.55) 50%,
    rgba(194, 112, 78, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 120px 24px 80px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-terracotta-light);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* --- About --- */
.about {
  padding: 120px 0;
  background: var(--color-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 600px;
}

.about-img-main {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 80%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.about-img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--color-cream);
}

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

.about-img-accent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: var(--color-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Menu --- */
.menu {
  padding: 120px 0;
  background: var(--color-sand-light);
}

.section-header {
  margin-bottom: 48px;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.menu-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  background: transparent;
  border: 1.5px solid var(--color-sand-dark);
  transition: all var(--transition);
}

.menu-tab:hover {
  color: var(--color-terracotta);
  border-color: var(--color-terracotta-light);
}

.menu-tab.active {
  background: var(--color-terracotta);
  color: var(--color-white);
  border-color: var(--color-terracotta);
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid transparent;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-terracotta-light);
}

.menu-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.menu-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Gallery --- */
.gallery {
  padding: 120px 0;
  background: var(--color-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item--large {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}

.gallery-item--wide {
  grid-column: 5 / 13;
}

/* --- Visit --- */
.visit {
  padding: 120px 0;
  background: var(--color-sand);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.visit-description {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-terracotta);
  box-shadow: var(--shadow-sm);
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 1rem;
  color: var(--color-charcoal);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--color-terracotta);
  text-decoration: underline;
}

.hours h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 16px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-sand-dark);
  font-size: 0.95rem;
}

.hours-row span:first-child {
  color: var(--color-text-light);
}

.hours-row span:last-child {
  color: var(--color-charcoal);
  font-weight: 500;
}

.visit-map {
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* --- CTA --- */
.cta {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--color-charcoal) 0%, #4A3528 100%);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 112, 78, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta .section-eyebrow {
  color: var(--color-terracotta-light);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--color-charcoal);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  max-width: 280px;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-terracotta-light);
}

.footer-contact p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  line-height: 1.6;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: var(--color-terracotta-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid {
    gap: 48px;
  }

  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-rows: repeat(3, 220px);
  }

  .gallery-item--large {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
  }

  .gallery-item--wide {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 40px;
    transition: right var(--transition);
    box-shadow: var(--shadow-xl);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--color-text);
    font-size: 1.1rem;
  }

  .nav-cta {
    display: none;
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(45, 36, 32, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-images {
    height: 400px;
    order: -1;
  }

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

  .menu-tabs {
    gap: 6px;
  }

  .menu-tab {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 200px);
  }

  .gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .gallery-item--wide {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .visit-map {
    height: 320px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .about-images {
    height: 320px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .gallery-item--large,
  .gallery-item--wide {
    grid-column: 1 / -1;
  }

  .gallery-item {
    height: 220px;
  }
}
