/* Ember & Thyme — Upscale Restaurant Showcase */
@import url('../shared.css');

:root {
  --charcoal: #1a1a1a;
  --cream: #faf7f2;
  --amber: #b45309;
  --gold: #d4a574;
  --muted: #8b7355;
  --white: #ffffff;
}

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

h1, h2, h3, h4 {
  font-family: Georgia, 'Times New Roman', serif;
}

/* ===================== */
/*         NAV           */
/* ===================== */
.nav {
  text-align: center;
  padding: 2rem 2rem 0;
  background: var(--cream);
  position: relative;
}

.nav-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.75rem;
  color: var(--charcoal);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

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

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

.nav-ornament {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ===================== */
/*        HERO           */
/* ===================== */
.hero {
  background: var(--charcoal);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-ornament {
  width: 120px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  position: relative;
  animation: hero-line-grow 1.5s ease-out forwards;
}

@keyframes hero-line-grow {
  from { width: 0; opacity: 0; }
  to { width: 120px; opacity: 1; }
}

.hero-ornament-diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: translate(-50%, -50%) rotate(45deg);
  animation: diamond-spin 12s linear infinite;
}

@keyframes diamond-spin {
  from { transform: translate(-50%, -50%) rotate(45deg); }
  to { transform: translate(-50%, -50%) rotate(405deg); }
}

.hero-ornament::before,
.hero-ornament::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-50%);
}

.hero-ornament::before { left: 0; }
.hero-ornament::after { right: 0; }

.hero-title {
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  animation: hero-fade-in 1.5s ease-out 0.3s both;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  opacity: 0.6;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  animation: hero-fade-in 1.5s ease-out 0.7s both;
}

.hero-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  opacity: 0.35;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  margin-top: 0.75rem;
  animation: hero-fade-in 1.5s ease-out 1.1s both;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle,
.hero-tagline {
  /* override the animation opacity target for these */
}

/* ===================== */
/*     PHILOSOPHY        */
/* ===================== */
.philosophy {
  max-width: 720px;
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.philosophy h2 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.philosophy-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
  text-align: left;
}

.philosophy-text::first-letter {
  font-family: Georgia, 'Times New Roman', serif;
  float: left;
  font-size: 4.5rem;
  line-height: 0.8;
  padding-right: 0.15em;
  padding-top: 0.05em;
  color: var(--gold);
  font-weight: 400;
}

/* ===================== */
/*     AWARDS BAR        */
/* ===================== */
.awards-bar {
  background: var(--charcoal);
  overflow: hidden;
  padding: 1.1rem 0;
  white-space: nowrap;
}

.awards-track {
  display: inline-block;
  animation: marquee-scroll 24s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.award-item {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 1.5rem;
}

.award-separator {
  color: var(--gold);
  opacity: 0.4;
  font-size: 0.65rem;
}

/* ===================== */
/*     CHEF SECTION      */
/* ===================== */
.chef-section {
  padding: 6rem 2rem;
  background: var(--white);
}

.chef-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.chef-photo {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, #8b7355, #d4a574, #c9956a);
  border-radius: 2px;
}

.chef-info {
  padding: 1rem 0;
}

.chef-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.chef-accent-line {
  width: 50px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.chef-info h2 {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.chef-bio {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.chef-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal);
  border-left: 2px solid var(--gold);
  padding-left: 1.25rem;
  line-height: 1.7;
}

/* ===================== */
/*        MENU           */
/* ===================== */
.menu {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.menu > h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.menu-subtitle {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
}

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.menu-section {
  margin-bottom: 2.5rem;
}

.menu-section h3 {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
  font-family: 'Inter', sans-serif;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e8e0d4;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
}

.menu-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.02rem;
}

.menu-dots {
  flex: 1;
  border-bottom: 1px dotted #ccc3b5;
  margin: 0 0.75rem;
  min-width: 30px;
  position: relative;
  top: -4px;
}

.menu-price {
  font-size: 0.9rem;
  color: var(--amber);
  font-weight: 600;
  white-space: nowrap;
}

.menu-desc {
  font-size: 0.78rem;
  color: var(--muted);
  padding-bottom: 0.5rem;
  line-height: 1.5;
}

.menu-desc em {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.78rem;
}

/* ===================== */
/*   SEASONAL SPECIAL    */
/* ===================== */
.seasonal-special {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--cream);
}

.special-card {
  max-width: 650px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--gold);
  padding: 3rem;
}

.special-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--gold);
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.special-card h2 {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

.special-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.special-price {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.4rem;
  color: var(--amber);
  font-weight: 400;
}

/* ===================== */
/*       GALLERY         */
/* ===================== */
.gallery {
  padding: 5rem 2rem;
  background: var(--white);
}

.gallery h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

.gallery-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 0.75rem;
}

