/* Reusable layout primitives and page-level structure. */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Nav */
header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(26, 21, 16, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--text-1);
    font-weight: 700;
    transition: var(--transition);
}

nav a::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    opacity: 0;
    transform: scaleX(.35);
    transition: var(--transition);
}

nav a:hover,
nav a:focus-visible {
    color: var(--primary);
}

nav a:hover::after,
nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Premium background and contrast system */
header {
    background: rgba(255, 253, 249, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(200, 153, 58, 0.18);
    box-shadow: 0 12px 32px rgba(26, 21, 16, 0.06);
}
