/* ==========================================================================
   ATeo KS — site stylesheet
   Rewritten by hand from the crawled Weebly theme (computed styles in
   crawl-data/computed/*.json). Values below are the ones Chromium actually
   resolved on the live site, not Weebly's generated class soup.

   Type scale   body  Lato 400 16px / 28.8px  #666
                h2    Ubuntu 400 30px / 39px  #333  uppercase  1px tracking
                logo  Cookie 400 40px         #000
   Palette      page #2b2b2b · band #fff · band-alt #ededec · ink #333
                muted #666 · footer #1e1e1e
   ========================================================================== */

@import url("../assets/fonts/fonts.css");

:root {
  --ink: #333;
  --body: #666;
  --white: #fff;
  --band-alt: #ededec;
  --page-bg: #2b2b2b;
  --footer-bg: #1e1e1e;
  --footer-ink: #626262;
  --rule: #e4e4e4;
  --accent: #3b3b3b;

  --font-body: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-head: Ubuntu, Lato, "Helvetica Neue", Arial, sans-serif;
  --font-logo: Cookie, cursive;

  --shell: 1140px;          /* Weebly's content column inside a 1440 viewport */
  --gutter: 20px;
}

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--body);
  background: var(--page-bg);
}

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }

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

h1, h2, h3, h4, h5, h6 { margin: 0 0 10px; font-family: var(--font-head); font-weight: 400; color: var(--ink); }

/* Weebly's content titles: centred, uppercase, letterspaced. The original
   markup used <h2> for page titles; the rebuild uses <h1> for document
   semantics and carries the same 30px/uppercase treatment across to it. */
h1 { font-size: 30px; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; }
h2 { font-size: 30px; line-height: 1.3; letter-spacing: 1px; text-transform: uppercase; }
h3 { font-size: 24px; line-height: 1.35; letter-spacing: 1px; text-transform: uppercase; }
h4 { font-size: 20px; line-height: 1.4; }

p { margin: 0 0 16px; }

/* --- layout shell --------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* A full-bleed horizontal band. Weebly alternates white / #ededec. */
.band { padding: 60px 0; background: var(--white); color: var(--body); }
.band--alt { background: var(--band-alt); }
.band--dark { background: var(--page-bg); color: #bdbdbd; }
.band--tight { padding: 36px 0; }

.band__title { margin: 0 0 28px; text-align: center; color: var(--ink); }
.band__lede { max-width: 760px; margin: -12px auto 32px; text-align: center; }

/* --- header / nav --------------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-family: var(--font-logo);
  font-size: 40px;
  line-height: 1.1;
  color: #000;
}
.logo:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: none;
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}

/* Top-level menu */
.nav { font-family: var(--font-body); }
.nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }

.nav__item { position: relative; }

.nav__link {
  display: block;
  padding: 12px 14px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
}
.nav__link:hover,
.nav__item[aria-current] > .nav__link { color: #000; text-decoration: none; }
.nav__item.is-active > .nav__link { font-weight: 700; color: #000; }

/* Caret on items that own a submenu */
.nav__link--parent::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  vertical-align: 2px;
}

/* Dropdowns (levels 2 and 3) */
.nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 216px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--rule);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub,
.nav__sub.is-open { opacity: 1; visibility: visible; transform: none; }

/* Third level opens to the side. */
.nav__sub .nav__sub { top: -7px; left: 100%; }

