/* --- 1. FONTS & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f7f6; /* Soft gray-blue background */
  color: #333;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }

/* --- 2. GLOBAL LAYOUT --- */
/* This is the master width controller. 
   It ensures Header and Body line up perfectly at 1200px */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- 3. ZOLAR HEADER --- */
.site-header {
  width: 100%;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Top Bar (Socials) */
.header-top {
  background-color: #e8f5e9; 
  font-size: 0.85rem; 
  padding: 8px 0; 
  color: #2c3e50; 
  border-bottom: 1px solid #ddeadd;
}
.top-bar-flex { display: flex; justify-content: flex-end; }
.social-links a { margin-left: 15px; font-weight: 600; font-size: 0.8rem; }

/* Main Bar (Black) */
.header-main {
  background: #1a1a1a; 
  padding: 1rem 0; 
  color: white;
}
.main-nav-flex { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
}

/* Logo */
.logo a { 
  color: white; 
  font-weight: 900; 
  font-size: 1.5rem; 
  letter-spacing: -0.5px;
  text-transform: uppercase;
}
.logo .highlight { color: #d4ed31; }

/* Menu */
.main-menu { display: flex; align-items: center; }
.main-menu a { 
  color: #ccc; 
  margin: 0 20px; 
  font-weight: 700; 
  text-transform: uppercase; 
  font-size: 0.85rem; 
  letter-spacing: 0.5px;
}
.main-menu a:hover { color: #d4ed31; }

/* CTA Area */
.header-actions { display: flex; align-items: center; gap: 20px; }

.phone-box { text-align: right; line-height: 1.2; }
.phone-label { display: block; font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.phone-number { display: block; font-weight: 700; color: white; font-size: 1.1rem;}

.btn-quote { 
  background: #d4ed31; 
  color: #1a1a1a; 
  padding: 12px 28px; 
  border-radius: 50px; 
  font-weight: 800; 
  text-transform: uppercase; 
  font-size: 0.85rem; 
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-quote:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 5px 15px rgba(212,237,49,0.4); 
}

/* --- 4. CONTENT GRID (The 2-Column Layout) --- */
.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px; /* Content flexes, Sidebar fixed */
  gap: 40px;
  margin: 40px auto;
  align-items: start;
}

/* --- 5. COMPONENT: CARD --- */
.card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.badge {
  display: inline-block;
  background: #e8f5e9;
  color: #27ae60;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.article-meta {
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

/* Article Typography */
/* Article Typography & Content Styling */
.article-body h2 { font-size: 1.8rem; margin: 2rem 0 1rem; color: #2c3e50; }
.article-body h3 { font-size: 1.4rem; margin: 1.5rem 0 1rem; }
.article-body p { margin-bottom: 1.25rem; font-size: 1.05rem; color: #444; }

/* FIX 1: Indent lists so they align nicely */
.article-body ul, 
.article-body ol { 
  margin-left: 2rem;       /* Pushes the bullets in */
  margin-bottom: 1.5rem; 
  color: #444; 
}
.article-body li {
  margin-bottom: 0.5rem;   /* Space between bullet points */
}

/* FIX 2: Underline links in the text */
.article-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #ddd; /* Subtle grey underline by default */
  color: #2c3e50;
  font-weight: 600;
  transition: all 0.2s;
}

.article-body a:hover {
  color: #f39c12;             /* Solar Orange on hover */
  text-decoration-color: #f39c12; /* Underline turns orange too */
  background: transparent;    /* Removed the black box */
}

/* --- 6. SIDEBAR WIDGETS --- */
.sidebar-widget { 
  background: white; 
  padding: 30px; 
  border-radius: 8px; 
  box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
  margin-bottom: 30px; 
}

.sidebar-title { 
  font-size: 1rem; 
  font-weight: 800; 
  margin-bottom: 20px; 
  border-bottom: 2px solid #f4f7f6; 
  padding-bottom: 10px; 
  text-transform: uppercase;
}

.sidebar-links li { 
  margin-bottom: 12px; 
  border-bottom: 1px solid #f9f9f9; 
  padding-bottom: 12px; 
}

.sidebar-links a { 
  color: #555; 
  font-size: 0.95rem; 
  font-weight: 600;
  text-decoration: underline;       /* Turn on underline */
  text-underline-offset: 3px;       /* Add breathing room */
  text-decoration-color: #ddd;      /* Subtle grey underline initially */
  transition: all 0.2s;
}

.sidebar-links a:hover { 
  color: #f39c12;                   /* Solar Orange Text */
  text-decoration-color: #f39c12;   /* Solar Orange Underline */
}

/* --- 7. MOBILE RESPONSIVE --- */
@media (max-width: 900px) {
  .content-wrapper { grid-template-columns: 1fr; } /* Stack layout */
  
  .main-nav-flex { flex-direction: column; gap: 20px; text-align: center; }
  .main-menu { flex-direction: column; gap: 10px; margin: 15px 0; }
  .header-actions { flex-direction: column; gap: 15px; }
  .phone-box { text-align: center; }
  
  h1 { font-size: 2rem; }
  .card { padding: 25px; }
}