/* ========================================================================== */
/* PAGE-SPECIFIC: SERVICES                                                    */
/* Webvana v3.0                                                                */
/* Hook & Ladder Inspections                                                  */
/* ========================================================================== */

/* ========================================================================== */
/* SECTION SPACING                                                            */
/* ========================================================================== */
.page-services section {
  padding: var(--spacing-xl) 0;
}

.page-services .bg-light {
  background: var(--bg-light);
}

/* ========================================================================== */
/* HERO                                                                        */
/* ========================================================================== */
.page-services .hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h-mobile) + 1.25rem) 0 3rem;
}

@media (min-width: 900px) {
  .page-services .hero {
    padding: 5rem 0 var(--spacing-lg);
  }
}

.page-services .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-services .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-services .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.page-services .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.page-services .hero h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  margin-bottom: var(--spacing-md);
}

.page-services .hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-md);
}

@media (min-width: 768px) {
  .page-services .hero-actions {
    flex-direction: row;
  }
}

/* ========================================================================== */
/* TYPES OF SERVICES SECTION                                                 */
/* ========================================================================== */
.page-services #types {
  background: #fff;
}

.page-services #types h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* Service cards with images */
.page-services .service-card-icon {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.page-services .service-card-icon img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-base);
}

.page-services .service-card:hover .service-card-icon img {
  transform: scale(1.05);
}

/* ========================================================================== */
/* ADDITIONAL SERVICES BOX                                                   */
/* ========================================================================== */
.page-services .additional-services {
  margin-top: var(--spacing-xl);
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue-primary);
}

.page-services .additional-services h3 {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
}

.page-services .additional-services p {
  margin-bottom: var(--spacing-sm);
}

.page-services .additional-services p:last-child {
  margin-bottom: 0;
}

/* ========================================================================== */
/* CREDENTIAL STRIP - HORIZONTAL LAYOUT                                       */
/* ========================================================================== */
.page-services .credential-strip {
  margin-top: var(--spacing-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--spacing-md) 0;
}

.page-services .credential-strip-track {
  display: flex;
  gap: var(--spacing-md);
  min-width: max-content;
}

.page-services .credential-strip-track img {
  width: 200px;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.page-services .credential-strip-track img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .page-services .credential-strip-track {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .page-services .credential-strip-track img {
    width: 180px;
  }
}

/* ========================================================================== */
/* WHAT WE CHECK - 2 COLUMN GRID                                             */
/* ========================================================================== */
.page-services #what-we-check {
  background: var(--bg-light);
}

.page-services .what-we-check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

@media (min-width: 900px) {
  .page-services .what-we-check-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.page-services .what-we-check-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.page-services .what-we-check-content h2 {
  margin-bottom: var(--spacing-md);
}

.page-services .what-we-check-content p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

/* Link list styling */
.page-services .link-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xs);
}

@media (min-width: 768px) {
  .page-services .link-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-services .link-list li {
  padding: var(--spacing-xs) 0;
}

.page-services .link-list a {
  color: var(--blue-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.page-services .link-list a::before {
  content: "→";
  margin-right: 0.5rem;
  color: var(--primary-color);
  font-weight: 900;
}

.page-services .link-list a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

/* ========================================================================== */
/* FULL LINE SECTION                                                          */
/* ========================================================================== */
.page-services #full-line {
  background: #fff;
}

.page-services #full-line h2 {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

/* ========================================================================== */
/* FEES SECTION - 2 COLUMN LAYOUT                                            */
/* ========================================================================== */
.page-services #fees {
  background: var(--bg-light);
}

.page-services #fees h2 {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.page-services #fees > .container > p {
  text-align: center;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-sm);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-services .two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

@media (min-width: 900px) {
  .page-services .two-col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.page-services .two-col-block {
  background: #fff;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
}

.page-services .two-col-block h3 {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
}

.page-services .two-col-block p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-light);
}
