/* ============================================
   Business Whisperer - Main Stylesheet
   Colors: Navy (#1a1a2e, #16213e), Red (#c0392b), White, Gray
   Fonts: Lato, Open Sans, Montserrat, Roboto
   ============================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: #c0392b; text-decoration: none; transition: color 0.3s; }
a:hover { color: #e74c3c; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a2e;
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }

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

/* ============================================
   Top Bar
   ============================================ */
.top-bar {
  background: #1a1a2e;
  color: #fff;
  padding: 8px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  color: #fff;
  font-family: 'Lato', sans-serif;
}

.top-bar a:hover { color: #e74c3c; }

.top-bar .phone-icon::before { content: "\260E "; }

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  background: #16213e;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.logo img {
  height: 55px;
  width: auto;
}

.logo {
  display: flex;
  align-items: center;
}

/* Nav */
.main-nav { display: flex; align-items: center; }

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.main-nav > ul > li {
  position: relative;
  margin: 0;
}

.main-nav > ul > li > a {
  display: block;
  padding: 28px 18px;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.3s, color 0.3s;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  background: #c0392b;
  color: #fff;
}

/* Dropdown */
.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #16213e;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 1001;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown li { margin: 0; }

.main-nav .dropdown a {
  display: block;
  padding: 12px 20px;
  color: #ccc;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s, color 0.3s;
}

.main-nav .dropdown a:hover {
  background: #c0392b;
  color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ============================================
   Hero Section
   ============================================ */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>') repeat;
  background-size: 200px;
}

.hero .container { position: relative; z-index: 1; }

.hero h1 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 span { color: #e74c3c; }

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  font-family: 'Lato', sans-serif;
}

/* Page Hero (smaller, for inner pages) */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  color: #fff;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.1rem;
  opacity: 0.85;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-primary {
  background: #c0392b;
  color: #fff;
}

.btn-primary:hover {
  background: #e74c3c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(192,57,43,0.4);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: #1a1a2e;
}

.btn-dark {
  background: #1a1a2e;
  color: #fff;
}

.btn-dark:hover {
  background: #16213e;
  color: #fff;
}

/* ============================================
   Sections
   ============================================ */
