/* ============================================
   WANNA GO NUTZZ - Main Stylesheet
   Bright kids cartoon theme
   ============================================ */

:root {
    --yellow:   #FFD700;
    --orange:   #FF6B00;
    --red:      #FF2244;
    --green:    #00CC44;
    --blue:     #0099FF;
    --purple:   #9933FF;
    --pink:     #FF44AA;
    --white:    #FFFFFF;
    --dark:     #1A1A2E;
    --bg:       #FFF9E6;
    --card-bg:  #FFFFFF;
    --radius:   16px;
    --shadow:   0 4px 20px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--dark);
    min-height: 100vh;
}

/* ---- HEADER ---- */
.site-header {
    background: linear-gradient(135deg, var(--orange), var(--red));
    padding: 0 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.main-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s, transform 0.1s;
    border: 2px solid transparent;
}
.nav-link:hover, .nav-link.active {
    background: var(--yellow);
    color: var(--dark);
    transform: scale(1.05);
}
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    border-radius: 8px;
    padding: 0.25rem 0.6rem;
    cursor: pointer;
    position: absolute;
    right: 1rem;
}

/* ---- PAGE HERO ---- */
.page-hero {
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
    letter-spacing: 0.02em;
}
.page-hero p {
    font-size: 1.2rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

/* ---- MAIN CONTENT ---- */
.main-content { min-height: 60vh; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* ---- CARDS ---- */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }

/* ---- HOME PAGE ---- */
.home-hero {
    background: linear-gradient(135deg, var(--red), var(--orange));
    text-align: center;
    padding: 3rem 1.5rem;
}
.home-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.home-hero .tagline {
    font-size: 1.2rem;
    color: white;
    margin-top: 0.75rem;
    opacity: 0.9;
}
.home-logo { height: 120px; margin-bottom: 1rem; }
.hero-sign { max-width: 2100px; width: 95%; height: auto; display: block; margin: 0 auto; }

.videos-section {
    background: var(--dark);
    padding: 4rem 1.5rem;
}
.videos-section h2 {
    text-align: center;
    color: var(--yellow);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 900;
    text-transform: uppercase;
}
.video-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.video-card {
    background: #2a2a3e;
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid var(--orange);
}
.video-card h3 {
    color: var(--yellow);
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.backstory-section {
    background: var(--dark);
    padding: 4rem 1.5rem;
}
.backstory-section h2 {
    text-align: center;
    color: var(--yellow);
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}
.backstory-text {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
}
.backstory-text strong {
    color: var(--yellow);
    font-weight: 800;
}

/* ---- CREATOR PAGE ---- */
.creator-hero {
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
}
.creator-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.creator-hero p {
    font-size: 1.2rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.creator-bio-section {
    background: var(--dark);
    padding: 4rem 1.5rem;
}
.creator-bio-inner {
    max-width: 1050px;
    margin: 0 auto;
    overflow: hidden;
}
.bio-img-float {
    float: left;
    width: 350px;
    max-width: 90vw;
    margin: 0 2.5rem 1.5rem 0;
    border-radius: var(--radius);
    border: 4px solid var(--orange);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    display: block;
}
.creator-bio-inner h2 {
    color: var(--yellow);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    letter-spacing: 0.03em;
}
.creator-bio-inner p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.88);
    margin-bottom: 1rem;
}
.creator-bio-inner strong {
    color: var(--yellow);
    font-weight: 800;
}

.creator-family-section {
    background: var(--dark);
    padding: 0 1.5rem 4rem;
    border-top: 3px solid rgba(255,255,255,0.08);
}
.creator-family-section h2 {
    text-align: center;
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    padding-top: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}
.creator-family-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
@media (max-width: 900px) {
    .creator-family-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .creator-family-grid { grid-template-columns: 1fr; }
}
.creator-family-card {
    background: #2a2a3e;
    border-radius: var(--radius);
    overflow: hidden;
    border: 3px solid var(--orange);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.2s;
    cursor: pointer;
}
.creator-family-card:hover { transform: translateY(-4px); }
.creator-family-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.creator-family-card p {
    padding: 0.85rem 1rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
}

/* ---- IMAGE MODAL ---- */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.image-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.2s;
}
.image-modal-close:hover { color: var(--orange); }
.image-modal-content {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.image-modal-caption {
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    text-align: center;
    max-width: 800px;
}

/* ---- HEADBUZZ PAGE ---- */
.headbuzz-hero {
    background: linear-gradient(135deg, var(--red), var(--orange));
    text-align: center;
    padding: 3rem 1.5rem;
    color: white;
}
.headbuzz-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.headbuzz-hero p {
    font-size: 1.2rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.headbuzz-content {
    background: var(--dark);
    padding: 4rem 1.5rem;
}
.headbuzz-text {
    max-width: 1200px;
    margin: 0 auto 3rem;
}
.headbuzz-text h2 {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
}
.headbuzz-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
}

.headbuzz-video {
    max-width: 800px;
    margin: 0 auto;
}
.headbuzz-video h3 {
    color: var(--orange);
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.headbuzz-video .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.headbuzz-video .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---- COMMUNITY PAGE ---- */
.community-hero {
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: white;
    text-align: center;
    padding: 3rem 1.5rem;
}
.community-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.community-hero p {
    font-size: 1.2rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.community-content {
    background: var(--dark);
    padding: 4rem 1.5rem;
}
.fundraising-chart-container {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.community-text {
    max-width: 1200px;
    margin: 0 auto;
}
.community-text h2 {
    color: var(--yellow);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-align: center;
}
.community-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.88);
}

/* ---- SIGHTINGS PAGE ---- */
.sightings-hero {
    background: linear-gradient(135deg, var(--red), var(--orange));
    text-align: center;
    padding: 3rem 1.5rem;
    color: white;
}
.sightings-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.sightings-hero p {
    font-size: 1.2rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.sightings-content {
    background: var(--dark);
    padding: 4rem 1.5rem;
    min-height: 60vh;
}
.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.album-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    border: 3px solid var(--orange);
}
.album-card:hover { transform: translateY(-4px); }
.album-cover {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}
.album-info {
    padding: 0.75rem 1rem;
    background: var(--orange);
    color: white;
}
.album-info h3 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}
.album-info .count {
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-header {
    color: white;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.5);
}
.lightbox-title { font-size: 1.2rem; font-weight: 800; color: var(--yellow); }
.lightbox-close {
    background: var(--red);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 900;
    transition: background 0.2s;
}
.lightbox-close:hover { background: var(--orange); }
.lightbox-viewer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
    position: relative;
}
.lightbox-viewer img {
    max-width: 100%;
    max-height: calc(100vh - 180px);
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
.lightbox-nav {
    position: absolute;
    background: rgba(128,128,128,0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    cursor: pointer;
    font-weight: 900;
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding-bottom: 5px;
}
.lightbox-nav:hover {
    background: rgba(100,100,100,0.95);
    transform: scale(1.1);
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
    color: white;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.5);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

/* ---- CHARACTERS PAGE ---- */
.characters-hero {
    background: linear-gradient(135deg, var(--red), var(--orange));
    text-align: center;
    padding: 3rem 1.5rem;
    color: white;
}
.characters-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}
.characters-hero p {
    font-size: 1.2rem;
    margin-top: 0.75rem;
    opacity: 0.9;
}

.characters-content {
    background: var(--dark);
    padding: 4rem 1.5rem;
}
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.character-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    border: 4px solid var(--yellow);
    transition: transform 0.2s;
}
.character-card:hover { transform: translateY(-6px); }
.character-card:nth-child(2) { border-color: var(--pink); }
.character-card:nth-child(3) { border-color: var(--orange); }
.character-card:nth-child(4) { border-color: var(--green); }
.character-card:nth-child(5) { border-color: var(--blue); }
.character-card:nth-child(6) { border-color: var(--purple); }
.character-img {
    background: linear-gradient(135deg, #fff9e6, #ffe0b2);
    padding: 2rem 1rem 1rem;
}
.character-img img {
    height: 320px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.15));
}
.character-info { padding: 1.25rem; }
.character-info h3 {
    display: none;
}
.character-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2.5rem 1rem;
}
.footer-logo { height: 60px; margin-bottom: 1rem; opacity: 0.9; }
.footer-tagline {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}
.footer-copy { font-size: 0.85rem; opacity: 0.6; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding-bottom: 1rem;
    }
    .main-nav.open { display: flex; }
    .nav-link { text-align: center; }
    .bio-img-float { float: none; width: 100%; max-width: 400px; margin: 0 auto 1.5rem auto; }
}
