/* ============================================================
   ICERI 2026 — Shared Theme (design system)
   Used by: invited.html, reg.html, tour.html
   Palette: navy #1f3a5f / antique gold #C9A961 / warm cream #f6f4ef
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f6f4ef;
    color: #2c2c2c;
    line-height: 1.6;
}
a { color: #1f3a5f; }

/* ---------- Sticky Nav ---------- */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1f3a5f;
    box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 62px;
}
.nav-brand {
    color: #C9A961;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-decoration: none;
}
.nav-brand span { color: #f5f1e8; font-weight: 400; font-size: 0.7rem; letter-spacing: 1px; display: block; }
.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.nav-menu li { position: relative; }
.nav-menu li a {
    display: block;
    color: #f5f1e8;
    text-decoration: none;
    padding: 21px 16px;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}
.nav-menu li a:hover { color: #C9A961; }
.nav-menu li.active a { color: #C9A961; }
.nav-menu li.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 16px; right: 16px;
    height: 3px;
    background: #C9A961;
}

/* ---------- Sub-menus (dropdown) ---------- */
.nav-menu li.has-sub { position: relative; }
.nav-menu li.has-sub > a { cursor: pointer; }
.nav-menu li.has-sub > a::after {
    content: '';
    display: inline-block;
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 6px;
    vertical-align: middle;
    transition: transform 0.25s ease;
}
.nav-menu li.has-sub:hover > a::after { transform: rotate(180deg); }
.nav-menu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #1f3a5f;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 2px solid #C9A961;
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 200;
}
.nav-menu li.has-sub:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu .submenu li a {
    display: block;
    padding: 12px 18px;
    color: #f5f1e8;
    font-size: 0.84rem;
    border-bottom: 1px solid rgba(245, 241, 232, 0.08);
}
.nav-menu .submenu li:last-child a { border-bottom: none; }
.nav-menu .submenu li a:hover { background: #2a4d75; color: #C9A961; }
.nav-menu .submenu li.current a { color: #C9A961; font-weight: 600; }

/* ---------- Subpage header band ---------- */
.page-header {
    background: #1f3a5f;
    padding: 52px 24px 44px;
    text-align: center;
    position: relative;
}
.page-header::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, #C9A961 0%, #e0c97a 50%, #C9A961 100%);
}
.page-header h1 {
    color: #f5f1e8;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.3rem;
    margin: 0 0 10px;
    letter-spacing: 1px;
    font-weight: 700;
}
.page-header h1 .accent { color: #C9A961; }
.page-header .crumb {
    color: rgba(245,241,232,0.55);
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.page-header .crumb a { color: #C9A961; text-decoration: none; }
.page-header .crumb a:hover { text-decoration: underline; }

/* ---------- Layout ---------- */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}
.section-head { margin-bottom: 28px; }
.section-title {
    font-family: 'Roboto Condensed', sans-serif;
    color: #1f3a5f;
    font-size: 1.7rem;
    margin: 0 0 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.section-title .accent { color: #C9A961; }
.section-divider { width: 56px; height: 3px; background: #C9A961; border-radius: 2px; }

/* ---------- Buttons ---------- */
.dl-btn {
    display: inline-block;
    background: #1f3a5f;
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 0.84rem;
    letter-spacing: 0.5px;
    transition: background 0.25s ease;
}
.dl-btn:hover { background: #C9A961; }

/* ---------- Generic card ---------- */
.card {
    background: #fff;
    padding: 32px;
    border-radius: 2px;
    box-shadow: 0 2px 14px rgba(31, 58, 95, 0.06);
    margin-bottom: 28px;
}
.card h2 {
    color: #1f3a5f;
    margin: 0 0 18px;
    font-size: 1.3rem;
    font-family: 'Roboto Condensed', sans-serif;
    padding-bottom: 12px;
    border-bottom: 2px solid #C9A961;
    letter-spacing: 0.5px;
}
.card p { font-size: 0.92rem; line-height: 1.9; color: #555; margin-bottom: 14px; }
.card a { color: #1f3a5f; text-decoration: none; border-bottom: 1px dotted #1f3a5f; }
.card a:hover { color: #C9A961; border-bottom-color: #C9A961; }

/* ---------- Notice box ---------- */
.notice-box {
    background: #fdfaf3;
    border-left: 4px solid #C9A961;
    padding: 16px 22px;
    margin-bottom: 24px;
    border-radius: 2px;
    color: #555;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer-new {
    background: #1f3a5f;
    border-top: 3px solid #C9A961;
    padding: 30px 24px;
    text-align: center;
    color: #f5f1e8;
    font-size: 0.86rem;
    letter-spacing: 0.4px;
}
.footer-new a { color: #C9A961; text-decoration: none; }
.footer-new a:hover { text-decoration: underline; }
.footer-new .footer-top { margin-bottom: 8px; }
.footer-new .footer-sub { color: rgba(245, 241, 232, 0.6); font-size: 0.78rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .nav-menu { display: none; }
}
