/* ===================================
   Theli Tech – Home Page Styles
   =================================== */

/* Typography & spacing (site-wide on home) */
.home-page body { color: #2d2d2d; }
.home-page p { color: #3d3d3d; }
.home-page .section-heading { font-size: 28px; font-weight: 700; letter-spacing: 0.02em; margin-bottom: 1rem; color: #111; text-transform: none; }
.home-page .section-sub { max-width: 640px; margin-left: auto; margin-right: auto; font-size: 16px; line-height: 1.6; color: #444; }
.home-page .home-section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.home-page .home-section-alt { background: #f8f9fa; }

/* ---- Hero ---- */
.home-hero { position: relative; min-height: 72vh; }
.home-hero .owl-item { min-height: 72vh; }
.home-hero .item { min-height: 72vh; }
.home-hero .owl-bg-img { min-height: 72vh; }
.home-hero .hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); z-index: 1; }
.home-hero .container { position: relative; z-index: 2; height: auto; display: flex; align-items: center; min-height: 72vh; }
.home-hero .slider-typography { position: relative; height: auto; text-align: left; }
.home-hero .hero-content { max-width: 720px; margin: 0; text-align: left; }
.home-hero .hero-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.2; letter-spacing: 0.02em; color: #fff; margin-bottom: 1rem; text-transform: none; }
.home-hero .hero-subtitle { font-size: clamp(15px, 2vw, 18px); line-height: 1.6; color: rgba(255,255,255,0.95); margin-bottom: 1.75rem; font-weight: 400; }
.home-hero .hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: flex-start; }
.home-hero .btn-hero-primary { display: inline-block; padding: 14px 28px; background: #ff9a33; color: #000; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; border: none; text-decoration: none; transition: background 0.25s, transform 0.2s; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.home-hero .btn-hero-primary:hover { background: #ffb347; color: #000; transform: translateY(-1px); }
.home-hero .btn-hero-secondary { display: inline-block; padding: 14px 28px; background: transparent; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; border: 2px solid rgba(255,255,255,0.9); text-decoration: none; transition: background 0.25s, color 0.25s, transform 0.2s; }
.home-hero .btn-hero-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; transform: translateY(-1px); }

/* ---- What We Do (6-card grid) ---- */
.home-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.home-service-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 2rem; height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; color: inherit; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.home-service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); border-color: #ff9a33; }
.home-service-card .card-icon { width: 64px; height: 64px; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; font-size: 32px; color: #ff9a33; }
.home-service-card .card-icon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.home-service-card h3 { font-size: 16px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 0.5rem; color: #111; text-transform: none; }
.home-service-card p { font-size: 14px; line-height: 1.5; color: #555; margin: 0; flex-grow: 1; }

/* ---- Trusted Installer (two-column) ---- */
.home-trusted { align-items: center; }
.home-trusted .trusted-img-wrap { border-radius: 4px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.home-trusted .trusted-img-wrap img { width: 100%; height: auto; display: block; }
.home-trusted .trusted-content { max-width: 520px; }
.home-trusted .trusted-content h2 { font-size: 26px; font-weight: 700; margin-bottom: 1rem; color: #111; text-transform: none; }
.home-trusted .trusted-content p { font-size: 16px; line-height: 1.65; color: #444; }

/* ---- Why Choose (trust grid) ---- */
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: center;
  justify-items: stretch;
  text-align: center;
  grid-auto-rows: 1fr;
}
.home-why-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0.75rem;
  min-height: 88px;
  text-align: center;
}
.home-why-item .why-icon { flex-shrink: 0; width: 28px; height: 28px; color: #2a9d2a; font-size: 20px; }
.home-why-item span { font-size: 15px; font-weight: 600; color: #222; }

/* ---- Popular Projects ---- */
.home-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.home-project-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 1.5rem; height: 100%; transition: box-shadow 0.25s, border-color 0.25s; }
.home-project-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); border-color: #ddd; }
.home-project-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 0.25rem; color: #111; text-transform: none; }
.home-project-card p { font-size: 13px; color: #666; margin: 0; }

/* ---- Installation gallery ---- */
.home-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.home-gallery-item { border-radius: 4px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.home-gallery-item figure { margin: 0; }
.home-gallery-item img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.3s; }
.home-gallery-item:hover img { transform: scale(1.03); }
.home-gallery-item figcaption { padding: 0.75rem; background: #fff; font-size: 13px; color: #444; text-align: center; }

/* ---- Our Process ---- */
.home-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; }
.home-process-step { text-align: center; padding: 1.5rem 1rem; }
.home-process-step .step-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #ff9a33; color: #000; font-weight: 700; font-size: 18px; border-radius: 50%; margin-bottom: 1rem; }
.home-process-step h4 { font-size: 15px; font-weight: 700; margin-bottom: 0.5rem; color: #111; text-transform: none; }
.home-process-step p { font-size: 14px; color: #555; margin: 0; line-height: 1.5; }

/* ---- Reviews ---- */
.home-reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2rem; }
.home-review-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; padding: 1.75rem; height: 100%; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: box-shadow 0.25s; }
.home-review-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.home-review-card .stars { color: #ff9a33; font-size: 16px; letter-spacing: 2px; margin-bottom: 0.75rem; }
.home-review-card .quote { font-size: 15px; line-height: 1.6; color: #333; font-style: italic; margin-bottom: 1rem; }
.home-review-card .author { font-size: 13px; color: #666; }

/* ---- Service area ---- */
.home-service-area .area-text { max-width: 640px; margin: 0 auto 1.5rem; font-size: 16px; line-height: 1.6; color: #444; }
.home-service-area .area-map-placeholder { max-width: 400px; height: 180px; margin: 0 auto; background: linear-gradient(135deg, #e8e8e8 0%, #f0f0f0 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #666; font-size: 14px; }

/* ---- Final CTA ---- */
.home-cta-final {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-cta-final h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: none;
  text-align: center;
  width: 100%;
}
.home-cta-final p {
  font-size: 16px;
  color: #fff !important;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.home-cta-final .btn-cta-primary { display: inline-block; padding: 14px 28px; background: #ff9a33; color: #000; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; border: none; text-decoration: none; margin: 0 0.5rem 0.5rem 0; transition: background 0.25s, transform 0.2s; }
.home-cta-final .btn-cta-primary:hover { background: #ffb347; color: #000; transform: translateY(-1px); }
.home-cta-final .btn-cta-secondary { display: inline-block; padding: 14px 28px; background: transparent; color: #fff; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; border: 2px solid rgba(255,255,255,0.8); text-decoration: none; margin: 0 0.5rem 0.5rem 0; transition: background 0.25s, color 0.25s; }
.home-cta-final .btn-cta-secondary:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ---- Navbar (home) ---- */
.home-page .nav-logo-wrap { display: flex; align-items: center; }
.home-page .navbar .row { display: flex; align-items: center; width: 100%; }
.home-page .navbar .navbar-nav li a { transition: opacity 0.2s; }
.home-page .navbar .navbar-nav li a:hover { opacity: 0.85; }
.home-page .nav-cta-btn { margin-left: 1rem; padding: 10px 20px; background: #ff9a33; color: #000 !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 13px; border-radius: 2px; transition: background 0.2s, transform 0.2s; }
.home-page .nav-cta-btn:hover { background: #ffb347; color: #000 !important; opacity: 1; transform: translateY(-1px); }
.home-page .nav-white.sticky-nav .nav-cta-btn { color: #000 !important; }

/* ---- Mobile ---- */
@media (max-width: 991px) {
    .home-hero { min-height: 65vh; }
    .home-hero .item { min-height: 65vh; }
    .home-hero .owl-bg-img { min-height: 65vh; }
    .home-hero .owl-item { min-height: 65vh; }
    .home-services-grid { grid-template-columns: 1fr 1fr; }
    .home-why-grid { grid-template-columns: repeat(2, 1fr); justify-content: center; justify-items: center; }
    .home-projects-grid { grid-template-columns: 1fr 1fr; }
    .home-gallery-grid { grid-template-columns: 1fr 1fr; }
    .home-process-grid { grid-template-columns: 1fr 1fr; }
    .home-reviews-grid { grid-template-columns: 1fr; }
    .home-trusted .trusted-content { max-width: 100%; }
    .home-cta-final .btn-cta-primary, .home-cta-final .btn-cta-secondary { display: block; margin: 0.5rem auto; }
}
@media (max-width: 767px) {
    .home-hero .hero-title { font-size: 24px; }
    .home-hero .hero-subtitle { font-size: 15px; }
    .home-hero .hero-buttons { flex-direction: column; }
    .home-hero .btn-hero-primary, .home-hero .btn-hero-secondary { width: 100%; max-width: 280px; text-align: center; }
    .home-services-grid { grid-template-columns: 1fr; }
    .home-why-grid { grid-template-columns: 1fr; justify-content: center; justify-items: center; }
    .home-projects-grid { grid-template-columns: 1fr; }
    .home-gallery-grid { grid-template-columns: 1fr; }
    .home-process-grid { grid-template-columns: 1fr; }
    .home-page .nav-cta-btn { margin-left: 0; margin-top: 8px; }
}
