/* ===== Vighnaharta Legal — Pastel Theme Stylesheet ===== */

:root {
  --navy: #1B2A4A;
  --gold: #B8945A;
  --pastel-blue: #E8EEF5;
  --pastel-gold: #F7F0E6;
  --pastel-grey: #F5F5F7;
  --pastel-green: #E6F0EB;
  --pastel-pink: #F5EBF0;
  --white: #FFFFFF;
  --dark-text: #2C2C2C;
  --light-text: #6B7280;
  --border-radius: 12px;
  --shadow: 0 2px 12px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 4px 24px rgba(27, 42, 74, 0.12);
  --max-width: 1140px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans Pro', 'Segoe UI', Calibri, sans-serif;
  color: var(--dark-text);
  line-height: 1.7;
  background: var(--white);
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', 'Georgia', serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.3;
}

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

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

/* ===== Layout ===== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

.bg-blue { background: var(--pastel-blue); }
.bg-gold { background: var(--pastel-gold); }
.bg-grey { background: var(--pastel-grey); }
.bg-green { background: var(--pastel-green); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }

.text-center { text-align: center; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-wrap img { height: 48px; width: auto; }
.logo-text { font-family: 'Merriweather', serif; font-weight: 700; font-size: 1.25rem; color: var(--navy); letter-spacing: 0.5px; }
.logo-text small { display: block; font-size: 0.65rem; color: var(--gold); letter-spacing: 1.5px; font-family: 'Source Sans Pro', sans-serif; }

.nav-menu { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-menu a { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.nav-menu a:hover { color: var(--gold); }
.nav-menu .active { color: var(--gold); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.btn-book {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.btn-book:hover { background: var(--gold); color: var(--white) !important; }

.menu-toggle { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--navy); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--pastel-blue) 0%, var(--pastel-gold) 100%);
  padding: 80px 0;
  text-align: center;
}
.hero h1 { font-size: 2.4rem; margin-bottom: 16px; }
.hero p { font-size: 1.15rem; color: var(--light-text); max-width: 700px; margin: 0 auto 28px; }
.hero-banner { max-width: 800px; margin: 0 auto 32px; border-radius: var(--border-radius); box-shadow: var(--shadow-lg); }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--gold); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--navy); color: var(--white); }

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card-body p { font-size: 0.92rem; color: var(--light-text); margin-bottom: 16px; }
.service-link { font-weight: 600; color: var(--gold); font-size: 0.9rem; }

/* ===== About Section ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.portrait-wrap { text-align: center; }
.portrait-wrap img { border-radius: var(--border-radius); box-shadow: var(--shadow-lg); margin: 0 auto; max-width: 300px; }
.portrait-caption { font-size: 0.85rem; color: var(--light-text); margin-top: 12px; font-style: italic; }

/* ===== Section Headers ===== */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; margin-bottom: 12px; }
.section-header p { color: var(--light-text); max-width: 600px; margin: 0 auto; }
.section-header .divider { width: 60px; height: 3px; background: var(--gold); margin: 16px auto; border-radius: 2px; }

/* ===== Lists ===== */
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: 8px 0 8px 28px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: bold; }

/* ===== Contact Section ===== */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.contact-card { text-align: center; padding: 28px; background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); }
.contact-card .icon { font-size: 2rem; margin-bottom: 12px; }
.contact-card h4 { font-size: 1.1rem; margin-bottom: 6px; }
.contact-card p { font-size: 0.9rem; color: var(--light-text); }

/* ===== Form ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 100px; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold); }
.footer-logo { height: 48px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ===== Cookie Banner ===== */
.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--pastel-gold);
  border-top: 2px solid var(--gold);
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  transition: transform 0.3s ease;
}
.cookie-overlay.hidden { transform: translateY(100%); }
.cookie-content { flex: 1; min-width: 300px; max-width: 700px; }
.cookie-content h4 { color: var(--navy); font-size: 1rem; margin-bottom: 6px; }
.cookie-content p { font-size: 0.88rem; color: var(--dark-text); }
.cookie-content a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.cookie-buttons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: var(--pastel-blue);
  padding: 56px 0;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-hero p { color: var(--light-text); max-width: 600px; margin: 0 auto; }

/* ===== Calendly Embed ===== */
.calendly-wrap {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-top: 24px;
}
.calendly-wrap iframe { width: 100%; height: 600px; border: 0; }

/* ===== Content prose ===== */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.25rem; margin: 24px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--dark-text); }
.prose ul { margin-bottom: 16px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }

/* ===== Floating Book Button ===== */
.float-book {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  background: var(--navy);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(27,42,74,0.3);
  transition: all 0.2s;
}
.float-book:hover { background: var(--gold); transform: scale(1.05); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-menu { display: none; }
  .menu-toggle { display: block; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: var(--shadow); }
  .hero h1 { font-size: 1.8rem; }
  .page-hero h1 { font-size: 1.7rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .section { padding: 40px 0; }
}
