/* ─── Custom Properties ─── */
:root {
  --burgundy: #7B2D3B;
  --burgundy-dark: #5E2130;
  --blush: #F2D0D5;
  --blush-light: #FAEAEA;
}

/* ─── Base ─── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

/* ─── Color Utilities ─── */
.bg-burgundy { background-color: var(--burgundy); }
.bg-burgundy-dark { background-color: var(--burgundy-dark); }
.text-burgundy { color: var(--burgundy); }
.text-burgundy-dark { color: var(--burgundy-dark); }
.bg-blush { background-color: var(--blush); }
.text-blush { color: var(--blush); }
.bg-blush-light { background-color: var(--blush-light); }

/* ─── Nav Link Hover Line ─── */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--burgundy);
  transition: width 0.3s ease;
}

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

/* ─── Mobile Nav Links ─── */
.mobile-nav-link {
  position: relative;
}

/* ─── Reveal Animations ─── */
.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);
}

.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 200ms; }
.reveal:nth-child(4) { transition-delay: 300ms; }

/* ─── Header Scroll State ─── */
header.scrolled {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* ─── Mobile Menu Open State ─── */
.mobile-menu-open #line1 {
  transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-open #line2 {
  opacity: 0;
}

.mobile-menu-open #line3 {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 1.25rem;
}

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

/* ─── Service Card Image Hover ─── */
.service-img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

/* ─── Input Focus Transition ─── */
input:focus,
textarea:focus {
  outline: none;
}

/* ─── Selection ─── */
::selection {
  background-color: var(--blush);
  color: var(--burgundy);
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: var(--blush);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--burgundy);
}

/* ─── Responsive Tweaks ─── */
@media (max-width: 768px) {
  .font-cormorant {
    line-height: 1.1;
  }
}
