/* ===== CORE STYLES ===== */
/* Essential resets, variables, and base styles shared across all templates */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;500;600;700&display=swap');

/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Font */
    --font-family: 'Bricolage Grotesque', sans-serif;

    /* Primary Colors — SINGLE SOURCE OF TRUTH */
    --primary-color: #FF4D00;
    --primary-hover: #E64500;
    --secondary-color: rgb(65, 63, 141);
    --secondary-hover: rgb(55, 53, 121);

    /* Border & Background */
    --border-color: #dfe1e5;
    --hover-border: #dadce0;
    --background: #ffffff;
    --card-bg: #ffffff;

    /* Text Colors */
    --text-primary: #202124;
    --text-secondary: #5f6368;

    /* Shadows */
    --shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    --shadow-hover: 0 2px 8px rgba(32, 33, 36, 0.35);

    /* Link Color */
    --link-color: rgb(255, 77, 0);

    /* Status Colors */
    --success-color: #34a853;
    --error-color: #ea4335;
    --warning-color: #fbbc04;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;

    /* Theme Variables (overridden by theme selectors) */
    --theme-bg: transparent;
    --theme-accent: rgb(65, 63, 141);
    --theme-text: #000000;
}

/* ===== TYPOGRAPHY BASE ===== */
body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== ELEMENT RESETS ===== */

/* Button reset */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Input reset */
input,
textarea,
select {
    font-family: inherit;
    border: none;
    outline: none;
}

/* Global link styles */
a {
    text-decoration: none;
    color: var(--link-color);
}

a:hover {
    text-decoration: underline;
}

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

/* List reset */
ul,
ol {
    list-style: none;
}

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

/* Screen reader only - accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Desktop only visibility */
.desktop-only {
    display: none;
}

@media (min-width: 769px) {
    .desktop-only {
        display: block;
    }
}

/* Mobile only visibility */
.mobile-only {
    display: block;
}

@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

/* ===== MOBILE FOOTER ===== */
/* (Removed `.footer-left { display:none }` — it hid the copyright on mobile. The footer
   copyright must stay visible; footer layout is handled in common.css.) */
