/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ===== GEOMETRIC DECORATIONS ===== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(13,148,136,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}
.geo-circle--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(13,148,136,0.12) 0%, transparent 70%);
  bottom: 10%; left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}
.geo-square {
  position: absolute;
  width: 80px; height: 80px;
  background: rgba(13,148,136,0.06);
  border: 2px solid rgba(13,148,136,0.1);
  border-radius: 16px;
  top: 25%; left: 3%;
  transform: rotate(45deg);
  animation: spin-slow 30s linear infinite;
}
.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(13,148,136,0.07);
  bottom: 20%; right: 8%;
  animation: float-slow 12s ease-in-out infinite;
}
.geo-dot {
  position: absolute;
  border-radius: 50%;
  background: rgba(13,148,136,0.2);
}
.geo-dot--1 { width: 12px; height: 12px; top: 30%; left: 15%; animation: pulse-dot 3s ease-in-out infinite; }
.geo-dot--2 { width: 8px; height: 8px; top: 60%; right: 12%; animation: pulse-dot 4s ease-in-out infinite 1s; }
.geo-dot--3 { width: 16px; height: 16px; bottom: 30%; left: 8%; background: rgba(13,148,136,0.15); animation: pulse-dot 5s ease-in-out infinite 2s; }

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
@keyframes spin-slow {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ===== NAVBAR ===== */
#navbar {
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148,163,184,0.15);
  transition: box-shadow 0.3s ease;
}
#navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}
.nav-logo-text { color: #0f172a; }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #0d9488;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #0d9488;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid #0d9488;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 15px rgba(13,148,136,0.3);
}
.btn-primary:hover {
  background: #0f766e;
  border-color: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13,148,136,0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #0f172a;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid #cbd5e1;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.btn-secondary:hover {
  border-color: #0d9488;
  background: rgba(13,148,136,0.05);
  transform: translateY(-2px);
}
.btn-nav {
  display: inline-flex;
  align-items: center;
  background: #0d9488;
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 10px rgba(13,148,136,0.25);
}
.btn-nav:hover {
  background: #0f766e;
  transform: translateY(-1px);
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== MENU CARDS ===== */
.menu-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 8px;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.menu-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* ===== GALLERY ===== */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: inherit;
}
.gallery-item:hover::after { opacity: 1; }

/* ===== INPUTS ===== */
.input-field {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: #0f172a;
  background: #f8fafc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  appearance: none;
}
.input-field::placeholder { color: #94a3b8; }
.input-field:hover { border-color: #94a3b8; }
.input-field:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 4px rgba(13,148,136,0.1);
  background: #fff;
}

/* ===== 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; }
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  h1 { font-size: 2.75rem !important; }
  h1 span.font-serif { font-size: 2.25rem !important; }
  .geo-circle--1 { width: 250px; height: 250px; }
  .geo-circle--2 { width: 150px; height: 150px; }
  .geo-square { width: 40px; height: 40px; }
  .geo-triangle { border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 35px solid rgba(13,148,136,0.07); }
}
