@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #92b600;
    /* Vibrant Lime from Logo */
    --primary-dark: #7a9800;
    --secondary: #edf3d8;
    /* Soft Light Green BG from user */
    --accent-yellow: #EBF47E;
    --accent-rose: #c06c68;
    /* Rose color from button */
    --text: #334155;
    --text-light: #526b51;
    --bg: var(--secondary);
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 2px 8px 0 rgba(32, 48, 60, 0.04);
    --shadow: 0 4px 20px 0 rgba(32, 48, 60, 0.08);
    --shadow-lg: 0 8px 32px 0 rgba(32, 48, 60, 0.12);
    --shadow-hover: 0 12px 40px 0 rgba(32, 48, 60, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
    /* 16px */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.logo-font {
    font-family: 'Phosphate', 'Impact', 'Bebas Neue', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: 'Phosphate', 'Impact', 'Bebas Neue', sans-serif;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
}

.centered-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.centered-box:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:focus {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-rose);
    color: white;
}

.btn-secondary:hover {
    background: #a35a56;
    color: white;
    transform: translateY(-2px);
}

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

/* Updated Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--secondary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 10px;
    transition: var(--transition-fast);
    transform-origin: left;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg);
}

nav:hover {
    box-shadow: var(--shadow);
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    letter-spacing: -1px;
    transition: var(--transition-fast);
}

.nav-logo:hover {
    color: var(--primary);
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    opacity: 1;
    color: var(--text);
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 4px;
}

.nav-login-icon {
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    opacity: 0.8;
}

.nav-login-icon:hover {
    color: var(--primary);
    opacity: 1;
    transform: scale(1.1);
}

.nav-links a:not(.btn):not(.nav-login-icon)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.section {
    padding: 3rem 0;
}

/* Home Section - Updated */
.hero-header {
    position: relative;
    width: 100%;
    margin-top: 75px;
    /* offset for fixed nav */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #000;
    /* Fallback color */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.95);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    margin-bottom: -75px;
    position: relative;
    z-index: 3;
    border-radius: 8px 8px 0 0;
}

/* Footer Section */
footer {
    background: #334155;
    color: var(--white);
    padding: 4rem 0;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.3));
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Blog/News Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
}

.blog-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.blog-card-img {
    height: 200px;
    background: #eee;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 1.5rem;
}

/* Feedback Modal - Restyled */
.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.feedback-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.feedback-modal {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition-smooth);
}

.feedback-modal-overlay.open .feedback-modal {
    transform: scale(1);
}

.modal-wide {
    max-width: 900px;
    height: 90vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.news-modal-text {
    color: var(--text-light);
    font-weight: 300;
}

.news-modal-text p, 
.news-modal-text div, 
.news-modal-text span {
    line-height: 1.8 !important;
    font-size: 1rem !important;
    font-family: 'Open Sans', sans-serif !important;
    margin-bottom: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* News Feed Specifics */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.news-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(89, 118, 66, 0.05);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-yellow);
    z-index: 5;
    opacity: 0.6;
}

/* Vertical Layout for Home Page */
.news-card.vertical {
    grid-template-columns: 1fr;
}

.news-card.vertical .news-card-img {
    height: 140px;
    min-height: auto;
}

.news-card.vertical .news-card-body {
    padding: 1.25rem;
}

.news-card.vertical .news-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
    font-family: 'Phosphate', 'Impact', 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 1px;
}

.news-card.vertical .news-card-excerpt {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 300;
}

.news-card.vertical .news-card-footer {
    padding-top: 1rem;
    font-size: 0.8rem;
}

.read-more-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-block;
    margin-top: 0.2rem;
    transition: var(--transition-fast);
}

.read-more-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.news-card-img {
    height: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
}

.news-card-body {
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: #7a3bad;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
}

.news-card-title {
    font-family: 'Phosphate', 'Impact', 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: 1px;
    font-weight: 400;
    text-transform: uppercase;
}

.news-card-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.9rem;
    color: #666;
}

