/* NoDrillCurtains.com — Clean, modern renter-focused design */
/* Color palette: slate blue + warm white + soft teal accents */

:root {
  --primary: #2c5f7a;
  --primary-light: #3d7fa0;
  --accent: #4ab3c5;
  --accent-light: #e8f7fa;
  --text: #1e2d3a;
  --text-muted: #5a7080;
  --bg: #f8fbfc;
  --white: #ffffff;
  --border: #d0e6ec;
  --card-shadow: 0 2px 12px rgba(44, 95, 122, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

/* ───── HEADER ───── */
.site-header {
  background: var(--primary);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.logo-tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: -2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 8px;
}

.header-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s;
}

.header-nav a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* ───── HERO (homepage only) ───── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, var(--accent) 100%);
  color: var(--white);
  padding: 72px 24px 80px;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ───── ARTICLE GRID ───── */
.section-label {
  max-width: 1100px;
  margin: 48px auto 20px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--border);
}

.article-grid {
  max-width: 1100px;
  margin: 0 auto 64px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.article-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.article-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 95, 122, 0.14);
}

.article-item a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--accent-light);
}

.article-thumb-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--accent-light), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.article-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.article-item h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 10px;
}

.article-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.article-item .read-more {
  margin-top: 14px;
  font-size: 0.83rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ───── ARTICLE PAGE ───── */
.article-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-container h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.4px;
}

.author-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.author-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Quick Answer Box */
.quick-answer {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin-bottom: 32px;
}

.quick-answer-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.quick-answer p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  font-weight: 500;
}

/* Article body */
.article-body {
  color: var(--text);
}

.article-body h2 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 36px 0 14px;
  color: var(--primary);
  letter-spacing: -0.2px;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--text);
}

.article-body p {
  margin-bottom: 18px;
  line-height: 1.75;
}

.article-body ul, .article-body ol {
  margin: 0 0 18px 24px;
}

.article-body li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.article-body strong {
  color: var(--primary);
}

/* Pro tip box */
.pro-tip {
  background: #fff8e6;
  border-left: 4px solid #f0a500;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.92rem;
}

.pro-tip-label {
  font-weight: 700;
  color: #c47f00;
  margin-right: 6px;
}

/* Product Card */
.product-card {
  background: var(--white);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  margin: 36px 0;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: var(--card-shadow);
}

.product-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.product-card-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.product-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.55;
}

.product-cta {
  display: inline-block;
  background: #ff9900;
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.product-cta:hover {
  background: #e68a00;
}

/* Related questions */
.related-questions {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  margin-top: 48px;
}

.related-questions h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  margin-top: 0;
}

.related-questions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-questions li {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.related-questions li:last-child {
  border-bottom: none;
}

.related-questions a {
  display: block;
  padding: 10px 0;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.related-questions a:hover {
  color: var(--accent);
}

/* ───── FOOTER ───── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-footer a {
  color: rgba(255,255,255,0.85);
}

/* ───── RESPONSIVE ───── */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.8rem; }
  .article-grid { grid-template-columns: 1fr; }
  .article-container h1 { font-size: 1.5rem; }
  .product-card { flex-direction: column; text-align: center; }
  .header-nav { display: none; }
  .logo-tagline { display: none; }
}
