/* style.css */
:root {
    --primary-green: #386641; /* Earthy Green */
    --secondary-brown: #6A4C38; /* Rich Brown */
    --accent-sandstone: #BC6C25; /* Sandstone Orange/Brown */
    --light-background: #F0EFEB; /* Light, natural background, off-white */
    --dark-text: #2C2C2C; /* Dark grey for text */
    --light-text: #FFFFFF;
    --border-color: #D1C7BF; /* Lighter brown/grey for borders */

    --font-primary: 'Arial', sans-serif; /* Replace with a more thematic font if desired */
    --font-headings: 'Georgia', serif; /* Example heading font */
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--light-background);
    color: var(--dark-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--light-text); /* White background for logo */
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-green);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header-logo {
    height: 60px; /* Adjust as needed */
    /* If using text logo:
    font-family: 'Impact', 'Arial Black', sans-serif; /* Example for MMM logo */
    /* font-size: 2.5rem; color: #000000; */
}

/*
.logo-text { display: block; line-height: 1; }
.logo-subtext { display: block; font-size: 0.7rem; color: var(--dark-text); }
*/

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1rem;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-sandstone);
    border-bottom: 2px solid var(--accent-sandstone);
}

/* Main Content */
main {
    flex-grow: 1; /* Ensures footer stays at the bottom */
    padding-top: 20px; /* Add some space below fixed header if any */
}

#hero {
    background-color: var(--primary-green); /* Could also be a Colorado landscape image */
    /* background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/colorado-hero.jpg'); */
    /* background-size: cover; */
    /* background-position: center; */
    color: var(--light-text);
    padding: 4rem 0;
    text-align: center;
}

#hero h1 {
    font-family: var(--font-headings);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--light-text); /* Ensure h1 color for hero */
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-sandstone);
    color: var(--light-text);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #A25B1F; /* Darker sandstone */
}

h1, h2, h3 {
    font-family: var(--font-headings);
    color: var(--primary-green);
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

#featured-content {
    padding: 3rem 0;
}

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

.content-item {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Add display flex */
    flex-direction: column; /* Arrange children vertically */
}

.content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.content-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-item h3 {
    font-size: 1.5rem;
    margin: 1rem;
    color: var(--secondary-brown);
}

.content-item p {
    margin: 0 1rem 1rem;
    font-size: 0.95rem;
    flex-grow: 1; /* For consistent card height if using flex */
}

.content-item a {
    display: block;
    background-color: var(--primary-green);
    color: var(--light-text);
    text-align: center;
    padding: 0.8rem;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.content-item a:hover {
    background-color: #2A4F31; /* Darker green */
}

#colorado-inspiration {
    background-color: var(--secondary-brown);
    color: var(--light-background);
    padding: 3rem 0;
    text-align: center;
}
#colorado-inspiration h2 {
    color: var(--light-text); /* White or light color for heading on dark background */
}


/* Footer */
footer {
    background-color: var(--dark-text);
    color: var(--light-background);
    text-align: center;
    padding: 2rem 0;
    margin-top: auto; /* Pushes footer to bottom */
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 1rem;
        justify-content: center;
    }

    nav ul li {
        margin: 0 10px;
    }

    #hero h1 {
        font-size: 2.2rem;
    }
    #hero p {
        font-size: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
}

.conceptual-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the area without distortion, cropping if necessary */
    display: block; /* Removes extra space below inline elements */
}

.tutorial-image {
    width: 50%;
    height: 50%;
    object-fit: cover; /* Ensures the video covers the area without distortion, cropping if necessary */
    display: block; /* Removes extra space below inline elements */
    margin: 0 auto; /* Centers the image horizontally */
}