.news-stats {
    display: flex;
    gap: 1.5rem;
}

.like-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #ff6b6b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    padding: 0;
}

.like-btn:hover {
    transform: scale(1.15);
}

.like-btn:active {
    transform: scale(0.95);
}

.like-btn svg {
    width: 22px;
    height: 22px;
    filter: drop-shadow(0 2px 4px rgba(255, 107, 107, 0.3));
}

/* Instagram Feed */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Elfsight Widget Overrides - To make it cleaner */
[class*="es-widget-container"],
[class*="es-header-container"],
.elfsight-app-dc258f57-a1b5-4019-9fb2-93dde09932ca {
    background-color: transparent !important;
}

/* Force light text if widget tries to be dark */
[class*="es-post-meta"],
[class*="es-post-text"] {
    color: var(--text) !important;
}

/* Change hover overlay to match our green theme instead of black */
[class*="es-post-overlay"] {
    background: rgba(89, 118, 66, 0.6) !important;
}

.instagram-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.instagram-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.instagram-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(89, 118, 66, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0;
    transition: var(--transition-smooth);
    backdrop-filter: blur(2px);
}

.instagram-item:hover .instagram-hover {
    opacity: 1;
}

@media (max-width: 900px) {
    nav {
        padding: 1rem 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition-smooth);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.open {
        right: 0;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-card-img {
        height: 250px;
        min-height: auto;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
    }

    .news-grid-home {
        grid-template-columns: 1fr;
    }

    .heading-hero {
        font-size: 2.2rem;
    }
}

/* Educational Page Styles */
.edu-header {
    text-align: center;
    margin-bottom: 4rem;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-yellow);
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition-smooth);
    text-align: center;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(89, 118, 66, 0.3);
}

.edu-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.glass-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.calendar-section {
    margin-top: 4rem;
}

