/*
 * nilio.css — Site-specific layout & theme styles
 * Bootstrap 5 handles resets, grid, nav, buttons, and forms.
 * This file contains only styles unique to the nilio site.
 */

/* -------------------------------------------------------
 * BASE
 * ------------------------------------------------------- */
body {
    line-height: 1.7em;
    color: #7f8c8d;
    font-size: 13px;
    background: url('/images/bluebg4.png');
}

h1, h2, h3, h4, h5, h6, label {
    color: #34495e;
}

/* -------------------------------------------------------
 * UTILITIES
 * ------------------------------------------------------- */
.clear         { clear: both; }
.is-center     { text-align: center; }
.image-center  { margin-left: auto; margin-right: auto; display: block; }
.color-white   { color: #ffffff; }
.color-black   { color: #000000; }
.color-gray    { color: #444444; }
.bold          { font-weight: bold; }

.pure-img-responsive,
.img-fluid-custom {
    max-width: 100%;
    height: auto;
}

/* -------------------------------------------------------
 * LAYOUT BOXES (padding helpers)
 * ------------------------------------------------------- */
.m-box     { padding: 0.5em; }
.l-box     { padding: 1em; }
.l-box-lrg {
    padding: 2em;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .l-box-lrg { border: none; }
}

/* -------------------------------------------------------
 * NAVBAR  (overrides Bootstrap navbar defaults)
 * ------------------------------------------------------- */
.home-menu {
    background: #537bd4;
    box-shadow: 0 1px 2px rgba(55, 55, 55, 0.50);
    padding: 5px 0;
}

.home-menu .navbar-brand,
.home-menu .nav-link {
    color: #ffffff;
}

.home-menu .nav-link:hover,
.home-menu .nav-link:focus {
    color: #ff5e00;
    font-weight: bold;
    background: none;
}

.home-menu .nav-link.active {
    color: #ff5e00!important;
}

.home-logo {
    height: 25px;
}

/* -------------------------------------------------------
 * SPLASH  (fixed hero banner on about/contact pages)
 * ------------------------------------------------------- */
.splash-container {
    background: url('/images/mariobg.png') center center / cover no-repeat;
    width: 100%;
    height: 300px;
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.splash {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 80%;
    height: 50%;
    margin: auto;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .splash { width: 50%; }
    .splash-head { font-size: 250%; }
}

@media (min-width: 1248px) {
    .splash-head { font-size: 300%; }
}

.splash-head {
    background: #0596f5;
    font-size: 20px;
    font-weight: 100;
    color: white;
    border: 3px solid white;
    padding: 1em 1.6em;
    border-radius: 5px;
    line-height: 1em;
    box-shadow: 5px 5px 5px #aaaaaa;
    text-transform: uppercase;
}

.splash-subhead {
    color: white;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

/* -------------------------------------------------------
 * CONTENT WRAPPERS
 * ------------------------------------------------------- */
/* Standard pages (no splash): just clear the fixed navbar */
.content-wrapper {
    margin-top: 50px;
}

/* Splash pages: content scrolls over the fixed splash image */
.content-wrapper-scroll {
    position: absolute;
    top: 300px;
    width: 100%;
    min-height: 100%;
    z-index: 2;
    background: white;
}

.content {
    padding: 1em 1em 3em;
}

/* -------------------------------------------------------
 * CONTENT TYPOGRAPHY
 * ------------------------------------------------------- */
.content-head {
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0.8em 0;
}

.content-head-ribbon { color: white; }

.content-subhead {
    color: #1f8dd6;
    font-size: 0.8em;
    text-decoration: none;
    margin: 10px 0px;
}
.content-subhead i { margin-right: 7px; }

/* -------------------------------------------------------
 * RIBBON  (featured game strip)
 * ------------------------------------------------------- */
.ribbon {
    background: #aaaaaa55;
    color: #aaa;
    border-radius: 15px;
}

/* -------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------- */
.footer {
    background: #eee;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 5;
    padding: 0.5em;
    text-align: center;
}

/* -------------------------------------------------------
 * RESPONSIVE FONT SIZE
 * ------------------------------------------------------- */
@media (min-width: 768px) {
    body { font-size: 16px; }
}
