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

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #E85D4A;
  color: #fff;
}

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

#navbar.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
}

/* ===== MOBILE MENU ===== */
#mobile-menu.open .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
#mobile-menu.open .menu-line:nth-child(2) {
  opacity: 0;
}
#mobile-menu.open .menu-line:nth-child(3) {
  width: 1.25rem;
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-nav-link {
  border-radius: 0.75rem;
  transition: background 0.2s, color 0.2s;
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-shape {
  position: absolute;
  opacity: 0.06;
  pointer-events: none;
}

.geo-circle-1 {
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 3px solid #E85D4A;
  top: -120px;
  right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: #E85D4A;
  bottom: 10%;
  left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  background: #E85D4A;
  top: 25%;
  left: 8%;
  transform: rotate(45deg);
  animation: spin-slow 25s linear infinite;
}

.geo-square-2 {
  width: 80px;
  height: 80px;
  border: 3px solid #FF8F80;
  top: 60%;
  right: 12%;
  transform: rotate(30deg);
  animation: spin-slow 18s linear infinite reverse;
}

.geo-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid #E85D4A;
  top: 15%;
  right: 25%;
  animation: float-slow 12s ease-in-out infinite;
}

.geo-dots {
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, #E85D4A 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  bottom: 20%;
  right: 5%;
  opacity: 0.08;
  animation: float-slow 18s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== 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:nth-child(2) { transition-delay: 0.1s; }
  .reveal:nth-child(3) { transition-delay: 0.2s; }
  .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ===== MENU CARD HOVER ===== */
@media (prefers-reduced-motion: no-preference) {
  .group img {
    transition: transform 0.5s ease;
  }
}

/* ===== BUTTON HOVER ===== */
button, a {
  transition: all 0.2s ease;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1A1A1A;
}
::-webkit-scrollbar-thumb {
  background: #3A3A3A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E85D4A;
}

/* ===== FORM FOCUS ===== */
input:focus, textarea:focus {
  outline: none;
}

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 640px) {
  .geo-circle-1 {
    width: 280px;
    height: 280px;
  }
  .geo-circle-2 {
    width: 160px;
    height: 160px;
  }
  .geo-square-1 {
    width: 70px;
    height: 70px;
  }
  .geo-square-2 {
    width: 50px;
    height: 50px;
  }
  .geo-triangle {
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid #E85D4A;
  }
}
