/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ========== NAV ========== */
.nav {
  background: rgba(253, 248, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(244, 219, 170, 0.3);
}
.nav.scrolled {
  background: rgba(253, 248, 240, 0.95);
  box-shadow: 0 1px 20px rgba(44, 36, 32, 0.06);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C1694F;
  border-radius: 1px;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Mobile menu */
#mobileMenu.open { opacity: 1; pointer-events: all; }
.mobile-link { transition: transform 0.3s ease; }
.mobile-link:hover { transform: translateY(-2px); }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #FDF8F0 0%, #F9EDCF 50%, #FDF0EB 100%);
  position: relative;
  min-height: 100vh;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(244, 192, 176, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(249, 237, 207, 0.5) 0%, transparent 60%);
  pointer-events: none;
}
.hero-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-image {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(44, 36, 32, 0.12);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img-wrapper:hover .hero-img { transform: scale(1.03); }
.hero-img-accent {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.2);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  bottom: 32px;
  left: -24px;
  background: rgba(44, 36, 32, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 16px 48px rgba(44, 36, 32, 0.2);
}
.floating { animation: float 4s ease-in-out infinite; }
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.2s;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, #C1694F, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #C1694F;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 60px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(193, 105, 79, 0.25);
}
.btn-primary:hover {
  background: #a8533d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193, 105, 79, 0.35);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #2C2420;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 60px;
  transition: all 0.3s ease;
  border: 1px solid rgba(44, 36, 32, 0.1);
}
.btn-secondary:hover {
  background: #FDF8F0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 36, 32, 0.08);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  background: white;
  color: #2C2420;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 60px;
  transition: all 0.3s ease;
}
.btn-white:hover {
  background: #FDF8F0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-white-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 60px;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
}
.btn-white-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
@media (max-width: 767px) { .section { padding: 72px 0; } }

/* ========== SERVICE CARDS ========== */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(244, 219, 170, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #C1694F, #F4C0B0);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 36, 32, 0.08);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #FDF0EB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s ease;
}
.service-card:hover .service-icon { background: #f9ddd3; }

/* ========== ABOUT ========== */
.about-img-wrapper {
  position: relative;
  height: 480px;
}
.about-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(44, 36, 32, 0.1);
  position: relative;
  z-index: 1;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 55%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44, 36, 32, 0.15);
  border: 4px solid #FDF8F0;
  z-index: 2;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-experience-badge {
  position: absolute;
  top: -20px;
  right: 40px;
  background: #C1694F;
  border-radius: 20px;
  padding: 20px 24px;
  box-shadow: 0 12px 32px rgba(193, 105, 79, 0.3);
  z-index: 3;
  text-align: center;
}

/* ========== WHY CARDS ========== */
.why-card {
  background: #FDF8F0;
  border-radius: 20px;
  padding: 36px;
  border: 1px solid rgba(244, 219, 170, 0.4);
  transition: all 0.4s ease;
}
.why-card:hover {
  background: white;
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(44, 36, 32, 0.08);
  border-color: transparent;
}
.why-number {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 600;
  color: #F4C0B0;
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.why-card:hover .why-number { color: #C1694F; }

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, #2C2420 0%, #5c2e24 100%);
  position: relative;
}
.cta-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(193, 105, 79, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ========== FORM ========== */
.input-field {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid #F0E8DF;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #2C2420;
  background: #FDF8F0;
  transition: all 0.3s ease;
  outline: none;
}
.input-field:focus {
  border-color: #C1694F;
  background: white;
  box-shadow: 0 0 0 4px rgba(193, 105, 79, 0.08);
}
.input-field::placeholder { color: #B0A090; }
select.input-field { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A6E66' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Epolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

/* ========== SCROLL REVEAL ========== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.35s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.4s; }

/* ========== KEYFRAMES ========== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1023px) {
  .hero { min-height: auto; padding: 120px 0 80px; }
  .hero-image { order: 0; }
  .hero-img-wrapper { max-width: 500px; margin: 0 auto; }
  .hero-badge { left: 16px; bottom: 16px; }
  .about-img-wrapper { height: 360px; }
  .about-img-secondary { right: -12px; bottom: -20px; }
}
@media (max-width: 639px) {
  h1 { font-size: 2.5rem !important; }
  .hero-badge { display: none; }
  .about-img-wrapper { height: 280px; }
  .about-img-secondary { width: 60%; right: -8px; bottom: -16px; }
}
