/* === Basis === */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fffdf9;
    color: #333;
    scroll-behavior: smooth;
}

/* === Thai-Style Headlines === */
h1, h2, h3 {
    font-family: 'Noto Serif Thai', serif;
    color: #b45f06;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* === Navigation === */
.main-nav {
    background-color: #fff0e0;
    padding: 10px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.main-nav li a {
    text-decoration: none;
    color: #b45f06;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
}

.main-nav li a:hover {
    background-color: #ffe2c2;
}

/* === Banner/Header === */
.hero {
    text-align: center;
    background-color: #000;
    position: relative;
}

.banner-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.overlay {
    padding: 40px 20px;
    background-color: #fff;
}

.overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1.2rem;
    margin: 0;
}

/* === Intro === */
.intro-text {
    max-width: 800px;
    margin: 50px auto 30px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 0 20px;
    color: #444;
}

/* === Video === */
.video-section {
    background-color: #000;
    color: #fff;
    padding: 60px 20px 40px;
    text-align: center;
}

.video-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.video-section p {
    font-size: 1rem;
    color: #ffd9b5;
    margin-bottom: 30px;
}

.video-wrapper {
    max-width: 960px;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* === Galerie === */
.gallery-section {
    padding: 60px 20px 20px;
}

.gallery-section > h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #b45f06;
}

.gallery-block {
    margin: 40px auto;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    max-width: 1100px;
    text-align: center;
}

.gallery-block h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.lightgallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.lightgallery img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lightgallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

/* === Login === */
#login-screen {
    background: #eee;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.login-box h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-family: 'Noto Serif Thai', serif;
    color: #b45f06;
}

#password-input {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff9900;
    border: none;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #cc7a00;
}

#login-error {
    color: red;
    margin-top: 10px;
}

/* === Mobile === */
@media (max-width: 768px) {
    .overlay h1 {
        font-size: 1.8rem;
    }

    .video-section h2,
    .gallery-block h2 {
        font-size: 1.5rem;
    }

    .lightgallery img {
        max-width: 100%;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 8px;
    }
}

/* --- Navigation --- */
.main-nav {
    background-color: #fff0e0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

.logo {
    font-family: 'Noto Serif Thai', serif;
    font-size: 1.2rem;
    color: #b45f06;
}

/* --- Nav Links Desktop --- */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #b45f06;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background 0.2s;
}

.nav-links li a:hover {
    background-color: #ffe2c2;
}

/* --- Burger Button --- */
.burger {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: #b45f06;
    cursor: pointer;
}

/* --- Mobile Menü --- */
@media (max-width: 768px) {
    .burger {
        display: block;
        z-index: 10001;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #fff0e0;
        width: 200px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        border-radius: 8px;
        overflow: hidden;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links li {
        text-align: right;
        padding: 12px 15px;
    }

    .nav-links li a {
        display: block;
        width: 100%;
    }
}
/* Galerie anfangs versteckt */
.hidden-gallery {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hidden-gallery.visible {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    opacity: 1;
}

/* Button */
.show-gallery-btn {
    background-color: #ff9900;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.show-gallery-btn:hover {
    background-color: #cc7a00;
}


.lightgallery-container {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.lightgallery-container.visible {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    opacity: 1;
}

.lightgallery-container img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.lightgallery-container img:hover {
    transform: scale(1.05);
}
