/* ============================================================
   Demon Seed Skateboards - Homepage Styles v1.4 (Mobile Ready)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nova+Cut&family=Manrope:wght@400;700;800&display=swap');

/* ===== MAIN RESET ===== */
.ds-main {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Kill Storefront padding on front page */
body.home .site-content,
body.home #content,
body.home .content-area,
body.home .site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.home .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== HERO ===== */
.ds-hero {
  background-color: #E9E3DD;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 145vh; /* desktop: tall hero */
}

.ds-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.ds-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 140px 20px 200px;
}

.ds-hero-logo {
  max-width: 600px;
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* rotateIn animation */
.ds-rotate-in {
  animation: dsRotateIn 0.6s ease-in-out 0.6s both;
}

@keyframes dsRotateIn {
  from {
    opacity: 0;
    transform: rotate3d(0, 0, 1, -200deg);
    transform-origin: center center;
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transform-origin: center center;
  }
}

/* ===== DIVIDER ===== */
.ds-divider {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #009477;
  border: none;
  margin: 0;
  padding: 0;
}

/* ===== PRODUCTS SECTION ===== */
.ds-products-section {
  background: #ffffff;
  padding: 48px 0 56px;
  width: 100%;
}

.ds-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

.ds-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-product-item {
  display: block;
}

.ds-product-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Fixed-height image box */
.ds-product-img {
  width: 100%;
  height: 280px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ds-product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.ds-product-item a:hover .ds-product-img img {
  transform: scale(1.04);
}

.ds-product-info {
  padding: 14px 0 8px;
}

.ds-product-name {
  font-family: "Nova Cut", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #555555;
  margin: 0 0 6px;
  line-height: 1.3;
}

.ds-product-price {
  font-family: "Nova Cut", sans-serif;
  font-size: 15px;
  color: #555555;
  margin-bottom: 10px;
}

.ds-product-price del {
  color: #bbbbbb;
  margin-right: 6px;
}

.ds-product-price ins {
  text-decoration: none;
  color: #009477;
}

.ds-shop-btn {
  display: inline-block;
  background: #009477;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: background 0.2s ease;
}

.ds-shop-btn:hover {
  background: #007860;
}

/* ===== CTA SECTION ===== */
.ds-cta-section {
  background-image: url('https://pink-ape-742753.hostingersite.com/wp-content/uploads/2025/08/Rose-Tuck-Knee.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 460px 5% 100px; /* desktop: lots of background image visible */
  min-height: 900px;
  width: 100%;
  box-sizing: border-box;
}

.ds-cta-cards {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.ds-cta-card {
  flex: 1;
  min-width: 240px;
  max-width: 340px;
  border-radius: 15px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.ds-cta-card-bg {
  height: 360px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ds-cta-card-content {
  background-color: #009477;
  padding: 22px 20px;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.ds-cta-card-content h3 {
  font-family: "Manrope", sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1em;
  color: #ffffff;
  margin: 0;
}

/* ===== RESPONSIVE — TABLET (≤1024px) ===== */
@media (max-width: 1024px) {
  .ds-cta-cards {
    gap: 20px;
  }
  .ds-cta-card {
    min-width: 200px;
    max-width: 45%;
  }
  .ds-cta-card-bg {
    height: 280px;
  }
  .ds-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .ds-cta-section {
    padding: 360px 4% 80px;
  }
}

/* ===== RESPONSIVE — MOBILE (≤767px) ===== */
@media (max-width: 767px) {

  /* Hero */
  .ds-hero {
    min-height: 75vh !important;
  }

  .ds-hero-inner {
    padding: 60px 20px 80px !important;
  }

  .ds-hero-logo {
    width: 25% !important;
    max-width: 110px !important;
  }

  /* Products: single column on mobile */
  .ds-products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ds-products-section {
    padding: 32px 0 40px;
  }

  .ds-container {
    padding: 0 20px;
  }

  /* Product image height — shorter on mobile */
  .ds-product-img {
    height: 220px;
  }

  /* CTA section — reduce top padding so content is reachable */
  .ds-cta-section {
    padding: 220px 20px 60px;
    min-height: 600px;
  }

  /* CTA cards — stack vertically, full width */
  .ds-cta-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .ds-cta-card {
    width: 100%;
    max-width: 420px;
    min-width: unset;
  }

  .ds-cta-card-bg {
    height: 200px;
  }

  /* Fix Ashton photo framing on mobile — Our Team card */
  .ds-cta-card:first-child .ds-cta-card-bg {
    background-position: center 20% !important;
  }

  .ds-cta-card-content {
    padding: 18px 16px;
    min-height: 60px;
  }

  .ds-cta-card-content h3 {
    font-size: 22px;
  }
}

/* ===== RESPONSIVE — SMALL PHONES (≤480px) ===== */
@media (max-width: 480px) {

  .ds-hero {
    min-height: 60vh !important;
  }

  .ds-hero-inner {
    padding: 50px 16px 60px !important;
  }

  .ds-hero-logo {
    width: 25% !important;
    max-width: 110px !important;
  }



  .ds-cta-section {
    padding: 160px 16px 48px;
    min-height: 500px;
  }

  .ds-cta-card-bg {
    height: 180px;
  }

  .ds-product-img {
    height: 200px;
  }

  .ds-product-name {
    font-size: 15px;
  }

  .ds-shop-btn {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
  }
}
