/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: #1A0A16;
  color: #ffffff;
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== Geometric Background Shapes ===== */
.geo-shapes {
  z-index: 0;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

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

.geo-circle--2 {
  width: 400px;
  height: 400px;
  background: #C44D8A;
  bottom: 10%;
  left: -100px;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.06;
}

.geo-triangle--1 {
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 200px solid #F5A623;
  top: 40%;
  right: 5%;
  transform: rotate(15deg);
}

.geo-rect {
  position: absolute;
  opacity: 0.06;
  background: #E86BB8;
  border-radius: 24px;
  width: 200px;
  height: 200px;
  bottom: 30%;
  left: 8%;
  transform: rotate(-20deg);
}

.geo-dots {
  position: absolute;
  opacity: 0.04;
  background-image: radial-gradient(circle, #F5A623 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  width: 300px;
  height: 300px;
  top: 20%;
  left: 3%;
}

/* ===== Navigation ===== */
.nav {
  background: rgba(26, 10, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav.scrolled {
  background: rgba(26, 10, 22, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

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

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

.nav-link:hover {
  color: #F5A623;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #F5A623;
  color: #1A0A16;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}

.btn-primary:hover {
  background: #FFD966;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #1A0A16 0%, #2D1226 50%, #1A0A16 100%);
  position: relative;
  overflow: hidden;
}

/* Hero Image Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}

.hero-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-img--1 {
  grid-row: 1 / 3;
}

.hero-img--2 {
  grid-column: 2;
}

.hero-img--3 {
  grid-column: 2;
}

/* Floating Stat Cards */
.floating-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.floating-card.card--1 {
  animation: float1 4s ease-in-out infinite;
}

.floating-card.card--2 {
  animation: float2 5s ease-in-out infinite;
}

.floating-card.card--3 {
  animation: float3 4.5s ease-in-out infinite;
}

@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(-1deg); }
}

@keyframes float3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

/* ===== Sections ===== */
.section {
  position: relative;
  z-index: 1;
}

/* ===== Menu Cards ===== */
.menu-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 8px;
  transition: all 0.4s ease;
}

.menu-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.tag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: #F5A623;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

/* ===== Gallery ===== */
.gallery-item {
  cursor: pointer;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 10, 22, 0.4) 0%, transparent 50%);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

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

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Contact Form ===== */
.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px 16px;
  color: #ffffff;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
  border-color: #F5A623;
  background: rgba(245, 166, 35, 0.06);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-input:hover:not(:focus) {
  border-color: rgba(255, 255, 255, 0.25);
}

.success-message {
  margin-top: 16px;
}

.success-message.hidden {
  display: none;
}

/* ===== Mobile Menu ===== */
.mobile-menu-btn {
  transition: background 0.2s ease;
}

.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;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 280px 200px;
    height: auto;
  }

  .hero-img--1 {
    grid-row: auto;
    grid-column: 1;
  }

  .hero-img--2 {
    grid-column: 1;
  }

  .hero-img--3 {
    grid-column: 1;
  }

  .hero-img {
    height: 200px;
  }

  .hero-img--1 {
    height: 280px;
  }

  .floating-card {
    padding: 10px 14px;
  }

  .floating-card div:last-child div:first-child {
    font-size: 1.1rem;
  }

  .geo-circle--1 {
    width: 300px;
    height: 300px;
  }

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

  .geo-triangle--1 {
    border-left-width: 60px;
    border-right-width: 60px;
    border-bottom-width: 100px;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .floating-card {
    width: 100%;
  }
}

/* ===== Reduced Motion ===== */
@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[data-reveal] {
    opacity: 1;
    transform: none;
  }
}