.nav__sublink {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: .6px;
  color: var(--body);
}
.nav__sublink:hover { color: #000; background: #f6f6f6; text-decoration: none; }

.nav__sublink--parent { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nav__sublink--parent::after { content: "\203A"; font-size: 16px; line-height: 1; }

/* --- hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  padding: 70px 0;
  color: var(--white);
  text-align: center;
  background: #444 center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .38);
}
.hero > * { position: relative; }

.hero__date { margin: 0 0 10px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; opacity: .85; }
.hero__title {
  max-width: 900px;
  margin: 0 auto 26px;
  font-size: 44px;
  line-height: 1.25;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
}

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 11px 26px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 2px solid var(--white);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.btn:hover { color: #000; background: var(--white); text-decoration: none; }

.btn--dark { color: var(--ink); border-color: var(--ink); }
.btn--dark:hover { color: var(--white); background: var(--ink); }

.btn--solid { color: var(--white); background: var(--accent); border-color: var(--accent); }
.btn--solid:hover { color: var(--white); background: #000; border-color: #000; }

/* --- generic column grid -------------------------------------------------- */
.cols { display: flex; flex-wrap: wrap; gap: 30px; }
.cols > * { flex: 1 1 0; min-width: 0; }
.cols--2 > * { flex-basis: calc(50% - 15px); }
.cols--3 > * { flex-basis: calc(33.333% - 20px); }

.card { text-align: center; }
.card__title { margin: 0 0 8px; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }

/* --- links row (YouTube / Carousell / Blogspot / Discord) ------------------ */
.linkgrid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.linkgrid__item {
  flex: 1 1 210px;
  max-width: 260px;
  padding: 24px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--rule);
  transition: box-shadow .18s ease, transform .18s ease;
}
.linkgrid__item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .1); text-decoration: none; }
.linkgrid__item img { max-height: 76px; width: auto; margin-bottom: 12px; }
.linkgrid__label { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }

/* --- quote ---------------------------------------------------------------- */
.quote {
  margin: 0;
  font-size: 19px;
  font-style: italic;
  line-height: 1.7;
  text-align: center;
  color: var(--body);
}

