/* ── 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 { display: block; max-width: 100%; }

/* ── Typography ── */
h1, h2, h3 { font-weight: 400; }

/* ── Section Labels ── */
.section-label { display: block; }
.section-title { font-size: clamp(2rem, 4vw, 3.25rem); }

/* ── Navbar ── */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(123, 45, 62, 0.08);
}
#navbar.scrolled .nav-link { color: #7B2D3E; }
#navbar.scrolled .menu-line { background: #7B2D3E; }
#navbar.scrolled .scroll-indicator { color: rgba(123, 45, 62, 0.5); }

/* ── Mobile Menu ── */
.menu-line { transition: transform 0.3s ease, opacity 0.3s ease; }
#menu-btn.active .menu-line:first-child { transform: translateY(5px) rotate(45deg); }
#menu-btn.active .menu-line:last-child { transform: translateY(-5px) rotate(-45deg); }
#mobile-menu.open { transform: translateX(0); }

.mobile-link {
  position: relative;
  transition: color 0.3s ease;
}
.mobile-link:hover { color: #7B2D3E; }
.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: #7B2D3E;
  transition: width 0.3s ease;
}
.mobile-link:hover::after { width: 100%; }

/* ── Hero ── */
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* ── Service Cards ── */
.service-card {
  border-left: none;
  border-right: none;
  border-top: 1px solid rgba(123, 45, 62, 0.1);
  border-bottom: 1px solid rgba(123, 45, 62, 0.1);
  transition: background 0.5s ease, border-color 0.5s ease;
}
.service-card:hover {
  border-color: rgba(123, 45, 62, 0.25);
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Form ── */
input:focus, textarea:focus {
  border-bottom-color: #7B2D3E !important;
}
input::placeholder, textarea::placeholder {
  color: rgba(123, 45, 62, 0.3);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #fdf8f9; }
::-webkit-scrollbar-thumb { background: rgba(123, 45, 62, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(123, 45, 62, 0.4); }

/* ── Selection ── */
::selection { background: rgba(123, 45, 62, 0.15); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
}
