/* ==========================================================================
   Blog Page Styles - Notverglasung24
   Emergency Theme: Red/Orange
   ========================================================================== */

/* ==========================================================================
   Base & Body Styles
   ========================================================================== */

body {
  max-width: 1920px;
  margin: 0 auto;
}

/* Container */
.nvg-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   Blog Hero Section
   ========================================================================== */

.nvg-blog-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 9rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.nvg-blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(230, 57, 70, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.nvg-blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.nvg-breadcrumb-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nvg-breadcrumb-link:hover {
  color: #FF6B35;
}

.nvg-breadcrumb-separator {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.2rem;
}

.nvg-breadcrumb-current {
  color: #E63946;
  font-size: 0.875rem;
  font-weight: 600;
}

.nvg-blog-hero-content {
  position: relative;
  z-index: 1;
}

.nvg-blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.nvg-blog-hero-badge:hover {
  background: rgba(230, 57, 70, 0.25);
  border-color: rgba(230, 57, 70, 0.5);
  transform: translateY(-2px);
}

.nvg-blog-hero-badge img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(73%) saturate(2837%) hue-rotate(336deg) brightness(94%) contrast(92%);
}

.nvg-blog-hero-badge span {
  color: #FF6B35;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nvg-blog-hero-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -1px;
}

.nvg-blog-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 700px;
}

/* ==========================================================================
   Blog Main Content
   ========================================================================== */

.nvg-blog-main {
  padding: 4rem 0;
  background: #f8f9fa;
}

/* ==========================================================================
   Blog Articles Grid
   ========================================================================== */

.nvg-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.nvg-article-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.nvg-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.15);
}

.nvg-article-link-wrapper {
  display: block;
  height: 100%;
}

.nvg-article-image-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

.nvg-article-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.nvg-article-card:hover .nvg-article-image {
  transform: scale(1.1);
}

.nvg-article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nvg-article-placeholder img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(73%) saturate(2837%) hue-rotate(336deg) brightness(94%) contrast(92%);
  opacity: 0.3;
}

.nvg-article-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(230, 57, 70, 0.95);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
}

.nvg-article-category img {
  filter: brightness(0) invert(1);
}

.nvg-article-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nvg-article-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nvg-article-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.nvg-article-date img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(5%) saturate(470%) hue-rotate(169deg) brightness(91%) contrast(85%);
}

.nvg-article-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.nvg-article-card:hover .nvg-article-title {
  color: #E63946;
}

.nvg-article-excerpt {
  font-size: 0.9rem;
  color: #495057;
  line-height: 1.6;
  flex: 1;
}

.nvg-article-footer {
  padding-top: 0.5rem;
  border-top: 1px solid #e9ecef;
}

.nvg-article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #E63946;
  transition: all 0.3s ease;
}

.nvg-article-read-more img {
  filter: brightness(0) saturate(100%) invert(27%) sepia(89%) saturate(2421%) hue-rotate(343deg) brightness(92%) contrast(94%);
  transition: all 0.3s ease;
  stroke: currentColor;
}

.nvg-article-card:hover .nvg-article-read-more {
  gap: 0.75rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.nvg-blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 2px solid #e9ecef;
  border-bottom: 2px solid #e9ecef;
}

.nvg-pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #212529;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nvg-pagination-btn:hover {
  background: #E63946;
  color: #fff;
  border-color: #E63946;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.nvg-pagination-btn img {
  filter: brightness(0) saturate(100%) invert(19%) sepia(8%) saturate(1261%) hue-rotate(169deg) brightness(95%) contrast(88%);
  transition: all 0.3s ease;
}

.nvg-pagination-btn:hover img {
  filter: brightness(0) invert(1);
}

.nvg-pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nvg-pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #fff;
  color: #212529;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nvg-pagination-number:hover {
  background: #E63946;
  color: #fff;
  border-color: #E63946;
  transform: scale(1.1);
}

