/* =========================================
   VAGO — THEME CSS
   ========================================= */

/* --- Variables --- */
:root {
  --cream:       #FDF6EC;
  --cream-light: #FFF9F2;
  --rose:        #E8C4B8;
  --rose-deep:   #D4A090;
  --peach:       #F5DDD0;
  --mint:        #C8D9C6;
  --sky:         #C5DAE8;
  --vanilla:     #FFF5E6;
  --beige:       #E8DDD0;
  --text:        #3A2E2A;
  --text-light:  #7A6560;
  --text-muted:  #B0A098;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;

  --shadow-soft: 0 4px 32px rgba(58, 46, 42, 0.08);
  --shadow-card: 0 2px 20px rgba(58, 46, 42, 0.06);
  --shadow-lift: 0 8px 40px rgba(58, 46, 42, 0.12);

  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream-light); }
::-webkit-scrollbar-thumb { background: var(--rose-deep); border-radius: 3px; }

/* --- Typography helpers --- */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose-deep);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: background 0.4s var(--transition), box-shadow 0.4s var(--transition);
}
.site-header.scrolled {
  background: rgba(253, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(58, 46, 42, 0.07);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
}
.logo-v { color: var(--rose-deep); }
.logo-amp { color: var(--rose-deep); font-style: italic; }
.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--text); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: hero-zoom 12s ease-out forwards;
}
@keyframes hero-zoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(58, 46, 42, 0.65) 0%,
    rgba(58, 46, 42, 0.2) 50%,
    transparent 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem 5rem;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-headline em {
  font-style: italic;
  color: var(--rose);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.82);
  max-width: 440px;
  font-weight: 300;
  line-height: 1.7;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 2rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

/* =========================================
   ABOUT
   ========================================= */
.about {
  padding: 7rem 2rem;
  background: var(--cream-light);
}
.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.about-image-col { position: relative; }
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-img::before {
  content: '';
  position: absolute;
  top: -16px; right: -16px;
  width: 80px; height: 80px;
  background: var(--rose);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.5;
}
.about-text-col .section-title { margin-bottom: 1.5rem; }
.about-body {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--beige);
}
.pillar-icon {
  font-size: 0.875rem;
  color: var(--rose-deep);
  margin-bottom: 0.5rem;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.pillar p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =========================================
   PRODUCTS
   ========================================= */
.products {
  padding: 7rem 2rem;
  background: var(--cream);
}
.products-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
  text-align: center;
}
.products-header .section-title { margin-top: 0.5rem; }
.products-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  background: var(--cream-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.product-img-wrap {
  overflow: hidden;
  aspect-ratio: 1;
}
.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-info { padding: 1.25rem; }
.product-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.product-desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  background: rgba(232, 196, 184, 0.25);
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
}

/* =========================================
   MENU
   ========================================= */
.menu {
  padding: 7rem 2rem;
  background: var(--peach);
}
.menu-header {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}
.menu-header .section-title { margin-top: 0.5rem; }
.menu-intro {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 0.55rem 1.4rem;
  border-radius: 99px;
  background: var(--cream-light);
  color: var(--text-light);
  border: 1.5px solid transparent;
  transition: all 0.2s var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  color: var(--cream);
}
.menu-grid {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.menu-item {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(232, 221, 208, 0.6);
  transition: background 0.2s;
  display: none;
}
.menu-item.visible { display: block; }
.menu-item:nth-child(odd) { border-right: 1px solid rgba(232, 221, 208, 0.6); }
.menu-item:hover { background: rgba(253, 246, 236, 0.5); }
.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}
.menu-item-price {
  font-size: 0.85rem;
  color: var(--rose-deep);
  font-weight: 500;
}
.menu-item-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =========================================
   GALLERY
   ========================================= */
