/* ============================================================
   TRES FORCAS — Home Page Styles
   ============================================================ */

/* ===== HERO ===== */
#hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-parallax-bg {
  position: absolute; inset: -10%; will-change: transform;
  background:
    radial-gradient(ellipse 90% 70% at 50% 90%, rgba(26,107,124,0.3) 0%, transparent 65%),
    radial-gradient(ellipse 60% 50% at 20% 15%, rgba(10,20,55,0.9) 0%, transparent 55%),
    linear-gradient(180deg, #010206 0%, #07102a 30%, #0d2040 60%, #04100e 100%);
}
.hero-stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 100%), radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,0.35) 0%, transparent 100%), radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.3) 0%, transparent 100%), radial-gradient(1px 1px at 72% 78%, rgba(255,255,255,0.3) 0%, transparent 100%), radial-gradient(1px 1px at 30% 55%, rgba(255,255,255,0.2) 0%, transparent 100%), radial-gradient(2px 2px at 90% 12%, rgba(201,168,76,0.5) 0%, transparent 100%), radial-gradient(2px 2px at 15% 85%, rgba(201,168,76,0.4) 0%, transparent 100%); }
.particles-canvas { position: absolute; inset: 0; pointer-events: none; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 820px; padding: 0 2rem;
  display: flex; flex-direction: column; align-items: center;
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(201,168,76,0.7); margin-bottom: 1.5rem;
  opacity: 0; animation: hero-up 0.8s 0.4s ease forwards;
}
.hero-deco-line {
  display: block; width: 60px; height: 1px; background: var(--gold);
  margin: 0 auto 1.8rem; opacity: 0; animation: hero-up 0.8s 0.3s ease forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 9vw, 7.5rem); font-weight: 900;
  color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 0.95; opacity: 0; animation: hero-up 1s 0.55s ease forwards;
}
.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-style: italic;
  color: var(--ivory); letter-spacing: 0.05em;
  margin: 1.2rem 0 0.3rem;
  min-height: 2.2rem;
  opacity: 0; animation: hero-up 0.8s 1s ease forwards;
}
.hero-divider {
  display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 2.5rem;
  opacity: 0; animation: hero-up 0.8s 1.1s ease forwards;
}
.hero-divider span { display: block; height: 1px; width: 55px; background: linear-gradient(90deg, transparent, var(--gold)); }
.hero-divider span:last-child { transform: scaleX(-1); }
.hero-divider i { color: var(--gold); font-size: 0.55rem; }
.hero-actions {
  display: flex; gap: 1.2rem; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: hero-up 0.8s 1.4s ease forwards;
}
@keyframes hero-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  opacity: 0; animation: hero-up 0.8s 2s ease forwards;
}
.scroll-dot { width: 20px; height: 34px; border: 1.5px solid rgba(201,168,76,0.4); border-radius: 20px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-dot::before { content: ''; display: block; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; animation: scroll-bounce 2s ease-in-out infinite; }
@keyframes scroll-bounce { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(10px); opacity: 0.3; } }
.scroll-label { font-family: 'Montserrat', sans-serif; font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }

/* ===== WAVE SVG ===== */
.wave-between {
  position: relative; z-index: 1;
  background: var(--navy);
  line-height: 0;
  overflow: hidden;
}
.wave-between svg { display: block; width: 100%; height: 90px; }
.wave-path-anim { animation: wave-move 7s ease-in-out infinite alternate; }
@keyframes wave-move {
  from { d: path("M0,48 C280,72 560,24 840,48 C1120,72 1400,24 1680,48 L1680,90 L0,90 Z"); }
  to   { d: path("M0,28 C280,56 560,8 840,28 C1120,56 1400,8 1680,28 L1680,90 L0,90 Z"); }
}

/* ===== ABOUT TEASER ===== */
#about-teaser { background: var(--navy-mid); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-quote-wrap { position: relative; }
.about-quote {
  font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-style: italic; font-weight: 400; line-height: 1.45;
  color: var(--ivory); position: relative; padding-left: 2rem;
}
.about-quote::before {
  content: '\201C'; position: absolute; left: -0.8rem; top: -1.5rem;
  font-size: 8rem; color: var(--gold); opacity: 0.18; line-height: 1;
}
.about-img-placeholder {
  margin-top: 2rem; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  height: 240px; position: relative;
  background: linear-gradient(160deg, #0d2535 0%, #1a4060 50%, #0a1a2a 100%);
  display: flex; align-items: center; justify-content: center;
}
.about-img-icon { font-size: 5rem; opacity: 0.15; }
.about-img-caption {
  position: absolute; bottom: 1rem; left: 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); opacity: 0.7;
}
.about-body { color: var(--muted); line-height: 1.9; }
.about-body p + p { margin-top: 1.2rem; }
.about-stats { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }

/* ===== DISHES CAROUSEL ===== */
#dishes-home { background: var(--navy); }
.carousel-wrap {
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory;
  -ms-overflow-style: none; padding-bottom: 1rem; cursor: grab;
}
.carousel-wrap::-webkit-scrollbar { display: none; }
.carousel-wrap.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel-track { display: flex; gap: 1.6rem; padding: 0.5rem 2rem 1.5rem; width: max-content; }

