/* ============================================
   HAIR HARVEST — Custom Styles
   ============================================ */

/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.shape-circle-1 {
  top: 15%;
  left: 5%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #E86A5B;
  opacity: 0.07;
  animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
  bottom: 20%;
  left: 15%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #E86A5B;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-square-1 {
  top: 30%;
  right: 8%;
  width: 80px;
  height: 80px;
  background: #1A1A2E;
  opacity: 0.04;
  border-radius: 16px;
  transform: rotate(45deg);
  animation: spin-slow 20s linear infinite;
}

.shape-triangle-1 {
  bottom: 30%;
  right: 5%;
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid #E86A5B;
  opacity: 0.06;
  animation: float 7s ease-in-out infinite;
}

.shape-ring-1 {
  top: 50%;
  left: 3%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #E86A5B;
  opacity: 0.08;
  animation: spin-slow 15s linear infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

/* ============================================
   NAVBAR
   ============================================ */
#navbar.scrolled {
  background: rgba(253, 248, 246, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(26, 26, 46, 0.08);
}

.menu-line {
  display: block;
}

#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: 5rem;
  margin-left: 0;
  transform: rotate(-45deg) translate(4px, -4px);
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

#mobileMenu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #E86A5B, #F4845C);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

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

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

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 8rem;
  font-weight: 700;
  color: #E86A5B;
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  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; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .shape-circle-1 { width: 80px; height: 80px; }
  .shape-circle-2 { display: none; }
  .shape-square-1 { display: none; }
  .shape-triangle-1 { display: none; }
  .shape-ring-1 { display: none; }
}
