/* ============================================================
   Sharan Properties — Stylesheet
   Palette derived from client-supplied reference (Manasum style)
   ============================================================ */

:root{
  /* Colors */
  --navy-deep:      #0F2A38;   /* top utility bar / footer */
  --navy:            #163B4D;  /* primary dark background */
  --navy-soft:       #1E4B60;  /* card/hover surfaces on dark */
  --orange:          #E85D2C;  /* primary accent / CTA */
  --orange-dark:     #C94A1F;  /* hover state */
  --cream:           #F7F4EE;  /* light section background */
  --white:           #FFFFFF;
  --ink:             #1C2B33;  /* body copy on light */
  --ink-soft:        #52646C;  /* secondary copy on light */
  --line:            #E4DFD3;  /* hairline on light */
  --line-dark:       rgba(255,255,255,0.14);

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --nav-height: 78px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height); /* fixed nav offset — never remove */
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); margin:0 0 .5em; line-height:1.15; font-weight:700; }
p{ margin:0 0 1em; }
.container{ max-width: var(--container); margin:0 auto; padding:0 24px; }
section{ padding: 84px 0; }
.section--tight{ padding: 56px 0; }

:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

/* ---------- Eyebrow / Labels ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-weight:600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 26px;
  height: 2px;
  background: var(--orange);
  display:inline-block;
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-body);
  font-weight:600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(232,93,44,0.65);
}
.btn-primary:hover{ background: var(--orange-dark); }
.btn-outline{
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover{ background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-dark{
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover{ background: var(--navy-soft); }
.btn-sm{ padding: 10px 20px; font-size: 14px; }

/* ---------- Nav ---------- */
.navbar{
  position: fixed; /* tested pattern: fixed navbar + body padding-top, never sticky */
  top: 0;
  left:0; right:0;
  height: var(--nav-height);
  background: var(--white);
  z-index: 500;
  box-shadow: 0 4px 24px -6px rgba(15,42,56,0.18);
}
.navbar .container{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-display);
  font-weight:700;
  font-size: 22px;
  color: var(--navy);
}
.logo__mark{
  width:38px; height:38px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--orange), var(--orange-dark));
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-weight:700;
  font-size: 20px;
  flex-shrink:0;
}
.logo__text span{ display:block; }
.logo__sub{
  font-family: var(--font-body);
  font-weight:500;
  font-size: 11px;
  letter-spacing:.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.nav-links{ display:flex; align-items:center; gap: 34px; }
.nav-links a{
  font-weight:500;
  font-size: 15px;
  color: var(--ink);
  position:relative;
  padding: 6px 0;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background: var(--orange);
  transition: width .2s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{ width:100%; }
.nav-links a[aria-current="page"]{ color: var(--orange); }

.nav-cta{ display:flex; align-items:center; gap:14px; }

.hamburger{
  display:none;
  width: 42px; height:42px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.hamburger span, .hamburger span::before, .hamburger span::after{
  content:""; display:block;
  width:20px; height:2px; background: var(--navy);
  position:relative; transition: all .2s ease;
}
.hamburger span::before{ position:absolute; top:-7px; }
.hamburger span::after{ position:absolute; top:7px; }
.hamburger.open span{ background: transparent; }
.hamburger.open span::before{ top:0; transform: rotate(45deg); background: var(--navy); }
.hamburger.open span::after{ top:0; transform: rotate(-45deg); background: var(--navy); }

/* Mobile nav — tested pattern: separate div, class toggle, not the desktop ul */
.mobile-nav{
  position: fixed;
  top: var(--nav-height);
  left:0; right:0;
  bottom:0;
  background: var(--white);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 480;
  overflow-y:auto;
  padding: 28px 24px;
}
.mobile-nav.open{ transform: translateX(0); }
.mobile-nav a{
  display:block;
  font-size: 19px;
  font-weight:600;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.mobile-nav .btn{ margin-top:22px; width:100%; }

@media (max-width: 900px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .nav-cta .btn-dark{ display:none; }
}
@media (min-width: 901px){
  .mobile-nav{ display:none; }
}

/* ---------- Hero banner (image only — text is baked into the JPGs) ---------- */
.hero-banner{
  width: 100%;
  padding: 0; /* overrides global section padding — this is a full-bleed image */
  line-height: 0;
  background: var(--navy); /* shows briefly while image loads */
}
.hero-banner__img{
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 2.4 / 1;
}
@media (max-width: 767px){
  .hero-banner__img{ aspect-ratio: 4 / 5; }
}

#services, #about, #contact{
  scroll-margin-top: var(--nav-height);
}

/* ---------- Services ---------- */
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px, 3.2vw, 40px); color: var(--navy); }
.section-head p{ color: var(--ink-soft); font-size: 16px; }

.services{ background: var(--cream); }
.service-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -18px rgba(22,59,77,0.28);
}
.service-card__icon{
  width: 56px; height:56px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--orange);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
}
.service-card h3{ font-size: 21px; color: var(--navy); margin-bottom:10px; }
.service-card p{ color: var(--ink-soft); font-size: 15px; margin-bottom: 18px; }
.service-card__link{ font-weight:600; font-size:14px; color: var(--orange); display:inline-flex; align-items:center; gap:6px; }

