/* Base -------------------------------------------------------- */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f3f3;
    color: #222;
}

/* Layout ------------------------------------------------------ */

.layout {
    display: flex;
    height: 100vh;
}



.site-title {
    font-size: 1.9rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-btn {
    padding: 12px 15px;
    font-size: 1rem;
    border: 1px solid #aaa;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.menu-btn:hover {
    background: #eee;
}

/* Content ----------------------------------------------------- */

.content {
    flex: 1;
    /* overflow-y: auto; */
}

/* Gallery ----------------------------------------------------- */

.gallery {
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* Lightbox ---------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* Utility ----------------------------------------------------- */

.hidden {
    display: none;
}

/* Snow -------------------------------------------------------- */

.snowflake {
    position: fixed;
    top: -20px;
    color: #fff;
    font-size: 14px;
    pointer-events: none;
    z-index: 10000;
    animation: fall linear forwards;
    text-shadow: 0 0 6px rgba(255,255,255,.9);
}

@keyframes fall {
    to { transform: translateY(120vh); }
}

#snow-ground {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 1001;

}

#snow-path {
    fill: #fff;
    filter: drop-shadow(0 -6px 12px rgba(255,255,255,.8));
}

#snow-border {
    fill: none;
    stroke: #669ffc;
    stroke-width: 0.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#snowman {
    position: fixed;
    left: 90%;
    transform: translateX(-50%);
    visibility: hidden;
    width: 120px;
    pointer-events: none;
    z-index: 10001;

    bottom: 0; /* will be updated by JS */
}


/* Desktop */
.sidebar {
    width: 220px;
    background: #fff;
    border-right: 1px solid #ddd;
    padding: 20px;
    transition: transform 0.3s ease;
    z-index: 1000;
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        transform: translateY(0);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .sidebar--hidden {
        transform: translateY(-100%);
    }

    .content {
        padding-top: 80px;
    }
}
