/* CRITICAL CSS - Above-the-fold content only */
/* This CSS is inlined in <head> for faster initial render */

/* CSS Variables - Essential for all styling */
: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: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --body-font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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;
}

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

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

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;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

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

a:hover, a:focus {
    color: var(--deep-green);
    text-decoration: underline;
}

/* Critical Container System */
.container,
.container-fluid {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
    box-sizing: border-box;
}

.container {
    max-width: none;
}



/* Critical Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(var(--spacing-md) * -0.5);
    margin-left: calc(var(--spacing-md) * -0.5);
}

.col {
    flex: 1;
    padding-right: calc(var(--spacing-md) * 0.5);
    padding-left: calc(var(--spacing-md) * 0.5);
}

.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Critical Header Styles */
.site-header {
    background-color: var(--deep-green);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0 !important;
    padding: 0 !important;
}

/* Header background overlay */
.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/wp-content/themes/pursue-life-outdoors/assets/images/header/pursue-life-outdoors-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
    z-index: -1;
}

/* Header container styles moved to layout.css for responsive control */

.site-logo {
    display: flex;
    flex-direction: column;
}

/* All header styles moved to layout.css for centralized responsive control */

/* Header icon styles moved to layout.css for responsive control */

/* Critical Search Icon */
.search-icon {
    /* Inherits header-icon styles */
}

/* Critical Buttons */
.btn,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary,
input[type="submit"] {
    background-color: #2a7d2e;
    color: #fff;
    border-color: #2a7d2e;
}

.btn-primary:hover,
.btn-primary:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
    background-color: #216b24;
    border-color: #216b24;
    color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #2a7d2e;
    border-color: #2a7d2e;
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: #2a7d2e;
    color: #fff;
}

/* Critical Hero Section */
.hero-section {
    position: relative;
    height: 35vh;
    min-height: auto;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

@media (min-width: 768px) {
    .hero-section {
        height: 35vh;
    }
}

.hero-slider {
    position: relative;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
}

picture {
    margin: 0;
    display: block;
}

.site-main {
    margin: 0 !important;
    padding: 0 !important;
}

main {
    margin: 0 !important;
    padding: 0 !important;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    max-width: var(--container-xl);
    padding: 2rem var(--spacing-md);
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.hero-content h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 0, 0, 0.5);
    display: inline-block;
    padding: 0.5rem 1rem;
    position: relative;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.3);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.hero-content p {
    color: #fff;
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}


/* Critical Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 35vh;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin: 0 0 1rem 0;
    }

    .hero-content p {
        font-size: 1.125rem;
        margin: 0 0 2rem 0;
    }

}

/* Phone viewport adjustments */
@media (max-width: 480px) {
    .hero-content h1 {
        display: none;
        font-size: 1.5rem;
        margin: 0 0 1rem 0;
        padding: 0.25rem 0.75rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin: 0 0 2rem 0;
        padding: 0.25rem 0.75rem;
    }

}

/* Critical focus styles for accessibility */
*:focus {
    outline: 2px solid var(--forest-green);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999999;
    padding: 8px 16px;
    background: var(--deep-green);
    color: white;
    text-decoration: none;
}

.skip-link:focus {
    left: 6px;
    top: 7px;
}
