/* Base Styles - Bloghash Inspired
-------------------------------------------------------------- */

:root {
    /* Colors */
    --gpc-primary: #35b5f4;
    --gpc-secondary: #002050;
    /* Specific Bloghash dark navy text color */
    --gpc-accent: #10b981;
    --gpc-white: #ffffff;
    --gpc-black: #000000;
    --gpc-gray: #64748b;
    --gpc-gray-light: #e2e8f0;
    --gpc-background: #f7f8f9;

    /* Typography */
    --gpc-font-sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --gpc-line-height: 1.75;
    /* Closer to 28px/16px */

    /* Spacing */
    --gpc-spacing-xs: 0.5rem;
    --gpc-spacing-sm: 1rem;
    --gpc-spacing-md: 1.5rem;
    --gpc-spacing-lg: 2rem;
    --gpc-spacing-xl: 3rem;

    /* Border Radius */
    --gpc-radius-sm: 0.375rem;
    --gpc-radius-md: 0.5rem;
    --gpc-radius-lg: 1rem;
    --gpc-radius-full: 9999px;

    /* Shadows */
    --gpc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --gpc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --gpc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --gpc-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--gpc-font-sans);
    font-size: 1rem;
    line-height: var(--gpc-line-height);
    color: var(--gpc-secondary);
    background-color: var(--gpc-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: var(--gpc-spacing-sm);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gpc-secondary);
}

h1 {
    font-size: 2.25rem;
}

h2 {
    font-size: 1.875rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: var(--gpc-spacing-sm);
}

/* Links */
a {
    color: var(--gpc-primary);
    text-decoration: none;
    transition: var(--gpc-transition);
}

a:hover {
    color: var(--gpc-secondary);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--gpc-radius-md);
}

/* Lists */
ul,
ol {
    padding-left: var(--gpc-spacing-md);
    margin-bottom: var(--gpc-spacing-sm);
}

/* Selection */
::selection {
    background-color: var(--gpc-primary);
    color: var(--gpc-white);
}

/* Focus */
:focus-visible {
    outline: 2px solid var(--gpc-primary);
    outline-offset: 2px;
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}