/* ===========================
   Global Styles
=========================== */

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

:root {
    --bg: #f6fff5;
    --primary: #ffe66d;
    --accent: #2f855a;
    --text: #2a2a2a;       /* darker for better readability */
    --muted: #555555;      /* improved contrast */
    --card-radius: 14px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;      /* MATCH ABOUT PAGE */
    font-size: 1.08rem;    /* GLOBAL FONT SIZE BOOST */
}

section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

/* ===========================
   Header + Navbar
=========================== */

header {
    background-color: #64af69;
    box-shadow: var(--shadow);
    padding: 0.4rem 1.4rem;          /* ↓ smaller header height */
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.2rem;
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

/* LEMON SOCIETY – MUCH BIGGER ON DESKTOP */
header h1 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2.9rem;               /* ↑ increased a lot */
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
    color: #1f2933;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

header p {
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.17em;
    color: #e6fffa;
}

/* NAVIGATION – SMALLER BUTTONS / TEXT */

nav {
    display: flex;
    gap: 1.1rem;                     /* ↓ slightly tighter */
    align-items: center;
}

nav a {
    text-decoration: none;
    font-size: 0.9rem;               /* ↓ smaller than before (was 1rem) */
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f7fafc;
    padding: 0.3rem 0.7rem;          /* ↓ less padding */
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background-color: rgba(255,255,255,0.04);
    transition:
        background-color .15s ease,
        color .15s ease,
        transform .1s ease;
}

nav a:hover {
    background-color: #ffe66d;
    color: #1a202c;
    transform: translateY(-1px);
}

nav a.active {
    background-color: #ffe66d;
    color: #1a202c;
    font-weight: 700;
    border-color: rgba(0,0,0,0.3);
}

/* ===========================
   Hamburger Menu
=========================== */

.hamburger {
    display: none;
    width: 28px;                      /* a bit smaller */
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger div {
    height: 3px;
    background-color: #f7fafc;
}

/* ===========================
   Mobile Navbar
=========================== */

@media (max-width: 720px) {

    header {
        padding: 0.35rem 0.9rem;      /* ↓ smaller header on mobile */
    }

    .header-left {
        max-width: 75%;
        gap: 0;
    }

    /* MOBILE TITLE – STILL BIG, BUT NOT OVERKILL */
    header h1 {
        font-size: 2.1rem;           /* ↑ bigger than before, but fits */
        letter-spacing: 0.04em;      /* some spacing, not too much */
    }

    header p {
        font-size: 0.78rem;
        letter-spacing: 0.08em;
    }

    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 54px;
        right: 12px;
        width: 190px;
        background-color: white;
        flex-direction: column;
        padding: 0.7rem;
        border-radius: 12px;
        display: none;
        box-shadow: var(--shadow);
    }

    nav.open {
        display: flex;
    }

    nav a {
        width: 100%;
        text-align: left;
        font-size: 0.85rem;          /* ↓ smaller nav text on mobile */
        padding: 0.5rem 0.45rem;
        border: none;
        background: none;
        color: #1a202c;
    }

    nav a.active {
        background-color: #e2e8f0;
        color: #111827;
    }
}

/* ===========================
   Headings (Global)
=========================== */

h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

/* ===========================
   Utility
=========================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
