/*
Theme Name: Kopal Battalion Theme
Theme URI: https://example.com/
Author: ChatGPT
Description: Custom minimalist theme with hero image and green sections inspired by Feld-Jäger battalion site.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: kopal-battalion
*/

body {
    margin: 0;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    background-color: #111;
    color: #fff;
}

a {
    color: #f5f5f5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Top narrow green bar */
.top-bar {
    background-color: #264818;
    color: #f5f5f5;
    padding: 4px 20px;
    font-size: 14px;
}

/* Main header */
.site-header {
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 24px;
}

.main-navigation a {
    position: relative;
    padding-bottom: 4px;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #4caf50;
    transition: width 0.2s ease-in-out;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Hero section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 700;
}

/* Green text block */
.green-block {
    background-color: #264818;
    padding: 80px 10vw;
    font-size: 22px;
    line-height: 1.6;
}

/* Image band */
.image-band {
    width: 100%;
}

.image-band img {
    display: block;
    width: 100%;
    height: auto;
}

/* Two-column section */
.two-column {
    background-color: #264818;
    color: #ffffff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    padding: 80px 10vw;
    text-align: center;
}

.two-column h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background-color: #111;
    color: #ccc;
    padding: 20px 40px;
    text-align: center;
    font-size: 14px;
}
