/* ========== CUSTOM STYLES FOR GRILL 77 ========== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Body */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== NAVBAR ========== */
#site-header {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#site-header.scrolled {
  background: rgba(255, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff4d7f;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  position: relative;
}

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

.geo-circle--1 {
  width: 600px;
  height: 600px;
  background: #ff80a3;
  top: -200px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--2 {
  width: 300px;
  height: 300px;
  background: #f9d4d9;
  bottom: -80px;
  left: 10%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle--3 {
  width: 150px;
  height: 150px;
  background: #ffb4c7;
  top: 40%;
  right: 35%;
  animation: float-slow 10s ease-in-out infinite;
}

.geo-rect {
  position: absolute;
  opacity: 0.1;
}

.geo-rect--1 {
  width: 200px;
  height: 200px;
  background: #ff4d7f;
  top: 20%;
  left: 5%;
  border-radius: 30px;
  transform: rotate(45deg);
  animation: float-slow 18s ease-in-out infinite;
}

.geo-rect--2 {
  width: 120px;
  height: 120px;
  background: #f2a8b3;
  bottom: 15%;
  right: 10%;
  border-radius: 20px;
  transform: rotate(20deg);
  animation: float-slow 12s ease-in-out infinite reverse;
}

.geo-tri {
  position: absolute;
  opacity: 0.08;
}

.geo-tri--1 {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid #ff80a3;
  top: 30%;
  right: 5%;
  animation: float-slow 14s ease-in-out infinite;
}

.geo-tri--2 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid #f9d4d9;
  bottom: 25%;
  left: 15%;
  transform: rotate(-30deg);
  animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-line {
  position: absolute;
  opacity: 0.06;
}

.geo-line--1 {
  width: 400px;
  height: 3px;
  background: linear-gradient(to right, transparent, #ff80a3, transparent);
  top: 50%;
  left: -50px;
  transform: rotate(-15deg);
}

.geo-line--2 {
  width: 300px;
  height: 3px;
  background: linear-gradient(to right, transparent, #f2a8b3, transparent);
  bottom: 30%;
  right: -30px;
  transform: rotate(10deg);
}

/* ========== ABOUT SECTION GEOMETRICS ========== */
.geo-circle--about-1 {
  width: 400px;
  height: 400px;
  background: #ff4d7f;
  bottom: -100px;
  right: -100px;
  opacity: 0.06;
  animation: float-slow 22s ease-in-out infinite;
}

.geo-circle--about-2 {
  width: 250px;
  height: 250px;
  background: #f9d4d9;
  top: -50px;
  left: -50px;
  opacity: 0.06;
  animation: float-slow 16s ease-in-out infinite reverse;
}

/* ========== GALLERY GEOMETRIC ========== */
.geo-rect--gallery {
  width: 300px;
  height: 300px;
  background: #ff4d7f;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  opacity: 0.04;
  border-radius: 40px;
}

/* ========== CTA GEOMETRICS ========== */
.geo-circle--cta-1 {
  width: 500px;
  height: 500px;
  background: #ff80a3;
  top: -200px;
  left: -150px;
  opacity: 0.08;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle--cta-2 {
  width: 200px;
  height: 200px;
  background: #f9d4d9;
  bottom: -60px;
  right: 10%;
  opacity: 0.1;
  animation: float-slow 12s ease-in-out infinite reverse;
}

.geo-rect--cta {
  width: 180px;
  height: 180px;
  background: #ffb4c7;
  top: 20%;
  right: 5%;
  border-radius: 30px;
  transform: rotate(45deg);
  opacity: 0.08;
  animation: float-slow 14s ease-in-out infinite;
}

/* ========== FLOATING ANIMATION ========== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(var(--rotation, 0deg)); }
  50% { transform: translateY(-30px) rotate(var(--rotation, 0deg)); }
}

.geo-circle--1, .geo-circle--2, .geo-circle--3,
.geo-circle--about-1, .geo-circle--about-2,
.geo-circle--cta-1, .geo-circle--cta-2 {
  animation-name: float-circle;
}

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

.geo-rect--1, .geo-rect--2, .geo-rect--cta {
  animation-name: float-rect;
}

@keyframes float-rect {
  0%, 100% { transform: rotate(var(--rotation, 45deg)) translateY(0px); }
  50% { transform: rotate(var(--rotation, 45deg)) translateY(-20px); }
}

.geo-tri--1, .geo-tri--2 {
  animation-name: float-tri;
}

@keyframes float-tri {
  0%, 100% { transform: rotate(var(--rotation, 0deg)) translateY(0px); }
  50% { transform: rotate(var(--rotation, 0deg)) translateY(-18px); }
}

.geo-line--1, .geo-line--2 {
  animation-name: float-line;
}

@keyframes float-line {
  0%, 100% { transform: rotate(var(--rotation, 0deg)) translateX(0px); }
  50% { transform: rotate(var(--rotation, 0deg)) translateX(15px); }
}

/* ========== MENU ITEMS ========== */
.menu-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: padding-left 0.3s ease;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  padding-left: 8px;
}

/* ========== SPECIAL CARDS ========== */
.special-card {
  border: 1px solid rgba(123, 45, 59, 0.06);
}

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

/* ========== MOBILE MENU TRANSITIONS ========== */
#mobile-menu {
  background: rgba(255, 248, 240, 0.98);
  backdrop-filter: blur(20px);
}

/* ========== BODY LOCK ========== */
body.menu-open {
  overflow: hidden;
}

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

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

  .geo-rect--1 {
    width: 100px;
    height: 100px;
  }

  .geo-tri--1 {
    border-left-width: 40px;
    border-right-width: 40px;
    border-bottom-width: 70px;
  }

  .geo-tri--2 {
    border-left-width: 30px;
    border-right-width: 30px;
    border-bottom-width: 50px;
  }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ff4d7f;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Selection */
::selection {
  background: #ff80a3;
  color: #fff;
}
