/**
 * Blog List Page V2 - Quiet Luxury Design
 * Dr. Fahrettin Yıldız Digital Ecosystem
 */

/* ============================================
 * HERO SECTION - Elegant & Minimal
 * ============================================ */

.blog-v2-hero {
  position: relative;
  padding: 140px 0 60px;
  background: #fff;
  overflow: hidden;
}

.blog-v2-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.blog-v2-hero__content {
  max-width: 480px;
}

/* Hero Visual - Right Side with Image + Floats */
.blog-v2-hero__visual {
  position: relative;
  display: flex;
  justify-content: start;
  padding-right: 0; /* padding-right: 180px; kaldırıldı */
}

.blog-v2-hero__image-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 400px;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.1);
}

.blog-v2-hero__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-v2-hero__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.2) 100%);
}

/* Floating Cards Container - Absolute positioned around image */
.blog-v2-hero__floats {
  position: absolute;
  top: 0;
  right: 50px; /* Görselden biraz taşsın */
  bottom: 0;
  width: 220px;
  pointer-events: none;
  z-index: 10; /* Görselin üstünde kalması için */
}

/* Floating Card Base */
.blog-v2-hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  white-space: nowrap;
  animation: floatBounce 3s ease-in-out infinite;
  pointer-events: auto;
}

/* Position each card - some overlap the image */
.blog-v2-hero__float-card--1 {
  top: 20px;
  right: 0;
}
.blog-v2-hero__float-card--2 {
  top: 80px;
  right: 40px;
}
.blog-v2-hero__float-card--3 {
  top: 140px;
  right: 10px;
}
.blog-v2-hero__float-card--4 {
  top: 200px;
  right: 50px;
}
.blog-v2-hero__float-card--5 {
  top: 260px;
  right: 20px;
}
.blog-v2-hero__float-card--6 {
  top: 320px;
  right: 30px;
}

/* Simple bounce animation */
@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.blog-v2-hero__float-icon {
  font-size: 1.25rem;
}

.blog-v2-hero__float-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a1a1a;
}

.blog-v2-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(240, 49, 103, 0.06);
  border-radius: 50px;
  color: #f03167;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.blog-v2-hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #f03167;
  border-radius: 50%;
}

.blog-v2-hero__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  color: #1a1a1a;
  line-height: 1;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
}

.blog-v2-hero__title span {
  display: block;
  font-style: italic;
  color: #f03167;
}

.blog-v2-hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #666;
  margin: 0;
  max-width: 500px;
}

/* Decorative line */
.blog-v2-hero__line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
}

/* ============================================
 * CATEGORY FILTER - Pill Style (Now in Articles Section)
 * ============================================ */

.blog-v2-filter__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.blog-v2-filter__pill {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50px;
  color: #666;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.blog-v2-filter__pill:hover {
  border-color: #f03167;
  color: #f03167;
}

.blog-v2-filter__pill.is-active {
  background: linear-gradient(135deg, #f03167, #ff6b9d);
  border-color: transparent;
  color: #fff;
}

/* ============================================
 * FEATURED ARTICLE - Large Hero Card
 * ============================================ */

.blog-v2-featured {
  padding: 60px 0 80px;
  background: #fff;
}

.blog-v2-featured__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, #faf9f7 0%, #f5f3f0 100%);
  border-radius: 32px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-v2-featured__card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(240, 49, 103, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.blog-v2-featured__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.08);
}

.blog-v2-featured__image {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8e4df, #d4cfc8);
}

.blog-v2-featured__image img,
.blog-v2-featured__image img[loading="lazy"],
.blog-v2-featured__image img[loading="eager"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Disable skeleton shimmer for featured image */
.blog-v2-featured__image.img-container--loading::before {
  display: none !important;
}

.blog-v2-featured__card:hover .blog-v2-featured__image img {
  transform: scale(1.05);
}

.blog-v2-featured__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e4df, #d4cfc8);
}

.blog-v2-featured__placeholder svg {
  width: 64px;
  height: 64px;
  color: rgba(0,0,0,0.15);
}

.blog-v2-featured__content {
  position: relative;
  z-index: 2;
}

.blog-v2-featured__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.blog-v2-featured__tag {
  padding: 6px 14px;
  background: rgba(240, 49, 103, 0.1);
  border-radius: 20px;
  color: #f03167;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-v2-featured__tag:hover {
  background: #f03167;
  color: #fff;
}

.blog-v2-featured__tag--featured {
  background: linear-gradient(135deg, #f03167, #ff6b9d);
  color: #fff;
}

.blog-v2-featured__date {
  font-size: 0.8125rem;
  color: #999;
}

.blog-v2-featured__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  color: #1a1a1a;
  line-height: 1.25;
  margin: 0 0 16px;
}

.blog-v2-featured__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-v2-featured__title a:hover {
  color: #f03167;
}

.blog-v2-featured__excerpt {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
  margin: 0 0 28px;
}

.blog-v2-featured__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.blog-v2-featured__author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #666;
}

.blog-v2-featured__author svg {
  width: 18px;
  height: 18px;
  color: #999;
}

.blog-v2-featured__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.blog-v2-featured__link:hover {
  background: #f03167;
  transform: translateX(4px);
}

