/* =====================================================
   SOCCA DREAM — HOMEPAGE STYLES
   ===================================================== */

/* ---- HERO ---- */
.sd-home-hero {
  background: var(--sd-navy-dark);
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2.5rem 4rem;
}
.sd-home-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sd-green) 33.3%, #fff 33.3% 66.6%, var(--sd-red) 66.6%);
  z-index: 3;
}
.sd-home-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('/wp-content/uploads/hero-placeholder.jpg');
  opacity: 0.18;
  z-index: 0;
}
.sd-home-hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}
.sd-home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.sd-home-hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--sd-gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.sd-home-hero-eyebrow::before,
.sd-home-hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--sd-gold);
  opacity: 0.5;
}
.sd-home-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  color: var(--sd-white);
  letter-spacing: 5px;
  line-height: 0.95;
  margin-bottom: 1.5rem;
}
.sd-home-hero h1 .gold { color: var(--sd-gold); }
.sd-home-hero h1 .outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.3);
  color: transparent;
}
.sd-home-hero-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.sd-home-hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.sd-btn-hero-primary {
  background: var(--sd-gold);
  color: var(--sd-navy-dark);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.sd-btn-hero-primary:hover {
  background: var(--sd-gold-light);
  transform: translateY(-2px);
}
.sd-btn-hero-secondary {
  background: transparent;
  color: var(--sd-white);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  display: inline-block;
}
.sd-btn-hero-secondary:hover {
  border-color: var(--sd-gold);
  color: var(--sd-gold);
  transform: translateY(-2px);
}
.sd-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.sd-hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ---- STATS STRIP ---- */
.sd-stats-strip {
  background: var(--sd-gold);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.sd-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 3rem;
  border-right: 1px solid rgba(17,28,74,0.15);
}
.sd-stat-item:last-child { border-right: none; }
.sd-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--sd-navy-dark);
  letter-spacing: 2px;
  line-height: 1;
}
.sd-stat-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(17,28,74,0.6);
  margin-top: 4px;
}

/* ---- SECTION COMMONS ---- */
.sd-section {
  padding: 5rem 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
}
.sd-section-full {
  padding: 5rem 2.5rem;
}
.sd-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--sd-gold);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sd-section-label::after {
  content: '';
  flex: 1;
  max-width: 40px;
  height: 1px;
  background: var(--sd-gold);
  opacity: 0.5;
}
.sd-section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--sd-navy-dark);
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 1rem;
}
.sd-section-title span { color: var(--sd-gold); }
.sd-section-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: #666;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ---- DEVELOPMENT TOOLS ---- */
.sd-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.sd-tool-card {
  background: var(--sd-white);
  border-radius: 14px;
  border: 1px solid var(--sd-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}
.sd-tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(27,42,107,0.13);
}
.sd-tool-card.featured {
  border: 2px solid var(--sd-gold);
}
.sd-tool-img {
  height: 220px;
  background: var(--sd-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.sd-tool-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sd-tool-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
}
.sd-tool-card:nth-child(1) .sd-tool-img { background: #111c4a; }
.sd-tool-card:nth-child(1) .sd-tool-img::after { background: var(--sd-gold); }
.sd-tool-card:nth-child(2) .sd-tool-img { background: #0a3d1f; }
.sd-tool-card:nth-child(2) .sd-tool-img::after { background: var(--sd-green); }
.sd-tool-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.sd-tool-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sd-muted);
  margin-bottom: 0.5rem;
}
.sd-tool-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sd-navy-dark);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.sd-tool-desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.sd-tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--sd-border);
}
.sd-tool-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--sd-navy-dark);
  letter-spacing: 1px;
}
.sd-tool-price small {
  font-family: 'Barlow', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--sd-muted);
  letter-spacing: 1px;
}
.sd-tool-btn {
  background: var(--sd-navy);
  color: var(--sd-white);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.sd-tool-btn:hover { background: var(--sd-navy-light); }
.sd-tool-btn.gold {
  background: var(--sd-gold);
  color: var(--sd-navy-dark);
}
.sd-tool-btn.gold:hover { background: var(--sd-gold-light); }

/* ---- TRIALS & ASSESSMENTS ---- */
.sd-trials-section {
  background: var(--sd-navy);
  position: relative;
  overflow: hidden;
}
.sd-trials-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sd-green) 33.3%, #fff 33.3% 66.6%, var(--sd-red) 66.6%);
}
.sd-trials-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 5rem 2.5rem;
}
.sd-trials-section .sd-section-title { color: var(--sd-white); }
.sd-trials-section .sd-section-sub { color: rgba(255,255,255,0.55); }
.sd-trials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.sd-trial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.sd-trial-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.sd-trial-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.sd-trial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sd-trial-card:nth-child(1) .sd-trial-img { background: rgba(0,146,70,0.25); }
.sd-trial-card:nth-child(1) .sd-trial-img::after { background: var(--sd-green); }
.sd-trial-card:nth-child(2) .sd-trial-img { background: rgba(206,43,55,0.25); }
.sd-trial-card:nth-child(2) .sd-trial-img::after { background: var(--sd-red); }
.sd-trial-card:nth-child(3) .sd-trial-img { background: rgba(201,168,76,0.2); }
.sd-trial-card:nth-child(3) .sd-trial-img::after { background: var(--sd-gold); }
.sd-trial-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
}
.sd-trial-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.sd-trial-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sd-gold);
  margin-bottom: 0.5rem;
}
.sd-trial-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sd-white);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.sd-trial-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}
.sd-trial-btn {
  display: block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--sd-white);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.sd-trial-btn:hover {
  background: var(--sd-gold);
  border-color: var(--sd-gold);
  color: var(--sd-navy-dark);
}

