/* =============================================
   KemotechTz — services.css
   Dedicated stylesheet for services.html
   Inherits variables from style.css (loaded first)
   ============================================= */


/* ─── 1. Services Hero ────────────────────────────────────────────────────── */

.srv-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-height) + 2rem) 0 3rem;
  text-align: center;
  background: var(--bg-primary);
}

@media (min-width: 900px) {
  .srv-hero {
    min-height: 72vh;
    padding: var(--nav-height) 0 2rem;
  }
}

.srv-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.srv-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(240,237,248,0.85) 0%, rgba(240,237,248,0.58) 50%, rgba(240,237,248,0.78) 100%);
}

.srv-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.srv-hero-tag {
  margin-bottom: 1.2rem;
  display: inline-block;
}

.srv-hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  color: #1e1b4b;
}

.srv-hero-sub {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 2rem;
}

.srv-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


/* ─── 2. Services Overview Grid ───────────────────────────────────────────── */

.srv-overview {
  background: var(--bg-primary);
}

.srv-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 3rem;
}

/* Service card icon area */
.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-purple);
  transition: border-color 0.3s ease;
}

.service-card:hover .service-card-icon {
  border-color: rgba(124, 58, 237, 0.35);
}

.service-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.service-card-desc {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* "Learn More" link */
.srv-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-purple);
  text-decoration: none;
  margin-top: 1.1rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.srv-learn-more span {
  transition: transform 0.2s ease;
}

.srv-learn-more:hover {
  color: var(--accent-cyan);
  gap: 0.5rem;
}

.srv-learn-more:hover span {
  transform: translate(2px, -2px);
}

/* Override: services page cards use direct children (no .service-card-inner wrapper) */
.srv-cards-grid .service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
}


/* ─── 3. Website Development Detail Section ───────────────────────────────── */

.srv-detail {
  background: var(--bg-secondary);
}

.srv-detail-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.srv-detail-text .section-tag {
  margin-bottom: 1rem;
  display: inline-block;
}

.srv-detail-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.18;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.srv-detail-desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

/* Feature list */
.srv-detail-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.feature-item:hover {
  border-color: rgba(124, 58, 237, 0.28);
  transform: translateX(4px);
}

.feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}


/* ─── 4. Design Services Showcase ─────────────────────────────────────────── */

.srv-design {
  background: var(--bg-primary);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 3rem;
}

.showcase-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  border-color: rgba(124, 58, 237, 0.28);
  transform: translateY(-3px);
}

/* Showcase thumbnails — real images */
.showcase-thumb {
  height: 220px;
  overflow: hidden;
  background: var(--bg-primary);
}

.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-thumb img {
  transform: scale(1.03);
}

/* Logo thumb */
.showcase-thumb--logo {
  background: linear-gradient(135deg, #ddd5f7 0%, #c4b4f0 100%);
}

.sc-shape--ring {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid rgba(124, 58, 237, 0.50);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.25);
}

.sc-shape--dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

.sc-shape--dot1 { top: 40px; right: 60px; opacity: 0.7; }
.sc-shape--dot2 { bottom: 48px; left: 65px; opacity: 0.5; width: 9px; height: 9px; background: var(--accent-purple); }

.sc-logo-text {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

/* Poster thumb */
.showcase-thumb--poster {
  background: linear-gradient(135deg, #d4caf5 0%, #b8a8ec 100%);
}

.sc-poster-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.6;
}

.sc-poster-line--1 { top: 55px; }
.sc-poster-line--2 { bottom: 55px; }

.sc-poster-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.12);
  border: 2px solid rgba(124, 58, 237, 0.40);
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.sc-poster-text {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.40);
}

