/* ============================================
   Somewhere AZ — Styles
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* Focus */
:focus-visible {
  outline: 2px solid #065f46;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #065f46;
  color: #fff8f0;
  padding: 0.5rem 1rem;
  border-radius: 0 0 6px 6px;
  z-index: 200;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; line-height: 1.2; font-weight: 400; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

/* ============================================
   Layout
   ============================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow {
  max-width: 680px;
}
.section {
  padding: 5rem 0;
}
.section--light { background: #f8faf9; }
.section--cream { background: #fff8ee; }
.section--dark { background: #064e3b; }

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 78, 59, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 248, 240, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(2, 44, 34, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff8f0;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav__logo {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: #fff8f0;
}
.nav__name { white-space: nowrap; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav__link {
  color: rgba(255, 248, 240, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav__link:hover,
.nav__link:focus-visible {
  color: #fff8f0;
  background: rgba(255, 248, 240, 0.1);
}
.nav__link--cta {
  background: rgba(255, 248, 240, 0.15);
  color: #fff8f0;
  margin-left: 0.5rem;
}
.nav__link--cta:hover {
  background: rgba(255, 248, 240, 0.25);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff8f0;
  transition: background 0.2s;
  margin-left: auto;
}
.nav__toggle:hover { background: rgba(255, 248, 240, 0.1); }
.nav__icon--open,
.nav__icon--close {
  width: 22px;
  height: 22px;
}
.nav__icon--close { display: none; }
.nav__menu[aria-expanded="true"] .nav__icon--close { display: block; }
.nav__menu[aria-expanded="true"] .nav__icon--open { display: none; }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 44, 34, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav__menu[aria-expanded="true"] {
    transform: translateX(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    margin-left: 0;
  }
  .nav__link {
    font-size: 1.125rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
  }
  .nav__link--cta {
    margin-left: 0;
    text-align: center;
    margin-top: 0.75rem;
  }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: #065f46;
  color: #fff8f0;
  border-color: #065f46;
}
.btn--primary:hover {
  background: #047857;
  border-color: #047857;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.4);
}
.btn--light {
  background: rgba(255, 248, 240, 0.15);
  color: #fff8f0;
  border-color: rgba(255, 248, 240, 0.4);
  backdrop-filter: blur(4px);
}
.btn--light:hover {
  background: rgba(255, 248, 240, 0.25);
  border-color: rgba(255, 248, 240, 0.6);
  transform: translateY(-1px);
}
.btn--outline {
  background: transparent;
  color: #065f46;
  border-color: #065f46;
}
.btn--outline:hover {
  background: #065f46;
  color: #fff8f0;
}
.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}
.btn--full {
  width: 100%;
}

/* ============================================
   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__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(2, 44, 34, 0.7) 0%,
    rgba(6, 78, 59, 0.6) 40%,
    rgba(6, 78, 59, 0.75) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  padding: 2rem 1.5rem;
  color: #fff8f0;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 248, 240, 0.15);
  border: 1px solid rgba(255, 248, 240, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff8f0;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}
.hero__badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.hero__headline {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: #fff8f0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.hero__accent {
  font-style: italic;
  color: #a7f3d0;
}
.hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.85);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
}
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 248, 240, 0.6);
  animation: bounce 2s ease infinite;
}
.hero__scroll svg {
  width: 28px;
  height: 28px;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Labels & Headings
   ============================================ */
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.75rem;
}
.label--light {
  color: #6ee7b7;
}
.heading {
  color: #064e3b;
  margin-bottom: 1rem;
}
.heading--light {
  color: #fff8f0;
}
.body-copy {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
}
.body-copy--light {
  color: rgba(255, 248, 240, 0.8);
}
.body-copy--muted {
  color: #6b7280;
}

/* ============================================
   Welcome Section
   ============================================ */
.grid--welcome {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.welcome__text { max-width: 480px; }
.welcome__text .heading { margin-bottom: 1.25rem; }
.welcome__text .body-copy { margin-bottom: 0.75rem; }
.grid__cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (max-width: 900px) {
  .grid--welcome {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .welcome__text { max-width: 100%; }
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: #fff8f0;
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(6, 95, 70, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.1);
}
.card__icon {
  width: 48px;
  height: 48px;
  background: #065f46;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7f3d0;
  margin-bottom: 1rem;
}
.card__icon svg {
  width: 24px;
  height: 24px;
}
.card__title {
  color: #064e3b;
  margin-bottom: 0.5rem;
}
.card__desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #4b5563;
}

/* ============================================
   About Section
   ============================================ */
.grid--about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about__media { position: relative; }
.about__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about__stat {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: #065f46;
  color: #fff8f0;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.about__stat .stat__num {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: #a7f3d0;
}
.about__stat .stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 248, 240, 0.7);
}
.about__text .heading { margin-bottom: 1.25rem; }
.about__text .body-copy { margin-bottom: 0.75rem; }
.about__features {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.about__feature {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: rgba(255, 248, 240, 0.85);
}
.about__feature .check {
  width: 20px;
  height: 20px;
  color: #34d399;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .grid--about {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about__stat {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    display: inline-block;
  }
  .about__features { grid-template-columns: 1fr; }
}

