/* ============================================================
   MY LAPTOP MARKET — Inner Pages Modern Theme
   Works with home-modern.css on .theme-dark body
   ============================================================ */

.theme-dark {
  padding-top: 0;
}

/* ── Page hero ── */
.theme-dark .page-hero {
  margin-top: 80px;
  height: min(55vh, 520px);
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.theme-dark .page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 23, 0.35) 0%,
    rgba(10, 14, 23, 0.75) 55%,
    rgba(10, 14, 23, 0.95) 100%
  );
  z-index: 1;
}

.theme-dark .hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(10, 14, 23, 0.7) 0%,
    rgba(51, 118, 205, 0.25) 50%,
    rgba(10, 14, 23, 0.85) 100%
  );
}

.theme-dark .page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-primary);
  max-width: 820px;
  padding: 0 24px;
}

.theme-dark .page-hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-dark .page-hero-content p {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

/* ── Nav active state ── */
.theme-dark .nav-links a.active {
  color: var(--green-neon);
}

/* ── Choose us / dark bands ── */
.theme-dark .choose-us {
  padding: 120px 0;
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}

.theme-dark .choose-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 118, 205, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 118, 205, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.theme-dark .choose-grid {
  position: relative;
  z-index: 1;
}

.theme-dark .choose-grid h2 {
  color: var(--text-primary);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: left;
}

.theme-dark .choose-grid p {
  color: var(--text-muted);
  line-height: 1.8;
}

.theme-dark .check-list div {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 500;
}

.theme-dark .check-list i {
  color: var(--green-neon);
  font-size: 1.1rem;
}

/* ── Mission / about company ── */
.theme-dark .mission-section,
.theme-dark .about-company {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .mission-section {
  background: var(--bg-mid);
}

.theme-dark .mission-card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px 28px;
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-dark .mission-card:hover {
  transform: translateY(-6px);
  border-color: rgba(51, 118, 205, 0.45);
  box-shadow: var(--glow-blue);
}

.theme-dark .mission-card i {
  color: var(--blue-neon);
  background: rgba(51, 118, 205, 0.15);
  width: 72px;
  height: 72px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  margin-bottom: 20px;
}

.theme-dark .mission-card h3 {
  color: var(--text-primary);
}

.theme-dark .mission-card p {
  color: var(--text-muted);
}

.theme-dark .about-company-content h2 {
  color: var(--text-primary);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.theme-dark .about-company-content p {
  color: var(--text-muted);
}

.theme-dark .about-company-image img {
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--glow-blue);
}

/* ── Services page ── */
.theme-dark .service-intro {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .service-content h2,
.theme-dark .service-detail-content h2 {
  color: var(--text-primary);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: left;
}

.theme-dark .service-content p,
.theme-dark .service-detail-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.theme-dark .service-image img,
.theme-dark .service-detail-image img {
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--glow-blue);
}

.theme-dark .core-services {
  padding: 120px 0;
  background: var(--bg-mid);
}

.theme-dark .core-card {
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.theme-dark .core-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-blue);
}

.theme-dark .core-overlay {
  background: linear-gradient(transparent, rgba(10, 14, 23, 0.95));
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.theme-dark .service-detail {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .service-detail.dark {
  background: var(--bg-mid);
}

.theme-dark .service-detail-content h4 {
  color: var(--green-neon);
}

.theme-dark .service-detail-content li {
  color: var(--text-muted);
}

.theme-dark .service-detail-content li::before {
  color: var(--blue-neon);
}

.theme-dark .service-solution {
  padding: 120px 0;
  background: var(--bg-mid);
}

.theme-dark .solution-list li {
  color: var(--text-muted);
}

.theme-dark .solution-list li::before {
  color: var(--green-neon);
}

/* ── Contact page ── */
.theme-dark .contact-section {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .contact-info h2 {
  color: var(--text-primary);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: left;
}

.theme-dark .info-box {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.theme-dark a.info-box-link {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.theme-dark a.info-box-link:last-child {
  margin-bottom: 0;
}

.theme-dark a.info-box-link:hover,
.theme-dark .info-box:hover {
  border-color: rgba(51, 118, 205, 0.4);
  box-shadow: var(--glow-blue);
  transform: translateY(-2px);
}

.theme-dark .info-box i {
  background: rgba(51, 118, 205, 0.2);
  border: 1px solid rgba(51, 118, 205, 0.45);
  color: var(--blue-neon);
  box-shadow: 0 0 16px rgba(51, 118, 205, 0.25);
}

.theme-dark .info-box h4 {
  color: var(--text-primary);
}

.theme-dark .info-box p {
  color: var(--text-muted);
}

.theme-dark .contact-form-box {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--glow-blue);
}

.theme-dark .form-group input,
.theme-dark .form-group textarea {
  width: 100%;
  padding: 15px 18px;
  background: rgba(10, 14, 23, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-dark .form-group input::placeholder,
.theme-dark .form-group textarea::placeholder {
  color: #64748b;
}

.theme-dark .form-group input:focus,
.theme-dark .form-group textarea:focus {
  border-color: var(--blue-neon);
  box-shadow: 0 0 0 3px rgba(51, 118, 205, 0.2);
}

.theme-dark .form-message.success {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.4);
  color: var(--green-neon);
}

.theme-dark .form-message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.theme-dark .map-section {
  border-bottom: 1px solid var(--border-glass);
  filter: grayscale(30%) contrast(1.05);
}

.theme-dark .map-section iframe {
  opacity: 0.92;
}

/* ── Blog page (featured + grid) ── */
.theme-dark .featured-blog,
.theme-dark .blog-page {
  padding: 120px 0;
  background: var(--bg-deep);
}

.theme-dark .featured-blog {
  background: var(--bg-mid);
}

.theme-dark .featured-blog-image img,
.theme-dark .blog-item img {
  border-radius: 16px;
  border: 1px solid var(--border-glass);
  box-shadow: var(--glow-blue);
}

.theme-dark .featured-blog-content h2,
.theme-dark .blog-item h3 {
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.theme-dark .featured-blog-content p,
.theme-dark .blog-content p {
  color: var(--text-muted);
  line-height: 1.7;
}

.theme-dark .blog-category,
.theme-dark .blog-content span {
  color: var(--green-neon);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.theme-dark .blog-item {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.theme-dark .blog-item:hover {
  transform: translateY(-8px);
  border-color: rgba(51, 118, 205, 0.45);
  box-shadow: var(--glow-blue);
}

.theme-dark .blog-content {
  padding: 24px;
}

.theme-dark .blog-content a {
  color: var(--blue-neon);
  font-weight: 600;
  transition: color 0.3s ease;
}

.theme-dark .blog-content a:hover {
  color: var(--green-neon);
}

.theme-dark .blog-page-grid {
  gap: 28px;
}

.theme-dark .testimonials .testimonials-label,
.theme-dark .testimonials .small-title {
  text-align: center;
}

/* ── Counter section title centering ── */
.theme-dark .counter-section .small-title {
  text-align: center;
  margin-bottom: 10px;
}

.theme-dark .counter-section > .container > .section-title {
  text-align: center;
  margin-bottom: 60px;
  -webkit-text-fill-color: var(--text-primary);
  background: none;
  color: var(--text-primary);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .theme-dark .page-hero {
    margin-top: 72px;
    min-height: 320px;
  }

  .theme-dark .page-hero-content h1 {
    font-size: 2rem;
  }

  .theme-dark .contact-info h2 {
    text-align: center;
  }

  .theme-dark .contact-form-box {
    padding: 28px 20px;
  }

  .theme-dark .choose-us,
  .theme-dark .service-intro,
  .theme-dark .core-services,
  .theme-dark .service-detail,
  .theme-dark .service-solution,
  .theme-dark .contact-section,
  .theme-dark .mission-section,
  .theme-dark .about-company,
  .theme-dark .featured-blog,
  .theme-dark .blog-page {
    padding: 80px 0;
  }
}
