/* =========================
   GLOBAL
========================= */

body {
    margin: 0;
    overflow: hidden;
    font-family: Georgia, serif;
}

/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;
    inset: 0;
    background-image: url("plannerBckgnd.png");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* =========================
   CENTER CHARACTER (NIA)
========================= */

.center-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

#nia {
    width: clamp(180px, 25vw, 320px);
    display: block;
}

/* =========================
   BUTTON BASE (shared styles)
========================= */

.planner-button,
.tables-button {
    position: absolute;
    width: clamp(90px, 14vw, 220px);
    text-align: center;
    text-decoration: none;
    color: #2f1f0f;
    z-index: 2;
}

/* Individual positions */
.planner-button {
    top: 35%;
    left: 15%;
}

.tables-button {
    top: 55%;
    right: 15%;
}

/* Images */
.planner-button img,
.tables-button img {
    width: 100%;
    transition: transform 0.2s ease, filter 0.2s ease;
}

/* Hover effects */
.planner-button:hover img,
.tables-button:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px gold);
}

/* =========================
   LABEL
========================= */

.label {
    margin-top: 8px;
    background: rgba(255, 248, 220, 0.9);
    padding: 6px 10px;
    border-radius: 6px;
    display: none;
    font-size: 0.9em;
}

.planner-button:hover .label,
.tables-button:hover .label {
    display: block;
}

/* =========================
   MOBILE FIX
========================= */

@media (max-width: 768px) {

    /* Move Nia slightly up */
    .center-container {
        top: 40%;
    }

    /* Stack buttons vertically */
    .planner-button {
        top: 70%;
        left: 50%;
        transform: translateX(-50%);
    }

    .tables-button {
        top: 85%;
        left: 50%;
        transform: translateX(-50%);
    }
}