/* ============================================================
   Would Skateboards — rebuilt stylesheet
   Replaces the old Gantry/WooCommerce theme output.
   Visual identity preserved: dark header/nav, teal accent (#00a5a9),
   uppercase condensed display type, white body.
   ============================================================ */

/* ---- Fonts ---- */
@font-face {
  font-family: 'League Gothic';
  src: url('../fonts/LeagueGothic-Regular.woff2') format('woff2'),
       url('../fonts/LeagueGothic-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-Regular.woff2') format('woff2'),
       url('../fonts/Sen-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-Bold.woff2') format('woff2'),
       url('../fonts/Sen-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-ExtraBold.woff2') format('woff2'),
       url('../fonts/Sen-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ---- Reset / base ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #ffffff;
  color: #555555;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a {
  color: #00a5a9;
  text-decoration: underline;
}
a:hover { color: #b3b2b2; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  color: #2f2f2f;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  font-family: 'Sen', Helvetica, Arial, sans-serif;
  margin: 0 0 10px;
}
h1 {
  font-size: 32px;
  letter-spacing: 3px;
}
h2 {
  font-size: 22px;
  letter-spacing: 3px;
}
h3 { font-size: 18px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background-color: #2f2f2f;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 78px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.site-logo {
  display: block;
  flex-shrink: 0;
  margin-right: 50px;
}
.site-logo .logo-img {
  height: 52px;
  width: 150px;
  object-fit: contain;
}
.site-logo:hover { opacity: 0.85; }

/* main nav */
.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
}
.main-nav a {
  display: inline-block;
  font-family: 'Sen', Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 15px;
}
.main-nav a:hover,
.main-nav .current a {
  color: #00a5a9;
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 26px;
  padding: 4px 8px;
  cursor: pointer;
}

/* ============================================================
   SUB NAV (used on Team pages)
   ============================================================ */
.sub-nav {
  background-color: #242424;
  padding: 14px 0;
}
.sub-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}
.sub-nav a {
  display: inline-block;
  font-family: 'Sen', Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a5a6a4;
  text-decoration: none;
  padding: 4px 14px;
}
.sub-nav a:hover,
.sub-nav .current a {
  color: #ffffff;
}

/* ============================================================
   HERO BANNER (home page)
   ============================================================ */
.hero {
  background-color: #242424;
}
.hero img {
  width: 100%;
  display: block;
}

/* ============================================================
   PAGE TITLE BAND (used on inner pages without a hero image)
   ============================================================ */
.page-title-band {
  background-color: #242424;
  padding: 28px 0;
  text-align: center;
}
.page-title-band h1 {
  color: #ffffff;
  margin: 0;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.site-main {
  padding: 40px 0 60px;
}

/* ============================================================
   HOME PAGE — news grid + recent products
   ============================================================ */
.section-heading {
  text-align: center;
  padding: 10px 0 25px;
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 50px;
}
.news-grid figure { margin: 0; }
.news-card {
  display: block;
  text-decoration: none;
  flex: 1 1 calc(25% - 15px);
  min-width: 140px;
}
.news-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity .3s ease;
}
.news-card:hover img { opacity: 1; }
.news-card .caption {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: #272726;
  font-family: 'Sen', Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

.products-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.products-preview img { width: 100%; }

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  margin-bottom: 40px;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   TEAM LANDING GRID
   ============================================================ */
.team-section { margin-bottom: 45px; }
.team-section h2 {
  text-align: center;
  border-bottom: solid 2px #2f2f2f;
  padding-bottom: 14px;
  margin-bottom: 25px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
}
.team-card {
  display: block;
  text-decoration: none;
  text-align: center;
}
.team-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.9;
  transition: opacity .3s ease;
}
.team-card:hover img { opacity: 1; }
.team-card .name {
  display: block;
  margin-top: 12px;
  color: #272726;
  font-family: 'Sen', Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}

/* ============================================================
   TEAM RIDER PROFILE PAGE
   ============================================================ */
.rider-profile {
  max-width: 1000px;
  margin: 0 auto;
}
.rider-profile h1 {
  text-align: center;
  margin-bottom: 25px;
}
.rider-profile figure {
  margin: 0 0 25px;
}
.rider-profile figcaption {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  text-align: center;
}
.rider-profile .video-embed { margin-top: 25px; }

.back-to-team {
  display: block;
  text-align: center;
  width: 100%;
  font-family: 'Sen', Helvetica, Arial, sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2f2f2f;
  text-decoration: none;
  padding-top: 25px;
  font-size: 13px;
}
.back-to-team:hover { color: #a5a5a5; }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.products-grid img {
  width: 100%;
}

/* ============================================================
   ADVERTS PAGE
   ============================================================ */
.adverts-page { max-width: 950px; margin: 0 auto; }
.adverts-page h1 {
  text-align: center;
  margin-bottom: 30px;
}
.adverts-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.adverts-grid img {
  margin: 0 auto;
}

/* ============================================================
   LOOKBOOK PAGE
   ============================================================ */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.lookbook-grid img { width: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid #afafaf;
  margin-top: 30px;
  padding: 40px 0 30px;
  background: #ffffff;
}
.footer-inner {
  text-align: center;
}
.footer-inner h2 {
  color: #00a5a9;
  font-size: 18px;
}
.social-links {
  margin: 14px 0 18px;
}
.social-links a {
  display: inline-block;
  margin: 0 14px;
  color: #272726;
  text-decoration: none;
}
.social-links svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}
.social-links a:hover { color: #00a5a9; }

.footer-copy {
  font-family: 'Sen', Helvetica, Arial, sans-serif;
  letter-spacing: 3px;
  font-size: 10px;
  color: #cacaca;
  text-transform: uppercase;
  margin: 12px 0;
}

.footer-links {
  margin-top: 10px;
}
.footer-links ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 11px;
  color: #6e6e6e;
  text-decoration: none;
  letter-spacing: 1px;
}
.footer-links a:hover { color: #00a5a9; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .news-card { flex: 1 1 calc(50% - 10px); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .lookbook-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header .container { min-height: 60px; }
  .site-logo { margin-right: 20px; }
  .site-logo .logo-img { height: 36px; width: 104px; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
    margin-left: 0;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { display: block; padding: 12px 0; text-align: center; }

  .sub-nav ul { gap: 0; }
  .sub-nav a { font-size: 10px; padding: 4px 9px; }

  .news-grid { gap: 14px; }
  .news-card { flex: 1 1 calc(50% - 7px); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .products-preview { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  h1 { font-size: 26px; }
}

@media (max-width: 480px) {
  .news-card { flex: 1 1 100%; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
}
