/* ============================================================
   Sea Sounds Choir — site theme
   A calm nautical palette: deep navy, sea teal, warm sand accent.
   ============================================================ */

:root {
    --mz-navy: #0f2c45;
    --mz-navy-deep: #0a2034;
    --mz-teal: #1f7a8c;
    --mz-teal-light: #4aa3b3;
    --mz-sand: #e8b04b;
    --mz-sand-dark: #c98f2c;
    --mz-paper: #f7f5f0;
    --mz-ink: #1c2733;
    --mz-muted: #5d6b7a;
    --mz-line: #e2ddd3;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--mz-ink);
    background: var(--mz-paper);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

h1, h2, h3, h4, .mz-display {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    letter-spacing: .2px;
}

a {
    color: var(--mz-teal);
}

a:hover {
    color: var(--mz-navy);
}

/* ---------- Navbar ---------- */
.mz-navbar {
    background: var(--mz-navy);
    padding-top: .65rem;
    padding-bottom: .65rem;
    box-shadow: 0 2px 14px rgba(10, 32, 52, .25);
}

.mz-navbar .navbar-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
}

.mz-brand-icon {
    font-size: 1.9rem;
    color: var(--mz-sand);
}

.mz-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.mz-brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

.mz-brand-city {
    font-size: .68rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--mz-teal-light);
}

.mz-navbar .nav-link {
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
    font-weight: 500;
    padding: .35rem .85rem;
}

.mz-navbar .nav-link:hover,
.mz-navbar .nav-link.active {
    color: var(--mz-sand);
}

.mz-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, .3);
}

.mz-lang-switch {
    margin-left: .6rem;
    padding-left: .9rem;
    border-left: 1px solid rgba(255, 255, 255, .2);
}

.mz-lang-switch .lang-link {
    color: rgba(255, 255, 255, .6);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0 .2rem;
}

.mz-lang-switch .lang-link.active,
.mz-lang-switch .lang-link:hover {
    color: var(--mz-sand);
}

.mz-lang-switch .lang-sep {
    color: rgba(255, 255, 255, .3);
}

/* ---------- Hero ---------- */
.mz-hero {
    background: linear-gradient(160deg, var(--mz-navy) 0%, var(--mz-teal) 130%);
    color: #fff;
    padding: 4.5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.mz-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 48px;
    background: var(--mz-paper);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.mz-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.7rem);
    margin-bottom: .5rem;
}

.mz-hero .lead {
    color: rgba(255, 255, 255, .85);
    font-size: 1.15rem;
    max-width: 40rem;
}

.mz-hero-eyebrow {
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--mz-sand);
    font-weight: 600;
}

/* ---------- Sections ---------- */
.mz-section {
    padding: 3.5rem 0;
}

.mz-section-title {
    font-size: 2rem;
    color: var(--mz-navy);
    margin-bottom: .25rem;
}

.mz-section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--mz-sand);
    margin-top: .6rem;
    border-radius: 2px;
}

.mz-section-title.text-center::after {
    margin-left: auto;
    margin-right: auto;
}

.mz-eyebrow {
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-size: .78rem;
    color: var(--mz-teal);
    font-weight: 600;
}

/* ---------- Cards ---------- */
.mz-card {
    background: #fff;
    border: 1px solid var(--mz-line);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: transform .15s ease, box-shadow .15s ease;
}

.mz-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15, 44, 69, .12);
}

.mz-card-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(135deg, var(--mz-teal), var(--mz-navy));
}

.mz-card-img-placeholder {
    aspect-ratio: 16 / 9;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mz-teal), var(--mz-navy));
    color: rgba(255, 255, 255, .55);
    font-size: 2.6rem;
}

.mz-card-body {
    padding: 1.2rem 1.3rem 1.4rem;
}

.mz-card-title {
    font-size: 1.3rem;
    color: var(--mz-navy);
    margin-bottom: .4rem;
}

