:root {
  --main-color: #4ba2bd;
  --secondary-color: #e3f2fd;
  --light-color:#fff;
  --text-dark: #333;
  --text-light: #eee;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    line-height: 1.6;
    color: var(--text-dark);
}

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

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

.nowrap {
    white-space: nowrap;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-list a:hover {
    color: var(--main-color);
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('RES/hero.jpg') no-repeat center center/cover;
    padding: 120px 0 120px;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--light-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    color: var(--light-color);
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Wave */
.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-svg {
    width: 100%;
    height: 100px;
    display: block;
    overflow: hidden;
}

.wave {
    fill: color-mix(in srgb, var(--main-color) 30%, transparent);
    will-change: transform;
}

.w1 { animation: wave-move 24s linear infinite; animation-delay: -8s; }
.w2 { animation: wave-move 18s linear infinite; animation-delay: -2s; }
.w3 { animation: wave-move 14s linear infinite; animation-delay: -5s; }

@keyframes wave-move {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1000px); }
}

/* Main Content Sections */
main {
    background: var(--main-color);
}

.section {
    padding: 80px 0;
}

.section h2,
.event-card h3,
.opening-hours h3,
.donation-text .opening-hours h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

/* Grid Layouts */
.article-content,
.contact-grid,
.donation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-grid,
.donation-grid {
    align-items: start;
}

.donation-grid {
    align-items: stretch;
}

.article-image {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.article-text h2 {
    text-align: left;
}

.article-text p,
.donation-text .opening-hours p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Section Backgrounds */
.about,
main {
    background: var(--main-color);
}

.events,
.contact {
    background: var(--secondary-color);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.event-card {
    background: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.event-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-date {
    display: block;
    color: var(--main-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.opening-hours h3,
.donation-text .opening-hours h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.opening-hours ul {
    list-style: none;
}

.opening-hours li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--text-light);
    color: var(--text-dark);
}

.opening-hours li span:first-child {
    font-weight: 600;
}

.contact-intro {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.contact-details,
.donation-text .contact-details {
    margin-top: 20px;
}

.contact-details p,
.donation-text .contact-details p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-details a,
.map-container small a {
    color: var(--main-color);
    text-decoration: none;
}

.contact-details a:hover,
.map-container small a:hover {
    text-decoration: underline;
}

.contact-details strong,
.donation-text .contact-details strong {
    color: var(--text-dark);
}

.map-container {
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.donation-map iframe {
    height: 300px;
    filter: grayscale(0.2) contrast(1.1);
}

.map-container small {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: var(--text-dark);
}

/* Donation Section */
.donation-section {
    margin-top: 60px;
    background: var(--light-color);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.donation-section h2 {
    margin-bottom: 30px;
    color: var(--text-dark);
}

.donation-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.donation-text .contact-details p {
    color: var(--text-dark);
    margin-top: 20px;
}

.donation-map .map-link {
    display: block;
    position: relative;
}

.donation-map .map-link::after {
    content: "Open map";
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--main-color);
    color: var(--light-color);
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.donation-map .map-link:hover::after {
    opacity: 1;
}

.donation-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    background: var(--main-color);
    color: var(--light-color);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid var(--light-color);
    padding: 20px 0;
    text-align: center;
    color: var(--light-color);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .logo {
        display: none;
    }

    .nav-list a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .hero {
        padding: 80px 0 100px;
        min-height: 500px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .article-content,
    .contact-grid,
    .donation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-image img {
        height: 250px;
    }

    .article-text h2 {
        text-align: center;
    }

    .events-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .donation-image {
        max-height: 400px;
    }
}


