/* ============================================================
   Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;500&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    /* Colors */
    --clr-crimson:  #8B0000;
    --clr-gold:     #B8860B;
    --clr-charcoal: #2C2C2C;
    --clr-slate:    #4A4A4A;
    --clr-ash:      #F5F5F5;
    --clr-white:    #FFFFFF;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans:  'Inter', sans-serif;

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;

    /* Spacing Scale */
    --space-xs:  0.25rem;  /*  4px */
    --space-sm:  0.5rem;   /*  8px */
    --space-md:  1rem;     /* 16px */
    --space-lg:  1.5rem;   /* 24px */
    --space-xl:  2rem;     /* 32px */
    --space-2xl: 3rem;     /* 48px */
}

/* ============================================================
   CSS Reset
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* ============================================================
   Base Styles
   ============================================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--clr-slate);
    background-color: var(--clr-white);
    line-height: 1.6;
}

/* ============================================================
   Layout — Container
   ============================================================ */
.container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--space-lg);
}

/* ============================================================
   Layout — Site Nav
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 80px;
    background-color: var(--clr-charcoal);
    display: flex;
    align-items: center;
}

.site-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-nav__logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: var(--clr-white);
    text-decoration: none;
}

.site-nav__links {
    list-style: none;
    display: flex;
    gap: var(--space-lg);
}

.site-nav__links a {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--clr-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-nav__links a:hover {
    color: var(--clr-gold);
}

/* ============================================================
   Layout — Site Footer
   ============================================================ */
.site-footer {
    background-color: var(--clr-charcoal);
    padding-block: var(--space-xl);
    text-align: center;
}

.site-footer p {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--clr-white);
}

/* ============================================================
   Reusable Components
   ============================================================ */
.section-label {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--clr-gold);
    font-weight: 500;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center {
    text-align: center;
}

/* Screen-reader only */
.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;
}

/* ============================================================
   Responsive Breakpoints
   ============================================================ */
/* @media (max-width: 768px) — Tablet and below */

/* @media (max-width: 480px) — Mobile */

/* ============================================================
   State Utilities
   ============================================================ */
/* Applied via JS when ImageModal is open — prevents background scroll */
body.modal-open {
    overflow: hidden;
}

/* ============================================================
   Typography Globals
   ============================================================ */
/* Tighter tracking on all h2 headlines for a premium, editorial feel */
h2 {
    letter-spacing: -0.02em;
}

/* ============================================================
   Interaction Globals
   ============================================================ */
/* Micro-compression feedback on all interactive buttons and CTAs */
.hero__btn-primary:active,
.hero__btn-ghost:active,
.value__cta-btn:active,
.contact__submit:active {
    transform: scale(0.98);
}
