/* NC Strawberry Festival - Memories Gallery */
.ncsf-memories-wrap {
    --strawberry-red: #E63946;
    --strawberry-dark: #C1121F;
    --leaf-green: #588157;
    --leaf-dark: #3A5A40;
    --cream: #FDF8F3;
    --warm-white: #FFFCF7;
    --gold: #E9C46A;
    --text-dark: #2B2118;
    --text-muted: #6B5B4F;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}
.ncsf-memories-wrap *, .ncsf-memories-wrap *::before, .ncsf-memories-wrap *::after { box-sizing: border-box; }

/* Hero */
.ncsf-memories-wrap .hero { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--strawberry-red) 0%, var(--strawberry-dark) 100%); overflow: hidden; }
.ncsf-memories-wrap .hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%); }
.ncsf-memories-wrap .strawberry-float { position: absolute; font-size: 4rem; opacity: 0.15; animation: ncsf-m-float 6s ease-in-out infinite; }
.ncsf-memories-wrap .strawberry-float:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.ncsf-memories-wrap .strawberry-float:nth-child(2) { top: 60%; left: 8%; animation-delay: 1s; font-size: 3rem; }
.ncsf-memories-wrap .strawberry-float:nth-child(3) { top: 20%; right: 10%; animation-delay: 2s; }
.ncsf-memories-wrap .strawberry-float:nth-child(4) { top: 70%; right: 5%; animation-delay: 0.5s; font-size: 5rem; }
.ncsf-memories-wrap .strawberry-float:nth-child(5) { top: 40%; left: 3%; animation-delay: 1.5s; font-size: 2.5rem; }
.ncsf-memories-wrap .strawberry-float:nth-child(6) { bottom: 15%; right: 15%; animation-delay: 2.5s; font-size: 3.5rem; }
@keyframes ncsf-m-float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(5deg); } }
.ncsf-memories-wrap .hero-content { position: relative; z-index: 2; text-align: center; padding: 2rem; max-width: 800px; }
.ncsf-memories-wrap .hero-badge { display: inline-block; background: var(--gold); color: var(--text-dark); padding: 0.5rem 1.5rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; margin-bottom: 1.5rem; animation: ncsf-m-slideDown 0.8s ease-out; }
.ncsf-memories-wrap .hero h1 { font-family: 'Fraunces', serif; font-size: clamp(2.5rem, 7vw, 4.5rem); color: white; font-weight: 700; line-height: 1.1; margin-bottom: 1rem; animation: ncsf-m-slideUp 0.8s ease-out; }
.ncsf-memories-wrap .hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 550px; margin: 0 auto; animation: ncsf-m-slideUp 0.8s ease-out 0.2s backwards; }
@keyframes ncsf-m-slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ncsf-m-slideDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
.ncsf-memories-wrap .wave-divider { position: absolute; bottom: 0; left: 0; right: 0; height: 100px; overflow: hidden; }
.ncsf-memories-wrap .wave-divider svg { position: absolute; bottom: 0; width: 100%; height: 100%; }

/* Shared */
.ncsf-memories-wrap .container { max-width: 1300px; margin: 0 auto; }
.ncsf-memories-wrap .section-header { text-align: center; margin-bottom: 3rem; }
.ncsf-memories-wrap .section-tag { display: inline-block; color: var(--leaf-green); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
.ncsf-memories-wrap .section-title { font-family: 'Fraunces', serif; font-size: clamp(2rem, 5vw, 3rem); color: var(--text-dark); font-weight: 700; }

/* Gallery Section */
.ncsf-memories-wrap .gallery-section { padding: 5rem 2rem; background: var(--cream); }
.ncsf-memories-wrap .gallery-grid { columns: 4; column-gap: 1rem; }
.ncsf-memories-wrap .gallery-item { break-inside: avoid; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ncsf-memories-wrap .gallery-item:hover { transform: scale(1.02); box-shadow: 0 12px 30px rgba(0,0,0,0.15); }
.ncsf-memories-wrap .gallery-item img { width: 100%; display: block; }
.ncsf-memories-wrap .gallery-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.3) 100%); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.ncsf-memories-wrap .gallery-item:hover::after { opacity: 1; }

@media (max-width: 1100px) { .ncsf-memories-wrap .gallery-grid { columns: 3; } }
@media (max-width: 768px) { .ncsf-memories-wrap .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .ncsf-memories-wrap .gallery-grid { columns: 1; } }

/* Lightbox */
.ncsf-memories-wrap .lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 99999; justify-content: center; align-items: center; padding: 2rem; }
.ncsf-memories-wrap .lightbox-overlay.active { display: flex; }
.ncsf-memories-wrap .lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); object-fit: contain; }
.ncsf-memories-wrap .lightbox-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; line-height: 1; opacity: 0.8; transition: opacity 0.2s; z-index: 100000; }
.ncsf-memories-wrap .lightbox-close:hover { opacity: 1; }
.ncsf-memories-wrap .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: white; font-size: 2rem; cursor: pointer; padding: 0.5rem 1rem; border-radius: 8px; transition: background 0.2s; z-index: 100000; }
.ncsf-memories-wrap .lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.ncsf-memories-wrap .lightbox-prev { left: 1.5rem; }
.ncsf-memories-wrap .lightbox-next { right: 1.5rem; }

/* CTA */
.ncsf-memories-wrap .cta-section { padding: 5rem 2rem; text-align: center; background: var(--warm-white); }
.ncsf-memories-wrap .cta-content { max-width: 600px; margin: 0 auto; }
.ncsf-memories-wrap .cta-content h2 { font-family: 'Fraunces', serif; font-size: clamp(2rem, 4vw, 2.75rem); color: var(--text-dark); margin-bottom: 1rem; }
.ncsf-memories-wrap .cta-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; }
.ncsf-memories-wrap .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2rem; border-radius: 50px; font-weight: 600; text-decoration: none; font-size: 1rem; transition: all 0.3s ease; }
.ncsf-memories-wrap .btn-primary { background: var(--strawberry-red); color: white; box-shadow: 0 4px 20px rgba(230,57,70,0.3); }
.ncsf-memories-wrap .btn-primary:hover { background: var(--strawberry-dark); transform: translateY(-2px); box-shadow: 0 6px 25px rgba(230,57,70,0.4); }
.ncsf-memories-wrap .btn-secondary { background: white; color: var(--text-dark); border: 2px solid var(--text-dark); }
.ncsf-memories-wrap .btn-secondary:hover { background: var(--text-dark); color: white; }
.ncsf-memories-wrap .btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