@media (max-width: 900px){ .service-grid{ grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about .container{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items:center;
}
.about__visual{
  position: relative;
}
.about__visual img{
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -24px rgba(15,42,56,0.35);
}
.about__badge{
  position: absolute;
  left: -22px;
  bottom: -26px;
  background: var(--white);
  border-radius: 14px;
  padding: 22px 26px;
  display:flex;
  align-items:center;
  gap: 16px;
  box-shadow: 0 18px 34px -14px rgba(15,42,56,0.3);
  border: 1px solid var(--line);
}
.about__badge b{
  font-family: var(--font-display);
  font-size: 42px;
  line-height:1;
  color: var(--orange);
}
.about__badge span{
  display:block;
  font-size:12.5px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color: var(--navy);
  max-width: 9ch;
}
@media (max-width: 900px){
  .about__badge{ left: 16px; bottom: -20px; padding: 16px 20px; }
  .about__badge b{ font-size: 34px; }
}
.about h2{ color: var(--navy); font-size: clamp(28px,3.2vw,38px); }
.about p{ color: var(--ink-soft); font-size:16px; }
.about-points{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 26px; }
.about-point{ display:flex; gap:12px; align-items:flex-start; }
.about-point svg{ color: var(--orange); flex-shrink:0; margin-top:3px; }
.about-point b{ display:block; color: var(--navy); font-size:15px; }
.about-point span{ font-size:13.5px; color: var(--ink-soft); }

@media (max-width: 900px){
  .about .container{ grid-template-columns: 1fr; }
  .about__badge{ aspect-ratio: auto; padding: 34px; }
  .about-points{ grid-template-columns: 1fr; }
}

/* ---------- Why choose us strip ---------- */
.strip{ background: var(--navy); color: var(--white); }
.strip .container{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
}
.strip-item b{ display:block; font-family: var(--font-display); font-size: 32px; color: var(--orange); }
.strip-item span{ font-size: 13.5px; color: rgba(255,255,255,0.72); }
@media (max-width: 760px){ .strip .container{ grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact{ background: var(--white); }
.contact .container{
  display:grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
}
.contact-info{ display:flex; flex-direction:column; gap:22px; }
.contact-card{
  display:flex; gap:16px; align-items:flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
}
.contact-card__icon{
  width:44px; height:44px; border-radius:11px;
  background: var(--navy); color: var(--orange);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.contact-card h4{ font-family: var(--font-body); font-size:15px; color: var(--navy); margin-bottom:4px; font-weight:600; }
.contact-card p, .contact-card a{ font-size: 14.5px; color: var(--ink-soft); }
.contact-card a:hover{ color: var(--orange); }

.social-row{ display:flex; gap:12px; margin-top:6px; }
.social-btn{
  width:44px; height:44px; border-radius:50%;
  background: var(--navy); color: var(--white);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease;
}
.social-btn:hover{ background: var(--orange); }

.form-card{
  background: var(--cream);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--line);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field{ margin-bottom: 16px; }
.field label{ display:block; font-size:13.5px; font-weight:600; color: var(--navy); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%;
  padding: 13px 15px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,93,44,0.15);
}
.field textarea{ resize: vertical; min-height: 110px; }
.form-note{ font-size:12.5px; color: var(--ink-soft); margin-top: 12px; }

@media (max-width: 900px){
  .contact .container{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
}

/* ---------- Map ---------- */
.map-wrap{ border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); }
.map-wrap iframe{ width:100%; height: 340px; border:0; display:block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 56px;
  text-align:center;
}
.page-hero h1{ color: var(--white); font-size: clamp(30px,4vw,44px); }
.page-hero .crumbs{ font-size:13.5px; color: rgba(255,255,255,0.6); margin-top:10px; }
.page-hero .crumbs a:hover{ color: var(--orange); }

/* ---------- Legal pages ---------- */
.legal{ padding: 64px 0 90px; }
.legal .container{ max-width: 840px; }
.legal h2{ color: var(--navy); font-size: 23px; margin-top: 36px; }
.legal p, .legal li{ color: var(--ink-soft); font-size:15.5px; }
.legal ul{ margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.legal .updated{ color: var(--ink-soft); font-size: 13.5px; margin-bottom: 28px; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: var(--white);
  border-radius: 22px;
  padding: 50px 44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 0 24px;
  max-width: calc(var(--container) - 48px);
  margin-inline:auto;
}
.cta-band h2{ color: var(--white); font-size: clamp(24px,3vw,32px); margin-bottom:6px; }
.cta-band p{ color: rgba(255,255,255,0.9); margin:0; }
.cta-band .btn-outline{ border-color: rgba(255,255,255,0.6); }

/* ---------- Footer ---------- */
footer{ background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 64px 0 0; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-logo{ display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.footer-logo .logo__text{ color: var(--white); font-family: var(--font-display); font-size:20px; font-weight:700; }
footer h4{ color: var(--white); font-size:14.5px; letter-spacing:.04em; margin-bottom: 18px; font-family: var(--font-body); font-weight:600; }
footer ul li{ margin-bottom: 12px; }
footer a{ color: rgba(255,255,255,0.72); font-size: 14px; }
footer a:hover{ color: var(--orange); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 22px 0 26px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a{ color: rgba(255,255,255,0.55); }
@media (max-width: 900px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- Floating action buttons (call + whatsapp) ---------- */
.fab-stack{
  position: fixed;
  right: 22px;
  bottom: 22px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  z-index: 600;
}
.fab{
  width: 58px; height:58px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,0.4);
  transition: transform .15s ease;
}
.fab:hover{ transform: scale(1.08); }
.fab-call{ background: var(--navy); }
.fab-whatsapp{ background: #25D366; }

@media (max-width: 560px){
  .fab{ width:52px; height:52px; }
  .fab-stack{ right:16px; bottom:16px; }
}
