/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Custom Properties ─── */
:root {
  --burgundy: #7B2D3B;
  --burgundy-light: #c21d34;
  --blush: #FF9176;
  --cream: #FFF8F0;
  --nav-height: 72px;
}

/* ─── Navigation ─── */
.nav-header {
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
  transition: box-shadow 0.3s ease;
}
.nav-header.scrolled {
  box-shadow: 0 4px 30px rgba(123, 45, 59, 0.1);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

/* ─── Mobile Menu ─── */
.mobile-menu {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  opacity: 0;
}
.mobile-menu.open {
  max-height: 400px;
  opacity: 1;
}
.mobile-nav-link { display: block; }

/* ─── Buttons ─── */
.btn-primary {
  background: var(--burgundy);
  color: white;
  border: 2px solid var(--burgundy);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.btn-primary:hover {
  background: #5C1F2A;
  border-color: #5C1F2A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 45, 59, 0.3);
}
.btn-primary:hover::before { opacity: 1; }

.btn-secondary {
  transition: all 0.25s ease;
}
.btn-secondary:hover {
  background: var(--burgundy);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 45, 59, 0.2);
}

/* ─── Inputs ─── */
.input-field {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-field:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.1);
}

/* ─── Section Padding ─── */
.section-padding {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (max-width: 639px) {
  .section-padding {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ─── Geometric Decorations ─── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle--1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,145,118,0.15), transparent 70%);
  top: 10%;
  right: -5%;
  animation: float-slow 8s ease-in-out infinite;
}
.geo-circle--2 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(123,45,59,0.1), transparent 70%);
  bottom: 15%;
  left: 5%;
  animation: float-slow 6s ease-in-out infinite reverse;
}
.geo-square {
  position: absolute;
  pointer-events: none;
}
.geo-square--1 {
  width: 80px;
  height: 80px;
  background: rgba(123,45,59,0.06);
  border-radius: 16px;
  top: 30%;
  left: 8%;
  transform: rotate(25deg);
  animation: spin-slow 20s linear infinite;
}
.geo-triangle {
  position: absolute;
  pointer-events: none;
}
.geo-triangle--1 {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(255,145,118,0.1);
  top: 60%;
  right: 10%;
  animation: float-slow 7s ease-in-out infinite;
}
.geo-dots {
  position: absolute;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(123,45,59,0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  width: 120px;
  height: 120px;
  bottom: 20%;
  left: 15%;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes spin-slow {
  from { transform: rotate(25deg); }
  to { transform: rotate(385deg); }
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 40px;
}
.hero-content {
  animation: fadeUp 0.8s ease-out both;
}
.hero-image-wrapper {
  animation: fadeUp 0.8s ease-out 0.2s both;
}
.hero-geo {
  animation: float-slow 6s ease-in-out infinite;
}
.hero-geo--circle1 { animation-delay: 0s; }
.hero-geo--circle2 { animation-delay: 1s; animation-duration: 5s; }
.hero-geo--square1 { animation-delay: 2s; animation-duration: 8s; }
.hero-geo--rect1 { animation-delay: 0.5s; animation-duration: 7s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Menu Cards ─── */
.menu-card {
  animation: fadeUp 0.6s ease-out both;
}
.menu-card:nth-child(1) { animation-delay: 0s; }
.menu-card:nth-child(2) { animation-delay: 0.1s; }
.menu-card:nth-child(3) { animation-delay: 0.2s; }

/* ─── Gallery ─── */
.gallery-item {
  cursor: pointer;
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(123,45,59,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.gallery-item:hover::after { opacity: 1; }

/* ─── Scroll Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Mobile Menu Button ─── */
.mobile-menu-btn { z-index: 60; }
.mobile-menu-btn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.mobile-menu-btn.active .menu-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .menu-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 1.25rem;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .hero-image-wrapper {
    max-width: 100%;
  }
  .geo-circle--1 { width: 200px; height: 200px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero h1 { font-size: 3.5rem; }
}

@media (min-width: 1024px) {
  .nav-header { background: rgba(255, 248, 240, 0.95); }
}
