/* ===================================

CSS Variables / Custom Properties

=================================== */

:root {

/* Brand Colors [cite: 204-215] */

--color-primary: #8B4513; /* Saddle Brown */

--color-secondary: #DAA520; /* Prairie Gold */

--color-text: #2F2F2F; /* Charcoal */

--color-bg: #F5F5DC; /* Cream/Canvas */

--color-white: #FFFFFF; /* Clean White */

--color-border: #A9A9A9; /* Warm Gray */


/* Typography [cite: 216-248] */

--font-display: 'Archivo', sans-serif;

--font-body: 'Merriweather', serif;


/* Spacing & Layout */

--container-width: 1100px;

--header-height: 100px;

}



/* ===================================

Base Styles & Reset

=================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }



body {

background-color: var(--color-white);

color: var(--color-text);

font-family: var(--font-body);

line-height: 1.6;

font-size: 18px;

}



a { text-decoration: none; color: inherit; transition: 0.3s ease; }

img { max-width: 100%; display: block; }



/* ===================================

Typography

=================================== */

h1, h2, h3, h4 {

font-family: var(--font-display);

color: var(--color-primary);

font-weight: 700;

text-transform: uppercase;

line-height: 1.1;

margin-bottom: 1rem;

}



h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }

h2 { font-size: 2.25rem; }

h3 { font-size: 1.5rem; color: var(--color-text); }



/* ===================================

Navigation (Sticky)

=================================== */

.nav {

position: sticky;

top: 0;

background: var(--color-white);

border-bottom: 4px solid var(--color-primary);

z-index: 1000;

padding: 0 2rem;

height: var(--header-height);

display: flex;

align-items: center;

box-shadow: 0 2px 10px rgba(0,0,0,0.05);

}



.nav-container {

max-width: var(--container-width);

width: 100%;

margin: 0 auto;

display: flex;

justify-content: space-between;

align-items: center;

}



/* Logo Lockup [cite: 262] */

.logo { display: flex; align-items: center; gap: 1rem; }

.logo-mark { height: 50px; width: auto; }

.logo-text {

border-left: 1px solid var(--color-border);

padding-left: 1rem;

display: flex;

flex-direction: column;

}

.dr-name { font-family: var(--font-display); font-weight: 900; font-size: 1rem; line-height: 1; color: var(--color-text); }

.dr-title { font-family: var(--font-body); font-style: italic; font-size: 0.8rem; color: var(--color-primary); margin-top: 4px; }



/* Nav Links */

.nav-links { display: flex; gap: 2.5rem; list-style: none; }

.nav-links a {

font-family: var(--font-display);

font-weight: 600;

font-size: 0.9rem;

text-transform: uppercase;

letter-spacing: 0.05em;

position: relative;

color: var(--color-text);

}

.nav-links a.active { color: var(--color-primary); }

.nav-links a::after {

content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px;

background: var(--color-primary); transition: width 0.3s;

}

.nav-links a:hover::after { width: 100%; }



/* Mobile Toggle */

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

.nav-toggle span { display: block; width: 25px; height: 3px; background: var(--color-primary); margin: 5px 0; }



/* ===================================

Components

=================================== */

.container { max-width: var(--container-width); margin: 0 auto; padding: 4rem 20px; }



/* Buttons [cite: 351-353] */

.btn {

display: inline-block;

background: var(--color-primary);

color: var(--color-bg);

padding: 16px 36px;

font-family: var(--font-display);

font-weight: 700;

text-transform: uppercase;

letter-spacing: 0.05em;

border: 2px solid var(--color-primary);

cursor: pointer;

transition: all 0.3s ease;

}

.btn:hover { background: var(--color-text); border-color: var(--color-text); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.btn-outline { background: transparent; color: var(--color-primary); padding: 12px 28px; }

.btn-outline:hover { background: var(--color-primary); color: var(--color-bg); transform: translateY(-2px); }



/* Heritage Card [cite: 327-331, 354-357] */

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }

.card {

background: var(--color-bg);

border: 1px solid var(--color-border);

padding: 2.5rem;

border-radius: 4px;

transition: all 0.3s ease;

display: flex;

flex-direction: column;

align-items: flex-start;

}

.card:hover { transform: translateY(-5px); border-color: var(--color-primary); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.card h3 { margin-bottom: 1rem; }

.card p { margin-bottom: 1.5rem; flex-grow: 1; }



/* ===================================

Page Headers with Images (NEW)

=================================== */

/* Common Header Styles */

.page-header {

position: relative;

color: var(--color-white);

text-align: center;

display: flex;

align-items: center;

justify-content: center;

background-size: cover;

background-position: center;

background-repeat: no-repeat;

}

/* Overlay to ensure text readability */

.page-header::before {

content: '';

position: absolute;

top: 0; left: 0; right: 0; bottom: 0;

background: linear-gradient(to bottom, rgba(47,47,47,0.5), rgba(139,69,19,0.7)); /* Charcoal to Saddle Brown gradient */

z-index: 1;

}

.header-content { position: relative; z-index: 2; max-width: 800px; padding: 2rem; }

.header-content h1 { color: var(--color-white); margin-bottom: 1.5rem; }

.header-content p { font-size: 1.35rem; font-weight: 300; color: rgba(255,255,255,0.9); }



/* Specific Header Backgrounds */

/* Update this section in style.css */



.hero-home {
    height: 85vh;
    min-height: 600px;
    background-image: url('images/hero-kansas.jpg'); 
    background-position: center top;
}



.header-about {

height: 50vh;

min-height: 400px;

background-image: url('/images/about-cattle.jpg'); /* Cattle & Windmill */

}



.header-blog {

height: 50vh;

min-height: 400px;

background-image: url('/images/blog-tractor.jpg'); /* Tractor */

background-position: center bottom; /* Focus on the tractor/ground */

}





/* ===================================

Other Page Specifics

=================================== */

/* Blog Post Page */

.blog-post { max-width: 720px; margin: 0 auto; }

.blog-meta {

color: var(--color-primary);

font-family: var(--font-display);

font-weight: 600;

font-size: 0.9rem;

text-transform: uppercase;

letter-spacing: 0.05em;

margin-bottom: 1.5rem;

display: block;

position: relative;

padding-left: 1.5rem;

}

.blog-meta::before {

content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);

width: 1rem; height: 2px; background: var(--color-secondary);

}



/* Footer */

.footer { background: var(--color-text); color: var(--color-bg); text-align: center; padding: 4rem 0; margin-top: 6rem; }

.footer p { opacity: 0.8; font-size: 0.9rem; }



/* ===================================

Responsive

=================================== */

@media (max-width: 768px) {

.nav-toggle { display: block; }

.nav-links {

display: none;

flex-direction: column;

position: absolute;

top: var(--header-height);

left: 0;

width: 100%;

background: var(--color-white);

padding: 2rem;

border-bottom: 4px solid var(--color-primary);

box-shadow: 0 10px 10px rgba(0,0,0,0.1);

}

.nav-links.active { display: flex; }

.nav-links a { font-size: 1.1rem; padding: 0.5rem 0; }


.hero-home { height: 70vh; }

h1 { font-size: 2.75rem; }

.header-content p { font-size: 1.1rem; }

.btn { width: 100%; text-align: center; }

}