/* Color Scheme Variables */
:root {
    --gold-accent: #d3a844;
    --blue-primary: #2D3B6F;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #ffffff;
    --background-gray: #f5f5f5;
}

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

body {
    font-family: "Momo Trust Sans", sans-serif;
    font-optical-sizing: auto;
    color: var(--text-dark);
    background-color: var(--background-light);
    line-height: 1.6;
}

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

a:hover {
    opacity: 0.7;
}

/* Typography - Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: "Stack Sans Headline", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Header Styles */
.site-header {
    background-color: var(--blue-primary);
    border-bottom: 3px solid var(--gold-accent);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--background-light);
}

.logo-image {
    height: 50px;
    width: auto;
    display: block;
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--background-light);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-accent);
    opacity: 1;
}

/* Style "Lid worden" button */
.nav-item:last-child .nav-link {
    background-color: #b8922e;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.nav-item:last-child .nav-link:hover {
    background-color: #a17f25;
    color: white;
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--gold-accent);
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--background-light);
    display: block;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    min-height: 60vh;
}

.hero-section {
    text-align: center;
    padding: 40px 0;
}

.hero-section h1 {
    font-size: 48px;
    color: var(--blue-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section h1,
.page-content h1 {
    white-space: nowrap;
}

.hero-section p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--gold-accent);
    color: white;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #c09838;
    opacity: 1;
}

/* Hero Image Styles */
.hero-image-container {
    max-width: 250px;
    margin: 60px auto 40px;
    padding: 0 20px;
}

.hero-image {
    width: 100%;
    height: auto;
}

/* Content Section Styles */
.content-section {
    text-align: center;
}

.page-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-content h1 {
    color: var(--blue-primary);
    font-size: 48px;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-content h2 {
    color: var(--blue-primary);
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content a {
    color: var(--gold-accent);
    font-weight: 600;
}

.page-content .email-link {
    cursor: default;
}

.page-content .email-link.email-revealed {
    cursor: pointer;
}

.content-section h2 {
    color: var(--blue-primary);
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.content-section h3 {
    color: var(--blue-primary);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-section p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.content-section ul {
    margin: 20px 0;
    padding-left: 20px;
}

.content-section li {
    margin: 10px 0;
    line-height: 1.8;
}

.content-section strong {
    color: var(--blue-primary);
    font-weight: 700;
}

/* Footer Styles */
.site-footer {
    background-color: var(--blue-primary);
    border-top: 3px solid var(--gold-accent);
    padding: 50px 0 20px;
    margin-top: 60px;
}

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

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: var(--gold-accent);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.member-entry {
    margin: 4px 0;
    font-size: 14px;
    line-height: 1.4;
}

.member-entry em {
    font-style: italic;
    font-weight: 300;
}

.contact-info a {
    color: var(--gold-accent);
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

.email-link {
    cursor: default;
}

.email-link.email-revealed {
    cursor: pointer;
}

.footer-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-link {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: var(--gold-accent);
    opacity: 1;
}

.footer-social-link .social-icon {
    color: var(--gold-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .header-left {
        flex: 1;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .main-navigation {
        order: 3;
        width: 100vw;
        margin-top: 20px;
        margin-left: calc(-50vw + 50%);
        display: none;
    }

    .main-navigation.active {
        display: flex;
        justify-content: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        padding: 10px 0;
        align-items: center;
    }

    .nav-item {
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: 12px 20px;
    }

    .hero-section h1 {
        font-size: 36px;
        white-space: normal;
    }

    .page-content h1 {
        font-size: 36px;
        white-space: normal;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Activities Page Styles */
.activities-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.activities-section {
    margin-top: 60px;
}

.activities-section h2 {
    color: var(--blue-primary);
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.activities-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.activity-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.activity-card {
    background-color: var(--background-light);
    border: 2px solid var(--gold-accent);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.activity-card-link:hover .activity-card {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.activity-card-link:hover {
    opacity: 1;
}

.activity-date {
    color: var(--gold-accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.activity-title {
    color: var(--blue-primary);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.activity-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    margin-bottom: 12px;
}

.activity-location {
    color: var(--blue-primary);
    font-size: 14px;
    line-height: 1.4;
}

.location-name {
    font-weight: 600;
}

.location-address {
    font-weight: 400;
    color: var(--text-light);
}

/* Activity Detail Page Styles */
.activity-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.activity-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.activity-detail-header h1 {
    color: var(--blue-primary);
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.activity-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.activity-detail-meta .activity-date {
    font-size: 16px;
}

.activity-detail-meta .activity-location {
    text-align: center;
}

.activity-detail-image {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.activity-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.activity-detail-content {
    line-height: 1.8;
    font-size: 18px;
    margin-bottom: 40px;
}

.activity-detail-content h2 {
    color: var(--blue-primary);
    font-size: 32px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.activity-detail-content h3 {
    color: var(--blue-primary);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.activity-detail-content p {
    margin-bottom: 20px;
}

.activity-detail-content ul,
.activity-detail-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.activity-detail-content li {
    margin: 10px 0;
}

.activity-gallery {
    margin-bottom: 40px;
}

.activity-gallery h2 {
    color: var(--blue-primary);
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--gold-accent);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.activity-detail-back {
    text-align: center;
    margin-top: 60px;
}

.back-button {
    display: inline-block;
    background-color: var(--blue-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: var(--gold-accent);
    opacity: 1;
}

/* Opening Hours Table */
.opening-hours-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.opening-hours-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 600px;
    background-color: var(--background-light);
    border: 2px solid var(--gold-accent);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.opening-hours-table thead {
    background-color: var(--blue-primary);
    color: white;
}

.opening-hours-table th {
    padding: 15px 20px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
}

.opening-hours-table th:last-child {
    text-align: right;
}

.opening-hours-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.opening-hours-table tbody tr:last-child {
    border-bottom: none;
}

.opening-hours-table tbody tr:nth-child(even) {
    background-color: var(--background-gray);
}

.opening-hours-table td {
    padding: 20px;
    font-size: 16px;
    vertical-align: top;
}

.opening-hours-table td:first-child {
    color: var(--blue-primary);
}

.opening-hours-table td:last-child {
    text-align: right;
    color: var(--text-dark);
    font-weight: 600;
}

.opening-hours-table em {
    color: var(--gold-accent);
    font-size: 14px;
    font-style: normal;
}

@media (max-width: 768px) {
    .activities-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .activity-card {
        padding: 20px;
    }

    .activities-section h2 {
        font-size: 28px;
    }

    .activity-detail-header h1 {
        font-size: 36px;
    }

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

    .opening-hours-table {
        max-width: 100%;
    }

    .opening-hours-table th,
    .opening-hours-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
}