/* ============================================
   Menu Section
   ============================================ */
.menu__header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}
.menu__header .heading { margin-bottom: 0.75rem; }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.menu__category {
  background: #fff8f0;
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid rgba(6, 95, 70, 0.08);
}
.menu__cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(6, 95, 70, 0.1);
}
.menu__cat-icon {
  width: 40px;
  height: 40px;
  background: #065f46;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a7f3d0;
  flex-shrink: 0;
}
.menu__cat-icon svg {
  width: 20px;
  height: 20px;
}
.menu__cat-title {
  color: #064e3b;
  font-size: 1.125rem;
  margin: 0;
}
.menu__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.menu__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid rgba(6, 95, 70, 0.06);
}
.menu__list li:last-child { border-bottom: none; }
.menu__item-name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1f2937;
}
.menu__item-desc {
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: right;
  flex-shrink: 0;
}
.menu__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: italic;
}

@media (max-width: 900px) {
  .menu__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ============================================
   Gallery
   ============================================ */
.gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery__item:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Visit Section
   ============================================ */
.visit__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.visit__info .heading { margin-bottom: 1.25rem; }
.visit__address {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.9);
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 248, 240, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 248, 240, 0.1);
}
.visit__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.visit__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  color: rgba(255, 248, 240, 0.8);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.visit__detail svg {
  width: 22px;
  height: 22px;
  color: #34d399;
  flex-shrink: 0;
  margin-top: 2px;
}
.visit__hours {
  display: block;
  margin-top: 0.25rem;
}
.visit__link {
  color: #a7f3d0;
  border-bottom: 1px solid rgba(167, 243, 208, 0.3);
  transition: color 0.2s, border-color 0.2s;
}
.visit__link:hover {
  color: #6ee7b7;
  border-color: #6ee7b7;
}
.visit__map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.visit__map-link {
  display: block;
  position: relative;
}
.visit__map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.visit__map-link:hover .visit__map-img {
  transform: scale(1.03);
}
.visit__map-cta {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #065f46;
  color: #fff8f0;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.2s;
}
.visit__map-cta svg {
  width: 16px;
  height: 16px;
}
.visit__map-cta:hover {
  background: #047857;
}

@media (max-width: 900px) {
  .visit__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .visit__map { order: -1; }
}

/* ============================================
   Contact Section
   ============================================ */
.contact__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.contact__form {
  background: #fff8f0;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(6, 95, 70, 0.08);
  box-shadow: 0 4px 20px rgba(6, 78, 59, 0.06);
}
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1rem;
}
.form__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: #1f2937;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form__input:focus {
  border-color: #065f46;
  box-shadow: 0 0 0 3px rgba(6, 95, 70, 0.1);
  outline: none;
}
.form__input::placeholder { color: #9ca3af; }
.form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form__textarea {
  resize: vertical;
  min-height: 120px;
}
.form__privacy {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.75rem;
}
.contact__success {
  text-align: center;
  padding: 2.5rem 2rem;
  background: #ecfdf5;
  border-radius: 16px;
  border: 1px solid rgba(6, 95, 70, 0.15);
}
.contact__success svg {
  width: 48px;
  height: 48px;
  color: #065f46;
  margin: 0 auto 1rem;
}
.contact__success-title {
  color: #064e3b;
  margin-bottom: 0.5rem;
}
.contact__success p {
  color: #374151;
  margin-bottom: 1.25rem;
}
.contact__direct {
  text-align: center;
  margin-top: 2rem;
  padding: 1.25rem;
  background: #fff8f0;
  border-radius: 10px;
}
.link {
  color: #047857;
  border-bottom: 1px solid rgba(4, 120, 87, 0.3);
  transition: color 0.2s;
}
.link:hover { color: #065f46; border-color: #065f46; }

@media (max-width: 480px) {
  .contact__row { grid-template-columns: 1fr; }
  .contact__form { padding: 1.5rem; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #022c22;
  color: rgba(255, 248, 240, 0.7);
  padding: 3.5rem 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.footer__brand { max-width: 320px; }
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: #fff8f0;
  margin-bottom: 0.875rem;
}
.footer__logo-icon {
  width: 32px;
  height: 32px;
  color: #a7f3d0;
}
.footer__tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 248, 240, 0.6);
}
.footer__heading {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #34d399;
  margin-bottom: 1rem;
}
.footer__address {
  font-size: 0.9375rem;
  line-height: 1.8;
}
.footer__link {
  color: rgba(255, 248, 240, 0.7);
  border-bottom: 1px solid rgba(255, 248, 240, 0.2);
  transition: color 0.2s, border-color 0.2s;
}
.footer__link:hover {
  color: #a7f3d0;
  border-color: #a7f3d0;
}
.footer__hours-text {
  font-size: 0.9375rem;
  line-height: 1.8;
}
.footer__bottom {
  border-top: 1px solid rgba(255, 248, 240, 0.08);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: rgba(255, 248, 240, 0.4);
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}
/* When JS is disabled or prefers-reduced-motion, content stays visible */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Hidden utility */
.hidden { display: none !important; }
