/* ============================================================
   Silverbackdisc – Main Stylesheet
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #39462e; /* dark jungle olive green sampled from banner */
  font-family: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   SHARED – SITE HEADER
   ============================================================ */
.site-header {
  background-color: #39462e;
  padding: 28px 16px 20px;
  text-align: center;
}

.site-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  /* Thin black outline */
  -webkit-text-stroke: 1.5px #000000;
  paint-order: stroke fill;
  line-height: 1.1;
}

/* Title as a link — keeps exact same appearance */
.title-link {
  color: inherit;
  text-decoration: none;
  -webkit-text-stroke: inherit;
  transition: opacity 0.2s ease;
}

.title-link:hover,
.title-link:focus {
  opacity: 0.85;
  outline: none;
}

/* ============================================================
   PAGE 1 – HOME
   ============================================================ */

/* Hero / Banner Image */
.hero-section {
  width: 100%;
  line-height: 0;
}

.hero-img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

/* Shop Media CTA Button */
.cta-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px 36px;
  gap: 28px;
}

/* ---- Spinning DVD (vertical / coin-flip axis) ---- */
.dvd-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 3D perspective container */
.dvd-scene {
  width: 170px;
  height: 170px;
  perspective: 600px;
}

/* The coin that flips — holds both faces */
.dvd-coin {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: coinFlip 4s linear infinite;
  filter: drop-shadow(0 0 14px rgba(180,220,255,0.75));
}

/* Each face is absolutely stacked */
.dvd-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Front face (movie label) — faces forward */
.dvd-front {
  transform: rotateY(0deg);
}

/* Back face (iridescent) — starts flipped 180° */
.dvd-back {
  transform: rotateY(180deg);
}

.dvd-svg {
  width: 100%;
  height: 100%;
}

@keyframes coinFlip {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}



.btn-shop {
  display: inline-block;
  width: 50%;
  max-width: 420px;
  min-width: 200px;
  padding: 18px 0;
  background-color: #000000;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-shop:hover,
.btn-shop:focus {
  background-color: #333333;
  transform: translateY(-2px);
  outline: none;
}

/* Social Footer */
.social-footer {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 28px 16px 36px;
  background-color: #39462e;
}

/* Square social icon buttons */
.social-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.social-btn:hover,
.social-btn:focus {
  background-color: #333333;
  transform: translateY(-2px);
  outline: none;
}

.social-btn svg {
  flex-shrink: 0;
}

/* ============================================================
   PAGE 2 – SHOP
   ============================================================ */

.shop-main {
  padding: 28px 16px 20px;
  flex: 1;
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Listing Card */
.listing-card {
  background-color: #4a5a38;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.listing-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.listing-title {
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  color: #f0f0e8;
  padding: 12px 12px 10px;
  line-height: 1.35;
  flex: 1;
}

/* Buy Now Button */
.btn-buy {
  display: inline-block;
  width: calc(100% - 24px);
  padding: 11px 0;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn-buy:hover,
.btn-buy:focus {
  background-color: #333333;
  transform: translateY(-2px);
  outline: none;
}

/* Shop Page Footer */
.shop-footer {
  text-align: center;
  padding: 36px 20px 40px;
  background-color: #2b3522;
  border-top: 2px solid #1e2718;
}

.shop-footer .slogan {
  font-size: 1.25rem;
  font-weight: 800;
  color: #e8f0d8;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  font-style: italic;
}

.shop-footer .disclaimer {
  font-size: 0.9rem;
  color: #b8c8a0;
  font-weight: 500;
}

.shop-footer .contact-email {
  font-size: 0.95rem;
  color: #d0e0b8;
  font-weight: 600;
  margin-top: 10px;
}

.shop-footer .contact-email a {
  color: #d0e0b8;
  text-decoration: underline;
}

.shop-footer .contact-email a:hover {
  color: #ffffff;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 600px) {
  .site-title {
    font-size: 2.2rem;
  }

  .btn-shop {
    width: 80%;
    font-size: 1rem;
    padding: 15px 0;
  }

  .social-footer {
    flex-direction: row;
    gap: 16px;
  }

  .social-btn {
    width: 64px;
    height: 64px;
    font-size: 0.65rem;
  }

  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .listing-title {
    font-size: 0.78rem;
  }

  .btn-buy {
    font-size: 0.78rem;
    padding: 9px 0;
  }

  .shop-footer .slogan {
    font-size: 1rem;
  }
}

@media (max-width: 360px) {
  .listings-grid {
    grid-template-columns: 1fr;
  }
}
