/* =========================================================
   MONS INK PIRATENFEEST — gedeelde stijl (upload + album)
   Nagebouwd op basis van het aangeleverde design
   (mons-ink-piratenfeest-2026.andmons61.chatgpt.site)
   ========================================================= */

:root{
  --bg: #130f0c;
  --bg-soft: #1c1611;
  --cream: #f4ead4;
  --cream-dim: #cfc3a8;
  --gold: #c7933a;
  --red: #811f1d;
  --red-dark: #56110e;
  --red-border: #54130f;
  --red-brown: #6f1717;
  --btn-text: #f5e4bd;
  --parchment: #cdb287;
  --parchment-dark: #a98a5c;
  --max-width: 760px;
}

*{ box-sizing: border-box; }

html,body{
  margin:0;
  padding:0;
  background: var(--bg);
  color: var(--cream);
  font-family: Georgia, 'Times New Roman', serif;
}

a{ color: inherit; text-decoration:none; }

.wrap{
  width:100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* -------- Header -------- */
header.site-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 22px 6vw;
  background: linear-gradient(rgba(7,5,4,0.62), rgba(0,0,0,0));
  position: relative;
  z-index: 5;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand .skull-badge{
  width:34px; height:34px;
  border-radius:50%;
  border: 1px solid var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 0.95rem;
  color: var(--gold);
  flex-shrink:0;
}

.brand .brand-text{
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.brand .brand-text .accent{
  color: var(--gold);
  font-weight:700;
}

nav.site-nav a{
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: border-color .2s ease, color .2s ease;
}

nav.site-nav a.active,
nav.site-nav a:hover{
  color: var(--gold);
  border-color: var(--gold);
}

/* -------- Hero (foto van de piraten-hosts) -------- */
.hero{
  position: relative;
  min-height: 78vh;
  display:flex;
  align-items:center;
  background-image:
    linear-gradient(90deg, rgba(5,4,3,0.88) 0%, rgba(8,5,3,0.62) 40%, rgba(7,5,4,0.15) 75%),
    url('img/piraten-portret.png'),
    radial-gradient(ellipse at 72% 35%, #4a3420 0%, #130f0c 70%);
  background-size: cover, cover, cover;
  background-position: center, center 20%, center;
  background-repeat: no-repeat;
  margin-top: -78px; /* onder de header schuiven */
  padding-top: 78px;
}

.hero-inner{
  max-width: 620px;
  padding: 60px 6vw 70px;
}

.eyebrow{
  display:block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.hero h1{
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.05;
  color: var(--cream);
  margin: 0 0 20px;
}

.hero p.tagline{
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cream-dim);
  max-width: 460px;
  margin: 0 0 30px;
}

.btn-cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 1px solid var(--red-border);
  color: var(--btn-text);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor:pointer;
  transition: transform .15s ease;
}

.btn-cta:hover{ transform: translateY(-1px); }

/* -------- Secties met donkere achtergrond -------- */
.section-dark{
  background: var(--bg);
  padding: 70px 6vw 90px;
  display:flex;
  justify-content:center;
}

.section-cave{
  background-image:
    linear-gradient(rgba(4,3,2,0.35), rgba(0,0,0,0.55)),
    url('img/schatkamer.jpg'),
    radial-gradient(ellipse at 50% 30%, #241c12 0%, #0c0a08 75%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat;
  padding: 90px 6vw;
  display:flex;
  justify-content:center;
}

/* -------- Perkament-kaart -------- */
.parchment-card{
  position:relative;
  width:100%;
  max-width: 560px;
  background-color: var(--parchment);
  background-image:
    radial-gradient(ellipse at 20% 15%, rgba(255,255,255,0.10), transparent 45%),
    radial-gradient(ellipse at 80% 85%, rgba(0,0,0,0.18), transparent 50%),
    url('img/perkament.png');
  background-size: cover, cover, cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--red-brown);
  text-align:center;
  padding: 46px 42px 40px;
  clip-path: polygon(
    1.5% 4%, 6% 0.5%, 94% 0.8%, 98.5% 5%,
    99.5% 14%, 98% 55%, 99.5% 92%,
    95% 99.5%, 82% 98.5%, 18% 99.5%,
    5% 98%, 0.5% 88%, 1.8% 45%, 0.3% 10%
  );
  box-shadow: 0 25px 60px rgba(0,0,0,0.55);
}

.parchment-card .icon-ring{
  width:52px; height:52px;
  border-radius:50%;
  border: 1.5px solid var(--red-brown);
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 0 auto 18px;
  font-size: 1.3rem;
}

.parchment-card .eyebrow{
  color: var(--red-brown);
  margin-bottom: 10px;
}

.parchment-card h2{
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: #2a1c10;
  margin: 0 0 16px;
  line-height:1.15;
}

.parchment-card p.desc{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  color: #4a3218;
  line-height: 1.55;
  margin: 0 auto 26px;
  max-width: 420px;
}

/* -------- Dropzone binnen de kaart -------- */
.dropzone{
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(74,50,24,0.25);
  padding: 30px 20px;
  cursor:pointer;
  margin-bottom: 16px;
}

.dropzone.dragover{ background: rgba(255,255,255,0.55); }

.dropzone .icon-ring{
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--btn-text);
  border-color: transparent;
}

.dropzone strong{
  display:block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.05rem;
  color: #2a1c10;
  margin-bottom: 6px;
}

.dropzone small{
  display:block;
  color: #5a4326;
  font-size: 0.8rem;
}

input[type="file"]{ display:none; }

/* -------- Formuliervelden op perkament -------- */
.field-guest{
  text-align:left;
  margin-bottom: 20px;
}

.field-guest label{
  display:block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-brown);
  margin-bottom: 6px;
}

