﻿/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #2c4a3e;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

/* Navbar */
.navbar {
    background: #ffffff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2c4a3e;
    text-decoration: none;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: #333;
        font-weight: 600;
        transition: color 0.3s;
    }

        .nav-links a:hover {
            color: #7cb342;
        }

.btn-primary {
    background-color: #2c4a3e;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

    .btn-primary:hover {
        background-color: #7cb342;
    }

/* AUTOMATIC HERO SLIDER */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroCrossfade 15s infinite;
    z-index: 1;
}

    .hero-bg:nth-child(1) {
        animation-delay: 0s;
    }

    .hero-bg:nth-child(2) {
        animation-delay: 5s;
    }

    .hero-bg:nth-child(3) {
        animation-delay: 10s;
    }

@keyframes heroCrossfade {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    43% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

    .hero-content h1 {
        font-size: 3.5rem;
        color: #fff;
        margin-bottom: 20px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero-content p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 30px;
        color: #fff;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

.btn-large {
    background-color: #7cb342;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
}

    .btn-large:hover {
        background-color: #558b2f;
    }

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.activities-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

/* Heritage Section */
.heritage .image-content img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Activities Section */
.activities {
    background-color: #f4f7f6;
}

.activity-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 0 1 calc(33.333% - 30px);
    min-width: 280px;
    max-width: 350px;
}

    .activity-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-bottom: 3px solid #7cb342;
    }

.activity-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    /* Removed object-position to center all images naturally */
    display: block;
}

.activity-content {
    padding: 20px;
}

/* Pure CSS Photo Gallery Slider */
.gallery-section {
    background-color: #2c4a3e;
    color: white;
    padding: 60px 0;
}

    .gallery-section h2 {
        color: white;
        margin-bottom: 30px;
    }

.gallery-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

    .gallery-container::-webkit-scrollbar {
        height: 8px;
    }

    .gallery-container::-webkit-scrollbar-thumb {
        background: #7cb342;
        border-radius: 4px;
    }

.gallery-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}

    .gallery-slide img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    }

/* Events Section */
.events {
    background-color: #fff;
}

    .events h2 {
        margin-bottom: 10px;
    }

.subtitle {
    margin-bottom: 40px;
    color: #666;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.event-date {
    background: #2c4a3e;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

    .event-date .month {
        display: block;
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .event-date .day {
        display: block;
        font-size: 1.8rem;
        font-weight: bold;
    }

.event-details {
    flex-grow: 1;
}

.btn-secondary {
    background-color: #7cb342;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
}

    .btn-secondary:hover {
        background-color: #558b2f;
    }

/* Footer */
.footer {
    background-color: #2c4a3e;
    color: #fff;
    padding: 60px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3.footer-heading {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: #ddd;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-logo-col {
    text-align: left;
}

.footer-logo {
    max-width: 120px;
    height: auto;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    display: block;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

    .social-links a {
        color: #fff;
        background-color: rgba(255,255,255,0.1);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.2rem;
    }

        .social-links a:hover {
            background-color: #7cb342;
            transform: translateY(-3px);
        }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: #aaa;
    margin: 0;
}

/* ------------------------------------------- */
/* RESPONSIVE MOBILE FIXES                     */
/* ------------------------------------------- */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .event-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .gallery-slide img {
        height: 250px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .activity-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}