.blog-v2-featured__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.blog-v2-featured__link:hover svg {
  transform: translateX(4px);
}

/* ============================================
 * ARTICLES GRID - Masonry Style Cards
 * ============================================ */

.blog-v2-articles {
  padding: 60px 0 120px;
  background: #fff;
}

/* Articles Top Bar - Title + Filter */
.blog-v2-articles__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  flex-wrap: wrap;
}

.blog-v2-articles__header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-v2-articles__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
}

.blog-v2-articles__count {
  font-size: 0.875rem;
  color: #999;
  padding: 4px 12px;
  background: rgba(0,0,0,0.04);
  border-radius: 20px;
}

.blog-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .blog-v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .blog-v2-grid {
    grid-template-columns: 1fr;
  }
}

/* Article Card V2 */
.blog-v2-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.blog-v2-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.08);
  border-color: transparent;
}

.blog-v2-card__image-link {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f3f0, #e8e4df);
}

.blog-v2-card__image-link img,
.blog-v2-card__image-link img[loading="lazy"],
.blog-v2-card__image-link img[loading="eager"] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Disable skeleton shimmer for blog card images */
.blog-v2-card__image-link.img-container--loading::before {
  display: none !important;
}

.blog-v2-card:hover .blog-v2-card__image-link img {
  transform: scale(1.08);
}

.blog-v2-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-v2-card__placeholder svg {
  width: 48px;
  height: 48px;
  color: rgba(0,0,0,0.1);
}

.blog-v2-card__content {
  padding: 28px;
}

.blog-v2-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.blog-v2-card__category {
  padding: 5px 12px;
  background: rgba(240, 49, 103, 0.08);
  border: none;
  border-radius: 16px;
  color: #f03167;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.blog-v2-card__category:hover {
  background: #f03167;
  color: #fff;
}

.blog-v2-card__date {
  font-size: 0.75rem;
  color: #999;
}

.blog-v2-card__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.35;
  margin: 0 0 12px;
}

.blog-v2-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Stretched link - makes entire card clickable */
.blog-v2-card__title a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.blog-v2-card__title a:hover {
  color: #f03167;
}

/* Ensure interactive elements stay above stretched link */
.blog-v2-card__category,
.blog-v2-card__read-more {
  position: relative;
  z-index: 2;
}

.blog-v2-card__excerpt {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #666;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-v2-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.blog-v2-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #666;
}

.blog-v2-card__author svg {
  width: 16px;
  height: 16px;
  color: #999;
}

.blog-v2-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f03167;
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-v2-card__read-more:hover {
  gap: 10px;
}

.blog-v2-card__read-more svg {
  width: 14px;
  height: 14px;
}

/* ============================================
 * EMPTY STATE
 * ============================================ */

.blog-v2-empty {
  text-align: center;
  padding: 80px 20px;
}

.blog-v2-empty__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 49, 103, 0.06);
  border-radius: 50%;
}

.blog-v2-empty__icon svg {
  width: 36px;
  height: 36px;
  color: #f03167;
}

.blog-v2-empty__title {
  font-family: var(--font-heading, Georgia, serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.blog-v2-empty__text {
  font-size: 1rem;
  color: #666;
  margin: 0 0 32px;
}

.blog-v2-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.blog-v2-empty__btn:hover {
  background: #f03167;
}

/* ============================================
 * RESPONSIVE
 * ============================================ */

@media (max-width: 1200px) {
  .blog-v2-hero__floats {
    right: -40px;
    width: 180px;
  }
  
  .blog-v2-hero__float-card {
    padding: 10px 14px;
  }
  
  .blog-v2-hero__float-text {
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .blog-v2-hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .blog-v2-hero__visual {
    justify-content: center;
    position: relative;
  }
  
  .blog-v2-hero__image-wrapper {
    max-width: 320px;
  }
  
  .blog-v2-hero__floats {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    gap: 12px;
  }
  
  .blog-v2-hero__float-card {
    padding: 8px 12px;
    border-radius: 10px;
  }
  
  .blog-v2-hero__float-icon {
    font-size: 1rem;
  }
  
  .blog-v2-hero__float-text {
    font-size: 0.6875rem;
  }
  
  .blog-v2-featured__card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  
  .blog-v2-articles__top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .blog-v2-hero {
    padding: 120px 0 40px;
  }
  
  .blog-v2-hero__visual {
    display: none;
  }
  
  .blog-v2-hero__floats {
    display: none;
  }
  
  .blog-v2-featured {
    padding: 40px 0 60px;
  }
  
  .blog-v2-featured__card {
    padding: 24px;
    border-radius: 24px;
  }
  
  .blog-v2-featured__image {
    border-radius: 16px;
  }
  
  .blog-v2-articles {
    padding: 40px 0 80px;
  }
  
  .blog-v2-articles__top {
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .blog-v2-filter__pills {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  
  .blog-v2-filter__pill {
    flex-shrink: 0;
    padding: 8px 18px;
    font-size: 0.8125rem;
  }
  
  .blog-v2-card {
    border-radius: 20px;
  }
  
  .blog-v2-card__content {
    padding: 20px;
  }
}
