/* ============================================================
   CINEMATIC BOARDWALK CLAY ORGANIZATION — FOREST EDITION
   ============================================================ */

/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Great+Vibes&display=swap');

/* GLOBAL */
body {
    margin: 0;
    padding: 0;
    font-family: 'Marcellus', serif;
    background: #0b0f0b;
    color: #e8ffe8;
    overflow-x: hidden;
}

/* FALLING LEAVES */
@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 1; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

body::before {
    content: "🍃 🍂 🍁 🍃 🍂 🍁 🍃 🍂 🍁 🍃 🍂 🍁 🍃 🍂 🍁 🍃 🍂 🍁 🍃 🍂";
    position: fixed;
    top: -10vh;
    left: 0;
    width: 100%;
    font-size: 24px;
    animation: fall 14s linear infinite;
    pointer-events: none;
    opacity: 0.25;
    z-index: 0;
}

/* HEADER */
header {
    background: linear-gradient(to right, #0a2e0a, #145214);
    padding: 22px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1f7a1f;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    color: #d4ffd4;
    text-shadow: 0 0 10px #1f7a1f;
}

/* BURGER */
.burger {
    font-size: 34px;
    cursor: pointer;
    color: #d4ffd4;
    text-shadow: 0 0 6px #1f7a1f;
}

/* NAV */
nav {
    display: none;
    flex-direction: column;
    background: #0a2e0a;
    padding: 20px;
    border-bottom: 2px solid #1f7a1f;
}

nav a {
    color: #e8ffe8;
    text-decoration: none;
    padding: 12px 0;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #9aff9a;
    text-shadow: 0 0 6px #2fa02f;
}

/* CATEGORY BUTTONS */
.category {
    background: linear-gradient(145deg, #145214, #0f3d0f);
    padding: 22px;
    margin: 25px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 22px;
    transition: 0.3s;
    border: 1px solid #1f7a1f;
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.15);
    position: relative;
}

.category::after {
    content: "🌿";
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 22px;
    opacity: 0.8;
}

.category:hover {
    background: #1f7a1f;
    box-shadow: 0 0 18px rgba(0, 255, 0, 0.25);
    transform: scale(1.02);
}

/* INFO BOX */
.content-box {
    display: none;
    background: rgba(26, 26, 26, 0.92);
    padding: 30px;
    margin: 20px 25px 60px;
    border-radius: 16px;
    border: 1px solid #2fa02f;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.25);
    font-size: 19px;
    line-height: 1.7;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* BUTTONS */
button {
    background: linear-gradient(145deg, #1f7a1f, #145214);
    border: none;
    padding: 14px 24px;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

button:hover {
    background: #2fa02f;
    box-shadow: 0 0 16px rgba(0, 255, 0, 0.35);
    transform: scale(1.03);
}

/* POPUPS */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 20;
}

.popup-content {
    background: #1a1a1a;
    padding: 35px;
    border-radius: 18px;
    width: 80%;
    max-width: 520px;
    border: 1px solid #2fa02f;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.25);
    font-size: 18px;
}
