/**
 * Base styles for Pursue Life Outdoors
 * Contains CSS variables, reset, and core global styles
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* CSS Variables */
:root {
    /* Color Scheme */
    --golden-orange: #F9A620;
    --soft-yellow: #FFD449;
    --olive-green: #AAB03C;
    --forest-green: #548C2F;
    --deep-green: #104911;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --error-red: #e63946;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Montserrat', sans-serif;
    
    /* Font Sizes */
    --font-size-largest: 48px;
    --font-size-large: 36px;
    --font-size-medium: 28px;
    --font-size-regular: 20px;
    --font-size-small: 16px;
    --font-size-smallest: 14px;
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    --border-radius-circle: 50%;

    /* Box Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container Widths */
    --container-sm: 540px;
    --container-md: 720px;
    --container-lg: 960px;
    --container-xl: 1140px;
    --container-xxl: 1320px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base HTML Elements */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: var(--font-size-small);
    color: var(--gray-900);
    line-height: 1.6;
    background-color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5em;
    color: var(--gray-900);
}

h1 { font-size: var(--font-size-largest); }
h2 { font-size: var(--font-size-large); }
h3 { font-size: var(--font-size-medium); }
h4 { font-size: var(--font-size-regular); }
h5, h6 { font-size: var(--font-size-small); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--forest-green);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--deep-green);
}

/* Lists */
ul, ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Form Elements */
input, textarea, select, button {
    font-family: var(--body-font);
    font-size: var(--font-size-small);
}

button, 
input[type="submit"], 
input[type="button"] {
    cursor: pointer;
}

/* Material Icons */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}

/* SVG Icons */
.svg-icon {
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-svg-icon {
    display: inline-block;
    vertical-align: middle;
    fill: currentColor;
    transition: fill 0.3s ease, transform 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 767px) {
    :root {
        --font-size-largest: 36px;
        --font-size-large: 28px;
        --font-size-medium: 24px;
        --font-size-regular: 18px;
    }
}

@media (max-width: 320px) {
    :root {
        --font-size-largest: 32px;
        --font-size-large: 24px;
        --font-size-medium: 20px;
        --font-size-regular: 16px;
    }
} 