.calendar-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.legend {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

/* Form Enhancements */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid rgba(89, 118, 66, 0.2);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(89, 118, 66, 0.1);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Improved Responsive Design */
@media (max-width: 768px) {
    nav {
        padding: 0.8rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    .content-narrow {
        padding: 0 0.5rem;
    }

    .hero-content h1 {
        font-size: 2rem !important;
        padding: 0 1.5rem !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .glass-card {
        padding: 1.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-headline-right {
        padding-left: 0;
        font-size: 1.8rem;
        text-align: center;
    }

    .hero-header.page-banner-home {
        height: 500px;
    }
}

/* Accessibility Improvements */
*:focus-visible {
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection Styling */
::selection {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

::-moz-selection {
    background: var(--accent-yellow);
    color: var(--primary-dark);
}

/* Loading States */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Page-specific banner heights */
.hero-header.page-banner {
    height: 300px;
}

.hero-header.page-banner-home {
    height: 600px;
}

/* Ensure video banners work consistently across all pages */
.hero-header .hero-video {
    pointer-events: none;
}

/* Admin Styles */
.feedback-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.feedback-table th,
.feedback-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.feedback-table th {
    background: var(--primary);
    color: white;
    font-family: 'Outfit', sans-serif;
}

.feedback-table tr:hover {
    background: rgba(45, 90, 39, 0.05);
}

.type-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.type-compliment {
    background: #e8f5e9;
    color: #2e7d32;
}

.type-suggestie {
    background: #fff3e0;
    color: #ef6c00;
}

.pell {
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    min-height: 200px;
}

.pell-content {
    height: 300px;
    padding: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #ddd;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
}

.admin-tab.active {
    border-bottom-color: var(--primary);
    font-weight: 600;
    color: var(--primary);
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.drop-zone {
    width: 100%;
    height: 150px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
    color: #666;
    margin-bottom: 1rem;
}

.drop-zone--over {
    border-color: var(--primary);
    background: rgba(176, 201, 42, 0.05);
    color: var(--primary);
}

.image-preview {
    width: 100%;
    height: 200px;
    border-radius: 4px;
    object-fit: cover;
    margin-top: 1rem;
    display: none;
    border: 1px solid #ddd;
}

/* Consistency Helper Classes */
.content-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.content-homewidth {
    max-width: 900px;
    margin: 0 auto;
}

/* New Story Strip Section */
.story-strip {
    background-color: #f1e0df;
    background-image: url('../img/strandeiland_map_complex.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
    background-blend-mode: multiply;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    margin: 2rem 0;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-intro-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .story-intro-grid {
        grid-template-columns: 1fr;
    }
}

.story-content-left {
    z-index: 2;
}

.story-content-left h2 {
    color: var(--text);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.story-content-left h3 {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.story-content-left p {
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.story-headline-right {
    font-family: 'Phosphate', 'Impact', sans-serif;
    font-size: 2.8rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    text-align: left;
    z-index: 2;
    padding-left: 2rem;
}

@media (max-width: 900px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .story-headline-right {
        font-size: 2.5rem;
    }
}


.heading-large,
.heading-hero {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Phosphate', sans-serif;
    color: #f1e0df !important;
}

.text-lead {
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.text-hero {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 2.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.text-subtitle {
    color: var(--text-light);
    font-size: 1rem;
}

.story-image {
    width: 100%;
    border-radius: 24px;
    margin: 0;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    transition: var(--transition-smooth);
}

.story-image:hover {
    transform: rotate(1deg) scale(1.02);
}

.story-subheading {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* Flex Utilities */
.flex-align-center {
    display: flex;
    align-items: center;
}

.gap-2 {
    gap: 1rem;
}

.dot-indoor {
    opacity: 0.4;
    background: #333;
}

.dot-outdoor {
    background: #333;
}

.text-white {
    color: var(--white);
}

/* Newsletter Styles */
#footer-newsletter-form input:focus {
    outline: 2px solid var(--primary);
    background: #fff;
}

#newsletter-footer-status {
    min-height: 1.2rem;
    font-weight: 500;
}

#subscribers-list li:hover {
    background-color: #f9f9f9;
}

/* Community Engagement Components */
.engagement-strip {
    background: var(--primary);
    padding: 4rem 0;
    margin-top: 5rem;
}

.engagement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.engagement-text {
    flex: 1;
    min-width: 300px;
}

.engagement-form {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.engagement-form input {
    flex-grow: 1;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.contact-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1500;
    transition: var(--transition-smooth);
    font-weight: 600;
}

.contact-fab:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-fab svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .engagement-content {
        flex-direction: column;
        text-align: center;
    }

    .engagement-form {
        width: 100%;
    }

    .contact-fab span {
        display: none;
    }

    .contact-fab {
        padding: 1rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

.story-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text);
    border-left: 4px solid var(--primary);
    padding: 1rem 0 1rem 1.5rem;
    margin: 2rem 0;
    background-color: rgba(var(--primary-rgb), 0.05);
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
    position: relative;
}

.story-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px;
    font-family: serif;
}

/* Playful Grid */
.playful-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.playful-grid-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playful-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.playful-grid-item img,
.playful-grid-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.playful-grid-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.playful-grid-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
}

.playful-grid-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
}

.playful-grid-item:nth-child(4) {
    grid-column: span 3;
    grid-row: span 2;
}

@media (max-width: 900px) {
    .playful-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .playful-grid-item:nth-child(1) {
        grid-column: span 2;
    }

    .playful-grid-item:nth-child(4) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 600px) {
    .playful-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .playful-grid-item:nth-child(1),
    .playful-grid-item:nth-child(2),
    .playful-grid-item:nth-child(3),
    .playful-grid-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Mobile version: Apply Phosphate Solid font */
@media (max-width: 900px) {
    h1,
    h2,
    h3,
    .logo-font,
    .news-card-title,
    .news-card.vertical .news-card-title,
    .story-headline-right,
    .heading-large,
    .heading-hero {
        font-family: 'Phosphate Solid', 'Impact', 'Bebas Neue', sans-serif;
    }
}