/* ---- TOURNAMENTS ---- */
.sd-tournaments-section {
  background: var(--sd-off-white);
  padding: 5rem 2.5rem;
}
.sd-tournaments-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.sd-tournament-featured {
  background: var(--sd-white);
  border-radius: 14px;
  border: 1px solid var(--sd-border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 320px;
}
.sd-tourn-img {
  background: #5c0d14;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
}
.sd-tourn-img img { width: 100%; height: 100%; object-fit: cover; }
.sd-tourn-img::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: 4px;
  background: var(--sd-red);
}
.sd-tourn-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sd-tourn-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sd-muted);
  margin-bottom: 0.5rem;
}
.sd-tourn-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--sd-navy-dark);
  letter-spacing: 2px;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.sd-tourn-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.sd-tourn-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #555;
  font-family: 'Barlow', sans-serif;
}
.sd-tourn-meta-icon {
  width: 20px;
  height: 20px;
  background: var(--sd-navy);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.sd-tourn-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--sd-navy-dark);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}
.sd-tourn-btn {
  display: inline-block;
  background: var(--sd-red);
  color: var(--sd-white);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
  transition: opacity 0.2s;
}
.sd-tourn-btn:hover { opacity: 0.85; }

/* ---- CTA BANNER ---- */
.sd-cta-section {
  background: var(--sd-navy-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 2.5rem;
}
.sd-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sd-green) 33.3%, #fff 33.3% 66.6%, var(--sd-red) 66.6%);
}
.sd-cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,168,76,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.sd-cta-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.sd-cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--sd-white);
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: 1rem;
}
.sd-cta-title span { color: var(--sd-gold); }
.sd-cta-sub {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.sd-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .sd-tools-grid { grid-template-columns: 1fr; }
  .sd-trials-grid { grid-template-columns: 1fr; }
  .sd-tournament-featured { grid-template-columns: 1fr; }
  .sd-tourn-img { height: 200px; }
  .sd-stat-item { padding: 1rem 1.5rem; }
}
@media (max-width: 600px) {
  .sd-home-hero { padding: 5rem 1.25rem 3rem; min-height: 80vh; }
  .sd-section { padding: 3rem 1.25rem; }
  .sd-trials-inner { padding: 3rem 1.25rem; }
  .sd-tournaments-section { padding: 3rem 1.25rem; }
  .sd-cta-section { padding: 3rem 1.25rem; }
  .sd-stats-strip { gap: 0; }
  .sd-stat-item { padding: 1rem; border-right: none; border-bottom: 1px solid rgba(17,28,74,0.15); width: 50%; }
}