.dish-card {
  width: 290px; flex-shrink: 0; scroll-snap-align: start;
  background: var(--navy-light); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
}
.dish-card:hover { transform: scale(1.04) translateY(-4px); box-shadow: 0 0 36px rgba(201,168,76,0.2), 0 20px 50px rgba(0,0,0,0.5); border-color: var(--gold); }
.dish-visual {
  height: 210px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.dish-visual-1 { background: radial-gradient(ellipse at 40% 60%, #1a3d5a 0%, #0a1525 70%); }
.dish-visual-2 { background: radial-gradient(ellipse at 60% 40%, #0e3a3a 0%, #0a1525 70%); }
.dish-visual-3 { background: radial-gradient(ellipse at 50% 60%, #2a1c0a 0%, #0a0f1e 70%); }
.dish-visual-4 { background: radial-gradient(ellipse at 35% 65%, #1e0f35 0%, #0a0f1e 70%); }
.dish-visual-5 { background: radial-gradient(ellipse at 55% 45%, #0e3020 0%, #0a1018 70%); }
.dish-plate {
  width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: transform var(--trans);
}
.dish-card:hover .dish-plate { transform: scale(1.08) rotate(5deg); }
.dish-plate::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(201,168,76,0.12); }
.dish-plate-icon { font-size: 2.6rem; filter: drop-shadow(0 0 14px rgba(201,168,76,0.35)); }
.dish-badge { position: absolute; top: 1rem; right: 1rem; }
.dish-info { padding: 1.4rem 1.5rem; }
.dish-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--gold); margin-bottom: 0.5rem; }
.dish-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }
.dish-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 0.8rem; border-top: 1px solid var(--border); }
.dish-price { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold-light); font-weight: 700; }
.carousel-nav { display: flex; gap: 0.8rem; justify-content: center; margin-top: 2.5rem; }
.carousel-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--ivory); font-size: 1rem; cursor: none;
  transition: background var(--trans), border-color var(--trans), color var(--trans), transform var(--trans);
}
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: scale(1.08); }

/* ===== TESTIMONIALS ===== */
#testimonials { background: var(--navy-mid); }
.testi-slider-wrap { position: relative; overflow: hidden; }
.testi-track { display: flex; transition: transform 0.6s var(--ease); }
.testi-slide { flex: 0 0 100%; padding: 0 2rem; }
.testi-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; }
.testi-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); cursor: none;
  transition: background var(--trans), width var(--trans);
}
.testi-dot.active { width: 22px; border-radius: 4px; background: var(--gold); }

/* ===== GALLERY PREVIEW ===== */
#gallery-preview { background: var(--navy); overflow: hidden; }
.gallery-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px; margin-top: 3rem;
}
.g-cell {
  position: relative; overflow: hidden;
  border-radius: 2px; cursor: none;
}
.g-cell:nth-child(1), .g-cell:nth-child(4) { grid-row: span 2; }
.g-cell-bg {
  width: 100%; min-height: 240px; height: 100%;
  transition: transform 0.6s var(--ease);
}
.g-cell:nth-child(1) .g-cell-bg,
.g-cell:nth-child(4) .g-cell-bg { min-height: 498px; }
.g-cell:hover .g-cell-bg { transform: scale(1.08); }
.g-bg-1 { background: linear-gradient(160deg, #0d2535 0%, #1a4560 40%, #0a1a2a 100%); }
.g-bg-2 { background: linear-gradient(200deg, #101a10 0%, #1a3520 40%, #0e2018 100%); }
.g-bg-3 { background: linear-gradient(140deg, #201008 0%, #3a2010 40%, #1a0c05 100%); }
.g-bg-4 { background: linear-gradient(180deg, #0a1530 0%, #1a2a50 50%, #0d1a35 100%); }
.g-bg-5 { background: linear-gradient(220deg, #1a1030 0%, #2a1545 40%, #150d25 100%); }
.g-bg-6 { background: linear-gradient(160deg, #0f2535 0%, #1a4060 30%, #111e3a 100%); }
.g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,0.8) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 1.2rem;
  opacity: 0; transition: opacity 0.4s ease;
}
.g-cell:hover .g-overlay { opacity: 1; }
.g-caption { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--gold); }
.g-icon-deco { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 3.5rem; opacity: 0.07; pointer-events: none; }

/* ===== CTA BANNER ===== */
#cta-banner {
  background: linear-gradient(135deg, var(--teal-dim) 0%, var(--navy-mid) 50%, var(--navy) 100%);
  padding: 6rem 0; text-align: center; position: relative; overflow: hidden;
}
#cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 65%); }
.cta-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--ivory); line-height: 1.2; margin-bottom: 1rem; position: relative; }
.cta-title em { color: var(--gold); font-style: italic; }
.cta-sub { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.5rem; position: relative; }
.cta-actions { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== RESPONSIVE HOME ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid-home { grid-template-columns: 1fr 1fr; }
  .g-cell:nth-child(1), .g-cell:nth-child(4) { grid-row: span 1; }
  .g-cell:nth-child(1) .g-cell-bg, .g-cell:nth-child(4) .g-cell-bg { min-height: 240px; }
}
@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
  .gallery-grid-home { grid-template-columns: 1fr; }
  .carousel-track { padding: 0.5rem 1.2rem 1.5rem; }
}