.mz-meta {
    font-size: .8rem;
    color: var(--mz-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mz-btn {
    background: var(--mz-sand);
    color: var(--mz-navy-deep);
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: .55rem 1.3rem;
}

.mz-btn:hover {
    background: var(--mz-sand-dark);
    color: #fff;
}

.mz-btn-outline {
    background: transparent;
    border: 1.5px solid var(--mz-teal);
    color: var(--mz-teal);
    font-weight: 600;
    border-radius: 8px;
    padding: .5rem 1.2rem;
}

.mz-btn-outline:hover {
    background: var(--mz-teal);
    color: #fff;
}

/* ---------- Page header (interior pages) ---------- */
.mz-page-head {
    background: var(--mz-navy);
    color: #fff;
    padding: 2.8rem 0 2.4rem;
}

.mz-page-head h1 {
    font-size: 2.6rem;
    margin: 0;
}

.mz-page-head p {
    color: rgba(255, 255, 255, .8);
    margin: .4rem 0 0;
}

/* ---------- Article / prose ---------- */
.mz-prose {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2a3744;
}

.mz-prose p {
    margin-bottom: 1rem;
}

.mz-prose h2, .mz-prose h3 {
    color: var(--mz-navy);
    margin-top: 1.6rem;
}

.mz-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.mz-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---------- Concert / conductor / member items ---------- */
.mz-concert {
    display: flex;
    gap: 1.2rem;
    background: #fff;
    border: 1px solid var(--mz-line);
    border-left: 4px solid var(--mz-sand);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
}

.mz-concert.past {
    border-left-color: var(--mz-teal-light);
    opacity: .92;
}

.mz-date-badge {
    flex: 0 0 auto;
    width: 64px;
    text-align: center;
    background: var(--mz-navy);
    color: #fff;
    border-radius: 8px;
    padding: .4rem 0;
    height: fit-content;
}

.mz-date-badge .d {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.mz-date-badge .m {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mz-date-badge .y {
    font-size: .7rem;
    color: var(--mz-teal-light);
}

.mz-portrait {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--mz-teal), var(--mz-navy));
}

.mz-portrait-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--mz-teal), var(--mz-navy));
    color: rgba(255, 255, 255, .5);
    font-size: 3rem;
}

.mz-voice-group {
    margin-bottom: 2.2rem;
}

.mz-voice-label {
    display: inline-block;
    background: var(--mz-teal);
    color: #fff;
    font-weight: 600;
    border-radius: 20px;
    padding: .2rem 1rem;
    font-size: .9rem;
    margin-bottom: 1rem;
}

/* ---------- Footer ---------- */
.mz-footer {
    flex-shrink: 0;
    background: var(--mz-navy-deep);
    color: rgba(255, 255, 255, .8);
    padding: 2.2rem 0;
    margin-top: 2rem;
}

.mz-footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #fff;
}

.mz-footer-tag {
    color: var(--mz-teal-light);
    font-size: .9rem;
    margin: .2rem 0 0;
}

.mz-footer a {
    color: var(--mz-sand);
}

/* ---------- Draft notice banner ---------- */
.mz-draft-flag {
    background: #fff8e6;
    border: 1px solid #f0d98c;
    color: #7a5b13;
    border-radius: 8px;
    padding: .5rem .9rem;
    font-size: .85rem;
}

/* ---------- Empty state ---------- */
.mz-empty {
    text-align: center;
    color: var(--mz-muted);
    padding: 3rem 1rem;
}

.mz-empty i {
    font-size: 2.6rem;
    color: var(--mz-teal-light);
}

/* ---------- Admin ---------- */
.mz-admin-body {
    background: #eef1f4;
}

.mz-admin-navbar {
    background: var(--mz-navy-deep);
}

.mz-admin-navbar .navbar-brand,
.mz-admin-navbar .nav-link {
    color: #fff;
}

.mz-admin-navbar .nav-link:hover {
    color: var(--mz-sand);
}

.mz-admin-card {
    background: #fff;
    border: 1px solid #dde3e9;
    border-radius: 10px;
}

.mz-bilingual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 720px) {
    .mz-bilingual {
        grid-template-columns: 1fr;
    }
}

.mz-lang-tag {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--mz-teal);
    text-transform: uppercase;
}

.mz-stat {
    background: #fff;
    border: 1px solid #dde3e9;
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
}

.mz-stat .n {
    font-size: 2rem;
    font-weight: 700;
    color: var(--mz-navy);
    font-family: 'Cormorant Garamond', serif;
}

.mz-stat .l {
    color: var(--mz-muted);
    font-size: .85rem;
}
