/*
 Theme Name: Astra Child
 Template: astra
 Version: 1.0
*/

/* ========================================
   MODERN CSS VARIABLES
   ======================================== */
:root {
  --wa-green: #25d366;
  --wa-green-dark: #1ebe57;
  --wa-green-darker: #128c42;
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --bg-light: #f9fafb;
  --border-light: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  --radius: 16px;
  --radius-sm: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   CONTAINER FIX FOR DESKTOP
   ======================================== */

/* Break out of Astra's .ast-container for single pages */
.single-urunler .single-cpt,
.single-projeler .single-cpt {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
}

/* Inner content container */
.single-urunler .single-cpt > article,
.single-projeler .single-cpt > article {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Archive pages */
.urunler-archive,
.projeler-archive {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 20px !important;
  width: 100% !important;
  display: block !important;
}

.urunler-archive > *,
.projeler-archive > * {
  width: 100%;
}

@media (min-width: 1400px) {
  .urunler-archive,
  .projeler-archive {
    max-width: 1400px;
  }

  .single-urunler .single-cpt > article,
  .single-projeler .single-cpt > article {
    max-width: 1400px;
  }
}

@media (max-width: 768px) {
  .urunler-archive,
  .projeler-archive {
    padding: 15px;
  }

  .single-urunler .single-cpt > article,
  .single-projeler .single-cpt > article {
    padding: 20px 15px;
  }

  /* Hide gallery navigation on mobile */
  .gallery-prev,
  .gallery-next {
    display: none !important;
  }
}


/* ========================================
   ARCHIVE PAGE - HERO SECTION
   ======================================== */
.urunler-archive-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius);
  padding: 60px 30px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

.urunler-archive-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.archive-title {
  font-size: 3rem;
  font-weight: 900;
  color: #fff;
  margin: 0 0 12px 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.archive-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  font-weight: 400;
}

/* ========================================
   SEARCH & SORT CONTROLS
   ======================================== */
.urunler-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

#urunler-search {
  width: 100%;
  padding: 14px 16px 14px 48px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: #fff;
}

#urunler-search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-box label {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

#urunler-sort {
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
  min-width: 180px;
}

#urunler-sort:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ========================================
   ARCHIVE GRID
   ======================================== */
.cpt-grid-urunler {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 40px;
  width: 100%;
}

/* ========================================
   PRODUCT CARD - MODERN DESIGN
   ======================================== */
.cpt-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.cpt-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Clickable Card */
.clickable-card {
  cursor: pointer;
}

.clickable-card .card-title {
  color: var(--text-dark);
}

.clickable-card:hover .card-title {
  color: var(--primary);
}

.clickable-card .proje-title {
  color: #fff;
}

/* ========================================
   CARD GALLERY SLIDER
   ======================================== */
.card-gallery {
  position: relative;
  height: 280px;
  background: var(--bg-light);
  overflow: hidden;
}

.gallery-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.gallery-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cpt-card:hover .gallery-slide img {
  transform: scale(1.05);
}

/* Gallery Navigation */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  backdrop-filter: blur(4px);
  line-height: 1;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 12px;
}

.gallery-next {
  right: 12px;
}

/* Desktop: hide by default, show on hover */
@media (min-width: 769px) {
  .gallery-prev,
  .gallery-next {
    opacity: 0;
  }

  .gallery-slider:hover .gallery-prev,
  .gallery-slider:hover .gallery-next {
    opacity: 1;
  }
}

/* Gallery Dots */
.gallery-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.gallery-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-dots .dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

.gallery-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ========================================
   CARD CONTENT
   ======================================== */
.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin: 0 0 10px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--primary);
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================
   WHATSAPP BUTTON - CARD FOOTER
   ======================================== */
.card-footer {
  padding: 0 20px 20px 20px;
  margin-top: auto;
}

.wa-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--wa-green);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.wa-card-btn:hover {
  background: var(--wa-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.wa-card-btn:active {
  transform: translateY(0);
}

.wa-card-btn .wa-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ========================================
   SINGLE PRODUCT PAGE
   ======================================== */
/* Padding is now on article element - see container fix above */

.single-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* ========================================
   SINGLE - GALLERY WITH LIGHTBOX
   ======================================== */
.single-gallery-wrapper {
  position: sticky;
  top: 20px;
  align-self: start;
}

.single-hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}

.single-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.single-hero-image:hover img {
  transform: scale(1.02);
}

.lightbox-trigger {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  opacity: 0;
}

.single-hero-image:hover .lightbox-trigger {
  opacity: 1;
}

.lightbox-trigger:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.lightbox-trigger svg {
  width: 20px;
  height: 20px;
}

/* Thumbnails */
.single-thumbnails {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
}

.thumb-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
  aspect-ratio: 1;
}

