/* ============================================
   Golden Gate Bistro — Custom Styles
   ============================================ */

/* ── Base ── */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #fbbf24;
  color: #064e3b;
}

/* ── Geometric Shapes ── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  top: -80px;
  right: -100px;
  animation: floatSlow 14s ease-in-out infinite;
}

.geo-circle--2 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(110, 231, 183, 0.1) 0%, transparent 70%);
  bottom: 10%;
  left: -60px;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.geo-circle--3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
  bottom: 25%;
  right: 10%;
  animation: floatSlow 8s ease-in-out infinite;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.geo-triangle--1 {
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(251, 191, 36, 0.07);
  top: 20%;
  left: 8%;
  transform: rotate(15deg);
  animation: floatSlow 12s ease-in-out infinite;
}

.geo-square {
  position: absolute;
  pointer-events: none;
}

.geo-square--1 {
  width: 100px;
  height: 100px;
  background: rgba(110, 231, 183, 0.06);
  top: 35%;
  right: 6%;
  transform: rotate(45deg);
  animation: floatSlow 11s ease-in-out infinite reverse;
}

.geo-diamond {
  position: absolute;
  pointer-events: none;
}

.geo-diamond--1 {
  width: 80px;
  height: 80px;
  background: rgba(251, 191, 36, 0.06);
  bottom: 15%;
  left: 5%;
  transform: rotate(30deg);
  animation: floatSlow 9s ease-in-out infinite;
}

.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid;
  pointer-events: none;
}

.geo-ring--1 {
  width: 200px;
  height: 200px;
  border-color: rgba(251, 191, 36, 0.08);
  top: 15%;
  left: 3%;
  animation: floatSlow 13s ease-in-out infinite reverse;
}

/* About section shapes */
.geo-circle--about1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.06) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: floatSlow 15s ease-in-out infinite;
}

.geo-square--about1 {
  width: 140px;
  height: 140px;
  background: rgba(110, 231, 183, 0.05);
  top: 10%;
  left: 5%;
  transform: rotate(30deg);
  animation: floatSlow 10s ease-in-out infinite reverse;
}

/* Visit section shapes */
.geo-diamond--visit {
  width: 120px;
  height: 120px;
  background: rgba(251, 191, 36, 0.05);
  top: 10%;
  right: 8%;
  transform: rotate(25deg);
  animation: floatSlow 11s ease-in-out infinite;
}

/* ── Animations ── */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-20px) rotate(calc(var(--rot, 0deg) + 5deg)); }
}

.geo-triangle--1 { --rot: 15deg; }
.geo-square--1 { --rot: 45deg; }
.geo-diamond--1 { --rot: 30deg; }
.geo-diamond--visit { --rot: 25deg; }

/* ── Product Cards ── */
.product-card {
  will-change: transform;
}

/* ── Mobile Menu ── */
#mobileMenu {
  max-height: 0;
}

#mobileMenu.open {
  max-height: 320px;
}

.mobile-link {
  display: block;
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* Reduced motion: everything visible by default */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
