/* ========== CUSTOM STYLES ========== */

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

/* ========== GEOMETRIC SHAPES ========== */

/* Hero shapes */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.geo-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #f5e0b0, #e2af52);
  top: -200px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #f4b8a0, #ee8e6e);
  bottom: 10%;
  left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, #fdf6ea, #faedcf);
  top: 30%;
  left: 15%;
  animation: float-slow 12s ease-in-out infinite;
}

.geo-rect {
  position: absolute;
  opacity: 0.08;
  border-radius: 16px;
  transform: rotate(45deg);
}

.geo-rect-1 {
  width: 200px;
  height: 200px;
  background: #f5e0b0;
  top: 15%;
  right: 10%;
  animation: spin-slow 30s linear infinite;
}

.geo-rect-2 {
  width: 120px;
  height: 120px;
  background: #f4b8a0;
  bottom: 20%;
  right: 25%;
  animation: spin-slow 25s linear infinite reverse;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid rgba(245, 224, 176, 0.1);
  bottom: 5%;
  left: 8%;
  animation: float-slow 18s ease-in-out infinite;
}

/* Products section shapes */
.geo-p1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #f5e0b0, #e2af52);
  top: -100px;
  left: -100px;
  opacity: 0.06;
  animation: float-slow 22s ease-in-out infinite;
}

.geo-p2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, #f4b8a0, #ee8e6e);
  bottom: -50px;
  right: 5%;
  opacity: 0.08;
  animation: float-slow 16s ease-in-out infinite reverse;
}

.geo-p3 {
  width: 160px;
  height: 160px;
  background: #fdf6ea;
  top: 20%;
  right: 15%;
  opacity: 0.05;
  border-radius: 24px;
  transform: rotate(20deg);
  animation: spin-slow 35s linear infinite;
}

/* Contact section shapes */
.geo-c1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #f5e0b0, #e2af52);
  bottom: -100px;
  left: -80px;
  opacity: 0.07;
  animation: float-slow 19s ease-in-out infinite;
}

.geo-c2 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #f4b8a0, #ee8e6e);
  top: 10%;
  right: 8%;
  opacity: 0.09;
  animation: float-slow 14s ease-in-out infinite reverse;
}

.geo-c3 {
  width: 100px;
  height: 100px;
  background: #fdf6ea;
  top: 40%;
  left: 5%;
  opacity: 0.06;
  border-radius: 12px;
  transform: rotate(30deg);
  animation: spin-slow 28s linear infinite;
}

/* Animations */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

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

/* ========== HERO ANIMATIONS ========== */
#hero-badge {
  animation: fadeSlideUp 0.8s ease forwards 0.2s;
  opacity: 0;
}

#hero-headline {
  animation: fadeSlideUp 0.8s ease forwards 0.4s;
  opacity: 0;
}

#hero-sub {
  animation: fadeSlideUp 0.8s ease forwards 0.6s;
  opacity: 0;
}

#hero-ctas {
  animation: fadeSlideUp 0.8s ease forwards 0.8s;
  opacity: 0;
}

#hero-trust {
  animation: fadeSlideUp 0.8s ease forwards 1s;
  opacity: 0;
}

#hero-images {
  animation: fadeSlideLeft 1s ease forwards 0.6s;
  opacity: 0;
}

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

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== SCROLL REVEAL ========== */
.reveal-section {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .geo-circle,
  .geo-rect,
  .geo-triangle {
    animation: none;
  }

  #hero-badge,
  #hero-headline,
  #hero-sub,
  #hero-ctas,
  #hero-trust {
    animation: none;
    opacity: 1;
  }

  #hero-images {
    animation: none;
    opacity: 1;
  }

  .reveal-section {
    transition: none;
  }
}

/* ========== NAVBAR ACTIVE STATE ========== */
header.scrolled {
  box-shadow: 0 1px 20px rgba(196, 101, 58, 0.08);
}

/* ========== MOBILE MENU ========== */
#mobile-menu.open .menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

#mobile-menu.open .menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 5rem;
}

/* ========== FOCUS STYLES ========== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #e2af52;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #fdf6ea;
}

::-webkit-scrollbar-thumb {
  background: #e66540;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a84f2e;
}