.section { padding: 80px 0; }
.section-dark { background: #1a1a2e; color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-gray { background: #f5f5f5; }
.section-red { background: #c0392b; color: #fff; }
.section-red h2 { color: #fff; }

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-header h2 { margin-bottom: 1rem; }

.section-header p {
  font-size: 1.1rem;
  color: #666;
}

.section-dark .section-header p { color: rgba(255,255,255,0.8); }

/* Divider */
.divider {
  width: 60px;
  height: 3px;
  background: #c0392b;
  margin: 15px auto 25px;
}

/* ============================================
   Grid System
   ============================================ */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ============================================
   Service Cards
   ============================================ */
.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.service-card > img:first-child {
  width: calc(100% + 60px) !important;
  margin: -40px -30px 20px !important;
  height: 160px;
  object-fit: cover;
  border-radius: 0;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-card .icon {
  font-size: 3rem;
  color: #c0392b;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 15px;
}

.service-card a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ============================================
   Five Things Section
   ============================================ */
.five-things-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 0 auto;
  counter-reset: five-count;
}

.five-things-list li {
  counter-increment: five-count;
  padding: 15px 0 15px 60px;
  position: relative;
  font-size: 1.15rem;
  font-family: 'Lato', sans-serif;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.five-things-list li::before {
  content: counter(five-count);
  position: absolute;
  left: 0;
  top: 12px;
  width: 40px;
  height: 40px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonial-card {
  background: #fff;
  border-radius: 8px;
  padding: 35px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-size: 5rem;
  color: #c0392b;
  opacity: 0.15;
  position: absolute;
  top: 10px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-card .author {
  font-weight: 700;
  color: #1a1a2e;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
}

.testimonial-card .author-title {
  font-size: 0.85rem;
  color: #888;
}

.stars {
  color: #f1c40f;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* Full-width testimonial (for service pages) */
.testimonial-highlight {
  background: #16213e;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

.testimonial-highlight blockquote {
  font-size: 1.4rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.8;
  font-family: 'Lato', sans-serif;
}

.testimonial-highlight .author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  opacity: 0.9;
}

/* ============================================
   Contact Forms (Netlify)
   ============================================ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #333;
}

.section-dark .form-group label { color: #fff; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #c0392b;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.section-dark .form-group input,
.section-dark .form-group textarea,
.section-dark .form-group select {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

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

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: #c0392b;
  color: #fff;
  padding: 50px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.cta-banner .btn-secondary {
  border-color: #fff;
  color: #fff;
}

.cta-banner .btn-secondary:hover {
  background: #fff;
  color: #c0392b;
}

/* ============================================
   Guarantee Badge
   ============================================ */
.guarantee-badge {
  background: linear-gradient(135deg, #16213e, #1a1a2e);
  border: 3px solid #c0392b;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.guarantee-badge h3 {
  color: #c0392b;
  font-size: 2rem;
  margin-bottom: 10px;
}

.guarantee-badge p { color: rgba(255,255,255,0.9); }

/* ============================================
   Content Sections (for service/about pages)
   ============================================ */
.content-section { padding: 60px 0; }

.content-section h2 { margin-bottom: 1.2rem; }

.content-with-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.content-area p { font-size: 1.05rem; line-height: 1.8; }

.sidebar {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 30px;
}

.sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c0392b;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 0;
}

.sidebar ul li a {
  display: block;
  padding: 10px 0;
  color: #333;
  font-size: 0.95rem;
  border-bottom: 1px solid #e0e0e0;
  transition: color 0.3s, padding-left 0.3s;
}

.sidebar ul li a:hover {
  color: #c0392b;
  padding-left: 5px;
}

/* Two-column content */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.two-col img {
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Numbered process steps */
.process-steps {
  counter-reset: step-count;
  list-style: none;
  padding: 0;
}

.process-steps li {
  counter-increment: step-count;
  padding: 25px 0 25px 80px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.process-steps li::before {
  content: counter(step-count);
  position: absolute;
  left: 0;
  top: 22px;
  width: 50px;
  height: 50px;
  background: #c0392b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  font-family: 'Montserrat', sans-serif;
}

.process-steps li h4 {
  color: #1a1a2e;
  margin-bottom: 8px;
}

/* Icon list */
.icon-list {
  list-style: none;
  padding: 0;
}

.icon-list li {
  padding: 8px 0 8px 35px;
  position: relative;
}

.icon-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #c0392b;
  font-weight: 700;
  font-size: 1.2rem;
}

/* ============================================
   Locations
   ============================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.location-card {
  text-align: center;
  padding: 30px;
}

.location-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.location-card .phone {
  font-size: 1.3rem;
  font-weight: 700;
  color: #c0392b;
  display: block;
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.location-card .phone a { color: #c0392b; }
.section-dark .location-card .phone a { color: #e74c3c; }

.location-card address {
  font-style: normal;
  color: #666;
  line-height: 1.6;
}

.section-dark .location-card address { color: rgba(255,255,255,0.7); }
.section-dark .location-card h3 { color: #fff; }

/* ============================================
   Blog
   ============================================ */
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.blog-card:hover { transform: translateY(-3px); }

.blog-card .blog-image {
  height: 200px;
  background: #16213e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}

.blog-card .blog-content {
  padding: 25px;
}

.blog-card .blog-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 8px;
}

.blog-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.blog-card h3 a { color: #1a1a2e; }
.blog-card h3 a:hover { color: #c0392b; }

.blog-card p {
  font-size: 0.95rem;
  color: #666;
}

/* Blog single */
.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.blog-post-content h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.blog-post-content h2 { font-size: 1.6rem; margin-top: 2rem; }
.blog-post-content h3 { font-size: 1.3rem; margin-top: 1.5rem; }

.blog-post-content p {
  font-size: 1.1rem;
  line-height: 1.9;
}

.blog-post-content blockquote {
  border-left: 4px solid #c0392b;
  padding: 15px 25px;
  margin: 25px 0;
  background: #f9f9f9;
  font-style: italic;
  color: #555;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0d0d1a;
  color: #fff;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #c0392b;
  display: inline-block;
}

.footer p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-logo img {
  height: 45px;
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
}

.footer-nav ul li { margin-bottom: 0; }

.footer-nav ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  padding: 5px 0;
  display: inline-block;
  transition: color 0.3s;
}

.footer-nav ul li a:hover { color: #e74c3c; }

.footer-locations .location-item {
  margin-bottom: 20px;
}

.footer-locations .location-item h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.footer-locations .location-item a {
  color: #e74c3c;
  font-weight: 600;
}

.footer-locations .location-item address {
  font-style: normal;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ============================================
   Master Plan CTA (Download banner)
   ============================================ */
.master-plan-cta {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.master-plan-cta h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.master-plan-cta .btn {
  background: #fff;
  color: #c0392b;
  font-weight: 700;
}

.master-plan-cta .btn:hover {
  background: #1a1a2e;
  color: #fff;
}

/* ============================================
   Privacy Policy
   ============================================ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero { padding: 60px 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }

  .section { padding: 50px 0; }

  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }

  .two-col { grid-template-columns: 1fr; gap: 30px; }
  .two-col.reverse { direction: ltr; }

  .locations-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  /* Mobile Navigation */
  .menu-toggle { display: block; }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #16213e;
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  }

  .main-nav.active {
    max-height: calc(100vh - 80px);
  }

  .main-nav ul {
    flex-direction: column;
    padding: 10px 0;
  }

  .main-nav > ul > li > a {
    padding: 15px 20px;
  }

  .main-nav .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: rgba(0,0,0,0.2);
  }

  .main-nav > ul > li.dropdown-open .dropdown {
    display: block;
  }

  .page-hero h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .container { padding: 0 15px; }
}
