/* ============================================================
   Demon Seed Skateboards - About Us Page Styles v1.1
   ============================================================ */

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

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

body.page-template-page-about-us .site-content,
body.page-template-page-about-us #content,
body.page-template-page-about-us .content-area,
body.page-template-page-about-us .site-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

body.page-template-page-about-us .entry-content {
  margin: 0 !important;
  padding: 0 !important;
}

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

/* ===== HERO / INTRO ===== */
.ds-about-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: flex-start;
}

/* Dark overlay 55% */
.ds-about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.ds-about-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 50%;           /* content in left half — right half shows background */
  padding: 10% 4% 0 4%;
  gap: 20px;
}

.ds-about-hero-text h1 {
  font-family: "Sora", "Nova Cut", sans-serif;
  font-size: 86px;
  font-weight: 400;
  color: #009477;       /* accent color */
  margin: 0 0 24px;
  line-height: 1.1;
  letter-spacing: 0;
}

.ds-about-hero-text p {
  font-family: "Inter", "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #E5E5E5;
  max-width: 465px;
  line-height: 1.5;
  margin: 0;
}

/* Spinning logo box */
.ds-about-logo-wrap {
  padding: 50px 10px 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ds-about-logo {
  max-width: 450px;
  width: 60%;
  height: auto;
  display: block;
}

/* rotateIn animation — same as homepage */
.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;
  }
}

/* ===== STORY ===== */
.ds-story-section {
  background: #f9f7f5;
  padding: 64px 30px;
}

.ds-story-inner {
  max-width: 860px;
  margin: 0 auto;
}

.ds-story-inner h2 {
  font-family: "Nova Cut", sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #222222;
  margin: 0 0 32px;
}

.ds-story-inner p {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  color: #444444;
  line-height: 1.8;
  margin: 0 0 20px;
}

.ds-story-inner p:last-child { margin-bottom: 0; }

/* ===== BOARD HISTORY / CAROUSEL ===== */
.ds-history-section {
  background: #ffffff;
  padding: 64px 0 72px;
}

.ds-history-heading {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 30px;
}

.ds-history-heading h2 {
  font-family: "Nova Cut", sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #222222;
  margin: 0;
}

.ds-carousel-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ds-carousel-track {
  display: flex;
  gap: 16px;
  padding: 0 30px;
  transition: transform 0.4s ease;
  box-sizing: border-box;
  will-change: transform;
}

/* 5 slides visible on desktop */
.ds-carousel-slide {
  flex: 0 0 calc(20% - 13px);
  min-width: 0;
}

.ds-carousel-figure {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.ds-carousel-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #f5f3f0;
  display: block;
  padding: 8px;
  box-sizing: border-box;
}

.ds-carousel-caption {
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #555555;
  text-align: center;
  padding: 8px 4px 4px;
  line-height: 1.5;
  background: #ffffff;
}

/* Prev/Next buttons */
.ds-carousel-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(0, 148, 119, 0.85);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s ease;
}

.ds-carousel-btn:hover { background: rgba(0, 120, 96, 0.95); }
.ds-carousel-btn.prev  { left: 8px; }
.ds-carousel-btn.next  { right: 8px; }

/* ===== ASHTON FEATURE ===== */
.ds-team-feature {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 700px;
  width: 100%;
}

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

.ds-team-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 30px 80px;
}

.ds-team-cta h2 {
  font-family: "Nova Cut", sans-serif;
  font-size: 52px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: 1px;
}

.ds-team-desc {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffffcc;
  margin: 0 0 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.ds-team-btn {
  display: inline-block;
  background: #009477;
  color: #ffffff;
  border: none;
  padding: 14px 36px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.ds-team-btn:hover {
  background: #007860;
  color: #ffffff;
  text-decoration: none;
}

/* ===== CURRENT OFFERINGS ===== */
.ds-offerings-section {
  background: #ffffff;
  padding: 64px 0 72px;
}

.ds-offerings-heading {
  max-width: 1200px;
  margin: 0 auto 36px;
  padding: 0 30px;
}

.ds-offerings-heading h2 {
  font-family: "Nova Cut", sans-serif;
  font-size: 38px;
  font-weight: 400;
  color: #222222;
  margin: 0;
}

.ds-offerings-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 20px;
  list-style: none;
}

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

.ds-offerings-grid .ds-product-img {
  width: 100%;
  height: 240px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ds-offerings-grid .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-offerings-grid .ds-product-item a:hover .ds-product-img img {
  transform: scale(1.04);
}

.ds-offerings-grid .ds-product-info { padding: 12px 0 8px; }

.ds-offerings-grid .ds-product-name {
  font-family: "Nova Cut", sans-serif;
  font-size: 15px;
  color: #555555;
  margin: 0 0 5px;
  line-height: 1.3;
}

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

.ds-offerings-grid .ds-product-price del { color: #bbbbbb; margin-right: 6px; }
.ds-offerings-grid .ds-product-price ins { text-decoration: none; color: #009477; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ds-carousel-slide {
    flex: 0 0 calc(25% - 12px); /* 4 visible */
  }
  .ds-offerings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .ds-about-hero-inner { width: 100%; }
  .ds-about-hero-text h1 { font-size: 65px; }
}

@media (max-width: 767px) {
  .ds-about-hero-inner {
    width: 100%;
    align-items: center;
    padding: 25% 4% 0;
    gap: 20px;
  }
  .ds-about-hero-text { text-align: center; }
  .ds-about-hero-text h1 { font-size: 45px; }
  .ds-about-hero-text p { max-width: 100%; font-size: 14px; }
  .ds-story-section { padding: 48px 20px; }
  .ds-story-inner h2 { font-size: 28px; }
  .ds-history-heading, .ds-offerings-heading { padding: 0 20px; }
  .ds-history-heading h2, .ds-offerings-heading h2 { font-size: 28px; }
  .ds-carousel-slide {
    flex: 0 0 calc(50% - 8px); /* 2 visible */
  }
  .ds-carousel-track { padding: 0 20px; }
  .ds-carousel-caption { font-size: 10px; }
  .ds-team-feature { min-height: 500px; }
  .ds-team-cta h2 { font-size: 36px; }
  .ds-offerings-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
  .ds-offerings-grid .ds-product-img { height: 180px; }
}
