/* Font Configuration for Yoshine Music Festival */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700&family=Poppins:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600;700;800&family=Mulish:wght@300;400;500;600;700;800&family=Nunito:wght@300;400;500;600;700;800&family=Ubuntu:wght@300;400;500;700&family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

/* Font Variables */
:root {
    /* Primary Font - Inter (Modern, Clean) */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Secondary Font - Noto Sans (Good for Vietnamese) */
    --font-secondary: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    
    /* Display Font - Playfair Display (Elegant, like Steinway) */
    --font-display: 'Playfair Display', serif;
    
    /* Font Weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    
    /* Font Sizes */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    --text-6xl: 3.75rem;   /* 60px */
    
    /* Line Heights */
    --leading-tight: 1.25;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 2;
}

/* Global Font Settings */
* {
    font-family: var(--font-primary);
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-regular);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Classes */
.font-primary {
    font-family: var(--font-primary);
}

.font-secondary {
    font-family: var(--font-secondary);
}

.font-display {
    font-family: var(--font-display);
}

/* Font Weight Classes */
.font-light {
    font-weight: var(--font-light);
}

.font-regular {
    font-weight: var(--font-regular);
}

.font-medium {
    font-weight: var(--font-medium);
}

.font-semibold {
    font-weight: var(--font-semibold);
}

.font-bold {
    font-weight: var(--font-bold);
}

.font-extrabold {
    font-weight: var(--font-extrabold);
}

/* Font Size Classes */
.text-xs {
    font-size: var(--text-xs);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-base {
    font-size: var(--text-base);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.text-3xl {
    font-size: var(--text-3xl);
}

.text-4xl {
    font-size: var(--text-4xl);
}

.text-5xl {
    font-size: var(--text-5xl);
}

.text-6xl {
    font-size: var(--text-6xl);
}

/* Line Height Classes */
.leading-tight {
    line-height: var(--leading-tight);
}

.leading-snug {
    line-height: var(--leading-snug);
}

.leading-normal {
    line-height: var(--leading-normal);
}

.leading-relaxed {
    line-height: var(--leading-relaxed);
}

.leading-loose {
    line-height: var(--leading-loose);
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: 0.5em;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
}

h2 {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
}

h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
}

h4 {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

h5 {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
}

h6 {
    font-size: var(--text-base);
    font-weight: var(--font-medium);
}

/* Paragraph Styles */
p {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    margin-bottom: 1rem;
}

/* Link Styles */
a {
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
}

/* Button Styles */
.btn {
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
}

/* Form Elements */
input, textarea, select {
    font-family: var(--font-primary);
    font-size: var(--text-base);
}

/* Navigation */
.navbar-nav .nav-link {
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    font-size: var(--text-sm);
}

/* Card Titles */
.card-title {
    font-family: var(--font-display);
    font-weight: var(--font-semibold);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: var(--text-3xl);
    }
    
    h2 {
        font-size: var(--text-2xl);
    }
    
    h3 {
        font-size: var(--text-xl);
    }
    
    h4 {
        font-size: var(--text-lg);
    }
    
    h5 {
        font-size: var(--text-base);
    }
    
    h6 {
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: var(--text-2xl);
    }
    
    h2 {
        font-size: var(--text-xl);
    }
    
    h3 {
        font-size: var(--text-lg);
    }
    
    h4 {
        font-size: var(--text-base);
    }
    
    h5 {
        font-size: var(--text-sm);
    }
    
    h6 {
        font-size: var(--text-xs);
    }
}

/* Font Loading Optimization */
.fonts-loaded {
    font-display: swap;
}

/* Vietnamese Language Support */
.vn-text {
    font-family: var(--font-secondary);
}

/* Special Text Styles */
.hero-title {
    font-family: var(--font-display);
    font-weight: var(--font-extrabold);
    font-size: var(--text-5xl);
    line-height: var(--leading-tight);
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-weight: var(--font-medium);
    font-size: var(--text-xl);
    line-height: var(--leading-relaxed);
}

.section-title {
    font-family: var(--font-display);
    font-weight: var(--font-bold);
    font-size: var(--text-3xl);
    line-height: var(--leading-tight);
}

.section-subtitle {
    font-family: var(--font-primary);
    font-weight: var(--font-regular);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

/* Utility Classes for Quick Font Changes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.uppercase {
    text-transform: uppercase;
}

.lowercase {
    text-transform: lowercase;
}

.capitalize {
    text-transform: capitalize;
}

.no-underline {
    text-decoration: none;
}

.underline {
    text-decoration: underline;
}

.line-through {
    text-decoration: line-through;
} 