:root{
  --bg: #e2cdbb;
  --paper: #ffffff;
  --ink: #241a14;
  --muted: #5a463c;

  --brand: #8a2e2a;     /* lämmin viininpunainen */
  --brand-2: #b85c3a;   /* lämmin kupari */
  --accent: #d7a24a;    /* lämmin kulta */

  --line: rgba(36, 26, 20, 0.12);

  --shadow: 0 10px 30px rgba(36, 26, 20, 0.10);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 800px at 15% 10%, rgba(215,162,74,0.18), transparent 55%),
              radial-gradient(1000px 700px at 90% 0%, rgba(184,92,58,0.14), transparent 60%),
              var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
a:focus{ outline: 3px solid rgba(215,162,74,0.65); outline-offset: 3px; border-radius: 10px; }

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* ===== HEADER ===== */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 247, 238, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
}

.brand img{
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(36, 26, 20, 0.12);
  background: rgba(255,255,255,0.85);
}

.brand .title{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand .title strong{
  font-size: 1.60rem;
  letter-spacing: 0.2px;
}

.brand .title span{
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===== NAV ===== */
nav{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.navlink{
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 1.15rem;
  transition: all 0.3s ease;
}

.navlink:hover{
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.navlink[aria-current="page"]{
  background: rgba(138, 46, 42, 0.10);
  color: var(--ink);
  border-color: rgba(138, 46, 42, 0.25);
}

/* ===== HERO ===== */
.hero{
  position: relative;
  min-height: 95vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.03);
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 500px at 50% 45%, rgba(0,0,0,0.20), rgba(0,0,0,0.55)),
    linear-gradient(90deg, rgba(138,46,42,0.35), rgba(184,92,58,0.18), rgba(215,162,74,0.16));
}

.hero-content{
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 2rem));
  margin-left: 10%;
  padding: 4.2rem 0 3.5rem;
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.hero-card{
  max-width: 900px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.kicker{
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.dot{
  width: 9px; height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(215,162,74,0.18);
}

.hero .kicker{ color: #ffffff; text-shadow: 0 2px 10px rgba(0,0,0,0.55); }

.hero h1{
  margin: 0.45rem 0 0.4rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.4px;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.6);
}

.hero .lead{
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-sub{
  color: #ffffff;
  font-size: 1.2rem;
  margin-top: 0.6rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.hero-actions{
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ===== BUTTONS ===== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(36, 26, 20, 0.10);
}

.btn-primary{
  background: linear-gradient(135deg, var(--brand), #6f2320);
  color: white;
  border-color: rgba(255,255,255,0.25);
}
.btn-primary:hover{ filter: brightness(1.05); }

.btn-secondary{
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  border-color: rgba(36, 26, 20, 0.14);
}
.btn-secondary:hover{ background: white; }

/* ===== LAYOUT / CARDS ===== */
main{ padding: 2.2rem 0 3rem; }

.grid{
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(12, 1fr);
}

.card{
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 26px rgba(36, 26, 20, 0.08);
  padding: 1.2rem;
}

.card.fullwidth{ padding: 2rem; }

.card h2, .card h3{ margin: 0 0 0.4rem; }

.card p{
  margin: 0.25rem 0 0.7rem;
  color: var(--muted);
}

.col-6{ grid-column: span 6; }
.col-4{ grid-column: span 4; }
.col-8{ grid-column: span 8; }
.col-12{ grid-column: span 12; }

.badge{
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  background: rgba(215, 162, 74, 0.16);
  border: 1px solid rgba(215, 162, 74, 0.25);
  color: rgba(138, 46, 42, 0.95);
}

.list{
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}
.list li{ margin: 0.25rem 0; }

/* ===== MEDIA / GALLERY ===== */
.media{
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 150px 1fr;
  align-items: start;
}
.media img{
  width: 150px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(36, 26, 20, 0.08);
  background: #fff;
}

.gallery{
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(3, 1fr);
}
.gallery .ph{
  border-radius: 16px;
  border: 1px dashed rgba(36,26,20,0.25);
  background: rgba(255,255,255,0.6);
  min-height: 140px;
  display: grid;
  place-items: center;
  color: rgba(90,70,60,0.9);
  font-weight: 800;
}

/* ===== FOOTER ===== */
footer{
  border-top: 1px solid var(--line);
  background: rgba(255, 247, 238, 0.8);
  padding: 1.6rem 0;
  color: var(--muted);
}

.footer-inner{
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.small{ font-size: 0.92rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px){
  .col-6, .col-4, .col-8 { grid-column: span 12; }
  .media{ grid-template-columns: 1fr; }
  .media img{ width: 100%; height: 180px; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }
  .hero-content{ margin-left: 0; }
}

@media (max-width: 520px){
  .brand .title span{ display:none; }
  .gallery{ grid-template-columns: 1fr; }
}

/* ===== FACEBOOK FEED ===== */
.fb-wrap{
  display: flex;
  justify-content: center;
}

.fb-page,
.fb-page span,
.fb-page span iframe{
  width: 100% !important;
  max-width: 500px;
}

/* ===== SHOWCASE (Esityskortti) ===== */
.showcase{
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 18px 40px rgba(36,26,20,0.12);
  overflow: hidden;
}

.showcase-inner{
  display: grid;
  grid-template-columns: 420px 1fr;
}

.showcase-poster{
  margin: 0;
  background:
    radial-gradient(900px 500px at 30% 25%, rgba(215,162,74,0.22), transparent 55%),
    radial-gradient(900px 500px at 70% 80%, rgba(184,92,58,0.16), transparent 60%),
    rgba(255,255,255,0.55);
  border-right: 1px solid var(--line);
  padding: 1.1rem;
  display: grid;
  place-items: start center;
}

.showcase-poster img{
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(36,26,20,0.12);
  box-shadow: 0 14px 30px rgba(36,26,20,0.10);
  background: #fff;
}

.showcase-body{
  padding: 1.5rem 1.5rem 1.3rem;
  display: grid;
  gap: 1.1rem;
}

.showcase-title{
  margin: 0.6rem 0 0.35rem;
  font-size: clamp(1.6rem, 2.2vw, 2.15rem);
  letter-spacing: -0.3px;
}

.showcase-ingress{
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.showcase-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.showcase-panel{
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.showcase-panel h3{ margin: 0 0 0.6rem; }

.showcase-cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(36,26,20,0.10);
}

.cta-text .small{ margin-top: 0.25rem; }

@media (max-width: 980px){
  .showcase-inner{ grid-template-columns: 1fr; }
  .showcase-poster{ border-right: none; border-bottom: 1px solid var(--line); }
  .showcase-grid{ grid-template-columns: 1fr; }
  .showcase-cta{ flex-direction: column; align-items: stretch; }
  .showcase-cta .btn{ width: 100%; justify-content: center; }
}

/* ===== CREDIT BLOCK (tekijät + esitysajat) ===== */
.credit-block{ margin-bottom: 0.9rem; }

.credit-block strong{
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.credit-block div{ color: var(--muted); }

/* ===== STATUS BADGES ===== */
.status{
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 6px;
}

.status.available{
  background: rgba(46, 125, 50, 0.15);
  color: #2e7d32;
  border: 1px solid rgba(46, 125, 50, 0.35);
}

.status.limited{
  background: rgba(245, 124, 0, 0.15);
  color: #f57c00;
  border: 1px solid rgba(245, 124, 0, 0.35);
}

.status.soldout{
  background: rgba(198, 40, 40, 0.15);
  color: #c62828;
  border: 1px solid rgba(198, 40, 40, 0.35);
}

/* ===== AJANKOHTAISET (kultaiset pallot + sisennys) ===== */
.news-list{
  list-style: none;
  padding-left: 0;
  margin-top: 0.6rem;
}

.news-list li{
  position: relative;
  padding-left: 30px; /* sisennys */
  margin-bottom: 0.7rem;
  color: var(--muted);
}

.news-list li::before{
  content: "•";
  position: absolute;
  left: 10px; /* pallon paikka */
  color: var(--accent);
  font-size: 1.2rem;
  line-height: 1;
}

/* ===== MAPS ===== */
.map-container{
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(36, 26, 20, 0.08);
}

.map-container iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gallery{
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.gallery img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
/* ===== LIGHTBOX / ZOOM ===== */
.lightbox{
  position: fixed;
  inset: 0;
  display: none;               /* avautuu JS:llä */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.82);
  z-index: 9999;
  padding: 1.25rem;
}

.lightbox.is-open{
  display: flex;
  animation: lbFadeIn 180ms ease-out;
}

@keyframes lbFadeIn{
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-figure{
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: grid;
  place-items: center;
  animation: lbZoomIn 200ms ease-out;
}

@keyframes lbZoomIn{
  from { transform: scale(0.96); }
  to   { transform: scale(1); }
}

.lightbox-figure img{
  max-width: 100%;
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  background: #fff;
}

/* Sulje-nappi */
.lightbox-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
}
.lightbox-close:hover{
  background: rgba(255,255,255,0.18);
  transform: scale(1.05);
}

/* Nuolinapit */
.lightbox-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
  user-select: none;
}
.lightbox-nav:hover{
  background: rgba(255,255,255,0.18);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-nav.prev{ left: 14px; }
.lightbox-nav.next{ right: 14px; }

/* Mobiilissa nuolinapit pienemmiksi */
@media (max-width: 520px){
  .lightbox-nav{
    width: 44px;
    height: 44px;
    font-size: 28px;
  }
/* ===== PRICING ===== */

.pricing-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.pricing-box{
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
}

.pricing-box h3{
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.pricing-box ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-box li{
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.95rem;
}

.pricing-box li:last-child{
  border-bottom: none;
}

.pricing-box strong{
  font-size: 1.05rem;
  color: var(--brand);
}

/* Korostettu vaihtoehto */
.pricing-box.highlight{
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Mobiili */
@media (max-width: 768px){
  .pricing-grid{
    grid-template-columns: 1fr;
  }
}


