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

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

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

img {
  max-width: 100%;
  height: auto;
}

/* ===== Header ===== */
#header {
  background: rgba(253, 248, 243, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(193, 105, 79, 0.08);
}

#header.scrolled {
  background: rgba(253, 248, 243, 0.95);
  box-shadow: 0 4px 30px rgba(61, 33, 23, 0.08);
}

.header-text {
  color: #3D2117;
  transition: color 0.3s;
}

.header-btn .menu-line {
  background: #3D2117;
  transition: all 0.3s ease;
}

/* ===== Mobile Menu ===== */
#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

.mobile-link {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s 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; }

/* ===== Buttons ===== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #C1694F;
  color: #fff;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(193, 105, 79, 0.3);
}

.cta-primary:hover {
  background: #A85238;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(193, 105, 79, 0.4);
}

.cta-primary .arrow {
  transition: transform 0.3s ease;
}

.cta-primary:hover .arrow {
  transform: translateX(4px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #3D2117;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid rgba(61, 33, 23, 0.2);
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  border-color: #C1694F;
  color: #C1694F;
  transform: translateY(-2px);
}

.cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #C1694F;
  padding: 16px 32px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cta-white .arrow {
  transition: transform 0.3s ease;
}

.cta-white:hover .arrow {
  transform: translateX(4px);
}

.cta-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.cta-outline-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  background: #C1694F;
  color: #fff;
  padding: 10px 22px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #A85238;
  transform: translateY(-1px);
}

/* ===== Hero ===== */
.hero-tag {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-headline {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-sub {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.hero-ctas {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-trust {
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-scroll {
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== Geometric Shapes ===== */
.geo-shape {
  position: absolute;
  opacity: 0.6;
  pointer-events: none;
}

.shape-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 105, 79, 0.08) 0%, transparent 70%);
  top: 5%;
  right: 5%;
  animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(212, 154, 58, 0.08);
  bottom: 15%;
  left: 30%;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(193, 105, 79, 0.06);
  border-radius: 24px;
  top: 25%;
  left: 5%;
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}

.shape-rect-2 {
  width: 80px;
  height: 80px;
  background: rgba(212, 154, 58, 0.08);
  border-radius: 16px;
  bottom: 25%;
  right: 15%;
  transform: rotate(20deg);
  animation: float 7s ease-in-out infinite;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(193, 105, 79, 0.05);
  top: 40%;
  right: 35%;
  animation: spin 25s linear infinite reverse;
}

.shape-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(193, 105, 79, 0.2);
  top: 60%;
  left: 10%;
  animation: float 4s ease-in-out infinite;
}

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

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

/* ===== Section Animations ===== */
.section-tag, .section-title, .section-sub {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.reveal.active .section-tag { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal.active .section-title { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal.active .section-sub { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }

/* ===== Service Cards ===== */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.service-card.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.15s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.2s; }
.service-card.reveal:nth-child(5) { transition-delay: 0.25s; }
.service-card.reveal:nth-child(6) { transition-delay: 0.3s; }

/* ===== Gallery ===== */
.gallery-item {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.gallery-item.reveal.active {
  opacity: 1;
  transform: scale(1);
}

.gallery-item.reveal:nth-child(1) { transition-delay: 0.05s; }
.gallery-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-item.reveal:nth-child(3) { transition-delay: 0.15s; }
.gallery-item.reveal:nth-child(4) { transition-delay: 0.2s; }
.gallery-item.reveal:nth-child(5) { transition-delay: 0.25s; }
.gallery-item.reveal:nth-child(6) { transition-delay: 0.3s; }
.gallery-item.reveal:nth-child(7) { transition-delay: 0.35s; }

/* ===== Testimonials ===== */
.testimonial-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.testimonial-card.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-card.reveal:nth-child(1) { transition-delay: 0.1s; }
.testimonial-card.reveal:nth-child(2) { transition-delay: 0.2s; }
.testimonial-card.reveal:nth-child(3) { transition-delay: 0.3s; }

/* ===== Nav Links ===== */
.nav-link {
  position: relative;
  color: #3D2117;
}

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

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

/* ===== Active nav state ===== */
.nav-link.active::after {
  width: 100%;
}

/* ===== Utility ===== */
@media (max-width: 768px) {
  .shape-circle-1 {
    width: 200px;
    height: 200px;
  }
  .shape-circle-2 {
    display: none;
  }
  .shape-rect-1, .shape-rect-2, .shape-triangle, .shape-dot {
    display: none;
  }
}
