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

:root {
  --dark: #1a1a2e;
  --red: #c0392b;
  --red-dark: #a93226;
  --gray-900: #1c1c1c;
  --gray-700: #3d3d3d;
  --gray-500: #6b6b6b;
  --gray-300: #c4c4c4;
  --gray-100: #f4f4f4;
  --white: #ffffff;
  --border: #e0e0e0;
  --font-sans: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --max-w: 1160px;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--white);
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ===== HEADER ===== */
.site-header {
  background: var(--dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo img { height: 44px; width: auto; }
.logo span {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.logo span em {
  color: var(--red);
  font-style: normal;
}

/* NAV */
.main-nav ul {
  display: flex;
  gap: 4px;
}
.main-nav a {
  color: #cccccc;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO BANNER ===== */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2c2c54 100%);
  color: var(--white);
  padding: 70px 20px 60px;
  text-align: center;
}
.hero-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: #f39c12; }
.hero p {
  font-size: 17px;
  color: #b0b0c8;
  max-width: 580px;
  margin: 0 auto 28px;
}
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
}
.btn-primary:hover {
  background: var(--red-dark);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-block;
  border: 2px solid var(--red);
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  text-decoration: none;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}
.section-head { margin-bottom: 36px; }
.section-head .divider {
  width: 40px;
  height: 3px;
  background: var(--red);
  margin: 10px 0 14px;
  border-radius: 2px;
}

/* ===== FEATURED POST ===== */
.featured-section { padding: 56px 0 40px; background: var(--gray-100); }
.featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-img { position: relative; min-height: 320px; overflow: hidden; }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
.featured-img .post-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
}
.featured-content { padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.post-meta { font-size: 12px; color: var(--gray-500); margin-bottom: 12px; }
.post-meta span { margin-right: 14px; }
.featured-content h2 { font-size: 26px; font-weight: 800; line-height: 1.3; margin-bottom: 14px; color: var(--gray-900); }
.featured-content p { font-size: 15px; color: var(--gray-700); margin-bottom: 24px; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 600;
  font-size: 14px;
}
.read-more:hover { text-decoration: none; gap: 10px; }

/* ===== BLOG GRID ===== */
.blog-section { padding: 56px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.15s;
}
.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}
.card-thumb { position: relative; overflow: hidden; aspect-ratio: 16/9; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.blog-card:hover .card-thumb img { transform: scale(1.04); }
.card-category {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--dark);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
}
.card-body { padding: 20px; }
.card-body .post-meta { margin-bottom: 8px; }
.card-body h3 { font-size: 17px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: var(--gray-900); }
.card-body p { font-size: 14px; color: var(--gray-500); margin-bottom: 16px; line-height: 1.6; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-footer .read-more { font-size: 13px; }
.card-footer .min-read { font-size: 12px; color: var(--gray-300); }

/* ===== PRODUCT CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 60%, #2d1515 100%);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.cta-banner .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f39c12;
  margin-bottom: 12px;
  display: block;
}
.cta-banner h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 16px; color: #b0b0c8; max-width: 560px; margin: 0 auto 28px; }
.cta-banner .disclaimer {
  font-size: 11px;
  color: #888;
  margin-top: 14px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== SIDEBAR LAYOUT ===== */
.content-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 56px 0;
}
.sidebar-widget {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 28px;
}
.sidebar-widget h4 {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}
.sidebar-post {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.sidebar-post:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.sidebar-post img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar-post-info h5 { font-size: 13px; font-weight: 600; color: var(--gray-900); margin-bottom: 4px; line-height: 1.4; }
.sidebar-post-info span { font-size: 11px; color: var(--gray-500); }

/* ===== ARTICLE CONTENT ===== */
.article-content h1 { font-size: 32px; font-weight: 800; margin-bottom: 20px; color: var(--gray-900); line-height: 1.25; }
.article-content .lead { font-size: 18px; color: var(--gray-700); margin-bottom: 28px; line-height: 1.7; }
.article-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px; color: var(--gray-900); }
.article-content h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--gray-900); }
.article-content p { margin-bottom: 18px; color: var(--gray-700); }
.article-content ul, .article-content ol { margin: 0 0 18px 24px; }
.article-content li { margin-bottom: 8px; color: var(--gray-700); list-style: disc; }
.article-content ol li { list-style: decimal; }
.product-box {
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.product-box img { width: 100px; height: 100px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.product-box-info h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-box-info p { font-size: 14px; color: var(--gray-500); margin-bottom: 14px; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: var(--gray-100); padding: 56px 0; }
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.newsletter-inner p { color: var(--gray-500); margin-bottom: 24px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  outline: none;
  font-family: var(--font-sans);
}
.newsletter-form input:focus { border-color: var(--red); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: #aaaaaa;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about .logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-about .logo-text em { color: var(--red); font-style: normal; }
.footer-about p { font-size: 14px; line-height: 1.7; color: #888; }
.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #888; font-size: 14px; }
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-contact p { font-size: 13px; color: #888; margin-bottom: 8px; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: #666; }
.footer-bottom a { color: #888; font-size: 13px; }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }
.footer-links { display: flex; gap: 20px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--gray-100);
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.page-header p { color: var(--gray-500); font-size: 16px; }
.breadcrumb { font-size: 13px; color: var(--gray-500); margin-bottom: 14px; }
.breadcrumb a { color: var(--red); }
.breadcrumb span { margin: 0 6px; color: var(--gray-300); }

/* ===== LEGAL PAGES ===== */
.legal-content { max-width: 820px; padding: 56px 0 80px; }
.legal-content h2 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; color: var(--gray-900); }
.legal-content p { color: var(--gray-700); margin-bottom: 16px; font-size: 15px; }
.legal-content ul { margin: 0 0 16px 24px; }
.legal-content ul li { list-style: disc; margin-bottom: 8px; color: var(--gray-700); font-size: 15px; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 56px 0 80px; }
.contact-info h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-detail-text p { font-size: 14px; color: var(--gray-500); margin-bottom: 2px; }
.contact-detail-text strong { font-size: 15px; color: var(--gray-900); }
.contact-form-wrap { background: var(--gray-100); padding: 36px; border-radius: var(--radius); }
.contact-form-wrap h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--gray-700); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-sans);
  background: var(--white);
  outline: none;
  color: var(--gray-900);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--red); }
.form-group textarea { min-height: 120px; resize: vertical; }
.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-top: 12px;
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
}
@media (max-width: 768px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-img { min-height: 220px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .main-nav { display: none; }
  .main-nav.open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); padding: 16px 20px; }
  .main-nav.open ul { flex-direction: column; gap: 2px; }
  .nav-toggle { display: flex; }
  .product-box { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
  .section-title { font-size: 22px; }
  .featured-content { padding: 24px 20px; }
  .featured-content h2 { font-size: 20px; }
}
