/* ============================================================
   BOARDWALK CLAY ORGANIZATION — FOREST CINEMATIC EDITION (v4)
   ============================================================ */

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

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

* {
    transition: 0.25s ease;
}

/* ============================================================
   INDEX PAGE BACKGROUND
   ============================================================ */
body.index-page {
    background-image: url('/images/bco-logo-back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

@media (min-width: 900px) {
    body.index-page {
        background-attachment: fixed;
    }
}

@supports (-webkit-touch-callout: none) {
    body.index-page {
        background-attachment: scroll !important;
    }
}

/* ============================================================
   LOGO
   ============================================================ */
.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,255,0,0.35);
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: linear-gradient(to right, #3b2a1a, #145214);
    padding: 22px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #2fa02f;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Great Vibes', cursive;
    font-size: 40px;
    color: #f4ffe8;
    text-shadow: 0 0 12px #2fa02f;
}

header::after {
    content: "🍃 🍂 🍁";
    position: absolute;
    right: 20px;
    bottom: 5px;
    opacity: 0.25;
    font-size: 22px;
}

/* ============================================================
   BURGER MENU
   ============================================================ */
.burger {
    font-size: 34px;
    cursor: pointer;
    color: #f4ffe8;
    text-shadow: 0 0 6px #2fa02f;
    z-index: 25;
}

/* ============================================================
   MOBILE SLIDE MENU
   ============================================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100%;
    background: rgba(10,20,10,0.95);
    backdrop-filter: blur(6px);
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: left 0.3s ease;
    z-index: 9999;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu a {
    color: #e8ffe8;
    text-decoration: none;
    padding: 14px 20px;
    font-size: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a:hover {
    background: rgba(255,255,255,0.1);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
    display: none;
    flex-direction: column;
    background: rgba(20,35,20,0.95);
    padding: 20px;
    border-bottom: 2px solid #2fa02f;
    z-index: 19;
}

nav a {
    color: #e8ffe8;
    text-decoration: none;
    padding: 12px 0;
    font-size: 20px;
}

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

@media (min-width: 900px) {
    nav {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        gap: 22px;
        background: rgba(20,35,20,0.85);
        border: none;
    }
}

/* ============================================================
   CATEGORY BUTTONS — FIXED (NO MORE YELLOW)
   ============================================================ */
.category {
    background: linear-gradient(145deg, #2f4d2f, #1e351e);
    color: #e8ffe8;
    padding: 24px;
    margin: 28px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 26px;
    font-weight: 700;
    border: 2px solid rgba(0,255,0,0.25);
    box-shadow: 0 0 14px rgba(0,255,0,0.25);
}

.category:hover {
    background: linear-gradient(145deg, #3a6a3a, #244a24);
    transform: scale(1.03);
}

/* ============================================================
   CONTENT BOXES — BROWN TRANSPARENT
   ============================================================ */
.content-box,
.hidden-content {
    display: none;
    background: rgba(60, 40, 20, 0.78);
    backdrop-filter: blur(6px);
    padding: 35px;
    margin: 15px 28px 60px;
    border-radius: 20px;
    border: 1px solid #2fa02f;
    box-shadow: 0 0 22px rgba(0,255,0,0.25);
    font-size: 22px;
    line-height: 1.8;
    animation: fadeIn 0.4s ease-out;
}

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

/* ============================================================
   BUTTONS — BRIGHTER FOR INDEX + ALL PAGES
   ============================================================ */
button {
    background: linear-gradient(145deg, #3fcf3f, #1c7f1c);
    border: none;
    padding: 16px 26px;
    border-radius: 14px;
    color: white;
    cursor: pointer;
    font-size: 20px;
    margin-top: 12px;
    box-shadow: 0 0 12px rgba(0,255,0,0.25);
}

button:hover {
    background: #4fff4f;
    box-shadow: 0 0 18px rgba(0,255,0,0.45);
    transform: scale(1.05);
}

/* ============================================================
   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: 30;
}

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