/* ===== BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== NAV ===== */
#nav {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#nav.scrolled {
  background: rgba(254, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(22, 101, 52, 0.1);
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.geo-circle--1 {
  width: 600px;
  height: 600px;
  background: #4ade80;
  top: -200px;
  right: -150px;
}

.geo-circle--2 {
  width: 300px;
  height: 300px;
  background: #22c55e;
  bottom: 10%;
  left: -80px;
}

.geo-circle--3 {
  width: 400px;
  height: 400px;
  background: #fff;
  bottom: -150px;
  right: -100px;
  opacity: 0.06;
}

.geo-rect {
  position: absolute;
  opacity: 0.08;
  transform: rotate(15deg);
}

.geo-rect--1 {
  width: 200px;
  height: 200px;
  background: #86efac;
  top: 30%;
  left: 5%;
  border-radius: 32px;
}

.geo-rect--2 {
  width: 160px;
  height: 160px;
  background: #fff;
  bottom: 20%;
  left: 10%;
  border-radius: 24px;
  opacity: 0.06;
  transform: rotate(-10deg);
}

.geo-tri {
  position: absolute;
  opacity: 0.1;
  width: 0;
  height: 0;
  border-style: solid;
}

.geo-tri--1 {
  border-width: 0 60px 100px 60px;
  border-color: transparent transparent #4ade80 transparent;
  top: 20%;
  right: 10%;
  transform: rotate(20deg);
}

.geo-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
}

.geo-dot--1 {
  width: 16px;
  height: 16px;
  background: #86efac;
  top: 40%;
  left: 15%;
}

.geo-dot--2 {
  width: 24px;
  height: 24px;
  background: #22c55e;
  top: 60%;
  right: 20%;
}

.geo-dot--3 {
  width: 12px;
  height: 12px;
  background: #bbf7d0;
  bottom: 30%;
  left: 25%;
}

.geo-line {
  position: absolute;
  opacity: 0.08;
  background: #4ade80;
}

.geo-line--1 {
  width: 200px;
  height: 3px;
  top: 50%;
  left: 0;
  transform: rotate(-15deg);
}

.geo-line--2 {
  width: 120px;
  height: 3px;
  bottom: 25%;
  right: 5%;
  transform: rotate(25deg);
}

/* ===== FLOATING CARDS ===== */
.floating-card {
  animation: float 6s ease-in-out infinite;
}

.card-coffee {
  animation-delay: 0s;
}

.card-drinks {
  animation-delay: -2s;
}

.card-community {
  animation-delay: -4s;
}

.card-hours {
  animation-delay: -1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}

/* ===== MARQUEE ===== */
.marquee-track {
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(32px);
  }

  .reveal-left {
    opacity: 0;
    transform: translateX(-32px);
  }

  .reveal-right {
    opacity: 0;
    transform: translateX(32px);
  }

  .reveal-up.revealed,
  .reveal-left.revealed,
  .reveal-right.revealed {
    opacity: 1;
    transform: none;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  display: block;
  padding: 8px 0;
}

.mobile-link:hover {
  color: #16a34a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .geo-circle--1 {
    width: 300px;
    height: 300px;
  }

  .geo-circle--2 {
    width: 150px;
    height: 150px;
  }

  .floating-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    margin-bottom: 12px;
    animation: none !important;
  }

  .hero-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
}
