/* ================================================================
   REVOLUTIONARY WORDPRESS THEME - COMPLETE STRUCTURAL REDESIGN
   Avant-garde minimalist with asymmetric layouts and bold typography
   ================================================================ */

/* ============================================================
   ROOT & GLOBAL STYLES
   ============================================================ */
:root {
  --primary: #1a1a1a;
  --primary-dark: #000000;
  --primary-light: #2d2d2d;
  --accent: #ff6b35;
  --secondary: #f7931e;
  --dark: #0a0a0a;
  --light: #ffffff;
  --bg: #f5f5f5;
  --gray-50: #fafafa;
  --gray-100: #f0f0f0;
  --gray-200: #e5e5e5;
  --gray-300: #d0d0d0;
  --gray-400: #b0b0b0;
  --gray-500: #808080;
  --gray-600: #606060;
  --gray-700: #404040;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* ============================================================
   NAVBAR STYLES - BOLD MODERN
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--light);
  border-bottom: 3px solid var(--accent);
  padding: 1.2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  font-weight: 900;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.navbar-logo:hover {
  transform: scale(1.08);
  letter-spacing: 1px;
}

.logo-text {
  color: var(--accent);
  font-weight: 900;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.navbar-nav {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .current-menu-item .nav-link {
  color: var(--accent);
}

.navbar-nav .current-menu-item .nav-link::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

body {
  padding-top: 90px;
}

body.menu-open {
  overflow: hidden;
}

/* ============================================================
   HERO SECTION - BOLD STATEMENT
   ============================================================ */
.hero-section {
  background: linear-gradient(120deg, #000000 0%, #1a1a1a 100%); /* Fallback */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 3rem;
  text-align: left;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-slow 6s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.15; }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--light);
  max-width: 700px;
}

.hero-section h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-section h1 span {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gray-400);
  max-width: 500px;
  margin: 0;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.hero-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ============================================================
   BLOG SECTION & POST GRID - MASONRY STYLE
   ============================================================ */
.blog-section {
  padding: 5rem 0;
  background: var(--bg);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
  grid-auto-flow: dense;
}

.post-card {
  background: var(--light);
  border: none;
  border-left: 4px solid var(--accent);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:nth-child(2n) {
  border-left-color: var(--secondary);
}

.post-card:hover {
  transform: translateY(-12px) rotateX(5deg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-left-width: 8px;
}

.post-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--gray-300);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.post-card:hover .post-image img {
  transform: scale(1.12) rotate(1deg);
}

.post-date {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--accent);
  color: var(--light);
  padding: 0.6rem 1.2rem;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 10;
}

.post-content {
  padding: 2rem;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  margin-bottom: 0.8rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--primary);
  text-transform: capitalize;
}

.post-content h2 a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-content h2 a:hover {
  color: var(--accent);
}

.post-content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex: 1 0 auto;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--primary);
  color: var(--light);
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.3s ease;
  width: fit-content;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.read-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.read-more-btn:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.read-more-btn:hover::before {
  left: 0;
}

.read-more-btn::after {
  content: '→';
  font-weight: 700;
}

/* ============================================================
   PAGINATION - BOLD STYLE
   ============================================================ */
.pagination-nav {
  display: flex;
  justify-content: center;
  padding: 4rem 3rem;
}

.pagination-items {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.pagination-item {
  display: inline-block;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--primary);
  border-radius: 0;
  background: var(--light);
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.1);
}

