﻿/* Smooth transitions when the page background changes */
@media (prefers-reduced-motion: reduce) {
    html, body {
        transition: none !important;
        -webkit-transition: none !important;
    }
}

html, body {
    -webkit-transition: background 0.8s ease, background-color 0.8s ease;
    transition: background 0.8s ease, background-color 0.8s ease;
}

/* Base button improvements */
.btn {
    min-width: 72px !important;
    min-height: 44px !important;
    padding: 12px 18px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    color: #ffffff !important;
    background: rgba(0,0,0,0.85) !important;
    border: 2px solid rgba(255,255,255,0.95) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 26px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.03) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease !important;
    opacity: 1 !important;
}

    .btn:focus {
        outline: none !important;
        box-shadow: 0 0 0 4px rgba(255,215,0,0.08) !important;
    }

    .btn:hover, .btn:focus {
        transform: translateY(-3px) scale(1.03) !important;
        background: rgba(255,255,255,0.06) !important;
        color: #fff !important;
        box-shadow: 0 14px 40px rgba(0,0,0,0.7) !important;
    }

/* Larger circular nav buttons */
.btn--nav {
    width: 80px !important;
    height: 80px !important;
    padding: 12px !important;
    border-radius: 50% !important;
    background: rgba(0,0,0,0.7) !important;
    border-width: 2px !important;
}

/* Make SVG icons bigger and high-contrast */
.nav-icon {
    width: 36px;
    height: 36px;
}

    .nav-icon path, .nav__triangle, .nav__line {
        fill: #ffffff !important;
        stroke: #ffffff !important;
        stroke-width: 0.5px !important;
    }

/* Hover: accent the icon lines with yellow/gold for visibility */
.btn--nav:hover .nav__triangle,
.btn--nav:hover .nav__line,
.btn--nav:focus .nav__triangle,
.btn--nav:focus .nav__line {
    fill: #ffd700 !important; /* gold */
    stroke: #ffd700 !important;
}

/* Ensure toggle buttons sit above overlays */
.btn--toggle {
    z-index: 60 !important;
}

/* Slight increase for info/menu buttons if they don't contain text */
.btn--info, .btn--menu {
    width: 56px !important;
    height: 56px !important;
    padding: 10px !important;
}

/* Center the .col-10 element inside the row */
.content .row {
    display: flex;
    align-items: center; /* vertical centering */
    justify-content: center; /* horizontal centering of children */
}

.content .row > .col-10 {
    display: flex;
    align-items: center;
    justify-content: center;
}
