/* ===== GENERAL ===== */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #fffdf7;
}

a {
    text-decoration: none;
}

/* ===== HEADER ===== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5vw; /* flexible spacing that scales with screen width */
    background: transparent; /* totally transparent */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

    header.scrolled {
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    }

.logo {
    font-family: "Georgia", serif;
    font-weight: bold;
    font-size: 1.8em;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    flex-shrink: 0; /* keeps logo from shrinking */
}

/* ===== NAVIGATION ===== */
.navbar {
    position: relative;
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
}

ul {
    list-style-type: none;
}

    .nav-list li {
        position: relative;
        white-space: nowrap;
    }

    .nav-list > li > a {
        color: #ffffff;
        font-weight: 600;
        padding: 8px 12px;
        border-radius: 6px;
        transition: background 0.3s, color 0.3s;
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
        background-color: rgba(0, 0, 0, 0.25);
    }

        .nav-list > li > a:hover,
        .nav-list > li > a.active {
            /*background-color: rgba(255, 255, 255, 0.2);*/
            background-color: rgba(0, 0, 0, 0.25);
            color: #ffe28a;
        }

.logoimg {
    border-radius: 15px;
}

/* ===== SUBMENU ===== */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    min-width: 180px;
    padding: 10px 0;
    animation: fadeIn 0.2s ease-in-out;
    z-index: 100;
}

    .submenu li {
        width: 100%;
    }

    .submenu a {
        display: block;
        color: #4a3a00;
        padding: 10px 15px;
        transition: background 0.2s;
    }

        .submenu a:hover,
        .submenu a.active {
            background-color: #fff5cc;
            color: #b85c00;
        }

.dropdown:hover > .submenu {
    display: block;
}

/* ===== MOBILE MENU ===== */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    margin-left: 15px;
}

@media (max-width: 900px) {
    header {
        padding: 10px 20px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        width: 35px;
        height: 25px;
        cursor: pointer;
    }


        .menu-toggle::before,
        .menu-toggle::after,
        .menu-toggle span {
            content: "";
            position: absolute;
            left: 0;
            width: 100%;
            height: 4px;
            background-color: #ffffff;
            border-radius: 4px;
            transition: transform 0.3s, opacity 0.3s;
        }

        .menu-toggle span {
            top: 10px;
        }

        .menu-toggle::before {
            top: 0;
        }

        .menu-toggle::after {
            bottom: 0;
        }

        .menu-toggle.active::before {
            transform: translateY(10px) rotate(45deg);
        }

        .menu-toggle.active::after {
            transform: translateY(-10px) rotate(-45deg);
        }

        .menu-toggle.active span {
            opacity: 0;
        }

    .nav-list {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.97);
        position: absolute;
        top: 70px;
        right: 0;
        width: 230px;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65);
        animation: fadeSlideIn 0.3s ease forwards;
        overflow: hidden;
    }

        .nav-list.active {
            display: flex;
            animation: fadeSlideIn 0.35s ease forwards;
        }

        .nav-list > li {
            width: 100%;
            text-align: left;
        }

            .nav-list > li > a {
                display: block;
                color: #4a3a00;
                padding: 12px 20px;
                border-bottom: 1px solid #f2d57e;
                text-shadow: none;
            }

    .submenu {
        position: static;
        background: #fffaf0;
        box-shadow: none;
        border-radius: 0;
        padding-left: 10px;
    }

    .dropdown:hover > .submenu {
        display: none; /* disable hover on mobile */
    }

    .dropdown.open > .submenu {
        display: block;
        animation: slideDown 0.25s ease forwards;
    }
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Smooth dropdown slide-in effect */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Entire mobile menu fade-in slide-down */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-15px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HOME SECTION ===== */
.home-section {
    background: url('combbackground_flip.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* ===== EVENTS SECTION ===== */
.events-section {
    padding: 100px 20px;
    background-color: #fff8dc;
    text-align: center;
    min-height: 100vh;
}

/* ===== FOOTER ===== */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    position: relative;
    bottom: 0;
    width: 100%;
}
/* ===== EVENTS PAGE ===== */

.events-section {
    background: linear-gradient(to bottom, #fffdf8 0%, #fff4cc 100%);
    min-height: 100vh;
    padding: 120px 5vw 60px;
    color: #3a2b00;
}

    .events-section h1 {
        font-family: "Georgia", serif;
        font-size: 2.5em;
        text-align: center;
        margin-bottom: 15px;
        color: #b85c00;
    }

    .events-section .intro {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 40px;
        font-size: 1.1em;
        color: #5c4a00;
    }

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.event-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }

    .event-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

.event-content {
    padding: 20px;
}

    .event-content h2 {
        margin-top: 0;
        font-size: 1.4em;
        color: #a35c00;
    }

    .event-content p {
        margin: 8px 0;
    }

    .event-content .date {
        font-weight: bold;
        color: #704000;
        margin-top: 10px;
    }

.top-img {
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.photo-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
    margin: 40px auto;
    max-width: 900px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.photo-container img {
    /*width: 260px;*/
    height: auto;
    border: 1px solid black;
    border-radius: 12px;
    object-fit: cover;
}

.photo-container .content {
    flex: 1;
    text-align: center;
}

.photo-container.right {
    flex-direction: row-reverse;
}

.photo-container h2 {
    font-size: 20px;
}

/* Optional: smooth responsive stacking */
@media (max-width: 768px) {
    .photo-container,
    .photo-container.right {
        flex-direction: column;
        text-align: center;
    }

    .photo-container img {
        width: 100%;
        max-width: 400px;
    }
}


/*.picholder {
    width: 960px;
    height: 330px;
}
.pic {
  float: left;
  padding: 5px;
 }

.rightpic {
    float: right;
    padding: 5px;
}
*/