/*---------------------------------------
Global setting for unified Georgia font
---------------------------------------*/

body {
    font-family: "Georgia", "Times New Roman", serif;
}


/* ---------------------------------------------------------
   Expressive Navigation (Underline + Soft Glow)
--------------------------------------------------------- */

.nav {
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    
}

/* Base link styling */
.nav a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    position: relative;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    font-size: calc(0.3rem + 2.0vmin);
    font-weight: 600;
}

/* Soft glow on hover */
.nav a:hover {
    opacity: 1;
    text-shadow: 0 0 6px rgba(255,255,255,0.35);
}

/* Painterly underline */
.nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #fff, rgba(255,255,255,0.4));
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.nav a:hover::after {
    width: 60%;
}

/* Mobile: stack links vertically */
@media (max-width: 1024px) {
    .nav a {
        display: block;
        margin: 0.75rem 0;
        font-size: 1.15rem;
    }
}

#navbar-placeholder {
    min-height: 120px; /* stable for mobile/tablet */
}

