:root {
    --primary: #2d5a27;
    /* Deep green */
    --primary-light: #5ba654;
    /* Leaf green */
    --accent: #d4a373;
    /* Earthy/Wood */
    --bg-paper: #f9f7f1;
    /* Papyrus base */
    --text: #2f3e46;
    --text-light: #52796f;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ── Reset & Base ───────────────────────────────────── */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-paper);
    /* Subtle noise texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ── Layout Utilities ───────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-alt {
    background: rgba(45, 90, 39, 0.05);
}

/* Wavy Dividers */
.wave {
    position: absolute;
    width: 100%;
    height: 50px;
    left: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: cover;
}

.wave-top {
    top: -49px;
    transform: rotate(180deg);
}

.wave-bottom {
    bottom: -49px;
}

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── Hero ───────────────────────────────────────────── */
.hero {
    position: relative;
    padding-top: 140px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.9), rgba(91, 166, 84, 0.8)), url('/uploads/assets/hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 0 0 50px 50px;
    /* Rounded bottom for modern look */
    margin-bottom: 40px;
}

.hero::after {
    /* Organic shape at bottom */
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f9f7f1' fill-opacity='1' d='M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,261.3C960,256,1056,224,1152,197.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
    border: 5px solid rgba(255, 255, 255, 0.2);
}

.hero-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #c08e5d;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary);
    margin-left: 10px;
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* ── Shortcuts ──────────────────────────────────────── */
.shortcuts {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.shortcuts-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.shortcut-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

.shortcut-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--primary);
}

.shortcut-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.shortcut-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.shortcut-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ── Events ─────────────────────────────────────────── */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.event-img {
    height: 180px;
    position: relative;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.event-desc {
    font-size: 0.95rem;
    color: var(--text);
    flex-grow: 1;
    margin-bottom: 20px;
}

.event-footer {
    margin-top: auto;
}

/* ── Gallery ────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ── Sponsors ───────────────────────────────────────── */
.sponsor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.sponsor-logo {
    height: 60px;
    opacity: 1;
    transition: 0.3s;
}

.sponsor-logo:hover {
    transform: scale(1.1);
    opacity: 0.85;
}

/* ── Footer ─────────────────────────────────────────── */
footer {
    background: #1a2f1b;
    color: #a3bfa5;
    padding: 60px 0 20px;
    position: relative;
    margin-top: 50px;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 51px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231a2f1b' fill-opacity='1' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    /* Flip to match footer top */
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: white;
    margin-left: 5px;
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Add JS toggle later */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-img {
        transform: none;
        height: 250px;
    }

    .nav-toggle {
        display: block;
    }
}