/* ========================================
   BASE STYLES
   Variables, Fonts, Reset, Typography
   ======================================== */

/* ========================================
   FONT FACE DECLARATIONS
   ======================================== */

/* Cormorant Font Family - Full weight range */
@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Mulish Font Family - Only load weights actually used */
@font-face {
    font-family: 'Mulish';
    src: url('../fonts/Mulish-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mulish';
    src: url('../fonts/Mulish-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   ======================================== */

:root {
    /* Colors */
    --primary-main: #203239;
    --primary-gray: #e5e6e3;
    --primary-main-light: #FFFAF4;
    --primary-main-dark: #F6C391;
    --primary-white: #fff;
    --text-black: #2d3748;
    --text-dark: #606060;
    --text-medium-gray: #606060;
    --text-light-gray: #828282;
    --text-light: #999;
    --text-gold: #d4874b;
    --text-white-transparent: rgb(255 255 255 / 92%);
    --background-white: #fff;
    --background-light: #e5e6e3;
    --background-dark: #333;

    /* Semantic Colors */
    --color-success: #27ae60;
    --color-success-bg: #d4edda;
    --color-success-text: #155724;
    --color-success-border: #c3e6cb;
    --color-error: #e74c3c;
    --color-error-bg: #f8d7da;
    --color-error-text: #721c24;
    --color-error-border: #f5c6cb;

    /* Z-index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-fixed: 999;
    --z-modal-backdrop: 1000;
    --z-modal: 1001;
    --z-popover: 1010;
    --z-tooltip: 1020;

    /* Typography */
    --font-heading: 'Cormorant', serif;
    --font-body: 'Mulish', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extra-bold: 900;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 5rem;
    --space-4xl: 6rem;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 14.5px;
    --text-medium: 1rem;
    --text-lg: 16.3px;
    --text-xl: 27px;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3.0625rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.355rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 1.25rem;
    --section-padding: var(--space-3xl) 0;
    --section-padding-mobile: var(--space-2xl) 0;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-regular);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    line-height: 1.6;
    letter-spacing: .01em;
    color: var(--text-dark);
    background: var(--background-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   TYPOGRAPHY SYSTEM
   ======================================== */

.heading-1 {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: var(--font-weight-light);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.heading-2 {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: var(--font-weight-bold);
    letter-spacing: .02em;
    line-height: 1.05;
    color: var(--text-black);
    margin-bottom: var(--space-lg);
}

.heading-2--left {
    justify-content: flex-start;
}

.heading-2--white {
    color: var(--background-white);
}

.heading-3 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-weight-light);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.heading-4 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: var(--font-weight-light);
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

.heading-5 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
}

.heading-6 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-weight-light);
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.text-medium {
    font-size: var(--text-medium);
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.text-large {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.text-extra-large {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-extra-bold);
    line-height: 1.33;
    margin-bottom: var(--space-md);
}

.text-base {
    font-size: var(--text-base);
    font-weight: var(--font-weight-regular);
    line-height: 1.4705882353;
    margin-bottom: var(--space-sm);
}

.text-small {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    margin-bottom: var(--space-sm);
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-main { color: var(--primary-main); }
.text-dark { color: var(--text-dark); }
.text-medium-gray { color: var(--text-medium-gray); }
.text-light { color: var(--text-light); }
.text-white { color: var(--background-white); }
