/* styles.css — harvest colors with elegant container styling */
@import url('https://fonts.googleapis.com/css2?family=Uncial+Antiqua&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root{
  --bg: #f5f1e6;        /* warm beige background */
  --container-bg: rgba(255, 255, 255, 0.85);  /* translucent container */
  --panel: #ede8db;     /* slightly darker parchment */
  --ink: #2c1810;       /* deep brown */
  --muted: #663f3a;     /* warm reddish brown */
  --line: #d4c5a9;      /* light brown line */
  --accent: #b8860b;    /* harvest gold */
  --forest: #17393A;    /* deep forest green */
  --sage: #D8D2C7;      /* soft sage greige */
  --berry: #8B4B6B;     /* deep berry wine */
  --shadow: rgba(0, 0, 0, 0.15);
}

*{ box-sizing: border-box; }

html, body{ 
  height: 100%; 
  margin: 0;
  padding: 0;
}

body{
  color: var(--ink);
  background: var(--bg);
  font-family: 'EB Garamond', serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(184, 134, 11, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(184, 134, 11, 0.02) 0%, transparent 50%);
}

.page-container {
  width: 90%;
  max-width: 900px;
  margin: 2rem auto;
  background: var(--container-bg);
  box-shadow: 0 8px 32px var(--shadow), 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

h1,h2,h3{ 
  line-height: 1.2; 
  margin: 0 0 .75rem 0; 
  font-weight: 500;
}

h1{ 
  font-family: 'Uncial Antiqua', serif;
  font-size: clamp(2rem, 3vw + 1.2rem, 3.2rem); 
  letter-spacing: .01em; 
  color: var(--forest);
  margin-bottom: 0.5rem;
}

h2{ 
  font-size: clamp(1.4rem, 2vw + 1rem, 2.2rem);
  color: var(--ink);
  font-weight: 500;
}

h3{ 
  font-size: clamp(1.1rem, 1.5vw + 0.9rem, 1.4rem); 
  color: var(--forest);
  font-weight: 500;
}

p{ 
  margin: .6rem 0 1.2rem 0; 
  color: var(--ink);
  font-weight: 400;
}

em{ 
  color: var(--ink); 
  font-style: normal; 
  font-weight: 400;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

a{ 
  color: var(--accent); 
  text-decoration: none; 
  font-weight: 400;
}
a:hover{ text-decoration: underline; }

.container{ 
  max-width: none;
  margin: 0; 
  padding: 2rem clamp(1.5rem, 5vw, 3rem); 
}

.container.narrow{ 
  max-width: none;
}

.site-header.minimal{
  background: linear-gradient(180deg, rgba(184,134,11,.12), rgba(244,241,232,0));
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid rgba(212, 197, 169, 0.5);
  text-align: center;
}

.sub{ 
  color: var(--muted); 
  margin-top: .2rem; 
  font-size: 1.1rem;
  font-weight: 500;
}

.preamble-content{
  margin: 2rem auto;
  text-align: left;
  background: #f3efed;
  padding: 2rem;
  border-radius: 6px;
  border: 2px solid var(--sage);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 80%;
  position: relative;
}

.preamble-content p{ 
  margin: .6rem 0 1.2rem 0;
  font-weight: 500;
  color: var(--ink);
}

.venue-block{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.venue-link{ display: block; }

.venue-thumb{
  width: 100%;
  border: 1px solid var(--line);
  display: block;
  border-radius: 8px;
}

.map-wrap .map-toggle{
  width: 100%;
  text-align: center;
  margin-bottom: .75rem;
}

.map-panel{
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.map-wrap.open .map-panel{
  box-shadow: 0 0 0 2px rgba(184,134,11,.25) inset;
}

.btn{
  display: inline-block; 
  padding: .7rem 1.2rem;
  border: 1px solid rgba(184,134,11,.4);
  color: var(--forest);
  background: linear-gradient(180deg, rgba(184,134,11,.2), rgba(184,134,11,.1));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  font-weight: 400;
  transition: all .2s ease;
  cursor: pointer;
}

.btn:hover{ 
  transform: translateY(-1px); 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:focus-visible{ 
  outline: 2px solid var(--accent); 
  outline-offset: 2px; 
}

.section{ 
  border-top: 1px solid rgba(212, 197, 169, 0.3); 
  padding: 2rem 0; 
}

.section:first-of-type{
  border-top: none;
}

.section h3{ 
  margin-top: 2rem; 
  margin-bottom: 1rem; 
}

.section h3:first-child{ 
  margin-top: 0; 
}

.facts{
  list-style: none; 
  padding: 0; 
  margin: 1.5rem 0;
}

.facts li{ 
  padding: .5rem 0; 
  border-bottom: 1px dashed rgba(212, 197, 169, 0.4);
  font-weight: 300;
}

.facts li:last-child{ 
  border-bottom: none; 
}

ul{ 
  margin: 1.5rem 0; 
}

ul li{ 
  margin-bottom: .6rem;
  font-weight: 300;
}

.facts + p, ul + p, .facts + h3, ul + h3{ 
  margin-top: 1.5rem; 
}

.section-nav{
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-link{
  color: var(--forest);
  text-decoration: none;
  padding: .75rem 1.25rem;
  border: 1px solid rgba(184,134,11,.4);
  background: linear-gradient(180deg, rgba(184,134,11,.15), rgba(184,134,11,.08));
  border-radius: 6px;
  font-weight: 400;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.nav-link:hover{
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.roles-link{
  display: inline-block;
  color: var(--forest);
  text-decoration: none;
  padding: .75rem 2rem;
  border: 1px solid rgba(184,134,11,.4);
  background: linear-gradient(180deg, rgba(184,134,11,.15), rgba(184,134,11,.08));
  border-radius: 6px;
  font-weight: 400;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.roles-link:hover{
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.site-footer{
  border-top: 1px solid rgba(212, 197, 169, 0.3);
  padding: 2rem 0;
  color: var(--forest);
  text-align: center;
  background: linear-gradient(180deg, rgba(244,241,232,0), rgba(23,57,58,.06));
}

hr {
  border: none;
  height: auto;
  background: none;
  margin: 2rem 0;
  text-align: center;
  font-size: 1.2rem;
  color: var(--berry);
  opacity: 0.8;
}

hr::after {
  content: "✧ ✧ ✧ ✧ ✧";
}

/* Swirly decorative elements */
.swirl-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.25;
  color: var(--accent);
  font-size: 1.2rem;
  z-index: 2;
}

.swirl-decoration.corner-tl {
  top: 0.2rem;
  left: 0.2rem;
  transform: rotate(-45deg);
}

.swirl-decoration.corner-tl::before {
  content: "◦∿◦";
}

.swirl-decoration.corner-tr {
  top: 0.2rem;
  right: 0.2rem;
  transform: rotate(45deg);
}

.swirl-decoration.corner-tr::before {
  content: "◦∿◦";
}

.swirl-decoration.corner-bl {
  bottom: 0.5rem;
  left: 0.5rem;
  transform: rotate(-135deg);
}

.swirl-decoration.corner-bl::before {
  content: "◦∿◦";
}

.swirl-decoration.corner-br {
  bottom: 0.5rem;
  right: 0.5rem;
  transform: rotate(135deg);
}

.swirl-decoration.corner-br::before {
  content: "◦∿◦";
}


/* Organic section borders */
.section {
  border-top: none;
  position: relative;
  padding: 2rem 0;
}

.section::before {
  content: "✧ ❦ ✦ ❦ ✧ ❦ ✦ ❦ ✧";
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  color: var(--berry);
  opacity: 0.8;
  background: var(--container-bg);
  padding: 0 1.5rem;
  white-space: nowrap;
}

.section:first-of-type::before {
  display: none;
}

/* Wavy border for preamble */
.preamble-content {
  border: none;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.preamble-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(184, 134, 11, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.preamble-content > * {
  position: relative;
  z-index: 1;
}

/* Swirly nav links */
.nav-link, .roles-link {
  border-radius: 15px 5px 15px 5px;
  position: relative;
  overflow: hidden;
}


/* Mystical page container */
.page-container {
  border-radius: 8px;
}

/* Cauldron bubble effect for buttons */
.btn {
  border-radius: 12px 4px 12px 4px;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(184, 134, 11, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::after {
  width: 100px;
  height: 100px;
}

/* Responsive */
@media (max-width: 720px){
  .page-container {
    width: 95%;
    margin: 1rem auto;
    border-radius: 8px;
  }
  
  .venue-block{ 
    grid-template-columns: 1fr; 
  }
  
  .container{ 
    padding: 1.5rem 1.25rem; 
  }
  
  .site-header.minimal{
    padding: 1.5rem 0 1rem;
  }
  
  .section{
    padding: 1.5rem 0;
  }
  
  .section-nav{
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  .nav-link{
    padding: .75rem 1rem;
    font-size: 0.9rem;
    min-width: 100px;
    text-align: center;
  }
  
  .preamble-content p{
    max-width: 100%;
  }
  
  h2{
    margin-bottom: 1rem;
  }
  
  .facts li{
    padding: 0.6rem 0;
  }
  
  ul{
    padding-left: 1.2rem;
  }
}

@media (max-width: 480px){
  .page-container {
    width: 98%;
    margin: 0.5rem auto;
    border-radius: 6px;
  }
  
  .container{
    padding: 1.25rem 1rem;
  }
  
  .section-nav{
    flex-direction: column;
    align-items: center;
  }
  
  .nav-link{
    width: 100%;
    max-width: 200px;
  }
}