.nvg-pagination-number.nvg-pagination-active {
  background: linear-gradient(135deg, #E63946 0%, #FF6B35 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.nvg-pagination-ellipsis {
  color: #6c757d;
  font-weight: 600;
  padding: 0 0.5rem;
}

/* ==========================================================================
   Popular Articles Section
   ========================================================================== */

.nvg-blog-popular {
  margin: 4rem 0;
  padding: 3rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nvg-popular-header {
  text-align: center;
  margin-bottom: 3rem;
}

.nvg-popular-title {
  font-size: 2rem;
  font-weight: 900;
  color: #212529;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.nvg-popular-subtitle {
  font-size: 1rem;
  color: #6c757d;
  font-weight: 500;
}

.nvg-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nvg-popular-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nvg-popular-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #E63946 0%, #FF6B35 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nvg-popular-card:hover::before {
  transform: scaleX(1);
}

.nvg-popular-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.15);
}

.nvg-popular-link {
  display: block;
}

.nvg-popular-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.nvg-popular-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nvg-popular-card:hover .nvg-popular-icon {
  background: linear-gradient(135deg, #E63946 0%, #FF6B35 100%);
}

.nvg-popular-icon img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(73%) saturate(2837%) hue-rotate(336deg) brightness(94%) contrast(92%);
  transition: all 0.3s ease;
}

.nvg-popular-card:hover .nvg-popular-icon img {
  filter: brightness(0) invert(1);
}

.nvg-popular-badge {
  background: linear-gradient(135deg, #E63946 0%, #FF6B35 100%);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nvg-popular-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
  line-height: 1.4;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.nvg-popular-card:hover .nvg-popular-card-title {
  color: #E63946;
}

.nvg-popular-card-meta {
  margin-bottom: 1rem;
}

.nvg-popular-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #6c757d;
  font-weight: 500;
}

.nvg-popular-date img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(5%) saturate(470%) hue-rotate(169deg) brightness(91%) contrast(85%);
}

.nvg-popular-arrow {
  width: 40px;
  height: 40px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: all 0.3s ease;
}

.nvg-popular-card:hover .nvg-popular-arrow {
  background: #E63946;
  transform: translateX(5px);
}

.nvg-popular-arrow img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(73%) saturate(2837%) hue-rotate(336deg) brightness(94%) contrast(92%);
  transition: all 0.3s ease;
  stroke: currentColor;
}

.nvg-popular-card:hover .nvg-popular-arrow img {
  filter: brightness(0) invert(1);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.nvg-blog-cta {
  margin: 4rem 0 2rem 0;
  padding: 4rem 3rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.nvg-cta-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.nvg-cta-shape-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -150px;
  left: -100px;
  animation: float 6s ease-in-out infinite;
}

.nvg-cta-shape-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  right: -80px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

.nvg-cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.nvg-cta-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nvg-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 57, 70, 0.2);
  border: 1px solid rgba(230, 57, 70, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  width: fit-content;
}

.nvg-cta-badge img {
  filter: brightness(0) saturate(100%) invert(66%) sepia(77%) saturate(2814%) hue-rotate(337deg) brightness(103%) contrast(101%);
  animation: flash 1.5s infinite;
}

.nvg-cta-badge span {
  color: #FF6B35;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nvg-cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.nvg-cta-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.nvg-cta-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nvg-cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nvg-cta-feature img {
  filter: brightness(0) saturate(100%) invert(71%) sepia(23%) saturate(4697%) hue-rotate(100deg) brightness(95%) contrast(82%);
}

.nvg-cta-feature span {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
}

.nvg-cta-right {
  display: flex;
  justify-content: flex-end;
}

.nvg-cta-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  max-width: 380px;
}

.nvg-cta-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.nvg-cta-card-header img {
  filter: brightness(0) saturate(100%) invert(49%) sepia(73%) saturate(2837%) hue-rotate(336deg) brightness(94%) contrast(92%);
}

.nvg-cta-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #212529;
}

