/* ==========================================================================
   SETIA AMAN SECURITY SERVICES SDN BHD - OUR SERVICES STYLESHEET
   Matches Approved Cinematic Visual Design (Navy, Gold, & Crisp White)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Services Hero Banner
   -------------------------------------------------------------------------- */
.services-hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-color: #040710;
  overflow: hidden;
  padding-top: calc(var(--header-height, 104px) + 40px);
  padding-bottom: 60px;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 7, 16, 0.72) 0%,
    rgba(4, 7, 16, 0.45) 45%,
    rgba(4, 7, 16, 0.9) 100%
  );
  z-index: 2;
}

.services-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.services-hero-content .gold-accent-line:first-child {
  margin-bottom: 18px;
}

.services-hero-content .gold-accent-line:last-child {
  margin-top: 18px;
}

.services-hero-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(3rem, 6vw, 4.8rem);
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 1.05;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.8);
}

.services-hero-title .text-gold {
  background: linear-gradient(180deg, #ffffff 0%, #fff0b8 25%, #f7d268 55%, #c5931b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #f7d268;
}

.services-hero-sub {
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #f1f5f9;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* --------------------------------------------------------------------------
   2. Services Overview (10 Image-Led Cards Grid)
   -------------------------------------------------------------------------- */
.services-overview-section {
  background-color: #ffffff;
  color: #0a1426;
  padding: 90px 0 110px 0;
  position: relative;
}

.services-overview-header {
  margin-bottom: 48px;
}

.services-overview-header .gold-accent-line {
  margin-bottom: 16px;
}

.services-overview-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #0a1426;
  margin: 0 0 14px 0;
}

.services-overview-title .text-gold-dark {
  color: #b38318;
  background: linear-gradient(180deg, #d4af37 0%, #aa7c11 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-overview-intro {
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* Responsive 5-Column Grid on Desktop */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}

/* Individual Service Card */
.service-item-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.service-item-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 32px rgba(10, 20, 38, 0.12);
  border-color: rgba(212, 175, 55, 0.55);
}

.service-item-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0b1322;
}

.service-item-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item-card:hover .service-item-photo {
  transform: scale(1.08);
}

/* Card Body with Title */
.service-item-body {
  padding: 18px 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  background: #ffffff;
}

.service-item-title {
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0a1426;
  margin: 0;
  transition: color 0.25s ease;
}

.service-item-card:hover .service-item-title {
  color: #b38318;
}

/* --------------------------------------------------------------------------
   3. Nationwide Coverage Section (Deep Navy & Malaysia Map)
   -------------------------------------------------------------------------- */
.nationwide-coverage-section {
  position: relative;
  background: #040813;
  color: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.nationwide-coverage-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.nationwide-left {
  max-width: 540px;
}

.nationwide-left .gold-accent-line {
  margin-bottom: 20px;
}

.nationwide-title {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.nationwide-title .text-gold {
  color: #f7d268;
  background: linear-gradient(180deg, #ffffff 0%, #fff0b8 30%, #f7d268 65%, #aa7c11 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nationwide-p {
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  font-size: 1.05rem;
  line-height: 1.76;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.nationwide-p:last-of-type {
  margin-bottom: 0;
}

.nationwide-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nationwide-map-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: #060b16;
}

.nationwide-map-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   4. Call-to-Action Banner: Let's Build a Safer Tomorrow Together
   -------------------------------------------------------------------------- */
.services-cta-section {
  position: relative;
  background-color: #040710;
  color: #ffffff;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 90px 0;
}

.services-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.services-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.services-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(4, 7, 16, 0.45) 0%,
    rgba(4, 7, 16, 0.82) 48%,
    rgba(4, 7, 16, 0.96) 80%
  );
  z-index: 2;
}

.services-cta-layout {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.services-cta-content {
  max-width: 560px;
  padding-left: 24px;
  border-left: 3px solid #d4af37;
}

.services-cta-content .gold-accent-line {
  margin-bottom: 18px;
}

.services-cta-heading {
  font-family: var(--font-serif, 'Cormorant Garamond', serif);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 20px 0;
}

.services-cta-heading .text-gold {
  color: #f7d268;
  background: linear-gradient(180deg, #ffffff 0%, #fff0b8 30%, #f7d268 65%, #aa7c11 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-cta-p {
  font-family: var(--font-body, 'Nunito Sans', sans-serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin: 0 0 28px 0;
}

.services-cta-btn {
  background: var(--gold-gradient, linear-gradient(135deg, #fae59a 0%, #d4af37 50%, #aa7c11 100%));
  color: #070c16;
  font-family: var(--font-heading, 'Nunito Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 14px 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
  transition: all 0.25s ease;
}

.services-cta-btn:hover {
  background: var(--gold-gradient-hover, linear-gradient(135deg, #fff0ab 0%, #e8c454 50%, #c49219 100%));
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(212, 175, 55, 0.55);
  color: #000000;
}

/* Tactical Specialization Grid */
.tactical-specialization-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

/* --------------------------------------------------------------------------
   5. Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .services-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .tactical-specialization-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .services-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .nationwide-coverage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nationwide-left {
    max-width: 100%;
  }

  .services-cta-layout {
    justify-content: flex-start;
  }

  .services-cta-overlay {
    background: rgba(4, 7, 16, 0.88);
  }

  .services-cta-content {
    max-width: 100%;
  }
}

@media (max-width: 680px) {
  .services-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .service-item-title {
    font-size: 0.88rem;
  }

  .service-item-body {
    padding: 24px 10px 14px;
  }
}

@media (max-width: 420px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
