/* style.css - Kichepa Enterprise Global Responsive Stylesheet */

:root {
    --primary-green: #1b5e20; /* Deep Agricultural Green */
    --accent-gold: #e6a100;   /* Rich Grain Gold */
    --dark-text: #212121;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --font-main: 'Segoe UI', Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.7;
    color: var(--dark-text);
    background-color: var(--white);
}

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

/* Header & Sticky Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-container img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

/* Hero Sections */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 160px 0;
    color: var(--white);
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
}

.cta-button {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--accent-gold);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s, background-color 0.3s;
}

.cta-button:hover {
    background-color: #cc8f00;
    transform: translateY(-2px);
}

/* Sections & Structural Layouts */
section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.15rem;
    color: #666;
}

/* Feature & Product Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

/* Enhanced Cards */
.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    height: 240px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card-content p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
}

.card-meta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
}

/* Content Blocks */
.text-block h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.text-block p {
    margin-bottom: 20px;
    color: #444;
}

.image-block img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    object-fit: cover;
}

/* Footer Section */
footer {
    background-color: #113313;
    color: #e0e0e0;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-left: 3px solid var(--accent-gold);
    padding-left: 10px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Responsive Mobile Rules */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.8rem; }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        gap: 15px;
        text-align: center;
    }
    
    .nav-links.active { display: flex; }
    .menu-toggle { display: flex; }
    .hero { padding: 100px 0; }
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
}
