﻿/* ========================================
   MAHESH SEED COMPANY - MAIN STYLESHEET
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary-green: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary-orange: #ed6c02;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
    padding-top: 80px; /* Space for fixed header */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ---------- Sticky Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    transition: var(--transition);
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 2rem;
    color: var(--primary-green);
}

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a3b1a;
    letter-spacing: 1px;
}

    .logo-text span {
        color: var(--secondary-orange);
        font-weight: 800;
    }

.header-nav {
    display: flex;
    gap: 32px;
}

    .header-nav a {
        text-decoration: none;
        font-weight: 500;
        color: #1e2f1e;
        transition: 0.2s;
        font-size: 1rem;
    }

        .header-nav a:hover {
            color: var(--secondary-orange);
        }

/* ---------- Main Content ---------- */
.main-content {
    background: #f8faf8;
    padding: 60px 5%;
    flex: 1;
}

.content-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,20,0,0.05);
    border-left: 4px solid var(--primary-green);
}

    .info-card h2 {
        font-size: 1.8rem;
        font-weight: 600;
        color: #1e3a1e;
        margin-bottom: 15px;
    }

    .info-card p {
        color: #3d4a3d;
    }

/* ---------- Footer ---------- */
.site-footer {
    background: #1a2a1a;
    color: white;
    padding: 40px 5%;
    text-align: center;
}

/* ---------- Responsive Header ---------- */
@media (max-width: 992px) {
    body {
        padding-top: 70px;
    }

    .site-header {
        height: 70px;
    }

    .header-nav {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .site-header {
        height: 60px;
        padding: 0 15px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .header-nav {
        gap: 12px;
    }

        .header-nav a {
            font-size: 0.9rem;
        }
}

@media (max-width: 576px) {
    body {
        padding-top: 55px;
    }

    .site-header {
        height: 55px;
    }

    .logo-text {
        font-size: 1rem;
    }

    .header-nav {
        gap: 8px;
    }

        .header-nav a {
            font-size: 0.8rem;
        }
}
