/* =====================================================
   GLOBAL HURME GEOMETRIC SANS FONT DEFINITIONS
   ===================================================== */
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-ThinOblique.otf') format('opentype');
    font-weight: 100;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-Hairline.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-HairlineOblique.otf') format('opentype');
    font-weight: 200;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-LightOblique.otf') format('opentype');
    font-weight: 300;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-Oblique.otf') format('opentype');
    font-weight: 400;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-SemiBoldOblique.otf') format('opentype');
    font-weight: 600;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-BoldOblique.otf') format('opentype');
    font-weight: 700;
    font-style: oblique;
    font-display: swap;
}

@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'HurmeGeometricSans';
    src: url('../fonts/HurmeGeometricSans1-BlackOblique.otf') format('opentype');
    font-weight: 900;
    font-style: oblique;
    font-display: swap;
}

/* =====================================================
   VARIABLE INITIALIZATION (LIGHT THEME DEFAULT)
   ===================================================== */
:root {
    --color-primary: #1B4537;
    --color-primary-dark:#09291e;
    --color-accent: #CBAA7D;
    --color-accent-light: #f5e4ce;
    --color-background: #F6F8FA;
    --color-surface: #FFFFFF;
    --color-light-bg: #F3F3F3;
    --color-light-gray: #EFEFEF;
    --color-gold: #CBAA7D;
    --color-text: #1B4537;
    --color-text-muted: #777777;
    --color-border: #DDDDDD;
    --color-white: #FFFFFF;
    --shadow-sm: 0 3px 8px rgba(0,0,0,.05);
    --shadow-md: 0 8px 20px rgba(0,0,0,.08);
    --radius-card: 20px;
    --radius-pill: 50px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-primary: #2A6B55;
        --color-primary-dark:#1ec98f;
        --color-accent: #CBAA7D;
        --color-accent-light: #f5e4ce;
        --color-background: #111315;
        --color-surface: #1B1D20;
        --color-light-bg: #26292D;
        --color-light-gray: #34373C;
        --color-text: #F8F8F8;
        --color-text-muted: #AAAAAA;
        --color-border: #3B3F45;
        --color-white: #1B1D20;
        --shadow-sm: 0 3px 10px rgba(0,0,0,.35);
        --shadow-md: 0 10px 25px rgba(0,0,0,.45);
    }
}

body {
    background: var(--color-background);
    color: var(--color-text);
    font-family: 'HurmeGeometricSans', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 400;
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;

    /* Protects content from the top status bar and Dynamic Island / camera notch */
  padding-top: env(safe-area-inset-top);
  
  /* Protects content from the bottom home indicator / navigation bar */
  padding-bottom: env(safe-area-inset-bottom);
  
  /* Protects against side notches in landscape mode */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

input, textarea, .selectable-text {
    -webkit-user-select: text;
    user-select: text;
}