.gallery-item {
  border-radius: 2px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.gallery-item:hover {
  filter: brightness(0.85);
  border-color: var(--gold);
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

.gallery-item:nth-child(1) { background: linear-gradient(145deg, #8b7355, #a68b6b); }
.gallery-item:nth-child(2) { background: linear-gradient(145deg, #d4a574, #c9956a); }
.gallery-item:nth-child(3) { background: linear-gradient(145deg, #c9956a, #e8c9a0); }
.gallery-item:nth-child(4) { background: linear-gradient(145deg, #a68b6b, #d4a574); }
.gallery-item:nth-child(5) { background: linear-gradient(145deg, #e8c9a0, #c9956a); }
.gallery-item:nth-child(6) { background: linear-gradient(145deg, #b45309, #d4a574); }
.gallery-item:nth-child(7) { background: linear-gradient(145deg, #d4a574, #8b7355); }
.gallery-item:nth-child(8) { background: linear-gradient(145deg, #c9956a, #a68b6b); }

/* ===================== */
/*    PRIVATE DINING     */
/* ===================== */
.private-dining {
  background: var(--charcoal);
  color: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
}

.private-dining-ornament {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 2rem;
}

.private-dining-ornament:last-child {
  margin: 2rem auto 0;
}

.private-dining h2 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.private-dining-intro {
  font-size: 0.95rem;
  opacity: 0.65;
  max-width: 550px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.private-dining-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.private-dining-col h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.private-dining-col p {
  font-size: 0.88rem;
  opacity: 0.65;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

/* ===================== */
/*     TESTIMONIALS      */
/* ===================== */
.testimonials {
  padding: 5rem 2rem;
  background: var(--cream);
}

.testimonials h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
}

.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
  border-top: 2px solid var(--gold);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.testimonial-source {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===================== */
/*     RESERVATION       */
/* ===================== */
.reservation {
  max-width: 540px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.reservation h2 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #d4c9ba;
  border-radius: 2px;
  background: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--charcoal);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.15);
}

.reservation-form textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

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

.reserve-btn {
  padding: 1rem;
  background: var(--charcoal);
  color: var(--cream);
  border: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s;
}

.reserve-btn:hover {
  background: var(--amber);
}

.reservation-success {
  display: none;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-size: 0.88rem;
  border-radius: 2px;
  line-height: 1.5;
}

.reservation-success.visible {
  display: block;
}

/* ===================== */
/*      GIFT CARDS       */
/* ===================== */
.gift-cards {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--white);
}

.gift-cards h2 {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.gift-desc {
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
}

.gift-btn {
  display: inline-block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  padding: 0.85rem 2.5rem;
  border: 2px solid var(--gold);
  color: var(--charcoal);
  transition: background 0.3s, color 0.3s;
}

.gift-btn:hover {
  background: var(--charcoal);
  color: var(--cream);
  border-color: var(--charcoal);
}

/* ===================== */
/*       LOCATION        */
/* ===================== */
.location {
  background: var(--charcoal);
  color: var(--cream);
  padding: 5rem 2rem;
  text-align: center;
}

.location h2 {
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 2.5rem;
}

/* Compass indicator */
.location-compass {
  width: 80px;
  height: 80px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.compass-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

.compass-needle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 30px;
  transform: translate(-50%, -100%);
  transform-origin: bottom center;
  background: linear-gradient(to top, var(--gold), var(--amber));
}

.compass-needle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 100%);
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, rgba(212,165,116,0.5), transparent);
}

.compass-n, .compass-e, .compass-s, .compass-w {
  position: absolute;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  opacity: 0.7;
}

.compass-n { top: 0; left: 50%; transform: translateX(-50%); }
.compass-s { bottom: 0; left: 50%; transform: translateX(-50%); }
.compass-e { right: 0; top: 50%; transform: translateY(-50%); }
.compass-w { left: 0; top: 50%; transform: translateY(-50%); }

.location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.location-block h3 {
  font-size: 0.72rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 400;
}

.location-block p {
  font-size: 0.88rem;
  opacity: 0.65;
  line-height: 1.85;
}

.mt-1 {
  margin-top: 1.5rem;
}

/* ===================== */
/*       FOOTER          */
/* ===================== */
.site-footer {
  background: var(--charcoal);
  padding: 0 2rem 3rem;
  text-align: center;
}

.footer-ornament {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin-bottom: 2.5rem;
}

.footer-social {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--cream);
  opacity: 0.3;
  letter-spacing: 0.05em;
}

.murikual-footer {
  background: #141414;
}

/* ===================== */
/*      RESPONSIVE       */
/* ===================== */
@media (max-width: 900px) {
  .menu-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .chef-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .chef-photo {
    max-width: 400px;
    margin: 0 auto;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin: 0 auto;
  }

  .private-dining-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .gallery-tall {
    grid-row: span 1;
  }

  .gallery-wide {
    grid-column: span 1;
  }

  .reservation-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }
}

@media (max-width: 480px) {
  .nav-links {
    gap: 0.6rem;
  }

  .nav-links a {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

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

  .special-card {
    padding: 2rem 1.25rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 3rem);
  }

  .philosophy h2,
  .menu > h2,
  .gallery h2,
  .private-dining h2,
  .testimonials h2,
  .reservation h2,
  .gift-cards h2,
  .location h2 {
    font-size: 1.5rem;
  }

  .menu-name {
    font-size: 0.9rem;
  }

  .chef-quote {
    font-size: 0.92rem;
  }

  .location-grid {
    gap: 1.5rem;
  }
}
