:root {
    --bg-color: #1a1a1a;
    --text-color: #f5f5f5;
    --accent-color: #72b936;
    --card-bg: rgba(30, 30, 30, 0.8);
    --dirt-color: #79553a;
    --stone-color: #333;
    --radius: 16px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    background-color: #000;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Background Slideshow */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
}

/* Glassmorphism Header */
header {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
    text-transform: uppercase;
}

/* Main Content */
main {
    flex: 1;
    width: 100%;
    max-width: 100%;
    padding: 30px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.2);
    gap: 40px;
}

/* Map Section */
#map-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 60vh;
    min-height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-wrapper {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#map-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 300;
}

/* Gallery Section */
#gallery-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
}

h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    aspect-ratio: 16/9;
    background-color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(15px);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none !important;
    opacity: 0;
}

#lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    animation: zoomIn 0.3s forwards;
}

@keyframes zoomIn {
    to {
        transform: scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 40px;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.close-btn:hover {
    color: #fff;
}

.nav-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    transition: all 0.2s;
}

.nav-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

/* Modern Footer */
footer {
    width: 100%;
    margin-top: auto;
    position: relative;
    /* Clean gradient instead of pixel noise */
    background: linear-gradient(to bottom, #2e2e2e, #1a1a1a);
    border-top: 4px solid var(--accent-color);
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
}

.footer-content {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Removing the complex pixel layers for a cleaner look as requested */
/* Keeping it simple and modern */

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5rem;
    }

    #map-section {
        height: 50vh;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    #gallery-section {
        padding: 15px;
        border-radius: 0;
        border: none;
        background: transparent;
    }
}