.field-guest input[type="text"]{
  width:100%;
  background: rgba(255,255,255,0.35);
  border: none;
  border-bottom: 1px solid rgba(74,50,24,0.4);
  padding: 10px 4px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.95rem;
  color: #2a1c10;
}

.field-guest input[type="text"]:focus{
  outline:none;
  border-color: var(--red-brown);
}

/* -------- Previews -------- */
.preview-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.preview-item{
  position:relative;
  aspect-ratio: 1/1;
  overflow:hidden;
  border: 1px solid rgba(74,50,24,0.35);
  background:#000;
}

.preview-item img{ width:100%; height:100%; object-fit:cover; display:block; }

.preview-item .remove{
  position:absolute; top:3px; right:3px;
  width:20px; height:20px;
  border-radius:50%;
  background: rgba(0,0,0,0.6);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 0.65rem;
  cursor:pointer;
}

/* -------- Rode actieknop (submit) -------- */
.btn-submit{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  border: 1px solid var(--red-border);
  color: var(--btn-text);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 15px 20px;
  cursor:pointer;
}

.btn-submit:disabled{ opacity:0.45; cursor:not-allowed; }

.progress-bar{
  width:100%; height:6px;
  background: rgba(0,0,0,0.15);
  margin-top:14px;
  display:none;
  overflow:hidden;
}

.progress-bar .fill{
  height:100%; width:0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  transition: width .2s ease;
}

.status-list{
  margin-top: 16px;
  text-align:left;
  display:flex; flex-direction:column; gap:6px;
}

.status-row{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  padding: 7px 10px;
  background: rgba(255,255,255,0.3);
}

.status-row.ok{ color:#2f5c2f; }
.status-row.error{ color:#7a1f1f; }

/* -------- Privacy notice -------- */
.notice{
  margin-top: 22px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.3px;
  color: #5a4326;
}

.notice.on-dark{
  color: var(--cream-dim);
  text-align:center;
}

/* -------- Stempel (releasedatum) -------- */
.stamp{
  width: 96px; height:96px;
  border-radius:50%;
  border: 1.5px solid var(--red-brown);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  margin: 24px auto 0;
  color: var(--red-brown);
}

.stamp .na{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  letter-spacing: 2px;
  font-weight:700;
}

.stamp .date{
  font-family: Georgia, 'Times New Roman', serif;
  font-weight:700;
  font-size: 1.1rem;
  line-height:1.1;
}

.stamp .year{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.6rem;
  letter-spacing:1px;
}

/* -------- Countdown -------- */
.countdown{
  display:flex;
  justify-content:center;
  gap: 14px;
  margin: 24px 0 4px;
  flex-wrap:wrap;
}

.countdown .unit{
  min-width: 62px;
}

.countdown .unit .num{
  display:block;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight:700;
  font-size: 1.7rem;
  color: var(--red-brown);
}

.countdown .unit .label{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  letter-spacing:1px;
  text-transform:uppercase;
  color: #5a4326;
}

/* -------- Galerij (album ontgrendeld) -------- */
.gallery-wrap{ width:100%; max-width: 960px; }

.gallery-meta{
  text-align:center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: var(--cream-dim);
  margin-bottom: 22px;
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-grid .photo{
  position:relative;
  aspect-ratio:1/1;
  overflow:hidden;
  border: 1px solid rgba(199,147,58,0.25);
  cursor:zoom-in;
  background:#000;
}

.gallery-grid .photo img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition: transform .3s ease;
}

.gallery-grid .photo:hover img{ transform: scale(1.06); }

/* -------- Lightbox -------- */
.lightbox{
  position:fixed; inset:0;
  background: rgba(6,4,3,0.94);
  display:none;
  align-items:center; justify-content:center;
  flex-direction:column;
  z-index:999;
  padding:20px;
}

.lightbox.open{ display:flex; }

.lightbox img{
  max-width:92vw; max-height:78vh;
  border: 1px solid rgba(199,147,58,0.4);
}

.lightbox .lb-caption{
  color: var(--cream-dim);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  margin-top:12px;
}

.lightbox .lb-controls{ position:absolute; top:18px; right:18px; }

.lb-close{
  width:36px; height:36px;
  border-radius:50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
}

.lightbox .lb-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:44px; height:44px;
  border-radius:50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  font-size:1.3rem;
}

.lb-prev{ left:18px; }
.lb-next{ right:18px; }

/* -------- Footer -------- */
footer.site-footer{
  text-align:center;
  padding: 26px 20px;
  background: var(--bg);
}

footer.site-footer .skull{
  color: var(--gold);
  font-size:1.1rem;
  display:block;
  margin-bottom:6px;
}

footer.site-footer .motto{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.hidden{ display:none !important; }

/* -------- Responsive -------- */
@media (max-width: 640px){
  header.site-header{ padding: 18px 5vw; }
  .hero{ min-height: 70vh; }
  .hero-inner{ padding: 40px 5vw 50px; }
  .parchment-card{ padding: 34px 22px 30px; }
  .preview-grid{ grid-template-columns: repeat(3,1fr); }
  .gallery-grid{ grid-template-columns: repeat(2,1fr); }
  .countdown .unit{ min-width: 54px; }
}
