/* ==========================================================================
   Fishbones Bait & Tackle — Services Page
   ========================================================================== */

/* --- Services Hero: dark navy with texture, no photo --- */
.services-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-3xl) 0 var(--space-2xl);
  background-color: var(--navy);
  /* Crosshatch / canvas texture feel */
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(245, 240, 232, 0.018) 10px,
      rgba(245, 240, 232, 0.018) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(245, 240, 232, 0.018) 10px,
      rgba(245, 240, 232, 0.018) 11px
    );
  overflow: hidden;
}

/* Decorative rope-line across the bottom of the hero */
.services-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--rope) 0px,
    var(--rope) 12px,
    transparent 12px,
    transparent 18px
  );
}

.services-hero__content {
  position: relative;
  z-index: 1;
}

.services-hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-4xl);
  color: var(--white);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.services-hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--cream);
  margin-top: var(--space-sm);
  opacity: 0.8;
  max-width: 540px;
}

@media (max-width: 768px) {
  .services-hero {
    min-height: 200px;
    padding: var(--space-2xl) 0 var(--space-xl);
  }

  .services-hero__title {
    font-size: var(--fs-2xl);
  }

  .services-hero__subtitle {
    font-size: var(--fs-base);
  }
}

/* ==========================================================================
   SERVICES BOARD — the main services section
   Aesthetic: a workshop board on the wall of a real tackle shop.
   Each card is staggered, hand-pinned, with its own accent color.
   ========================================================================== */

.services-board {
  padding: var(--space-3xl) 0 var(--space-4xl);
}

.services-board__intro {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.services-board__intro p {
  font-size: var(--fs-md);
  max-width: 580px;
  margin: var(--space-sm) auto 0;
  opacity: 0.85;
}

/* The list of service items — staggered layout */
.services-board__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
  max-width: 880px;
  margin: 0 auto;
}

/* --- Individual Service Card --- */
.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  align-items: start;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-xl);
  background-color: var(--white);
  border: 3px solid var(--navy);
  transition: box-shadow var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Pushpin dot at top-left corner */
.service-card::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  z-index: 2;
}

/* Stagger: odd cards shift left, even shift right */
.service-card:nth-child(odd) {
  margin-left: 0;
  margin-right: 60px;
  transform: rotate(-0.4deg);
}

.service-card:nth-child(even) {
  margin-left: 60px;
  margin-right: 0;
  transform: rotate(0.5deg);
}

/* Each card gets its own accent color on the left border and pushpin */
.service-card--rod {
  border-left: 7px solid var(--red);
}
.service-card--rod::before {
  background-color: var(--red);
}

.service-card--prop {
  border-left: 7px solid var(--teal);
}
.service-card--prop::before {
  background-color: var(--teal);
}

.service-card--license {
  border-left: 7px solid var(--rope);
}
.service-card--license::before {
  background-color: var(--rope);
}

.service-card--reel {
  border-left: 7px solid var(--navy);
}
.service-card--reel::before {
  background-color: var(--navy);
}

.service-card--battery {
  border-left: 7px solid #5a8a3c;
}
.service-card--battery::before {
  background-color: #5a8a3c;
}

/* Icon area */
.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 52px;
  height: 52px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Text content */
.service-card__body {
  padding-top: var(--space-xs);
}

.service-card__number {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: var(--space-xs);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
}

.service-card__desc {
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.85;
  max-width: 480px;
}

/* Mobile: remove stagger, simplify layout */
@media (max-width: 768px) {
  .service-card {
    grid-template-columns: 56px 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
  }

  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  .service-card__icon {
    width: 56px;
    height: 56px;
  }

  .service-card__icon svg {
    width: 40px;
    height: 40px;
  }

  .service-card__title {
    font-size: var(--fs-lg);
  }
}

/* ==========================================================================
   BOTTOM CTA SECTION
   ========================================================================== */
.services-cta {
  background-color: var(--navy);
  padding: var(--space-3xl) 0;
  text-align: center;
  /* Same crosshatch as hero for continuity */
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(245, 240, 232, 0.018) 10px,
      rgba(245, 240, 232, 0.018) 11px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(245, 240, 232, 0.018) 10px,
      rgba(245, 240, 232, 0.018) 11px
    );
}

/* Rope line at top, mirroring the hero bottom */
.services-cta::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--rope) 0px,
    var(--rope) 12px,
    transparent 12px,
    transparent 18px
  );
}

.services-cta {
  position: relative;
}

.services-cta__heading {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.services-cta__text {
  font-size: var(--fs-md);
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: var(--space-xl);
}

.services-cta__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.services-cta__phone {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  color: var(--white);
  font-weight: 700;
  display: block;
  margin-top: var(--space-lg);
  letter-spacing: 0.02em;
}

.services-cta__phone:hover {
  color: var(--cream);
}

@media (max-width: 768px) {
  .services-cta {
    padding: var(--space-2xl) 0;
  }

  .services-cta__heading {
    font-size: var(--fs-xl);
  }
}