.thumb-item.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.thumb-item:hover {
  border-color: var(--primary);
  opacity: 0.8;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================================
   SINGLE - INFO SECTION
   ======================================== */
.single-info {
  display: flex;
  flex-direction: column;
}

.single-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.single-excerpt-wrapper {
  flex-grow: 1;
  margin-bottom: 24px;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.single-excerpt {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 16px;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.single-excerpt::-webkit-scrollbar {
  width: 8px;
}

.single-excerpt::-webkit-scrollbar-track {
  background: var(--bg-light);
  border-radius: 4px;
}

.single-excerpt::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

.single-excerpt::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ========================================
   SINGLE - WHATSAPP BUTTON
   ======================================== */
.single-wa-section {
  text-align: center;
  padding: 30px 0;
}

.wa-single-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--wa-green);
  color: #fff;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.wa-single-btn:hover {
  background: var(--wa-green-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.wa-single-btn .wa-icon {
  width: 28px;
  height: 28px;
}

/* ========================================
   LIGHTBOX MODAL
   ======================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 1;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  line-height: 1;
  z-index: 10;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 32px;
}

.lightbox-close:hover {
  transform: scale(1.1);
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* ========================================
   STICKY WHATSAPP BUTTON
   ======================================== */
.sticky-whatsapp-btn {
  position: fixed;
  right: 25%;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
  color: #fff;
}

.sticky-whatsapp-btn:hover {
  background: var(--wa-green-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.sticky-whatsapp-btn svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
  .single-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .single-gallery-wrapper {
    position: relative;
    top: 0;
  }

  .cpt-grid-urunler {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Sticky WhatsApp - Mobile */
  .sticky-whatsapp-btn {
    right: 15px;
    bottom: 15px;
    top: auto;
    transform: none;
    width: 56px;
    height: 56px;
  }

  .sticky-whatsapp-btn:hover {
    transform: scale(1.1);
  }

  .sticky-whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
  }

  /* Hero */
  .urunler-archive-hero {
    padding: 40px 20px;
    margin-bottom: 30px;
  }

  .archive-title {
    font-size: 2rem;
  }

  .archive-subtitle {
    font-size: 1rem;
  }

  /* Controls */
  .urunler-controls {
    flex-direction: column;
    gap: 16px;
  }

  .search-box,
  #urunler-sort {
    width: 100%;
  }

  .sort-box {
    width: 100%;
  }

  /* Grid */
  .cpt-grid-urunler {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card-gallery {
    height: 240px;
  }

  /* Single Page */
  .single-title {
    font-size: 1.8rem;
  }

  .single-excerpt {
    font-size: 1rem;
  }

  .wa-single-btn {
    padding: 16px 32px;
    font-size: 1rem;
  }

  /* Lightbox */
  .lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .archive-title {
    font-size: 1.6rem;
  }

  .card-gallery {
    height: 200px;
  }

  .single-thumbnails {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 8px;
  }
}

/* ========================================
   UTILITY & ANIMATIONS
   ======================================== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cpt-card {
  animation: fadeIn 0.5s ease forwards;
}

/* Stagger animation for cards */
.cpt-card:nth-child(1) {
  animation-delay: 0.05s;
}
.cpt-card:nth-child(2) {
  animation-delay: 0.1s;
}
.cpt-card:nth-child(3) {
  animation-delay: 0.15s;
}
.cpt-card:nth-child(4) {
  animation-delay: 0.2s;
}
.cpt-card:nth-child(5) {
  animation-delay: 0.25s;
}
.cpt-card:nth-child(6) {
  animation-delay: 0.3s;
}

/* ========================================
   PROJELER ARCHIVE - HERO SECTION
   ======================================== */
.projeler-archive-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--radius);
  padding: 60px 30px;
  margin-bottom: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  width: 100%;
  display: block;
}

.projeler-archive-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

/* ========================================
   PROJELER SEARCH & SORT CONTROLS
   ======================================== */
.projeler-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.projeler-controls .search-box {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.projeler-controls .search-box input {
  width: 100%;
  padding: 14px 20px 14px 50px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
  background: #fff;
}

.projeler-controls .search-box .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  pointer-events: none;
}

.projeler-controls .sort-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.projeler-controls .sort-box label {
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.projeler-controls .sort-box select {
  padding: 12px 40px 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
  min-width: 180px;
}

/* ========================================
   PROJELER ARCHIVE GRID - CLOSER SPACING
   ======================================== */
.cpt-grid-projeler {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

/* ========================================
   PROJELER CARD - PORTRAIT WITH OVERLAY
   ======================================== */
.proje-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.proje-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

/* Portrait Image Wrapper */
.proje-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%; /* 3:4 aspect ratio (portrait) */
  background: var(--bg-light);
  overflow: hidden;
}

.proje-featured-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.proje-card:hover .proje-featured-img {
  transform: scale(1.05);
}

/* Gradient Overlay - Bottom 20% */
.proje-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    to top,
    rgba(33, 45, 69, 0.95) 0%,
    rgba(33, 45, 69, 0.9) 40%,
    rgba(33, 45, 69, 0.5) 70%,
    rgba(33, 45, 69, 0) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 15px;
}

.proje-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  color: #fff;
}

/* WhatsApp Button for Projeler - Inside Overlay */
.proje-wa-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.wa-proje-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--wa-green);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  width: 100%;
  max-width: 200px;
}

.wa-proje-btn:hover {
  background: var(--wa-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  color: #fff;
}

.wa-proje-btn .wa-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ========================================
   PROJELER RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .projeler-archive-hero {
    padding: 40px 20px;
  }

  .archive-title {
    font-size: 2rem;
  }

  .archive-subtitle {
    font-size: 1rem;
  }

  .cpt-grid-projeler {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }

  .proje-title {
    font-size: 1rem;
  }

  .wa-proje-btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .cpt-grid-projeler {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .proje-overlay {
    height: 30%;
  }
}
