/* ==========================================================
   BASE: font vars, colour palette, reset, body, invitation typography, top toran bar
   ========================================================== */

:root {
  /* ---- ROYAL WEDDING TYPOGRAPHY (CHANDAN KASTURI RESORT THEME) ---- */
  --font-script: "Alex Brush", "Great Vibes", cursive;
  --font-calli: "Alex Brush", "Great Vibes", cursive;
  --calli-scale: 1.15;
  --calli-weight: 400;
  --font-serif: "Marcellus", "Cormorant Garamond", Georgia, serif;
  --font-body: "Cormorant Garamond", "Marcellus", Georgia, serif;
  --font-display: "Playfair Display", "Cinzel", "Marcellus", serif;
  --font-royal: "Cinzel", "Marcellus", serif;
  --font-royal-decor: "Cinzel Decorative", "Cinzel", serif;

  /* ---- COLOR PALETTE ---- */
  --ink: #331A15;
  --ink-deep: #1F0D0A;
  --muted: #7A5348;
  --paper: #FAF5EE;
  --paper-pure: #FFFDF9;
  --paper-card: #FFFFFF;
  --white: #ffffff;

  --marigold: #c89c5a;
  --saffron: #a07a3d;
  --coral: #9b2424;
  --pink: #7f1d1d;
  --rose: #7f1d1d;
  --crimson: #7f1d1d;
  --teal: #0d9488;
  --peacock: #0f766e;
  --lavender: #7e22ce;

  --gold: #c89c5a;
  --gold-dark: #a07a3d;
  --gold-light: #f5e9cf;

  --line: rgba(200, 156, 90, .25);
  --shadow: 0 16px 45px rgba(100, 40, 20, .09);
  --shadow-royal: 0 16px 45px rgba(160, 100, 35, .15), 0 4px 12px rgba(0, 0, 0, .04);
  --mx: 0;
  --my: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-x: none;   /* no sideways rubber-band / swipe-back wobble on phones */
}

/* Main Content */
.invitation-content {
  text-align: center;
  background: #fbf8f1;
  color: #17120f;
  padding: 20px 15px;
}

/* Main Heading */
.main-heading {
  font-family: 'Great Vibes', cursive;
  color: #b51d48;
  font-size: 55px;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

/* Family Names */
.family-names {
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.9;
}

.family-names p,
.guest-names p,
.business-names p {
  margin: 0;
}

/* Guest Names */
.guest-names {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: bold;
  font-style: italic;
  line-height: 1.9;
  margin-top: 35px;
}

/* RSVP */
.rsvp {
  font-family: Georgia, serif;
  color: #b51d48;
  font-size: 23px;
  font-weight: bold;
  font-style: italic;
  margin: 30px 0 10px;
}

/* RSVP Message */
.rsvp-message {
  font-family: Georgia, serif;
  font-size: 21px;
  font-weight: bold;
  font-style: italic;
  line-height: 1.9;
  margin: 0;
}

/* Business Names */
.business-names {
  font-family: Georgia, serif;
  color: #b51d48;
  font-size: 22px;
  font-weight: bold;
  font-style: italic;
  line-height: 1.9;
  margin-top: 5px;
}

/* Responsive */
@media (max-width: 767px) {

  .main-heading {
    font-size: 42px;
  }

  .family-names,
  .guest-names {
    font-size: 16px;
    line-height: 1.9;
  }

  .guest-names {
    margin-top: 25px;
  }

  .rsvp-message {
    font-size: 16px;
  }

  .business-names {
    font-size: 17px;
  }

  .rsvp {
    font-size: 21px;
  }
}


body {
  margin: 0;
  color: var(--ink);
  background-color: #FAF5EE;
  background-image: url("../assets/images/desktop-bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

a {
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

::selection {
  color: white;
  background: var(--crimson);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- ROYAL WEDDING TORAN TOP BAR ---- */
.wedding-toran-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 105;
  pointer-events: none;
  background: linear-gradient(90deg, #c89c5a, #7f1d1d, #c89c5a, #7f1d1d, #c89c5a);
  box-shadow: 0 2px 8px rgba(160, 100, 35, 0.25);
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.01em;
}

.display em {
  font-family: var(--font-script);
  font-style: italic;
  font-weight: 400;
  color: #9a7030;
  font-size: 1.15em;
}

