/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700&display=swap');

/* ==========================================================================
   Froschen Clique Minseln - Modern Carnival Website
   ========================================================================== */

/* Variables */
:root {
    --primary-color: #2d8659;
    --secondary-color: #f9c74f;
    --accent-color: #ff6b6b;
    --dark-green: #1a5a3a;
    --light-green: #90ee90;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-weight: 600;
}

a:hover {
    color: var(--dark-green);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Background Decoration */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
}

.frog-pattern {
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        45deg,
        var(--primary-color) 0px,
        var(--primary-color) 2px,
        transparent 2px,
        transparent 20px
    );
}

/* Confetti Particles */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti 10s linear infinite;
}

.confetti:nth-child(1) {
    left: 10%;
    background-color: var(--secondary-color);
    animation-delay: 0s;
    animation-duration: 12s;
}

.confetti:nth-child(2) {
    left: 20%;
    background-color: var(--accent-color);
    animation-delay: 1s;
    animation-duration: 10s;
}

.confetti:nth-child(3) {
    left: 30%;
    background-color: var(--light-green);
    animation-delay: 2s;
    animation-duration: 14s;
}

.confetti:nth-child(4) {
    left: 40%;
    background-color: var(--secondary-color);
    animation-delay: 3s;
    animation-duration: 11s;
}

.confetti:nth-child(5) {
    left: 50%;
    background-color: var(--accent-color);
    animation-delay: 4s;
    animation-duration: 13s;
}

.confetti:nth-child(6) {
    left: 60%;
    background-color: var(--light-green);
    animation-delay: 1.5s;
    animation-duration: 12s;
}

.confetti:nth-child(7) {
    left: 70%;
    background-color: var(--secondary-color);
    animation-delay: 2.5s;
    animation-duration: 10s;
}

.confetti:nth-child(8) {
    left: 80%;
    background-color: var(--accent-color);
    animation-delay: 3.5s;
    animation-duration: 14s;
}

.confetti:nth-child(9) {
    left: 90%;
    background-color: var(--light-green);
    animation-delay: 4.5s;
    animation-duration: 11s;
}

.confetti:nth-child(10) {
    left: 15%;
    background-color: var(--secondary-color);
    animation-delay: 5s;
    animation-duration: 13s;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-green) 100%);
    background-size: 200% 200%;
    color: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    pointer-events: none;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.logo {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9c74f;
    transform: rotate(45deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    box-shadow: inset 0 0 0 3px #e6b84a;
    flex-shrink: 0;
    margin: 0 16px;
}

.logo img {
    width: 115px;
    height: 115px;
    transform: rotate(-45deg);
    display: block;
    object-fit: contain;
}

.site-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-left: auto;
}

/* Navigation */
.main-nav {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
}

.nav-list li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.4);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 3rem 0;
}

.content-wrapper {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 2rem;
    min-height: 500px;
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--secondary-color);
}

/* News Section */
.news-section {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
    animation: fadeIn 0.5s ease-in;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(249, 199, 79, 0.3);
    background-color: rgba(249, 199, 79, 0.05);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item h3 {
    color: var(--dark-green);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
    background-color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 500;
}

.news-item img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: var(--shadow);
}

.news-content {
    line-height: 1.8;
    color: var(--text-light);
}

.news-content p {
    margin-bottom: 1rem;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Content Pages */
.content-page h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.content-page h3 {
    color: var(--dark-green);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-page p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-page img {
    display: block;
    max-width: 600px;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.content-page figcaption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Contact & Board */
.contact-grid,
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card,
.board-member {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-card:hover,
.board-member:hover {
    transform: translateY(-8px) rotate(1deg) scale(1.03);
    box-shadow: 0 15px 35px rgba(45, 134, 89, 0.25), 0 5px 15px rgba(249, 199, 79, 0.2);
    background-color: var(--white);
}

.contact-card h3,
.board-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.queen-item {
    text-align: center;
    background-color: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.queen-item:hover {
    transform: translateY(-8px) rotate(-2deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(249, 199, 79, 0.4), 0 10px 20px rgba(255, 107, 107, 0.2);
    background-color: var(--white);
}

.queen-item img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.queen-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

/* Footer */
.site-footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 2rem 0;
    margin-top: auto;
}

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

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

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

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social a {
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
    color: var(--dark-green);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(249, 199, 79, 0.4);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-20px) translateX(10px);
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
    }
    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

@keyframes confetti {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0.3;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header h1 {
        font-size: 1.8rem;
    }

    .tagline {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    .header-content {
        justify-content: center;
        text-align: center;
    }

    .nav-toggle {
        display: block;
        margin: 1rem 0;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list li a {
        display: block;
        width: 100%;
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .news-item h3 {
        font-size: 1.4rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 70px;
        height: 70px;
    }

    .logo img {
        width: 75px;
        height: 75px;
    }

    .site-header h1 {
        font-size: 1.5rem;
    }

    .content-wrapper {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .main-nav,
    .site-footer,
    .nav-toggle {
        display: none;
    }

    body {
        background: white;
    }

    .content-wrapper {
        box-shadow: none;
    }
}