.nvg-cta-phone {
  font-size: 2rem;
  font-weight: 900;
  color: #E63946;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-align: center;
}

.nvg-cta-phone:hover {
  color: #FF6B35;
  transform: scale(1.05);
}

.nvg-cta-card-text {
  font-size: 0.9rem;
  color: #6c757d;
  text-align: center;
}

.nvg-cta-form-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #E63946 0%, #FF6B35 100%);
  color: #fff;
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.nvg-cta-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(230, 57, 70, 0.4);
}

.nvg-cta-form-btn img {
  filter: brightness(0) invert(1);
  stroke: currentColor;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet: max-width 1024px */
@media (max-width: 1024px) {
  .nvg-blog-hero {
    padding: 8rem 0 3rem 0;
  }

  .nvg-blog-main {
    padding: 3.5rem 0;
  }

  .nvg-blog-hero-title {
    font-size: 2.2rem;
  }

  .nvg-blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .nvg-popular-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .nvg-cta-content {
    gap: 3rem;
  }

  .nvg-cta-title {
    font-size: 1.8rem;
  }
}

/* Mobile: max-width 768px */
@media (max-width: 768px) {
  .nvg-container {
    padding: 0 1rem;
  }

  .nvg-blog-hero {
    padding: 7rem 0 2.5rem 0;
  }

  .nvg-blog-hero-title {
    font-size: 1.8rem;
  }

  .nvg-blog-hero-subtitle {
    font-size: 1rem;
  }

  .nvg-blog-main {
    padding: 3rem 0;
  }

  .nvg-blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nvg-article-image-wrapper {
    height: 200px;
  }

  .nvg-blog-popular {
    padding: 2rem 1.5rem;
  }

  .nvg-popular-title {
    font-size: 1.5rem;
  }

  .nvg-popular-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nvg-cta-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nvg-blog-cta {
    padding: 3rem 1.5rem;
  }

  .nvg-cta-title {
    font-size: 1.6rem;
  }

  .nvg-cta-right {
    justify-content: center;
  }

  .nvg-pagination-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  .nvg-pagination-number {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }
}

/* Small Mobile: max-width 480px */
@media (max-width: 480px) {
  .nvg-container {
    padding: 0 0.75rem;
  }

  .nvg-blog-hero {
    padding: 6rem 0 2rem 0;
  }

  .nvg-blog-main {
    padding: 2.5rem 0;
  }

  .nvg-blog-hero-badge {
    padding: 0.4rem 0.8rem;
  }

  .nvg-blog-hero-badge span {
    font-size: 0.7rem;
  }

  .nvg-blog-hero-title {
    font-size: 1.5rem;
  }

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

  .nvg-article-content {
    padding: 1.25rem;
  }

  .nvg-article-title {
    font-size: 1.1rem;
  }

  .nvg-cta-title {
    font-size: 1.4rem;
  }

  .nvg-cta-phone {
    font-size: 1.5rem;
  }

  .nvg-cta-card {
    padding: 2rem 1.5rem;
  }

  .nvg-pagination-btn span {
    display: none;
  }

  .nvg-pagination-numbers {
    gap: 0.35rem;
  }

  .nvg-pagination-number {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
}

/* Very Small Mobile: max-width 375px */
@media (max-width: 375px) {
  .nvg-container {
    padding: 0 0.5rem;
  }

  .nvg-blog-hero {
    padding: 5.5rem 0 1.5rem 0;
  }

  .nvg-blog-main {
    padding: 2rem 0;
  }

  .nvg-blog-hero-title {
    font-size: 1.35rem;
  }

  .nvg-article-image-wrapper {
    height: 180px;
  }

  .nvg-blog-popular {
    padding: 1.5rem 1rem;
  }

  .nvg-popular-card {
    padding: 1.5rem;
  }

  .nvg-blog-cta {
    padding: 2.5rem 1rem;
  }

  .nvg-cta-title {
    font-size: 1.25rem;
  }
}
