/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Anchor: Spring Green + Energetic Contrast Palette */
  --cream: #FDFCF8;           /* Neutral crisp cream */
  --hero-green: #A7D7C5;      /* THE ANCHOR: Bright Spring Green */
  --soft-terracotta: #FF6B4A;  /* HIGH CONTRAST: Electric Coral */
  --warm-gold: #FFD93D;       /* POP: Sunbeam Yellow */
  --deep-navy: #1A2430;       /* SHARP: Midnight Blue for text/hierarchy */
  --light-sage: #E2F2E9;      /* SOFT: Minty tint for backgrounds */
  --olive-green: #3D5AFE;     /* ACCENT: Cobalt Blue for buttons/links */
  --warm-beige: #FFD29D;      /* WARM: Soft Apricot */
  --charcoal: #1A2430;        /* Deepest navy for body text */
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--cream);
}

h1, h2, h3, h4 {
  font-family: 'Cormorant', serif;
  font-weight: 400;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

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

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(247, 243, 238, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(58, 58, 58, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: 'Cormorant', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--deep-navy);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--charcoal);
  transition: all 0.3s ease;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--cream);
    flex-direction: column;
    justify-content: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(58, 58, 58, 0.1);
  }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--soft-terracotta);
}

.nav-social {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.nav-social:hover {
  transform: scale(1.1);
}

.nav-cta {
  padding: 0.6rem 1.4rem;
  background-color: var(--deep-navy);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
  justify-self: end;
}

.nav-cta:hover {
  background-color: var(--soft-terracotta);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hero-green);
  padding: 8rem 3rem 4rem;
  margin-top: 4rem;
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.hero-text-left {
  text-align: right;
  padding-right: 0;
}

.hero-text-left h1 {
  color: #1A2430;
  line-height: 1.1;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.hero-image-container {
  width: clamp(300px, 25vw, 400px);
  aspect-ratio: 2 / 3;
  position: relative;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 500px 500px 0 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-text-right {
  text-align: left;
  padding-left: 0;
  display: flex;
  justify-content: flex-start;
}

.hero-cta {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border: 1px solid #1A2430;
  background: transparent;
  color: #1A2430;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: all 0.3s;
  border-radius: 2px;
  text-align: left;
  cursor: pointer;
}

.hero-cta:hover {
  background-color: #1A2430;
  color: var(--cream);
}

/* Section Styles */
.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--soft-terracotta);
  margin-bottom: 1rem;
}

/* Authenticity Banner */
.authenticity-banner {
  background-color: var(--light-sage);
  padding: 3rem 1.5rem;
  text-align: center;
  width: 100%;
}

.banner-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-text {
  font-family: 'Pinyon Script', cursive;
  font-style: normal; /* As requested: not italic */
  font-size: clamp(3rem, 8vw, 8rem);
  color: var(--deep-navy);
  font-weight: 700; /* As requested: a bit bolder */
  line-height: 1.2;
  text-align: center;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .authenticity-banner {
    padding: 2rem 1rem;
  }
  
  .banner-text {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
  }
}

/* Featured Dishes Carousel */
.featured {
  background-color: var(--cream);
}

.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.dishes-carousel {
  overflow: hidden;
  border-radius: 2px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 2rem;
}

.dish-card {
  flex: 0 0 calc(50% - 1rem);
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(58, 58, 58, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  color: var(--deep-navy);
}

.carousel-arrow:hover {
  background-color: var(--deep-navy);
  color: var(--cream);
  border-color: var(--deep-navy);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-arrow-prev {
  left: 0;
}

.carousel-arrow-next {
  right: 0;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(58, 58, 58, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-dot:hover {
  background-color: rgba(58, 58, 58, 0.4);
}

.carousel-dot.active {
  background-color: var(--soft-terracotta);
  width: 28px;
  border-radius: 5px;
}

.dish-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (max-width: 768px) {
  .dish-image {
    aspect-ratio: 16 / 9;
  }
}

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

.dish-info {
  padding: 2rem;
}

@media (max-width: 768px) {
  .dish-info {
    padding: 1.5rem;
  }
  
  .dish-info h3 {
    font-size: 1.35rem;
  }
  
  .dish-info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

.dish-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--deep-navy);
}

.dish-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.price {
  display: inline-block;
  font-family: 'Cormorant', serif;
  font-size: 1.25rem;
  color: var(--soft-terracotta);
  font-weight: 500;
}

/* About Section */
.about {
  background-color: var(--hero-green); /* Bringing the hero energy back down here */
  padding: 6rem 0 8rem;
}

.about-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
}

.about-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 4rem;
  letter-spacing: 0.02em;
  text-align: right;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-image-left {
  padding-top: 0;
}

.about-image-left img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 500px 500px 0 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-text-center {
  padding: 0 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text-center .section-label {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-terracotta); /* Pop of coral against the green background */
  margin-bottom: 0;
}

.about-text-center p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--charcoal);
  max-width: 600px;
}

.about-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--charcoal);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background-color 0.3s;
  align-self: flex-start;
}

