/*
Theme Name: Blentarps Byalag
Theme URI: https://example.com/blentarps-byalag
Author: Antigravity
Author URI: https://example.com
Description: A custom 3-column theme for Blentarps Byalag.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blentarps-byalag
*/

:root {
    --primary-color: #2c5e2e;
    /* Forest Green */
    --secondary-color: #4a7c4b;
    /* Lighter Green */
    --accent-color: #d4a373;
    /* Earthy Sand/Wood */
    --text-color: #333333;
    --bg-color: #f9f9f7;
    /* Off-white/Paper */
    --white: #ffffff;
    --border-color: #e0e0e0;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--white);
    border-bottom: 4px solid var(--primary-color);
    padding: 20px 0;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.site-logo {
    max-height: 100px;
    width: auto;
}

.site-branding {
    text-align: left;
}

.site-header h1 {
    font-size: 3rem;
    margin-bottom: 0.1em;
    line-height: 1.1;
}

.site-header h1 a {
    color: var(--primary-color);
    text-decoration: none;
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    font-family: var(--font-heading);
}

/* Layout */
.main-container {
    display: grid;
    grid-template-columns: 250px 1fr 250px;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

/* Left Column - Menu */
.left-column {
    /* Removed visual styles to allow multiple boxes */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-box {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.menu-box h3 {
    font-size: 1.1rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.vertical-menu {
    list-style: none;
}

.vertical-menu li {
    margin-bottom: 10px;
}

.vertical-menu a {
    display: block;
    padding: 8px 12px;
    background-color: #f0f4f0;
    border-radius: 4px;
    color: var(--text-color);
    font-weight: 600;
}

.vertical-menu a:hover,
.vertical-menu .current-menu-item>a {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* Middle Column - Content */
.middle-column {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 20px;
}

/* Right Column - Quick Links & Info */
.right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--accent-color);
    margin-bottom: 20px;
}

.widget h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.widget ul {
    list-style: none;
}

.widget ul li {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* Form Styles (for Widgets) */
input[type="text"],
input[type="email"],
input[type="search"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    margin-bottom: 10px;
}

button,
input[type="submit"] {
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

button:hover,
input[type="submit"]:hover {
    background-color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background-color: #222;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
    margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .left-column,
    .middle-column,
    .right-column {
        width: 100%;
    }

    .site-header h1 {
        font-size: 2rem;
    }
}