/* site_v6.css — unified responsive styles */
:root{
  --brand-black:rgb(0,0,0);
  --brand-gold:rgb(255,179,0);
  --shadow:0 2px 6px rgba(0,0,0,.25);
}

*{box-sizing:border-box}

html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }

body{
  margin:0;
  font-family:'Baskerville', serif;
  background:url('images/richmond-skyline.jpg') no-repeat center center / cover fixed;
  color:#fff;
}

header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.7);
  display:flex;
  gap:1rem;
  align-items:center;
  justify-content:space-between;
  padding:1rem clamp(1rem, 3vw, 2rem);
  box-shadow:0 2px 5px rgba(0,0,0,.2);
  backdrop-filter:saturate(120%) blur(4px);
  -webkit-backdrop-filter:saturate(120%) blur(4px);
}

.left-title{
  font-style:italic;
  font-weight:300;
  font-size:clamp(1rem, 1.2rem + .5vw, 1.4rem);
  line-height:1.1;
}
.left-title .boone,
.left-title .reunion{
  color:var(--brand-black);
  font-weight:700;
}

header nav{
  display:flex;
  gap:clamp(.75rem, 1.2vw, 1.5rem);
  align-items:center;
  text-align:center;
  font-family:sans-serif;
  flex-wrap:wrap;
}
header nav a{
  color:var(--brand-black);
  text-decoration:none;
  font-size:clamp(.95rem, .85rem + .25vw, 1.05rem);
  padding:.2rem .1rem;
  border-radius:.35rem;
}
header nav a:hover{ text-decoration:underline; }

.right-links{
  display:flex;
  align-items:center;
  gap:.75rem;
  font-family:sans-serif;
}
.right-links a{
  color:var(--brand-black);
  text-decoration:none;
  transition:transform .2s ease, text-shadow .2s ease;
}
.right-links a:hover{
  transform:scale(1.15);
  text-shadow:0 2px 10px rgba(0,0,0,.3);
}
.right-links .manage-tickets-link{
  display:inline-block;
  background:var(--brand-gold);
  color:var(--brand-black);
  font-weight:700;
  font-size:clamp(.8rem, .7rem + .35vw, .95rem);
  padding:.6rem 1.15rem;
  border:0;
  border-radius:999px;
  font-family:'Baskerville', serif;
  box-shadow:var(--shadow);
  white-space:nowrap;
  transition:transform .2s ease, opacity .2s ease;
}
.right-links .manage-tickets-link:hover{
  transform:scale(1.05);
  opacity:.95;
  text-shadow:none;
}
.social-icon{
  display:block;
  width:24px;
  height:24px;
}

