/* ═══════════════════════════════════════════
   Hariraj Enterprises – Shared Stylesheet
   ═══════════════════════════════════════════ */

/* ─── Tokens ─── */
:root {
  --green-deep:   #1A4A2E;
  --green-mid:    #2A6B44;
  --green-light:  #EAF2EC;
  --sand:         #F5EDD8;
  --saffron:      #E8A020;
  --saffron-dark: #C5871A;
  --charcoal:     #1C1C1C;
  --gray:         #555F5A;
  --white:        #FFFFFF;
  --radius:       10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
}

/* ─── Nav ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--saffron); }

.nav-cta {
  background: var(--saffron);
  color: var(--charcoal) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600 !important;
}

.nav-cta:hover { background: var(--saffron-dark); color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* ─── Footer ─── */
footer {
  background: #0E2C1A;
  color: rgba(255,255,255,0.55);
  padding: 28px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.83rem;
}

footer a { color: var(--saffron); text-decoration: none; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: var(--saffron); }

/* ─── Buttons ─── */
.btn-primary {
  background: var(--saffron);
  color: var(--charcoal);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--saffron-dark); transform: translateY(-1px); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--saffron); background: rgba(232,160,32,0.1); }

/* ─── Section shells ─── */
.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin-bottom: 48px;
}

/* ─── Service page: Hero Banner ─── */
.service-hero {
  background: var(--green-deep);
  padding: 80px 5% 70px;
  position: relative;
  overflow: hidden;
}

.service-hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--saffron);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

.service-hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}

.service-hero h1 em {
  font-style: normal;
  color: var(--saffron);
}

.service-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 32px;
}

.service-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── Service page: About section ─── */
.service-about {
  padding: 70px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-about-text p {
  color: var(--gray);
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-about-text p:last-child { margin-bottom: 0; }

.service-about-img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  text-align: center;
  color: var(--gray);
  padding: 20px;
}

.img-placeholder .placeholder-icon { font-size: 3rem; margin-bottom: 10px; }
.img-placeholder p { font-size: 0.85rem; }

/* ─── Service page: Gallery ─── */
.service-gallery {
  padding: 70px 5%;
  background: var(--sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.04); }

/* ─── Service page: Benefits ─── */
.service-benefits {
  padding: 70px 5%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 0;
}

.benefit-card {
  background: var(--green-light);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.benefit-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.benefit-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--green-deep);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.87rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ─── Service page: FAQ ─── */
.service-faq {
  padding: 70px 5%;
  background: var(--green-deep);
}

.service-faq .section-tag { color: var(--saffron); }
.service-faq .section-title { color: var(--white); }
.service-faq .section-sub { color: rgba(255,255,255,0.65); }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
}

.faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question span { color: var(--saffron); font-size: 1.2rem; transition: transform 0.2s; }
.faq-item.open .faq-question span { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer { display: block; }

/* ─── Service page: CTA ─── */
.service-cta {
  padding: 70px 5%;
  text-align: center;
  background: var(--sand);
}

.service-cta .section-title { margin-bottom: 10px; }
.service-cta .section-sub { margin: 0 auto 32px; text-align: center; }

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Related services ─── */
.related-services {
  padding: 70px 5%;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.related-card {
  background: var(--white);
  border: 1.5px solid var(--green-light);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.related-card:hover {
  border-color: var(--green-mid);
  box-shadow: 0 6px 20px rgba(26,74,46,0.1);
  transform: translateY(-2px);
}

.related-card-icon { font-size: 1.6rem; margin-bottom: 10px; }
.related-card h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green-deep);
  margin-bottom: 4px;
}

.related-card p { font-size: 0.8rem; color: var(--gray); }

/* ─── INDEX: Hero ─── */
.hero {
  position: relative;
  background: var(--green-deep);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 65% 50%, rgba(42,107,68,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  padding: 80px 5% 140px;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--saffron);
  color: var(--charcoal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em { font-style: normal; color: var(--saffron); }

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 48px;
  left: 5%;
  display: flex;
  gap: 40px;
}

.stat-item { color: var(--white); }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--saffron);
  display: block;
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* ─── INDEX: Services ─── */
#services { padding: 80px 5%; background: var(--sand); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1.5px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--green-mid);
  box-shadow: 0 8px 28px rgba(26,74,46,0.12);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--green-deep);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.service-link:hover { color: var(--saffron-dark); }

/* ─── INDEX: Why Us ─── */
#why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 5%;
}

.why-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--green-deep);
}

.why-mesh-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.why-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.why-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--saffron);
  line-height: 1;
  display: block;
}

.why-badge-text { color: rgba(255,255,255,0.8); font-size: 1rem; font-weight: 500; }

.why-corner-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.82rem;
}

.why-corner-label strong { display: block; font-size: 1.1rem; color: var(--saffron); }

.why-points { display: flex; flex-direction: column; gap: 24px; }

.why-point { display: flex; gap: 18px; align-items: flex-start; }

.why-point-icon {
  width: 42px;
  height: 42px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-point h4 { font-size: 0.95rem; font-weight: 600; color: var(--charcoal); margin-bottom: 4px; }
.why-point p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }

/* ─── INDEX: Testimonials ─── */
#testimonials { padding: 80px 5%; background: var(--green-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}

.stars { color: var(--saffron); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.reviewer { display: flex; align-items: center; gap: 12px; }

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background: var(--green-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.reviewer-name { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.reviewer-loc  { font-size: 0.78rem; color: var(--gray); }

/* ─── INDEX: Contact ─── */
#contact { padding: 80px 5%; background: var(--green-deep); }
#contact .section-tag   { color: var(--saffron); }
#contact .section-title { color: var(--white); }
#contact .section-sub   { color: rgba(255,255,255,0.65); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 0.8rem; color: rgba(255,255,255,0.5); font-weight: 500; margin-bottom: 4px; }
.contact-item p  { font-size: 0.95rem; color: var(--white); font-weight: 500; }

.contact-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 7px;
  padding: 11px 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.32); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--saffron); }

.form-group select option { background: var(--green-deep); }
.form-group textarea { resize: vertical; min-height: 100px; }

.btn-submit {
  background: var(--saffron);
  color: var(--charcoal);
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-submit:hover { background: var(--saffron-dark); transform: translateY(-1px); }

/* ─── Map ─── */
#map-section { background: var(--white); padding: 70px 5%; }

.map-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid var(--green-light);
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.map-card:hover {
  border-color: var(--green-mid);
  box-shadow: 0 10px 32px rgba(26,74,46,0.14);
}

.map-static {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: #e8f0e4;
}

.map-static svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-open-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 60px));
  background: var(--white);
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 30px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.map-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  background: var(--green-deep);
  gap: 16px;
  flex-wrap: wrap;
}

.map-info-left strong { display: block; color: var(--white); font-size: 0.95rem; margin-bottom: 2px; }
.map-info-left span   { color: rgba(255,255,255,0.6); font-size: 0.82rem; }

.map-call-btn {
  background: var(--saffron);
  color: var(--charcoal);
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.map-call-btn:hover { background: var(--saffron-dark); }

/* ─── Responsive ─── */
@media (max-width: 860px) {
  #why { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .service-about { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--green-deep);
    padding: 16px 5%;
    gap: 14px;
    z-index: 200;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { position: static; padding-top: 40px; }
  .hero-content { padding-bottom: 40px; }
  .service-cta .section-title { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}