/* ========== BASE ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== NAVBAR ========== */
#navbar {
  height: 72px;
}

.menu-line {
  display: block;
  transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

#menuBtn.active .menu-line:nth-child(2) {
  opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
  width: 20px;
  transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-link {
  display: block;
  transition: color 0.2s ease;
}

.mobile-link:hover {
  color: #C26A4A;
}

/* ========== HERO GEOMETRIC SHAPES ========== */
.shape-circle-1 {
  position: absolute;
  top: 12%;
  left: 5%;
  width: 120px;
  height: 120px;
  background: #C26A4A;
  border-radius: 50%;
  opacity: 0.12;
  animation: float 6s ease-in-out infinite;
}

.shape-circle-2 {
  position: absolute;
  top: 25%;
  left: 15%;
  width: 60px;
  height: 60px;
  background: #D4A878;
  border-radius: 50%;
  opacity: 0.2;
  animation: float 8s ease-in-out infinite reverse;
}

.shape-rect-1 {
  position: absolute;
  top: 20%;
  right: 35%;
  width: 80px;
  height: 80px;
  background: #C26A4A;
  opacity: 0.08;
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}

.shape-diamond {
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 50px;
  height: 50px;
  background: #D4A878;
  opacity: 0.15;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite;
}

.shape-triangle {
  position: absolute;
  top: 40%;
  left: 2%;
  width: 0;
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid #C26A4A;
  opacity: 0.08;
  animation: float 9s ease-in-out infinite reverse;
}

.shape-circle-3 {
  position: absolute;
  bottom: 15%;
  right: 30%;
  width: 40px;
  height: 40px;
  border: 3px solid #C26A4A;
  border-radius: 50%;
  opacity: 0.15;
  animation: float 5s ease-in-out infinite;
}

.shape-dots {
  position: absolute;
  top: 35%;
  right: 10%;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, #C26A4A 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.12;
}

/* ========== MARQUEE ========== */
.marquee-track {
  animation: marquee 30s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== ANIMATIONS ========== */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes spin-slow {
  0% { transform: rotate(45deg); }
  100% { transform: rotate(405deg); }
}

/* ========== SCROLL REVEAL (below fold only) ========== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@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; }
}

/* ========== BUTTON HOVER EFFECTS ========== */
a {
  text-decoration: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .shape-circle-1 { width: 80px; height: 80px; }
  .shape-circle-2 { width: 40px; height: 40px; }
  .shape-rect-1 { width: 50px; height: 50px; }
  .shape-diamond { width: 30px; height: 30px; }
  .shape-triangle { border-left: 20px solid transparent; border-right: 20px solid transparent; border-bottom: 35px solid #C26A4A; }
}
