/* Base */
:root{
  --bg: #ffeccc;
  --ink: #222;
  --panel: #fff4e0;
  --accent: #f8c187;
  --brand: #4c2a00;
  --btn: coral;
  --btn-hover: #e65f00;
  --shadow: 0 3px 8px rgba(0,0,0,.12);
}

*{box-sizing: border-box}
body{
  margin:0;
  font-family: 'PT Serif Caption', serif;
  background: var(--bg);
  color: var(--ink);
}

/* Header / Nav */
.site-header{
  text-align:center;
  padding: 1rem 1rem .25rem;
}
.site-title{
  margin:.25rem 0 .75rem;
  font-size:2.2rem;
  color: var(--brand);
}

/* nav list reset */
.main-nav .nav-list{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:1rem;
  list-style:none;
  margin:0;
  padding:.75rem 1rem;
  background: var(--panel);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
/* items */
.nav-item a,
.nav-button {
  font-family: 'PT Serif Caption', serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #333;
  border: none;
  background: none;
  cursor: pointer;
  padding: .35rem .65rem;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.4;
  appearance: none;        /* removes default button styling */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.nav-item a:hover,
.nav-button:hover {
  background-color: #fff1da;
  color: #000;
}

.nav-item a:hover,
.nav-button:hover{
  background: #fff1da;
}

/* dropdown */
.nav-item--has-dropdown{
  position:relative;
}
.nav-button{
  display:flex;
  align-items:center;
  gap:.35rem;
}
.chevron{font-size:.9rem; transform: translateY(-1px);}

/* hidden by default */
.nav-dropdown{
  position:absolute;
  top: calc(100% + 8px);
  left:50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding:.4rem;
  margin:0;
  list-style:none;
  background:#fff;
  border:1px solid #f0d8b7;
  border-radius:10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  display:none;
  z-index: 1000;
}
.nav-item--has-dropdown.open .nav-dropdown{
  display:block;
}
.nav-dropdown a{
  display:block;
  padding:.55rem .7rem;
  color:#333;
  border-radius:8px;
}
.nav-dropdown a:hover{
  background:#fff6ea;
}

/* Page layout */
.main-wrapper{
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

/* About section */
.description-centered{
  max-width: 900px;
  margin: 1.25rem auto 0;
  padding: 1.25rem 1.25rem;
  background-color: #fff9f1;
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
  color: #3c2f23;
}
.description-centered h3{
  margin:0 0 .65rem;
  text-align:center;
  color: var(--brand);
}
.description-centered p{
  margin:.65rem 0;
  line-height:1.7;
}

/* Series grid */
.series-grid{
  margin-top:2rem;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:1.25rem;
}
.series-card{
  background: var(--panel);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.series-card__media{
  padding:1rem 1rem 0;
  display:flex;
  justify-content:center;
}
.series-card__media img{
  width: 220px;
  max-width: 90%;
  border-radius:8px;
}
.series-card__body{
  padding:1rem 1.25rem 1.25rem;
}
.series-card__body h3{
  margin:.25rem 0 .5rem;
  color: var(--brand);
}
.series-card__body p{
  margin:0 0 .9rem;
  line-height:1.6;
}
.btn{
  display:inline-block;
  padding:.55rem .9rem;
  background: var(--btn);
  color:#fff;
  text-decoration:none;
  border-radius:8px;
  font-weight:700;
}
.btn:hover{ background: var(--btn-hover); }

/* Retail row */
.retail-row{
  margin-top:3rem;
  text-align:center;
}
.retail-row h3{
  color: var(--brand);
  margin-bottom: .75rem;
}
.promo-images{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:1rem;
}
.promo-item{
  display:inline-block;
}
.promo-item img{
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.promo-item:hover img{ transform: scale(1.03); }

/* Finn */
.finn-flying{
  position: fixed;
  top: 100px;
  left: -150px;
  width: 100px;
  z-index: 999;
  animation: flyFinn 20s linear infinite;
  pointer-events: none;
}
@keyframes flyFinn{
  0%   { transform: translateX(-150px) translateY(0); }
  25%  { transform: translateX(25vw)  translateY(-50px); }
  50%  { transform: translateX(50vw)  translateY(50px); }
  75%  { transform: translateX(75vw)  translateY(-30px); }
  100% { transform: translateX(110vw) translateY(0); }
}

/* Fade in */
.fade-in{ opacity:0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.show{ opacity:1; transform: translateY(0); }

/* Footer */
.footer-colored{
  background: var(--panel);
  text-align:center;
  padding: 2rem 1rem;
  font-weight:700;
  margin-top:2rem;
}
.footer-colored a{ color:#d67600; text-decoration:none; }
.footer-colored a:hover{ text-decoration:underline; }

/* Responsive */
@media (max-width: 1024px){
  .series-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px){
  .main-nav .nav-list{
    gap:.5rem;
    padding:.6rem .7rem;
  }
  .series-grid{
    grid-template-columns: 1fr;
  }
  .series-card__media img{
    width: 70%;
  }
}

.nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.chevron {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.nav-item--has-dropdown.open .chevron {
  transform: rotate(180deg);
}