.menu-btn{
  display:none;
  background:transparent;
  border:0;
  padding:.25rem;
  width:44px;
  height:44px;
  border-radius:10px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.menu-btn i.lucide{
  width:28px;
  height:28px;
  color:var(--brand-black);
}
.mobile-panel{ display:none; }

.main{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  min-height:80vh;
  padding:clamp(2rem, 6vw, 4rem) clamp(1rem, 3vw, 2rem);
  text-align:center;
  position:relative;
}

.info-box,
.gratitude-box{
  width:min(92vw, 800px);
  background:rgba(74, 73, 73, 0.5);
  border:1px solid rgba(255,255,255,.22);
  border-radius:12px;
  padding:clamp(1rem, 2.5vw, 2rem);
  box-shadow:0 4px 10px rgba(0,0,0,.4);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.info-box{ margin-bottom:30px; }

.registration-widget-box h1{
  margin-top:0;
}

.ticket-widget-wrap{
  width:100%;
  margin:1.25rem auto 0;
}

.ticket-widget-wrap .tt-widget,
.ticket-widget-wrap iframe{
  width:100%;
}

.ticket-widget-wrap .tt-widget-fallback{
  background:rgba(255,255,255,.92);
  border-radius:8px;
  padding:1rem;
  font-family:sans-serif;
  line-height:1.4;
}

.ticket-widget-wrap .tt-widget-fallback a{
  color:var(--brand-black);
}

.photo-gallery-box h1{
  margin-top:0;
}

.facebook-album-wrap{
  width:100%;
  max-width:500px;
  margin:1.25rem auto 0;
  overflow:hidden;
  border-radius:8px;
  background:rgba(255,255,255,.92);
}

.facebook-album-wrap iframe{
  display:block;
  width:100%;
  max-width:500px;
}

.gratitude-box{
  position:relative;
  margin-bottom:30px;
  font-size:1.35rem;
  z-index:2;
}

.gratitude-overlay{
  display:none;
}

.gratitude-close{
  display:none;
}

.gratitude-hidden{
  display:none !important;
}

.reunion-header{
  text-align:center;
  width:min(96vw, 980px);
  padding:.85rem clamp(1rem, 3vw, 2rem);
  border-radius:8px;
  background:radial-gradient(ellipse at center, rgba(0,0,0,.52) 0%, rgba(0,0,0,.42) 42%, rgba(0,0,0,0) 72%);
  text-shadow:0 3px 10px rgba(0,0,0,.8);
  margin-top:110px;
  margin-bottom:clamp(.5rem, 2vw, 1.25rem);
  position:relative;
  top:-12vh;
  opacity:0;
  transform:translateY(28px);
}

.reunion-header.show-header{
  animation:fadeIn 1.2s ease-out forwards;
}

.reunion-header h1{
  margin:0;
  color:#fff;
  -webkit-text-stroke:1.5px rgba(0,0,0,.9);
  font-weight:800;
  font-size:clamp(2rem, 3.2rem + 1.2vw, 4rem);
  text-shadow:
    0 2px 0 rgba(0,0,0,.85),
    0 7px 18px rgba(0,0,0,.75);
}
.reunion-header h2{
  margin:.25rem 0 0;
  color:#fff;
  font-size:clamp(1.1rem, 1.2rem + .6vw, 2rem);
  text-shadow:0 3px 10px rgba(0,0,0,.9);
}

.mobile-title-break{
  display:none;
}

.event-date{
  color:#fcfcfc;
  font-weight:700;
  font-size:clamp(1.1rem, 1rem + 1vw, 2rem);
  text-shadow:0 2px 4px var(--brand-black);
}
.countdown{
  margin-top:.5rem;
  font-size:clamp(1rem, .9rem + .6vw, 1.6rem);
  text-shadow:0 1px 3px var(--brand-black);
}
.gratitude-header{
  color:#fcfcfc;
  font-weight:700;
  font-size:clamp(1rem, .9rem + .6vw, 1.6rem);
  text-shadow:0 2px 4px var(--brand-black);
}
.gratitude-note{
  margin-top:.5rem;
  font-size:clamp(1rem, .9rem + .6vw, 1.6rem);
  text-shadow:0 1px 3px var(--brand-black);
  line-height:1.3;
}

.gratitude-contributors{
  margin-top:.75rem;
  display:grid;
  grid-template-columns:max-content max-content max-content;
  row-gap:2px;
  column-count:3;
  column-gap:40px;
  justify-content:center;
  text-align:left;
}

.contributor{
  font-size:clamp(0.85rem, 0.75rem + 0.45vw, 1.1rem);
  text-shadow:0 1px 3px var(--brand-black);
}

.register-btn{
  display:inline-block;
  margin-top:1.25rem;
  background:var(--brand-gold);
  color:var(--brand-black);
  font-weight:700;
  font-size:clamp(.95rem, .9rem + .3vw, 1.15rem);
  padding:.75rem 2rem;
  border:0;
  border-radius:999px;
  font-family:'Baskerville', serif;
  cursor:pointer;
  box-shadow:var(--shadow);
  text-decoration:none;
  transition:transform .2s ease, opacity .2s ease;
}
.register-btn:hover{
  transform:scale(1.05);
  opacity:.95;
}

@keyframes fadeIn{
  from{ opacity:0; transform:translateY(28px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes gratitudeModalIn{
  from{ opacity:0; transform:translate(-50%, -50%) scale(.96); }
  to{ opacity:1; transform:translate(-50%, -50%) scale(1); }
}

@media (max-width:1024px){
  .main{ padding:clamp(1.25rem, 4vw, 2rem) 1rem; }
  .reunion-header{
    width:min(96vw, 680px);
    padding:.75rem clamp(.75rem, 3vw, 1.5rem);
    border-radius:8px;
    background:radial-gradient(ellipse at center, rgba(0,0,0,.52) 0%, rgba(0,0,0,.42) 42%, rgba(0,0,0,0) 72%);
    text-shadow:0 3px 10px rgba(0,0,0,.8);
    top:0;
  }
  .reunion-header h1{
    color:#fff;
    -webkit-text-stroke:1.5px rgba(0,0,0,.9);
    line-height:1.05;
    text-shadow:
      0 2px 0 rgba(0,0,0,.85),
      0 7px 18px rgba(0,0,0,.75),
      0 0 18px rgba(255,179,0,.35);
  }
  .reunion-header h2{
    text-shadow:0 3px 10px rgba(0,0,0,.9);
  }
  .mobile-title-break{
    display:block;
  }
  .info-box, .gratitude-box{ width:min(94vw, 680px); }

  html.is-touch header nav,
  html.is-touch header .right-links{ display:none !important; }
  html.is-touch .menu-btn{ display:inline-flex !important; }
  html.is-touch .menu-btn i.lucide,
  html.is-touch .menu-btn svg,
  html.is-touch .menu-btn svg *{
    color:var(--brand-black) !important;
    stroke:var(--brand-black) !important;
  }
  html.is-touch .mobile-panel{
    background:rgba(255,255,255,.92);
    border-top:1px solid rgba(0,0,0,.08);
  }
  html.is-touch .mobile-panel.open{ display:block; }
  html.is-touch .mobile-inner{
    max-width:1100px;
    margin:0 auto;
    padding:.75rem 1rem 1rem;
    display:grid;
    gap:.5rem;
  }
  html.is-touch .mobile-inner nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:.5rem;
    text-align:center;
    font-family:sans-serif;
  }
  html.is-touch .mobile-inner nav a{
    padding:.7rem;
    border-radius:10px;
    background:rgba(255,255,255,.6);
    color:var(--brand-black) !important;
    text-decoration:none;
  }
  html.is-touch .mobile-inner .right-links{
    display:flex;
    justify-content:center;
    gap:.5rem;
    margin-top:.25rem;
  }
  html.is-touch .mobile-inner .right-links a{
    color:var(--brand-black);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:999px;
    text-decoration:none;
  }
  html.is-touch .mobile-inner .right-links i.lucide{
    width:24px;
    height:24px;
  }
}

@media (max-width:600px){
  .gratitude-overlay{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.38);
    z-index:998;
  }

  .gratitude-box{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:min(92vw, 500px);
    max-height:80vh;
    overflow:auto;
    margin:0;
    z-index:999;
    animation:gratitudeModalIn .28s ease-out forwards;
  }

  .gratitude-close{
    display:block;
    position:absolute;
    top:10px;
    right:14px;
    border:none;
    background:none;
    color:#ffffff;
    font-size:1.6rem;
    line-height:1;
    cursor:pointer;
    padding:0;
  }

  .gratitude-contributors{
    grid-template-columns:1fr;
    justify-content:center;
    text-align:center;
  }
}

html.no-hamburger .menu-btn{ display:none !important; }
html.no-hamburger header nav,
html.no-hamburger header .right-links{ display:flex !important; }

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
}

@supports not (-webkit-text-stroke:2px black){
  .reunion-header h1{
    text-shadow:
      1px 0 0 var(--brand-black),
     -1px 0 0 var(--brand-black),
      0 1px 0 var(--brand-black),
      0 -1px 0 var(--brand-black),
      1px 1px 0 var(--brand-black),
     -1px 1px 0 var(--brand-black),
      1px -1px 0 var(--brand-black),
     -1px -1px 0 var(--brand-black);
  }
}

.hotel-image{
  max-width:100%;
  height:auto;
  border-radius:8px;
}
