/* ==========================================================================
   Master Vijay Ram — site-wide stylesheet
   Brand colors:  deep red var(--brand-primary, #8B0000)  |  gold var(--brand-accent, #D4AF37)  |  cream #fff8e7
   Typography:    Georgia / serif headings + body
   ========================================================================== */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.7;
  color: #222;
  background: #fffdf7;
}

a { color: var(--brand-primary, #8B0000); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: #4a0000;
  color: #fdf3d8;
  font-size: 0.9em;
  padding: 6px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #fdf3d8; }
.topbar a:hover { color: var(--brand-accent, #D4AF37); }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  border-bottom: 3px solid var(--brand-accent, #D4AF37);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary, #8B0000), var(--brand-accent, #D4AF37));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  font-weight: bold;
  font-family: Georgia, serif;
  flex-shrink: 0;
}
.brand-text { line-height: 1.2; }
.brand-text .name { font-size: 1.25em; font-weight: bold; color: var(--brand-primary, #8B0000); }
.brand-text .tag { font-size: 0.85em; color: #666; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--brand-primary, #8B0000);
  color: var(--brand-primary, #8B0000);
  padding: 6px 12px;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  display: block;
  padding: 8px 14px;
  color: #4a0000;
  font-weight: bold;
  border-radius: 4px;
  font-size: 0.95em;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #fdf3d8;
  color: var(--brand-primary, #8B0000);
  text-decoration: none;
}

/* Dropdown */
.main-nav .has-dropdown { position: relative; }
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid #e4d8b8;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 8px 0;
  margin: 4px 0 0;
  list-style: none;
  z-index: 1000;
  flex-direction: column;
  gap: 0;
}
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown {
  display: flex;
}
.main-nav .dropdown li { width: 100%; }
.main-nav .dropdown a {
  padding: 6px 16px;
  border-radius: 0;
  font-size: 0.92em;
  font-weight: normal;
}
.main-nav .dropdown a:hover { background: #fdf3d8; }
.main-nav .dropdown strong {
  display: block;
  padding: 8px 16px 4px;
  font-size: 0.78em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8B0000;
  border-top: 1px solid #f0e6c8;
}
.main-nav .dropdown li:first-child strong { border-top: none; }

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    width: 100%;
    display: none;
    margin-top: 12px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { border-bottom: 1px solid #f0e6c8; border-radius: 0; }
  .main-nav .dropdown {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    border-top: 1px solid #f0e6c8;
    border-radius: 0;
    padding: 0 0 0 16px;
    margin: 0;
  }
  .main-nav .dropdown a { padding-left: 16px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #fff8e7 0%, #ffe8cc 60%, #f8d8a8 100%);
  padding: 60px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 24px 0;
  border: 1px solid #efd9a4;
}
.hero h1 {
  font-size: 2.4em;
  color: var(--brand-primary, #8B0000);
  margin: 0 0 14px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.15em;
  max-width: 760px;
  margin: 0 auto 24px;
  color: #3a1a00;
}
.hero .cta-row { margin-top: 18px; }

/* ---------- Buttons ---------- */
.cta-btn {
  display: inline-block;
  background: var(--brand-primary, #8B0000);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: bold;
  margin: 6px;
  font-size: 1.05em;
  border: 2px solid var(--brand-primary, #8B0000);
  transition: transform 0.1s, box-shadow 0.15s;
}
.cta-btn:hover {
  text-decoration: none;
  background: #6f0000;
  box-shadow: 0 4px 14px rgba(139,0,0,0.3);
  transform: translateY(-1px);
}
.cta-btn.whatsapp { background: #25D366; border-color: #25D366; }
.cta-btn.whatsapp:hover { background: #1ebe5b; box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
.cta-btn.outline {
  background: transparent;
  color: var(--brand-primary, #8B0000);
}
.cta-btn.outline:hover { background: var(--brand-primary, #8B0000); color: #fff; }

/* ---------- Section headings ---------- */
h1, h2, h3, h4 {
  font-family: Georgia, serif;
  color: var(--brand-primary, #8B0000);
}
h2 {
  font-size: 1.8em;
  border-bottom: 2px solid var(--brand-accent, #D4AF37);
  padding-bottom: 8px;
  margin: 48px 0 18px;
}
h3 { color: #4a0000; font-size: 1.25em; }
section { margin: 36px 0; }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: #f9f5ec;
  padding: 24px 16px;
  border-radius: 8px;
  margin: 30px 0;
  border: 1px solid #efd9a4;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: 1.8em;
  color: var(--brand-primary, #8B0000);
  font-weight: bold;
}
.trust-item span { font-size: 0.95em; color: #555; }

/* ---------- Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.service-card {
  border: 1px solid #e4d8b8;
  padding: 22px;
  border-radius: 8px;
  background: #fffef9;
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: 0 6px 18px rgba(139,0,0,0.12);
  transform: translateY(-2px);
}
.service-card h3 { margin: 0 0 8px; }
.service-card p { flex-grow: 1; margin: 0 0 14px; color: #444; }
.service-card .icon {
  font-size: 1.8em;
  color: var(--brand-accent, #D4AF37);
  margin-bottom: 6px;
}
.service-card .more-link { font-weight: bold; }

/* ---------- City grid ---------- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 18px 0;
}
.city-grid a {
  background: #fdf8ec;
  border: 1px solid #efd9a4;
  padding: 10px 14px;
  border-radius: 6px;
  text-align: center;
  font-weight: bold;
  color: #4a0000;
  transition: background 0.15s, color 0.15s;
}
.city-grid a:hover {
  background: var(--brand-primary, #8B0000);
  color: #fff;
  text-decoration: none;
}

/* ---------- Testimonials ---------- */
blockquote {
  border-left: 4px solid var(--brand-accent, #D4AF37);
  padding: 18px 22px;
  background: #fdf8ec;
  margin: 22px 0;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}
blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-weight: bold;
  color: var(--brand-primary, #8B0000);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid #e4d8b8;
  padding: 18px 0;
}
.faq-item h3 { margin: 0 0 8px; font-size: 1.1em; }
.faq-item p { margin: 0; }

/* ---------- Two-column / about ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Forms ---------- */
.form {
  background: #fffef9;
  border: 1px solid #e4d8b8;
  padding: 24px;
  border-radius: 8px;
  max-width: 640px;
}
.form label {
  display: block;
  font-weight: bold;
  margin: 14px 0 6px;
  color: #4a0000;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8b687;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1em;
  background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form button {
  margin-top: 18px;
  background: var(--brand-primary, #8B0000);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 1.05em;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.form button:hover { background: #6f0000; }

/* ---------- Breadcrumbs ---------- */
nav.breadcrumb {
  font-size: 0.92em;
  color: #666;
  margin: 18px 0;
}
nav.breadcrumb a { color: var(--brand-primary, #8B0000); }

/* ---------- Footer ---------- */
.site-footer {
  background: #2a0808;
  color: #fdf3d8;
  padding: 50px 0 0;
  margin-top: 60px;
  font-size: 0.95em;
}
.site-footer a { color: #fdf3d8; }
.site-footer a:hover { color: var(--brand-accent, #D4AF37); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-bottom: 30px;
}
.footer-grid h4 {
  color: var(--brand-accent, #D4AF37);
  margin: 0 0 12px;
  font-size: 1.05em;
  border-bottom: 1px solid #5a2020;
  padding-bottom: 6px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}
.footer-bottom {
  border-top: 1px solid #5a2020;
  padding: 18px 0;
  text-align: center;
  font-size: 0.88em;
  color: #c8b095;
}

/* ---------- Floating contact buttons ---------- */
.float-contacts {
  position: fixed;
  right: 18px;
  /* Sits directly above the chatbot launcher (which is at bottom: 18px and ~50px tall). */
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 9998;
}
.float-contacts a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4em;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
  text-decoration: none;
}
.float-contacts .call { background: var(--brand-primary, #8B0000); }
.float-contacts .wa { background: #25D366; }
.float-contacts a:hover { transform: scale(1.06); }
/* Hide the floating call/WhatsApp circles while the chat panel is open
   (the panel covers them and they'd look like duplicated buttons). */
body:has(#mvr-chatbot[data-state="open"]) .float-contacts { display: none; }
@media (max-width: 480px) {
  .float-contacts { right: 12px; bottom: 76px; gap: 8px; }
  .float-contacts a { width: 44px; height: 44px; font-size: 1.25em; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.muted { color: #666; }
.small { font-size: 0.9em; }
