/* Wedding Invitation Font Faces */

@font-face {
  font-family: "Pattaya";
  src: url("/fonts/Pattaya-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Nhật Bình Đỏ (Figma 7907:35) — SVN-HC licensed fonts */
@font-face {
  font-family: "SVN-HC Pacifico";
  src: url("/fonts/SVN-HC-Pacifico.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-HC Marvin Visions";
  src: url("/fonts/SVN-HC-Marvin-Visions.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-HC Built Titling";
  src: url("/fonts/SVN-HC-Built-Titling.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-HC Carosello";
  src: url("/fonts/SVN-HC-Carosello.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SVN-HC Haydon Brush";
  src:
    url("/fonts/SVN-HC-Haydon-Brush.woff2") format("woff2"),
    url("/fonts/SVN-HC-Haydon-Brush.woff") format("woff"),
    url("/fonts/SVN-HC Haydon Brush.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("/fonts/HelveticaNeueRoman.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("/fonts/HelveticaNeueBold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("/fonts/HelveticaNeueLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "HelveticaNeue";
  src: url("/fonts/HelveticaNeueMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Roboto (self-hosted, variable) - replaces Helvetica Neue for invitation body copy.
   Variable woff2 per subset, so one @font-face covers all weights. */
@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Roboto";
  src: url("/fonts/Roboto-vietnamese.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "UNI Chu truyen thong";
  src: url("/fonts/UNI_Chu_truyen_thong.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "The Nautigal";
  src: url("/fonts/TheNautigal-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "The Nautigal";
  src: url("/fonts/TheNautigal-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* CSS Custom Properties for Wedding Themes */
:root {
  --font-primary: "Pattaya", cursive;
  --font-secondary: "HelveticaNeue", "Helvetica Neue", Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
}

/* Utility classes for fonts */
.font-pattaya {
  font-family: var(--font-primary);
}

.font-helvetica {
  font-family: var(--font-secondary);
}

.font-uni-chu {
  font-family: "UNI Chu truyen thong", "Times New Roman", serif;
}

.font-nautigal {
  font-family: "The Nautigal", cursive;
}

.font-eb-garamond {
  font-family: "EB Garamond", serif;
}

/* Chibi Template Fonts */
@font-face {
  font-family: "Babylonica";
  src: url("/fonts/Babylonica-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Uchen";
  src: url("/fonts/Uchen-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-babylonica {
  font-family: "Babylonica", cursive;
}

.font-uchen {
  font-family: "Uchen", serif;
}

.font-cormorant {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.font-alex-brush {
  font-family: "Alex Brush", "The Nautigal", cursive;
}

.font-playfair {
  font-family: "Playfair Display", serif;
}

@font-face {
  font-family: "Lora";
  src: url("/fonts/Lora-Regular.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  src: url("/fonts/NotoSerif-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Pro";
  src: url("/fonts/CrimsonPro-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("/fonts/Lexend-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Hoạ Tình — Patrick Hand (handwritten body + couple names, danh xung Co dau / Chu re).
   Single-weight handwriting face; the weight RANGE lets the template's 300/700
   requests reuse the one file without faux-bold synthesis. */
@font-face {
  font-family: "Patrick Hand";
  src: url("/fonts/PatrickHand-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Patrick Hand";
  src: url("/fonts/PatrickHand-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Patrick Hand";
  src: url("/fonts/PatrickHand-vietnamese.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Hoạ Tình — SVN-HC Elixir Sans (section headings) */
@font-face {
  font-family: "SVN-HC Elixir Sans";
  src: url("/fonts/SVN-HC Elixir Sans.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Hoạ Tình — Baloo Bhaijaan (announcement text) */
@font-face {
  font-family: "Baloo Bhaijaan";
  src: url("/fonts/BalooBhaijaan-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Viaoda Libre (hero couple names across templates, e.g. Chateau Blue) */
@font-face {
  font-family: "Viaoda Libre";
  src: url("/fonts/ViaodaLibre-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Chateau Blue — Alex Brush (script ampersand) */
@font-face {
  font-family: "Alex Brush";
  src: url("/fonts/AlexBrush-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Chateau Blue — Cormorant Garamond (welcome heading, variable weight 300-700) */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-Variable.ttf") format("truetype-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}


/* Playfair Display (couple names + section titles across templates, Porcelain Blue SAVE THE DATE eyebrow; variable weight 400-900) */
@font-face {
  font-family: "Playfair Display";
  src: url("/fonts/PlayfairDisplay-Variable.ttf") format("truetype-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Sunflower — Vujahday Script (the hero "and" between the couple names) */
@font-face {
  font-family: "Vujahday Script";
  src: url("/fonts/VujahdayScript-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Lien Hoa Pink — EB Garamond (section titles + body serif, variable weight 400-800) */
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/EBGaramond-Variable.ttf") format("truetype-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* Lien Hoa Pink — Beau Rivage (script couple names + ampersand) */
@font-face {
  font-family: "Beau Rivage";
  src: url("/fonts/BeauRivage-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Lien Hoa Pink — Ubuntu (sans labels, family names, big date numbers) */
@font-face {
  font-family: "Ubuntu";
  src: url("/fonts/Ubuntu-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  src: url("/fonts/Ubuntu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Ubuntu";
  src: url("/fonts/Ubuntu-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Royal Purple — Great Vibes (script couple names + ampersand) */
@font-face {
  font-family: "Great Vibes";
  src: url("/fonts/GreatVibes-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
