/* Ultreia Public Frontend - Design System */

/* ============================================
   FONTS
   ============================================ */

@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/Geist-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype-variations');
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   COLOR PALETTE - Pastel & Light
   ============================================ */

:root {
    /* Pastel colors for backgrounds */
    --pastel-blue: #e3f2fd;
    --pastel-green: #e8f5e9;
    --pastel-yellow: #fffde7;
    --pastel-orange: #fff3e0;
    --pastel-pink: #fce4ec;
    --pastel-purple: #f3e5f5;
    --pastel-teal: #e0f2f1;

    /* Neutral colors */
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #424242;
    --black: #212121;

    /* Accent colors (darker for contrast on light backgrounds) */
    --accent-blue: #1976d2;
    --accent-green: #388e3c;
    --accent-orange: #f57c00;
    --accent-teal: #00796b;

    /* Brand colors from logo */
    --brand-blue: #1E88E5; /* Vibrant blue from logo */
    --brand-yellow: #FDB813; /* Bright golden yellow from logo */

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Typography scale */
    --text-xs: 0.875rem;
    --text-sm: 1rem;
    --text-md: 1.125rem;
    --text-lg: 1.5rem;
    --text-xl: 2rem;
    --text-2xl: 3rem;
    --text-3xl: 4rem;
    --text-4xl: 5rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--black);
}

h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-sm);
}

p {
    font-family: var(--font-sans);
    font-size: var(--text-md);
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--brand-blue);
    text-decoration: underline;
    text-decoration-color: var(--brand-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-teal);
    text-decoration-color: var(--accent-orange);
}

a img {
    /* Remove underline from images inside links */
    text-decoration: none;
    border: none;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-lg) 0;
}

.section-lg {
    padding: var(--spacing-xl) 0;
}

/* ============================================
   CENTERED CONTENT (for coming soon page)
   ============================================ */

.centered-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--spacing-md);
}

.centered-page h1 {
    font-size: var(--text-4xl);
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
}

.centered-page p {
    font-size: var(--text-lg);
    color: var(--dark-gray);
    max-width: 600px;
}

/* ============================================
   RESPONSIVE TYPOGRAPHY
   ============================================ */

@media (max-width: 768px) {
    :root {
        --text-4xl: 3rem;
        --text-3xl: 2.5rem;
        --text-2xl: 2rem;
        --text-xl: 1.5rem;
    }

    .centered-page h1 {
        font-size: var(--text-3xl);
    }

    .centered-page p {
        font-size: var(--text-md);
    }
}

@media (max-width: 480px) {
    :root {
        --text-4xl: 2.5rem;
        --text-3xl: 2rem;
        --text-2xl: 1.5rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--dark-gray);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
