/* styles.css — shared nav and footer for all pages */

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-logo {
    font-family: 'Cardo', Georgia, serif;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-logo .nav-period {
    color: #52b788;
    text-shadow: 0 0 8px rgba(82,183,136,0.5);
}

.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-family: 'Lora', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #52b788;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.25rem;
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0,0,0,0.97);
        padding: 1rem 0;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        display: block;
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
    background: #0a0a0a;
    color: rgba(255,255,255,0.5);
    padding: 3rem 2rem 2rem;
    font-family: 'Lora', Georgia, serif;
    font-size: 0.82rem;
}

.footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 1.6rem;
    list-style: none;
}

.footer-nav a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover { color: #52b788; }

.footer-social {
    display: flex;
    gap: 1.2rem;
}

.footer-social a {
    color: rgba(255,255,255,0.4);
    font-size: 1.1rem;
    transition: color 0.2s;
    text-decoration: none;
}

.footer-social a:hover { color: #52b788; }

.footer-contact a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.footer-contact a:hover { color: #52b788; }

.footer-copy {
    color: rgba(255,255,255,0.25);
    font-size: 0.75rem;
}

/* ── CTA block (reused on all pages) ─────────────────────────── */
.page-cta {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

.page-cta a {
    display: inline-block;
    color: #52b788;
    font-family: 'Cardo', Georgia, serif;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(82,183,136,0.4);
    padding-bottom: 2px;
    transition: border-color 0.2s, color 0.2s;
    text-shadow: 0 0 12px rgba(82,183,136,0.3);
}

.page-cta a:hover {
    border-color: #52b788;
    text-shadow: 0 0 20px rgba(82,183,136,0.6);
}

/* ── Section divider (ornamental hairline) ───────────────────── */
.section-divider {
    text-align: center;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-divider::before,
.section-divider::after {
    content: '';
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #2d6a4f, transparent);
}

.section-divider span {
    font-size: 0.9rem;
    color: #52b788;
}

/* ── Shared page hero band (cream) ───────────────────────────── */
.page-hero-band {
    background: #FFF8F0;
    padding: 7rem 2rem 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(45,106,79,0.15);
}

.page-hero-band h1 {
    font-family: 'Cardo', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: #1a4d2e;
    margin-bottom: 0.75rem;
}

.page-hero-band .page-lead {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.1rem;
    color: #2d6a4f;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Shared content section ──────────────────────────────────── */
.content-section {
    padding: 4rem 2rem;
    max-width: 860px;
    margin: 0 auto;
}

.content-section h2 {
    font-family: 'Cardo', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #1a4d2e;
    margin-bottom: 1rem;
}

.content-section p {
    font-family: 'Lora', Georgia, serif;
    color: #2d6a4f;
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* ── Bioluminescent glow ─────────────────────────────────────── */
.period-glow {
    text-shadow: 0 0 10px rgba(82,183,136,0.6),
                 0 0 20px rgba(82,183,136,0.4),
                 0 0 30px rgba(82,183,136,0.2);
}
