/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Navbar ─── */
.navbar {
  background: rgba(254, 252, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 219, 170, 0.4);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(127, 44, 24, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d95c28;
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, #632515 0%, #9f3518 30%, #d95c28 60%, #c4471e 80%, #7f2c18 100%);
  position: relative;
}
.hero-bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(233, 122, 72, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(244, 196, 168, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(99, 37, 21, 0.4) 0%, transparent 50%);
}
.hero-title {
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
}
.hero-subtitle {
  text-shadow: 0 1px 20px rgba(0,0,0,0.1);
}
.hero-scroll-indicator { animation: float 2.5s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ─── Buttons ─── */
.btn-primary {
  background: #d95c28;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(217, 92, 40, 0.3);
}
.btn-primary:hover {
  background: #c4471e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 92, 40, 0.4);
}
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: #d95c28;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-white:hover {
  background: #fef7f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.btn-ghost-white {
  background: transparent;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn-lg { padding: 14px 32px; font-size: 1.05rem; }

/* ─── Section Layout ─── */
.section { position: relative; }
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d95c28;
  background: #fdf2ec;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid #f4c4a8;
}
.section-title {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #1c0a00;
  line-height: 1.15;
}
.section-desc {
  color: #854d0e;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ─── Service Cards ─── */
.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(245, 219, 170, 0.3);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(127, 44, 24, 0.1);
  border-color: #f4c4a8;
}
.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fdf2ec, #f9e0d0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d95c28;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, #d95c28, #c4471e);
  color: #fff;
  transform: scale(1.05);
}
.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1c0a00;
}
.service-desc {
  color: #854d0e;
  line-height: 1.7;
  font-size: 0.95rem;
  flex: 1;
}
.service-img {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.service-img-inner {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.service-card:hover .service-img-inner {
  transform: scale(1.08);
}

/* ─── About ─── */
.about-feature { }
.about-feature-icon {
  transition: all 0.3s ease;
}
.about-feature:hover .about-feature-icon {
  background: linear-gradient(135deg, #d95c28, #c4471e);
}
.about-feature:hover .about-feature-icon svg {
  stroke: #fff;
}

/* ─── Gallery ─── */
.gallery-item { }
.gallery-img-wrap {
  height: 280px;
  overflow: hidden;
}
.gallery-img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
  height: 100%;
}
.gallery-item:hover .gallery-img {
  transform: scale(1.07);
}

/* ─── Testimonials ─── */
.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(245, 219, 170, 0.3);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(127, 44, 24, 0.08);
}
.testimonial-text {
  flex: 1;
  font-style: italic;
}
.testimonial-avatar {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, #632515 0%, #9f3518 40%, #d95c28 70%, #c4471e 100%);
}
.cta-title { text-shadow: 0 2px 30px rgba(0,0,0,0.15); }
.cta-desc { text-shadow: 0 1px 15px rgba(0,0,0,0.1); }

/* ─── Contact Form ─── */
.contact-form-card {
  border: 1px solid rgba(245, 219, 170, 0.4);
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #422006;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #f0c77e;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  color: #1c0a00;
  background: #fefcf8;
  transition: all 0.3s ease;
  outline: none;
}
.form-input::placeholder { color: #b57226; opacity: 0.6; }
.form-input:focus {
  border-color: #d95c28;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 92, 40, 0.1);
}
.form-select {
  appearance: none;
  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='%23854d0e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-icon {
  transition: all 0.3s ease;
}
.contact-info-item:hover .contact-icon {
  background: linear-gradient(135deg, #d95c28, #c4471e);
}
.contact-info-item:hover .contact-icon svg {
  stroke: #fff;
}

/* ─── Footer ─── */
.footer a { text-decoration: none; }
.footer ul { list-style: none; padding: 0; margin: 0; }

/* ─── Mobile Menu ─── */
.mobile-menu {
  animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-nav-link {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(245, 219, 170, 0.3);
}
.mobile-nav-link:last-child { border-bottom: none; }

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .hero-stats { gap: 16px !important; }
  .hero-stat { text-align: center; }
  .about-img-float { display: none !important; }
  .about-accent { display: none; }
  .section { padding-left: 1rem !important; padding-right: 1rem !important; }
  .service-card { padding: 20px; }
  .contact-form-card { padding: 24px !important; }
}
