/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 244, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(163, 80, 114, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 4px 24px rgba(80, 42, 58, 0.07); }
.nav__inner { display: flex; align-items: center; }
.nav__logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.nav__logo-icon { transition: transform 0.3s ease; }
.nav__logo:hover .nav__logo-icon { transform: rotate(-10deg) scale(1.05); }
.nav__links { gap: 2rem; }
.nav__link {
  font-size: 0.938rem;
  font-weight: 500;
  color: #5e2d42;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #D4943A;
  border-radius: 1px;
  transition: width 0.25s ease;
}
.nav__link:hover { color: #D4943A; }
.nav__link:hover::after { width: 100%; }
.nav__burger {
  background: none;
  border: none;
  cursor: pointer;
  color: #5e2d42;
  padding: 0.5rem;
  display: flex;
  align-items: center;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(250, 244, 247, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__inner { text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu__link {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: #5e2d42;
  text-decoration: none;
  transition: color 0.2s ease;
}
.mobile-menu__link:hover { color: #D4943A; }
.mobile-menu__cta { margin-top: 1rem; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.938rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.btn--amber {
  background: #D4943A;
  color: #fff;
  border-color: #D4943A;
}
.btn--amber:hover { background: #b87e2e; border-color: #b87e2e; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212, 148, 58, 0.3); }
.btn--outline {
  background: transparent;
  color: #5e2d42;
  border-color: #5e2d42;
}
.btn--outline:hover { background: #5e2d42; color: #fff; transform: translateY(-1px); }
.btn--plum {
  background: #5e2d42;
  color: #fff;
  border-color: #5e2d42;
}
.btn--plum:hover { background: #71314c; border-color: #71314c; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(94, 45, 66, 0.25); }

/* ========== BADGE ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--plum { background: #f3e6ec; color: #8a3d5c; }

/* ========== SECTIONS ========== */
.section { padding: 6rem 0; }
.section--light { background: #faf4f7; }
.section--plum { background: #2a131e; }
.section-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a35072;
  margin-bottom: 1rem;
}
.section-eyebrow--light { color: #d5a7b8; }
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: #2a131e;
  margin-bottom: 1.25rem;
}
.section-heading--light { color: #faf4f7; }

/* ========== HERO ========== */
.hero { padding-top: 5rem; background: linear-gradient(135deg, #faf4f7 0%, #f3e6ec 50%, #e8ccd9 100%); }
.hero__grid { display: grid; gap: 3rem; }
.hero__headline { margin-bottom: 0; }
.hero__sub { margin-bottom: 0; }
.hero__actions { gap: 1rem; }
.hero__stats { gap: 2.5rem; }
.hero__stat-num { display: block; }
.hero__stat-label { display: block; margin-top: 0.125rem; }
.hero__image { position: relative; }
.hero__img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(80, 42, 58, 0.15);
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero__img-wrap:hover .hero__img { transform: scale(1.03); }
.hero__accent {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 120px;
  height: 120px;
  background: #D4943A;
  border-radius: 50%;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

/* ========== ABOUT ========== */
.about__image-grid { position: relative; }
.about__img-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(80, 42, 58, 0.1);
}
.about__img-main img { width: 100%; height: 100%; object-fit: cover; }
.about__img-float {
  position: absolute;
  bottom: -32px;
  right: -16px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(80, 42, 58, 0.15);
  border: 4px solid #faf4f7;
}
.about__img-float img { width: 100%; height: 100%; object-fit: cover; }
.about__img-badge {
  position: absolute;
  top: -16px;
  right: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 24px rgba(80, 42, 58, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.about__content { max-width: 520px; }
.about__feature { display: flex; align-items: center; gap: 0.5rem; }
.about__feature-icon { flex-shrink: 0; }

/* ========== MENU ========== */
.menu-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.menu-card__header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.menu-card__icon {
  width: 52px;
  height: 52px;
  background: rgba(212, 148, 58, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.25rem; }
.menu-item { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.menu-item:last-child { border-bottom: none; padding-bottom: 0; }
.menu-item__info { display: flex; flex-direction: column; gap: 0.25rem; }
.menu-item__name { font-weight: 500; font-size: 1.0625rem; }
.menu-item__desc { font-size: 0.875rem; }

/* ========== GALLERY ========== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
}
.gallery__item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--tall { grid-column: span 1; grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ========== VISIT / CONTACT ========== */
.visit__info-item { display: flex; align-items: flex-start; gap: 1rem; }
.visit__info-icon { flex-shrink: 0; margin-top: 0.125rem; }
.visit__info-label { display: block; margin-bottom: 0.125rem; }
.visit__info-value { line-height: 1.6; }
.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(80, 42, 58, 0.1);
}
.contact-card__title { margin-bottom: 0.25rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-label { font-size: 0.875rem; font-weight: 500; color: #5e2d42; }
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #e8ccd9;
  border-radius: 12px;
  font-size: 0.938rem;
  font-family: inherit;
  color: #5e2d42;
  background: #faf4f7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: #a35072;
  box-shadow: 0 0 0 3px rgba(163, 80, 114, 0.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: #c07a94; }
.form-textarea { resize: vertical; min-height: 120px; }
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.contact-success svg { flex-shrink: 0; }

/* ========== FOOTER ========== */
.footer { background: #faf4f7; padding: 0; }
.footer__top { padding-top: 3rem; }
.footer__logo { text-decoration: none; }
.footer__heading { font-size: 0.938rem; }
.footer__links { list-style: none; margin: 0; padding: 0; }
.footer__link { text-decoration: none; }
.footer__contacts { list-style: none; margin: 0; padding: 0; line-height: 1.8; }
.footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }

/* ========== 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);
  }
}
/* Fallback: if JS is disabled or prefers-reduced-motion, content is always visible */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__image { order: -1; max-width: 480px; margin: 0 auto; }
  .hero__img-wrap { border-radius: 20px; }
  .about__image-grid { max-width: 480px; }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  .gallery__item--tall { grid-column: span 1; grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 639px) {
  .section { padding: 4rem 0; }
  .hero { padding-top: 4.5rem; }
  .hero__stats { flex-direction: column; gap: 1rem; }
  .contact-form__row { grid-template-columns: 1fr; }
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery__item, .gallery__item--tall, .gallery__item--wide {
    grid-column: span 1;
    grid-row: span 1;
    height: 220px;
  }
  .about__img-float { right: 0; bottom: -24px; }
  .about__img-badge { right: 0; top: -12px; }
}