.gallery {
  padding: 7rem 2rem;
  background: var(--cream-light);
}
.gallery-header {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.gallery-header .section-title { margin-top: 0.5rem; }
.masonry-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item.g-tall { grid-row: span 2; }
.gallery-item.g-wide { grid-column: span 2; }
.gallery-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--transition);
}
.gallery-item:hover .gallery-img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,46,42,0.5), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.92);
  font-weight: 300;
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(58, 46, 42, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  color: #fff;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  object-fit: contain;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
  padding: 7rem 2rem;
  background: var(--cream);
  text-align: center;
}
.testimonials-header { margin-bottom: 3rem; }
.testimonials-header .section-title { margin-top: 0.5rem; }
.testimonials-track {
  max-width: 660px;
  margin: 0 auto 2rem;
  min-height: 160px;
  position: relative;
}
.testimonial-card {
  display: none;
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}
.testimonial-card.active { display: block; opacity: 1; }
.testimonial-card blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.testimonial-card cite {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-style: normal;
}
.testimonials-dots { display: flex; gap: 0.75rem; justify-content: center; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--beige);
  transition: background 0.2s, transform 0.2s;
}
.dot.active {
  background: var(--rose-deep);
  transform: scale(1.3);
}

/* =========================================
   VISIT
   ========================================= */
.visit {
  padding: 7rem 2rem;
  background: var(--sky);
}
.visit-inner {
  max-width: 1100px;
  margin: 0 auto 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.visit-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.75rem; }
.detail strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}
.detail p { font-size: 0.9rem; line-height: 1.7; }
.visit-map { width: 100%; }
.map-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--beige) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(200,217,198,0.4) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-pin {
  width: 24px; height: 32px;
  background: var(--rose-deep);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  position: relative;
  animation: pin-bounce 2s ease-in-out infinite;
}
@keyframes pin-bounce {
  0%, 100% { transform: rotate(-45deg) translateY(0); }
  50% { transform: rotate(-45deg) translateY(-8px); }
}
.map-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  z-index: 1;
}
.contact-form-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--cream-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
}
.form-sub { font-size: 0.9rem; color: var(--text-light); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(232, 196, 184, 0.3);
}
.form-group input.error,
.form-group textarea.error { border-color: #d46b6b; }
.form-error { font-size: 0.75rem; color: #d46b6b; display: none; }
.form-group input.error ~ .form-error,
.form-group textarea.error ~ .form-error { display: block; }
.form-submit {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--text);
  color: var(--cream);
  border-radius: 99px;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--rose-deep); transform: translateY(-2px); }
.form-success {
  display: none;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #5a9a6a;
  font-weight: 500;
}
.form-success.visible { display: block; }

/* =========================================
   CLOSING
   ========================================= */
.closing {
  padding: 8rem 2rem;
  background: var(--cream);
  text-align: center;
}
.closing-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.closing-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--text);
}
.closing-body {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: var(--text);
  padding: 3.5rem 2rem 1.5rem;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: #fff;
  display: block;
  margin-bottom: 0.75rem;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-social { display: flex; gap: 1rem; align-items: flex-start; padding-top: 0.15rem; }
.footer-social a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-social a:hover { color: var(--rose); }
.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* =========================================
   REVEAL ANIMATION
   ========================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream-light); padding: 1.5rem; gap: 1rem; border-top: 1px solid var(--beige); }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-col { max-width: 400px; margin: 0 auto; }
  .about-pillars { grid-template-columns: 1fr; gap: 1.25rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item { border-right: none !important; }
  .masonry-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.g-wide { grid-column: span 2; }
  .visit-inner { grid-template-columns: 1fr; gap: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 480px) {
  .site-header { padding: 1rem 1.25rem; }
  .hero-content { padding: 0 1.25rem 4rem; }
  .products-grid { grid-template-columns: 1fr; }
  .masonry-gallery { grid-template-columns: 1fr; }
  .gallery-item.g-tall { grid-row: span 1; }
  .gallery-item.g-wide { grid-column: span 1; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
}