/* The California Walk -- shared styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'San Francisco', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: #f8f6f3;
}
html { scroll-behavior: smooth; }

/* ===========================================
   NAV
=========================================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(248, 246, 243, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.nav-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.logo { height: 24px; }
.logo img { height: 100%; width: auto; }
.logo a { display: block; height: 100%; }
.nav-links { display: flex; list-style: none; gap: 1.5rem; }
.nav-links a {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 0.9rem;
    font-weight: 500;
}
.nav-links a:hover { color: #8B4513; }
.nav-links a.active { color: #8B4513; font-weight: 600; }
.nav-links a.cta {
    background: #8B4513;
    color: white;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    transition: background 0.15s;
}
.nav-links a.cta:hover {
    background: #6f3610;
    color: white;
}
.nav-links a.cta.active {
    background: #6f3610;
    color: white;
    font-weight: 600;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.mobile-menu span {
    width: 22px;
    height: 2px;
    background: #2c2c2c;
    margin: 3px 0;
}

/* ===========================================
   MAIN
=========================================== */
main {
    max-width: 720px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

h1.page-title {
    font-size: 2.6rem;
    color: #2c2c2c;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

h2.section-title {
    font-size: 1.5rem;
    color: #8B4513;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 2.5rem;
}

h3.day-title {
    font-size: 1.25rem;
    color: #8B4513;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

hr.rule {
    border: none;
    border-top: 1px solid #ddd6cc;
    margin: 3rem 0;
}

/* ===========================================
   PROSE
=========================================== */
.prose p {
    font-size: 1.08rem;
    margin-bottom: 1.2rem;
}

.prose p.aside {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.prose blockquote {
    border-left: 3px solid #8B4513;
    padding: 0.4rem 1.5rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
    background: rgba(255, 255, 255, 0.6);
}

.prose blockquote em {
    color: #2c2c2c;
}

.prose a {
    color: #8B4513;
    text-decoration: underline;
    text-decoration-color: rgba(139, 69, 19, 0.35);
    text-underline-offset: 2px;
}
.prose a:hover {
    text-decoration-color: #8B4513;
}

.prose ol, .prose ul {
    margin: 1rem 0 1.5rem 1.5rem;
}
.prose li {
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

.prose strong { font-weight: 700; }

.fact-line {
    color: #555;
    font-size: 0.98rem;
    margin-bottom: 0.5rem;
}
.fact-line strong { color: #2c2c2c; }

.meta-block {
    background: rgba(255, 255, 255, 0.6);
    padding: 1.2rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}
.meta-block p { font-size: 1rem; margin-bottom: 0.4rem; }
.meta-block p:last-child { margin-bottom: 0; }

/* ===========================================
   HOMEPAGE
=========================================== */
.intro p {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
}
.intro p.aside {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

.walk-list {
    list-style: none;
    padding: 0;
}
.walk-list li {
    padding: 1.1rem 0;
    border-bottom: 1px solid #ece6dc;
    font-size: 1.05rem;
}
.walk-list li:last-child { border-bottom: none; }
.walk-list a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
}
.walk-list a:hover { text-decoration: underline; }
.walk-list .year-meta { color: #555; font-weight: 400; }

.what p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.contact-block {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.contact-block a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}
.contact-block a:hover { text-decoration: underline; }

/* ===========================================
   PAGE NAV (prev/next at bottom of year pages)
=========================================== */
.page-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd6cc;
    font-size: 1rem;
}
.page-nav a {
    color: #8B4513;
    text-decoration: none;
    font-weight: 600;
}
.page-nav a:hover { text-decoration: underline; }
.page-nav .spacer { flex: 1; text-align: center; color: #999; }

/* ===========================================
   HERO (homepage)
=========================================== */
.hero {
    position: relative;
    height: 92vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #2c2c2c url('/hero-image.jpg') center/cover no-repeat;
    margin-top: -1px;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.38);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 2rem;
    max-width: 1100px;
    width: 100%;
}
.hero-title {
    margin-bottom: 1.5rem;
}
.hero-title img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.5));
}
.hero-dates {
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.65);
    margin-bottom: 0.5rem;
}
.hero-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.55);
    opacity: 0.92;
}

/* When a page leads with the hero, main shouldn't be pushed down by fixed nav */
main.has-hero {
    padding-top: 4rem;
}

/* ===========================================
   ROUTE GRID (homepage + /route/)
=========================================== */
.landscape-grid {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 2rem;
}
.landscape-item {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}
.landscape-video {
    width: 200px;
    height: 300px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    background: #2c2c2c;
}
.landscape-item video,
.landscape-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.landscape-item h3 {
    color: #8B4513;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    font-weight: 700;
}
.landscape-item p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #444;
}

/* ===========================================
   FORM (2027)
=========================================== */
.invite-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-top: 1.5rem;
}
.invite-form label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 0.4rem;
    margin-top: 1rem;
}
.invite-form label:first-child { margin-top: 0; }
.invite-form input[type="text"],
.invite-form input[type="email"],
.invite-form input[type="tel"],
.invite-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #ddd6cc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    background: #fcfaf7;
    color: #2c2c2c;
}
.invite-form textarea {
    min-height: 100px;
    resize: vertical;
}
.invite-form input:focus,
.invite-form textarea:focus {
    outline: none;
    border-color: #8B4513;
    background: white;
}
.invite-form input[type="submit"] {
    margin-top: 1.5rem;
    background: #8B4513;
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s;
}
.invite-form input[type="submit"]:hover {
    background: #6f3610;
}
.invite-form input[type="submit"]:disabled {
    background: #aaa;
    cursor: wait;
}
.form-success {
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    border-left: 3px solid #6a9050;
    color: #2c2c2c;
    font-size: 1.05rem;
    line-height: 1.6;
    display: none;
}
.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* ===========================================
   FOOTER
=========================================== */
footer {
    background: #2c2c2c;
    color: white;
    text-align: center;
    padding: 2.5rem 2rem;
    margin-top: 4rem;
}
footer a {
    color: #c9a87c;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.95rem;
}
footer a:hover { text-decoration: underline; }
.footer-network {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    display: inline-block;
}
.footer-network span {
    color: #888;
    font-size: 0.85rem;
    margin-right: 1rem;
    font-style: italic;
}
.footer-network a {
    color: #c9a87c;
    margin: 0 0.6rem;
    font-size: 0.9rem;
}
.footer-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* ===========================================
   MOBILE
=========================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #f8f6f3;
        flex-direction: column;
        padding: 1rem 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active { display: flex; }
    .mobile-menu { display: flex; }
    main { padding: 6.5rem 1.5rem 3rem; }
    main.has-hero { padding-top: 3rem; }
    h1.page-title { font-size: 2rem; }
    h2.section-title { font-size: 1.3rem; }
    h3.day-title { font-size: 1.15rem; }
    .prose p { font-size: 1rem; }
    .prose li { font-size: 1rem; }
    footer a { display: block; margin: 0.5rem 0; }
    .hero { height: 78vh; min-height: 460px; }
    .hero-title img { max-height: 180px; }
    .hero-dates { font-size: 1.1rem; }
    .hero-tagline { font-size: 1rem; }
    .landscape-video { width: 170px; height: 255px; }
    .landscape-grid { gap: 2.8rem; }
    .nav-links a.cta {
        background: transparent;
        color: #8B4513;
        padding: 0;
        border-radius: 0;
        font-weight: 600;
    }
}