/* Graphic Design thumb */
.showcase-thumb--graphic {
  background: linear-gradient(135deg, #dbd0f8 0%, #c0aef0 100%);
  flex-direction: row;
  align-items: flex-end;
  padding: 0 40px 30px;
  gap: 12px;
  justify-content: center;
}

.sc-gfx-bar {
  border-radius: 4px 4px 0 0;
  width: 28px;
  background: linear-gradient(to top, var(--accent-purple), var(--accent-cyan));
  opacity: 0.85;
}

.sc-gfx-bar--1 { height: 100px; }
.sc-gfx-bar--2 { height: 140px; }
.sc-gfx-bar--3 { height: 75px; }

.sc-gfx-dot {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.45), transparent);
  border: 2px solid rgba(124, 58, 237, 0.35);
}

/* Showcase card content */
.showcase-content {
  padding: 1.5rem 1.75rem 1.75rem;
}

.showcase-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(124, 58, 237, 0.20);
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.showcase-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.showcase-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.showcase-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.showcase-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
}

.showcase-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-size: 0.8rem;
}


/* ─── 5. Technologies Grid ────────────────────────────────────────────────── */

.srv-tech {
  background: var(--bg-secondary);
}

.srv-tech .tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.srv-tech .tech-card {
  position: relative;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.srv-tech .tech-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-3px);
}

.srv-tech .tech-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent-purple);
  transition: border-color 0.3s ease;
}

.srv-tech .tech-card:hover .tech-icon {
  border-color: rgba(124, 58, 237, 0.35);
}

.srv-tech .tech-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.srv-tech .tech-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}


/* ─── 6. CTA Section ──────────────────────────────────────────────────────── */

.srv-cta-section {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
}

.srv-cta-bg {
  position: absolute;
  inset: 0;
  background: #1e1b4b;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 0;
}

.srv-cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

.srv-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}

.srv-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.18;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.gradient-text-light {
  color: var(--accent-purple);
}

.srv-cta-sub {
  font-size: 1rem;
  color: #c4b4e8;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.srv-cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Outline variant reused from components — alias */
.btn-outline-white {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1.75rem;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-outline-white:hover {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  background: rgba(124, 58, 237, 0.08);
}

.btn-outline-white.btn-lg {
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* Stats block */
.srv-cta-stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.srv-cta-stat {
  text-align: center;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.25rem 2rem;
  min-width: 130px;
}

.srv-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-purple);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.srv-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.03em;
}


/* ─── 7. Contact Info Section ─────────────────────────────────────────────── */

.srv-contact {
  background: var(--bg-primary);
}

.srv-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 3rem;
}

.srv-contact-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.srv-contact-card:hover {
  border-color: rgba(124, 58, 237, 0.28);
  transform: translateY(-3px);
}

.srv-contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--accent-purple);
}

.srv-contact-card h4 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.srv-contact-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.srv-contact-link {
  font-size: 0.875rem;
  color: var(--accent-cyan);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s ease;
}

.srv-contact-link:hover {
  color: var(--accent-purple);
}


/* ─── 8. Platforms Section ────────────────────────────────────────────────── */

.srv-platforms {
  background: var(--bg-secondary);
}

.platforms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-top: 3rem;
}

.platform-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.platform-card:hover {
  border-color: rgba(124, 58, 237, 0.28);
  transform: translateY(-2px);
}

.platform-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-purple);
}

.platform-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.platform-card-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.9rem;
}

.platform-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.platform-features li {
  font-size: 0.83rem;
  color: var(--text-secondary);
  padding-left: 1rem;
  position: relative;
}

.platform-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: 700;
}


/* ─── Responsive — Mobile-First (min-width) ───────────────────────────────── */

/* 640px — tablet */
@media (min-width: 640px) {

  .srv-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .srv-tech .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .srv-contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .srv-cta-stats {
    flex-wrap: nowrap;
  }

  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 900px — desktop */
@media (min-width: 900px) {

  .srv-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
  }

  .srv-detail-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 3.5rem;
  }

  .srv-tech .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
  }

  .srv-cta-section {
    padding: 6rem 0;
  }

  .srv-cta-inner {
    grid-template-columns: 1fr auto;
    gap: 4rem;
    text-align: left;
  }

  .srv-cta-actions {
    justify-content: flex-start;
  }

  .srv-cta-sub {
    max-width: 520px;
  }

  .srv-cta-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .srv-contact-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3.5rem;
  }
}