/* --- clocks & countdown --------------------------------------------------- */
.clocks { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.clock {
  flex: 1 1 200px;
  max-width: 240px;
  padding: 18px 14px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--rule);
}
.clock__zone { display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--body); }
.clock__time { display: block; font-size: 26px; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.clock__date { display: block; margin-top: 4px; font-size: 12px; color: var(--body); }

.countdown { text-align: center; }
.countdown__label { margin: 0 0 10px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.countdown__value { font-size: 30px; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }

/* --- store ---------------------------------------------------------------- */
.products { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin: 0; padding: 0; list-style: none; }
.product {
  flex: 1 1 240px;
  max-width: 280px;
  padding: 20px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--rule);
}
.product__media { display: block; margin-bottom: 14px; }
.product__media img { width: 100%; height: 200px; object-fit: contain; }
.product__name { margin: 0 0 6px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.product__price { margin: 0 0 14px; font-size: 15px; color: var(--body); }

.product-detail { display: flex; flex-wrap: wrap; gap: 40px; }
.product-detail__media { flex: 1 1 380px; }
.product-detail__media img { width: 100%; }
.product-detail__body { flex: 1 1 380px; }
.product-detail__price { margin: 0 0 20px; font-size: 22px; color: var(--ink); }

/* --- gallery -------------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.gallery__item { display: block; overflow: hidden; background: #ddd; border: 0; padding: 0; cursor: zoom-in; }
.gallery__item img { display: block; width: 100%; height: 190px; object-fit: cover; transition: transform .25s ease; }
.gallery__item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(0, 0, 0, .9);
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 18px;
  font-size: 28px;
  line-height: 1;
  color: var(--white);
  background: rgba(0, 0, 0, .45);
  border: 0;
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(0, 0, 0, .75); }
.lightbox__btn--prev { left: 18px; }
.lightbox__btn--next { right: 18px; }
.lightbox__close { top: 18px; right: 18px; transform: none; font-size: 22px; }

/* --- blog ----------------------------------------------------------------- */
.post { padding-bottom: 38px; margin-bottom: 38px; border-bottom: 1px solid var(--rule); }
.post:last-child { border-bottom: 0; }
.post__title { margin: 0 0 8px; font-size: 26px; letter-spacing: 1px; text-transform: uppercase; }
.post__title a:hover { text-decoration: none; color: #000; }
.post__meta { margin: 0 0 18px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #999; }
.post__body > :last-child { margin-bottom: 0; }

.blog-layout { display: flex; flex-wrap: wrap; gap: 44px; align-items: flex-start; }
.blog-main { flex: 1 1 560px; min-width: 0; }
.blog-side { flex: 0 1 260px; }
.blog-side__title { margin: 0 0 12px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.blog-side__list { margin: 0 0 30px; padding: 0; list-style: none; font-size: 14px; }
.blog-side__list li { padding: 5px 0; border-bottom: 1px solid var(--rule); }
.blog-side__list a:hover { color: #000; }

.pager { display: flex; gap: 12px; justify-content: space-between; margin-top: 30px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* --- forms ---------------------------------------------------------------- */
.form { max-width: 620px; margin: 0 auto; }
.form--wide { max-width: 820px; }

.form__note { margin-bottom: 20px; font-size: 13px; color: #999; }

.field { margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.field__req { color: #c0392b; }

.field__input,
.field__select,
.field__textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 2px;
}
.field__input:focus,
.field__select:focus,
.field__textarea:focus { outline: 2px solid #999; outline-offset: 1px; border-color: #999; }
.field__textarea { min-height: 150px; resize: vertical; }

.field__row { display: flex; flex-wrap: wrap; gap: 14px; }
.field__row > * { flex: 1 1 200px; }

.choice { display: block; margin-bottom: 8px; font-size: 15px; color: var(--body); }
.choice input { margin-right: 9px; }

.field__error { margin-top: 6px; font-size: 13px; color: #c0392b; }
.field__input[aria-invalid="true"],
.field__select[aria-invalid="true"],
.field__textarea[aria-invalid="true"] { border-color: #c0392b; }

/* Shown by js/forms.js in place of a real submission. */
.form__status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  font-size: 14px;
  border: 1px solid;
  border-radius: 2px;
}
.form__status.is-visible { display: block; }
.form__status--error { color: #8a2a1f; background: #fdf1ef; border-color: #e8c4bd; }

/* --- embeds --------------------------------------------------------------- */
.embed { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; }
.embed > iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed--tall { padding-bottom: 75%; }

.videolist { display: flex; flex-wrap: wrap; gap: 30px; }
.videolist > * { flex: 1 1 320px; }

/* --- misc ----------------------------------------------------------------- */
.center { text-align: center; }
.stack > * + * { margin-top: 18px; }
.muted { color: #999; }

.notice {
  padding: 16px 18px;
  font-size: 14px;
  color: #6b5a12;
  background: #fdf8e3;
  border: 1px solid #e8ddb0;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- footer --------------------------------------------------------------- */
.site-footer {
  padding: 40px 0 28px;
  font-size: 13px;
  color: var(--footer-ink);
  background: var(--footer-bg);
}
.site-footer a { color: #8f8f8f; }
.site-footer a:hover { color: #ccc; }

.site-footer__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; letter-spacing: 1px; text-transform: uppercase; }

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 900px) {
  .site-header__inner { flex-wrap: wrap; min-height: 0; }
  .nav-toggle { display: block; }

  .nav { flex-basis: 100%; }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 10px; }
  .nav__item { border-top: 1px solid var(--rule); }
  .nav__link { padding: 13px 4px; }

  /* Submenus stack inline on small screens — no hover to rely on. */
  .nav__sub,
  .nav__sub .nav__sub {
    position: static;
    min-width: 0;
    padding: 0 0 6px 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav__sub.is-open { display: block; }
  .nav__item:hover > .nav__sub,
  .nav__item:focus-within > .nav__sub { display: none; }
  .nav__item:hover > .nav__sub.is-open,
  .nav__item:focus-within > .nav__sub.is-open { display: block; }
  .nav__sublink--parent::after { content: "+"; }

  .hero { min-height: 340px; }
  .hero__title { font-size: 30px; }

  .cols--2 > *, .cols--3 > * { flex-basis: 100%; }
  .blog-layout { gap: 30px; }
  .band { padding: 44px 0; }
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .gallery__item img { height: 140px; }
  .site-footer__inner { justify-content: flex-start; }
}

@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  body { color: #000; background: #fff; }
}