.page-numbers.current {
  background: var(--accent);
  color: var(--light);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.page-numbers.dots {
  border: none;
  background: transparent;
}

.page-numbers.dots:hover {
  background: transparent;
  border: none;
  transform: none;
}

.prev.page-numbers,
.next.page-numbers {
  min-width: 140px;
  font-weight: 700;
}

/* ============================================================
   CATEGORY PAGE - EDITORIAL STYLE
   ============================================================ */
.category-hero {
  background: var(--primary);
  padding: 5rem 3rem;
  text-align: left;
  color: var(--light);
  margin-top: 0;
  border-bottom: 4px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.category-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
}

.category-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.category-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.category-description {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

.category-breadcrumbs {
  max-width: 1400px;
  margin: 2rem auto 0;
  padding: 0 3rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.category-breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.category-breadcrumbs a:hover {
  color: var(--light);
  text-decoration: underline;
}

.separator {
  color: var(--gray-400);
  margin: 0 0.8rem;
}

.current {
  color: var(--gray-500);
}

.category-posts {
  padding: 5rem 0;
  background: var(--bg);
}

/* ============================================================
   ARTICLE PAGE (SINGLE POST) - EDITORIAL LAYOUT
   ============================================================ */
.article-breadcrumbs {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 0 3rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.article-breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.article-breadcrumbs a:hover {
  color: var(--primary);
}

.article-container {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0;
  background: var(--light);
  border: none;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.article-featured {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.article-featured img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-header {
  padding: 3rem 4rem;
  margin-bottom: 2rem;
  border-bottom: 3px solid var(--accent);
}

.article-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.article-meta {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.article-date {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.article-date::before {
  content: '📅';
  font-size: 1.2rem;
}

.article-body {
  padding: 0 4rem 3rem;
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--primary);
}

.article-body p {
  margin-bottom: 2rem;
}

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin: 3rem 0 1.5rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--primary);
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  margin: 2rem 0 2rem 2.5rem;
}

.article-body li {
  margin-bottom: 1rem;
}

.article-body a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.article-body a:hover {
  color: var(--primary);
  text-decoration: underline wavy;
}

/* ============================================================
   RELATED ARTICLES SECTION
   ============================================================ */
.related-section {
  background: var(--primary);
  padding: 5rem 0;
  margin-top: 5rem;
  border-top: 4px solid var(--accent);
}

.related-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 3.5rem;
  text-align: center;
  color: var(--light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.related-card {
  background: var(--light);
  border: none;
  border-top: 4px solid var(--secondary);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
  border-top-width: 6px;
}

.related-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-300);
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.related-card:hover .related-image img {
  transform: scale(1.1);
}

.related-content {
  padding: 2rem;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

.related-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--primary);
  text-transform: capitalize;
}

.related-content h3 a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.related-date {
  color: var(--gray-600);
  font-size: 0.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.related-content p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1 0 auto;
}

.related-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  width: fit-content;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.related-link::after {
  content: '→';
  transition: transform 0.3s ease;
  font-weight: 700;
}

.related-link:hover {
  color: var(--accent);
  gap: 1rem;
}

.related-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   FOOTER - DARK MODERN
   ============================================================ */
footer.footer {
  background: var(--primary);
  color: var(--gray-300);
  margin-top: 5rem;
  border-top: 4px solid var(--accent);
}

.footer-top {
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.footer-column h4 {
  color: var(--light);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.8rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-nav a {
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.footer-nav a:hover {
  color: var(--accent);
  transform: translateX(6px);
}

.footer-column p {
  color: var(--gray-400);
  line-height: 1.9;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.footer-column a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--light);
  text-decoration: underline;
}

.footer-bottom {
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 107, 53, 0.3);
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============================================================
   NO POSTS / ERROR STATES
   ============================================================ */
.no-posts,
.not-found {
  text-align: center;
  padding: 5rem 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.no-posts h2,
.not-found h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.no-posts p,
.not-found p {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--light);
  padding: 1rem 2.5rem;
  border-radius: 0;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  border: 2px solid var(--primary);
}

.back-home-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* ============================================================
   404 ERROR PAGE
   ============================================================ */
.error-404-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 90px);
  background: linear-gradient(120deg, #000000 0%, #1a1a1a 100%);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.error-404-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
}

.error-404-container {
  text-align: center;
  max-width: 600px;
  z-index: 1;
  position: relative;
}

.error-code {
  font-family: 'Playfair Display', serif;
  font-size: 12rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -3px;
}

.error-404-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--light);
  margin-bottom: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.error-404-container p {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ============================================================
   DROPDOWN MENU FOR NESTED ITEMS
   ============================================================ */
.navbar-nav .dropdown {
  position: relative;
}

.navbar-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--light);
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 220px;
  list-style: none;
  margin-top: 0.8rem;
  padding: 1rem 0;
  z-index: 1002;
  border-left: 3px solid var(--accent);
}

.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-nav .dropdown-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.navbar-nav .dropdown-menu a:hover {
  background: var(--bg);
  color: var(--accent);
  padding-left: 2rem;
  border-left: 2px solid var(--accent);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .posts-grid,
  .related-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
  }

  .navbar-container {
    padding: 0 2rem;
  }

  .container {
    padding: 0 2rem;
  }

  .hero-section {
    padding: 5rem 2rem;
    min-height: 500px;
  }

  .hero-section h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 0;
  }

  .navbar-container {
    padding: 0 1.5rem;
  }

  .navbar-logo {
    font-size: 1.4rem;
  }

  .menu-toggle {
    display: flex;
  }

  .navbar-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--light);
    gap: 0;
    padding: 2rem 0;
    transition: left 0.3s ease;
    border-top: 3px solid var(--accent);
    overflow-y: auto;
    align-items: stretch;
    justify-content: flex-start;
  }

  .navbar-menu.active {
    left: 0;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .navbar-nav li {
    border-bottom: 1px solid var(--gray-200);
  }

  .navbar-nav .nav-link {
    display: block;
    padding: 1.2rem 1.5rem;
    border-bottom: none;
    font-size: 1rem;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .hero-section {
    padding: 3rem 1.5rem;
    min-height: 400px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .blog-section,
  .category-posts,
  .related-section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1.5rem;
  }

  .article-container {
    margin: 2rem 1rem;
  }

  .article-header {
    padding: 2rem 1.5rem;
  }

  .article-container h1 {
    font-size: 2rem;
  }

  .article-body {
    padding: 0 1.5rem 2rem;
    font-size: 1rem;
  }

  .category-hero {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .category-hero-content {
    max-width: 100%;
  }

  .category-hero h1 {
    font-size: 2.2rem;
  }

  .footer-container {
    padding: 0 1.5rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 80px;
  }

  .navbar-logo {
    font-size: 1.2rem;
  }

  .hero-section {
    padding: 2rem 1rem;
    min-height: 350px;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .posts-grid,
  .related-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .post-content,
  .related-content {
    padding: 1.5rem;
  }

  .article-container {
    margin: 1rem 0.5rem;
  }

  .article-header {
    padding: 1.5rem 1rem;
  }

  .article-container h1 {
    font-size: 1.5rem;
  }

  .article-body {
    padding: 0 1rem 1.5rem;
    font-size: 0.95rem;
  }

  .pagination-items {
    gap: 0.5rem;
  }

  .page-numbers {
    min-width: 38px;
    height: 38px;
    font-size: 0.8rem;
  }

  .error-code {
    font-size: 8rem;
  }

  .error-404-container h1 {
    font-size: 2rem;
  }

  footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-container {
    padding: 0 1rem;
  }
}

/* ============================================================
   SMOOTH TRANSITIONS & EFFECTS
   ============================================================ */
a, button {
  transition: all 0.3s ease;
}

/* ============================================================
   SCROLLBAR STYLING
   ============================================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ============================================================
   NEW HOMEPAGE SECTIONS
   ============================================================ */

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--light);
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--gray-200);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  background: var(--light);
  padding: 3rem 2rem;
  border-bottom: 4px solid var(--accent);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--primary);
  color: var(--light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: radial-gradient(circle at center, rgba(255,107,53,0.15) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--light);
}

.btn-primary:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255,107,53,0.3);
}

@media (max-width: 768px) {
  .about-content h2,
  .section-header h2,
  .cta-content h2 {
    font-size: 2rem;
  }
}