/* =========================================
   GOOGLE FONTS
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* =========================================
   ROOT DESIGN TOKENS
========================================= */

:root {
  /* =========================
       COLORS
    ========================= */

  --primary: #6a0c3e;
  --primary-light: #8f1a59;

  --cream: #f8f3ed;
  --sand: #ece1d1;
  --surface: #ffffff;

  --text: #1a1a1a;
  --text-muted: #6d6d6d;
  --text-light: #909090;

  --gold: #c9a46b;
  --gold-light: #dbc295;

  --border: rgba(0, 0, 0, 0.08);

  /* =========================
       TYPOGRAPHY
    ========================= */

  --font-hero: 'Bodoni Moda', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Manrope', sans-serif;

  /* =========================
       SPACING
    ========================= */

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;
  --space-3xl: 8rem;
  --space-4xl: 12rem;

  /* =========================
       CONTAINER
    ========================= */

  --container: 1440px;
  --container-wide: 1700px;

  /* =========================
       RADIUS
    ========================= */

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  /* =========================
       SHADOWS
    ========================= */

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);

  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);

  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.12);

  /* =========================
       TRANSITIONS
    ========================= */

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --transition: 0.5s var(--ease);
}

/* =========================================
   RESET
========================================= */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;

  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;

  color: var(--text);
  background: var(--cream);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

ul {
  list-style: none;
}

/* =========================================
   GLOBAL SELECTION
========================================= */

::selection {
  background: var(--primary);
  color: white;
}

/* =========================================
   TYPOGRAPHY
========================================= */

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.95;
  font-weight: 600;
}

.section-subtitle {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.lead {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 65ch;
}

.text-muted {
  color: var(--text-muted);
}

.container {
  width: min(100% - 3rem, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 3rem, var(--container-wide));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-4xl);
}

.section-sm {
  padding-block: var(--space-3xl);
}

.section-lg {
  padding-block: 10rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: inherit;

  font-weight: 500;

  gap: 0.75rem;

  min-height: 60px;

  padding-inline: 2rem;

  border: none;
  cursor: pointer;

  transition: var(--transition);
}

.btn {
  position: relative;
  overflow: hidden;

  color: #fff;
  background: linear-gradient(135deg, #6a0c3e 0%, #7c234d 30%, #9d6665 65%, #c9a46b 100%);

  box-shadow:
    0 10px 30px rgba(106, 12, 62, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.25) 50%, transparent 80%);
  transform: translateX(-150%);
  transition: transform 0.8s ease;
}

.btn:hover::before {
  transform: translateX(150%);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: var(--primary-light);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  background: transparent;
}

.card {
  background: rgba(255, 255, 255, 0.6);

  backdrop-filter: blur(12px);

  border: 1px solid var(--border);

  border-radius: var(--radius-lg);

  padding: 2rem;

  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.section-header {
  max-width: 900px;
  margin-bottom: 5rem;
}

.section-header > * + * {
  margin-top: 1rem;
}

.image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.image-wrap img {
  transition: 1.2s var(--ease);
}

.image-wrap:hover img {
  transform: scale(1.05);
}

.divider {
  width: 120px;
  height: 1px;

  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.bg-primary {
  background: var(--primary);
  color: white;
}

.bg-cream {
  background: var(--cream);
}

.bg-sand {
  background: var(--sand);
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 992px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 6rem;
  }

  .hero-title {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .section-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}