.about-cta:hover {
  background-color: var(--deep-navy);
}

.about-image-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 4rem;
}

.about-image-right img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-top: 260px;
}

/* Menu Preview */
.menu-preview {
  background-color: var(--cream);
}

.menu-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.menu-subtitle {
  max-width: 700px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--charcoal);
}

.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.menu-category h3 {
  font-size: 2rem;
  color: var(--deep-navy);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--soft-terracotta);
}

.menu-item {
  margin-bottom: 2rem;
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.item-name {
  font-family: 'Cormorant', serif;
  font-size: 1.25rem;
  color: var(--deep-navy);
  font-weight: 500;
}

.item-price {
  font-family: 'Cormorant', serif;
  font-size: 1.1rem;
  color: var(--soft-terracotta);
  font-weight: 500;
}

.item-description {
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.5;
}

/* Reservations */
.reservations {
  background-color: var(--deep-navy);
  padding: 6rem 0;
}

.reservations-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 3rem;
  text-align: center;
}

.reservations-content {
  color: var(--cream);
}

.reservations-content .section-label {
  color: var(--warm-gold);
}

.reservations-content h2 {
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.reservations-content > p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.reservation-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  text-align: left;
}

.detail-item strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gold);
  margin-bottom: 0.75rem;
}

.detail-item p {
  line-height: 1.8;
  color: var(--cream);
}

.reservation-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  background-color: var(--soft-terracotta);
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.reservation-button:hover {
  background-color: var(--warm-gold);
  color: var(--deep-navy);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: var(--charcoal);
  color: var(--cream);
  padding: 4rem 3rem 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--cream);
}

.footer-section h4 {
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--warm-gold);
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--warm-beige);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 243, 238, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: var(--warm-beige);
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 55, 68, 0.85);
  backdrop-filter: blur(4px);
  z-index: 2000;
  overflow-y: auto;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--cream);
  border-radius: 2px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--charcoal);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s;
  line-height: 1;
}

.modal-close:hover {
  background-color: rgba(58, 58, 58, 0.1);
  color: var(--deep-navy);
}

.modal-header {
  padding: 3rem 3rem 2rem;
  text-align: center;
}

.modal-header h2 {
  color: var(--deep-navy);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.modal-header p {
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.reservation-form {
  padding: 0 3rem 3rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: var(--deep-navy);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid rgba(58, 58, 58, 0.2);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--soft-terracotta);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.submit-button {
  width: 100%;
  padding: 1.25rem;
  background-color: var(--deep-navy);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  font-size: 1rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1rem;
}

.submit-button:hover {
  background-color: var(--soft-terracotta);
}

.submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.success-message {
  background-color: var(--light-sage);
  color: var(--deep-navy);
  padding: 2rem;
  border-radius: 2px;
  text-align: center;
  margin: 0 3rem 2rem;
}

.success-message h3 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text-left {
    text-align: center;
    padding-right: 0;
  }
  
  .hero-text-right {
    text-align: center;
    padding-left: 0;
    justify-content: center;
  }
  
  .hero-image-container {
    margin: 0 auto;
  }
  
  .about-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-image-right {
    padding-top: 0;
  }
  
  .reservation-details {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
    grid-template-columns: auto 1fr auto;
  }
  
  .menu-toggle {
    display: flex;
    grid-column: 3;
  }
  
  .nav-cta {
    display: none;
  }
  
  .hero {
    padding: 6rem 1.5rem 3rem;
  }
  
  .section-container {
    padding: 4rem 1.5rem;
  }
  
  .dishes-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-categories {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .dish-card {
    flex: 0 0 100%;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .modal-overlay {
    padding: 1rem;
  }
  
  .modal-content {
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 2rem 1.5rem 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 2rem;
  }
  
  .reservation-form {
    padding: 0 1.5rem 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .success-message {
    margin: 0 1.5rem 1.5rem;
  }
}

/* High-End Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up.is-revealed,
.reveal-scale.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Ensure no delay on mobile for a snappier feel */
@media (max-width: 768px) {
  .delay-100, .delay-200, .delay-300, .delay-400, .delay-500 {
    transition-delay: 0s;
  }
}
