/* Southern Realm Festival — the one stylesheet for the whole site.
   Palette and display font carried over from the original WordPress/Elementor theme. */
:root {
  --navy: #151640;
  --navy-2: #1d1f55;
  --navy-3: #26296b;
  --gold: #dfaf4f;
  --gold-2: #f0c96f;
  --ink: #f4f1ea;
  --muted: #c9c6d8;
  --display: "Pirata One", Georgia, serif;
  --body: Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-2); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; color: var(--gold); line-height: 1.1; margin: 0 0 .4em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.7rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }
.kicker { font-family: var(--display); color: var(--ink); font-size: 1.35rem; margin: 0 0 .2em; }
.lead { font-size: 1.15rem; color: var(--ink); max-width: 760px; }
.center .lead { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); font-size: .95rem; }

/* Buttons */
.btn { display: inline-block; font-family: var(--display); font-size: 1.3rem; background: var(--gold); color: var(--navy); padding: .45em 1.3em; border-radius: 4px; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--gold-2); color: var(--navy); }
.btn.ghost { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 2px var(--gold); }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.center .btns { justify-content: center; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid var(--navy-3); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { height: 60px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; }
.nav > li { position: relative; list-style: none; }
.nav a { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--ink); text-decoration: none; padding: 8px 12px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }
.nav ul { display: none; position: absolute; left: 0; top: 100%; min-width: 200px; margin: 0; padding: 6px 0; background: var(--navy-2); border: 1px solid var(--navy-3); }
.nav ul li { list-style: none; }
.nav > li:hover > ul, .nav > li:focus-within > ul { display: block; }
.nav-toggle { display: none; background: none; border: 0; color: var(--gold); font: 1.4rem var(--display); cursor: pointer; }
.head-cta { white-space: nowrap; }
ul.nav { margin: 0; padding: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .head-cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; flex-direction: column; align-items: stretch; background: var(--navy-2); padding: 8px 16px 16px; border-bottom: 1px solid var(--navy-3); }
  .nav.open { display: flex; }
  .nav ul { display: block; position: static; border: 0; background: none; padding: 0 0 0 16px; }
}

/* Hero */
.hero { position: relative; background: var(--navy) center/cover no-repeat; padding: 120px 0 110px; text-align: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(21,22,64,.55), rgba(21,22,64,.8)); }
.hero > .wrap { position: relative; }
.hero.tall { min-height: 78vh; display: flex; align-items: center; }
.hero.tall > .wrap { width: 100%; }
.hero .when { font-family: var(--display); font-size: 1.4rem; margin-bottom: 1.2em; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--navy-2); }
.section.bg { position: relative; background: var(--navy) center/cover no-repeat; }
.section.bg::before { content: ""; position: absolute; inset: 0; background: rgba(21,22,64,.82); }
.section.bg > .wrap { position: relative; }
.section-head { text-align: center; margin-bottom: 40px; }

/* Cards */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.card .body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.card .tag { font-family: var(--display); color: var(--muted); font-size: 1.05rem; margin-bottom: .1em; }
.card h3 { margin-bottom: .3em; }
.card p { font-size: .98rem; }
.card .btn { margin-top: auto; align-self: flex-start; font-size: 1.1rem; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--gold); }

/* Icon features */
.features { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.feature { text-align: center; background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 6px; padding: 22px 16px; }
.feature .ico { font-size: 2.2rem; line-height: 1; margin-bottom: 10px; }
.feature h3 { font-size: 1.5rem; }
.feature p { font-size: .98rem; margin: 0; }

/* Quotes */
.quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.quote { background: rgba(29,31,85,.9); border-left: 3px solid var(--gold); padding: 20px; margin: 0; }
.quote p { font-style: italic; }
.quote cite { font-family: var(--display); color: var(--gold); font-style: normal; font-size: 1.15rem; }
blockquote.pull { font-family: var(--display); font-size: 1.6rem; color: var(--gold); text-align: center; max-width: 760px; margin: 32px auto 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq h3 { margin-top: 1.4em; }
.faq details { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 6px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-family: var(--display); font-size: 1.3rem; color: var(--ink); list-style: none; }
.faq summary::after { content: "+"; float: right; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 12px; }

/* Lists, tables, two-column */
.two { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.ticks { padding-left: 1.2em; }
.ticks li { margin-bottom: .4em; }
.panel { background: var(--navy-2); border: 1px solid var(--navy-3); border-radius: 6px; padding: 22px 24px; }
.panel h3 { font-size: 1.5rem; }
table.times { width: 100%; border-collapse: collapse; max-width: 900px; margin: 0 auto; }
table.times th, table.times td { border: 1px solid var(--navy-3); padding: 10px 14px; text-align: left; }
table.times th { font-family: var(--display); color: var(--gold); font-weight: 400; font-size: 1.2rem; background: var(--navy-2); }
.address { font-family: var(--display); font-size: 1.4rem; }

/* Map */
.map { width: 100%; aspect-ratio: 16 / 7; border: 0; border-radius: 6px; min-height: 300px; }

/* Forms */
.form { max-width: 640px; margin: 0 auto; display: grid; gap: 14px; }
.form label { display: grid; gap: 4px; font-family: var(--display); font-size: 1.15rem; }
.form input, .form textarea { font: 1rem var(--body); padding: 10px 12px; border-radius: 4px; border: 1px solid var(--navy-3); background: #fff; color: #111; }
.form textarea { min-height: 150px; }
.form .hp { position: absolute; left: -9999px; }
.notice { max-width: 640px; margin: 0 auto 20px; padding: 12px 16px; border-radius: 4px; background: var(--gold); color: var(--navy); }

/* Footer */
.site-foot { background: #0f1033; padding: 48px 0 28px; text-align: center; border-top: 1px solid var(--navy-3); }
.site-foot img { height: 110px; width: auto; margin: 0 auto 18px; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0 0 18px; padding: 0; list-style: none; }
.foot-nav a { color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.1rem; }
.social { display: flex; justify-content: center; gap: 18px; margin-bottom: 14px; }
.social a { font-family: var(--display); font-size: 1.1rem; }
