/* ============================================================
   yorgan-yikama.css  —  Atlas Halı Yıkama
   Yorgan yıkama sayfasına özel, tamamen bağımsız CSS dosyası.
   style.css'ten miras alınan reset/base/nav/footer stilleri
   burada tekrar edilmez; yalnızca bu sayfaya özgü bileşenler yer alır.
   ============================================================ */

/* ── Renk & Değişken Sistemi ─────────────────────────────── */
.yorgan-perfect {
  --yp-primary:  #0f172a;
  --yp-blue:     #0284c7;
  --yp-blue-dk:  #0369a1;
  --yp-light:    #e0f2fe;
  --yp-white:    #ffffff;
  --yp-text:     #475569;
  --yp-muted:    #64748b;
  --yp-surface:  #f8fafc;
  --yp-border:   rgba(2, 132, 199, 0.12);
  --yp-radius:   20px;
  --yp-shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --yp-shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --yp-shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.14);

  background-color: var(--yp-surface);
  font-family: var(--font-body, "Inter", sans-serif);
}

/* ── Hero Bölümü ─────────────────────────────────────────── */
.yp-hero {
  background:
    linear-gradient(
      150deg,
      rgba(15, 23, 42, 0.88) 0%,
      rgba(2, 132, 199, 0.80) 100%
    ),
    url("../assets/images/malatya-hali-yikama-yorgan-yikama.webp")
      center / cover no-repeat;
  padding: clamp(6rem, 14vw, 10rem) 1.5rem clamp(5rem, 10vw, 8rem);
  color: var(--yp-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Dalga şekli — alt geçiş */
.yp-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: clamp(48px, 6vw, 80px);
  background: var(--yp-surface);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.yp-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  margin: 0 0 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--yp-white);
  position: relative;
  z-index: 1;
}

.yp-hero p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  opacity: 0.92;
  line-height: 1.65;
  color: #e2e8f0;
  position: relative;
  z-index: 1;
}

/* ── Hero Buton Grubu ────────────────────────────────────── */
.yp-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.yp-btn {
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.28s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 2px solid transparent;
}

.yp-btn.primary {
  background: var(--yp-white);
  color: var(--yp-blue);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.18);
}

.yp-btn.primary:hover {
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.28);
  transform: translateY(-3px);
}

.yp-btn.whatsapp {
  background: #22c55e;
  color: var(--yp-white);
  box-shadow: 0 4px 18px rgba(34, 197, 94, 0.30);
}

.yp-btn.whatsapp:hover {
  background: #16a34a;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.40);
  transform: translateY(-3px);
}

/* ── Ortak Section Sistemi ───────────────────────────────── */
.yp-section {
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

.yp-section.alt {
  background: var(--yp-white);
}

.yp-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Section Başlık & Alt Başlık ─────────────────────────── */
.yp-title {
  text-align: center;
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--yp-primary);
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.yp-title.left {
  text-align: left;
}

.yp-subtitle {
  text-align: center;
  color: var(--yp-blue);
  font-weight: 700;
  margin: 0 0 3rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.yp-subtitle.left {
  text-align: left;
}

/* ── Kart Grid ───────────────────────────────────────────── */
.yp-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.yp-card {
  background: var(--yp-white);
  border-radius: var(--yp-radius);
  padding: 2.5rem 2rem;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid var(--yp-border);
  box-shadow: var(--yp-shadow-sm);
  position: relative;
  overflow: hidden;
}

.yp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yp-blue), #38bdf8);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.yp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--yp-shadow-md);
  border-color: rgba(2, 132, 199, 0.22);
}

.yp-card:hover::before {
  opacity: 1;
}

.yp-icon {
  width: 60px;
  height: 60px;
  background: var(--yp-light);
  color: var(--yp-blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: var(--font-display, "Outfit", sans-serif);
}

.yp-card h3 {
  font-size: 1.3rem;
  color: var(--yp-primary);
  margin: 0 0 0.85rem;
  font-weight: 700;
}

.yp-card p {
  color: var(--yp-text);
  line-height: 1.7;
  margin: 0;
  font-size: 0.97rem;
}

/* ── Showcase (Görsel + İçerik) ──────────────────────────── */
.yp-showcase {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.yp-showcase-content {
  flex: 1;
  min-width: 0;
}

.yp-showcase-image {
  flex: 1;
  min-width: 0;
  position: relative;
}

.yp-showcase-image img {
  width: 100%;
  border-radius: var(--yp-radius);
  box-shadow: var(--yp-shadow-lg);
  object-fit: cover;
  display: block;
}

/* Dekoratif dashed çerçeve — overflow gizlenmediğinden z-index -1 çalışır */
.yp-showcase-image::after {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  bottom: 16px;
  left: 16px;
  border: 2px dashed rgba(2, 132, 199, 0.35);
  border-radius: calc(var(--yp-radius) + 4px);
  z-index: -1;
  pointer-events: none;
}

/* ── Kontrol Listesi ─────────────────────────────────────── */
.yp-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  display: grid;
  gap: 0.85rem;
}

.yp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: var(--yp-primary);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.55;
}

.yp-list li::before {
  content: "✓";
  color: var(--yp-white);
  background: var(--yp-blue);
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.yp-showcase-content p {
  color: var(--yp-text);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
}

/* ── Fiyatlandırma ───────────────────────────────────────── */
.yp-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}

.yp-price-box {
  background: var(--yp-white);
  padding: 2.5rem 2rem;
  border-radius: var(--yp-radius);
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: var(--yp-shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yp-price-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--yp-shadow-md);
}

.yp-price-box h3 {
  color: var(--yp-text);
  font-size: 1.1rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.yp-price-box .price {
  color: var(--yp-primary);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1;
  font-family: var(--font-display, "Outfit", sans-serif);
}

.yp-price-box .price span {
  font-size: 1rem;
  color: #94a3b8;
  font-weight: 500;
  margin-left: 0.15rem;
}

.yp-price-box .price-note {
  color: var(--yp-muted);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

/* Öne çıkan fiyat kutusu */
.yp-price-box.highlight {
  background: var(--yp-primary);
  border-color: transparent;
  box-shadow: var(--yp-shadow-lg);
  position: relative;
}

.yp-price-box.highlight::before {
  content: "En Popüler";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yp-blue);
  color: var(--yp-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

.yp-price-box.highlight h3 {
  color: rgba(255, 255, 255, 0.75);
}

.yp-price-box.highlight .price {
  color: var(--yp-white);
}

.yp-price-box.highlight .price span {
  color: rgba(255, 255, 255, 0.55);
}

.yp-price-box.highlight .price-note {
  color: rgba(255, 255, 255, 0.60);
}

.yp-price-box.highlight:hover {
  transform: translateY(-4px);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .yp-showcase {
    flex-direction: column;
    gap: 2.5rem;
  }

  .yp-showcase-image::after {
    display: none;
  }
}

@media (max-width: 767px) {
  .yp-hero {
    padding: clamp(5rem, 16vw, 7rem) 1.25rem clamp(4rem, 10vw, 6rem);
  }

  .yp-btn {
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
  }

  .yp-card-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .yp-card {
    padding: 2rem 1.5rem;
  }

  .yp-pricing {
    grid-template-columns: 1fr;
  }

  .yp-price-box.highlight {
    order: -1;
  }
}

/* ── Breadcrumb ──────────────────────────────────────────── */
.yp-breadcrumb {
  background: var(--yp-white);
  border-bottom: 1px solid rgba(2, 132, 199, 0.1);
  padding: 0.75rem 1.5rem;
}

.yp-breadcrumb-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--yp-muted);
}

.yp-breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

.yp-breadcrumb-list li + li::before {
  content: "›";
  margin-right: 0.3rem;
  color: #94a3b8;
}

.yp-breadcrumb-list a {
  color: var(--yp-blue);
  text-decoration: none;
  font-weight: 500;
}

.yp-breadcrumb-list a:hover {
  text-decoration: underline;
}

.yp-breadcrumb-list [aria-current="page"] {
  color: var(--yp-primary);
  font-weight: 600;
}

/* ── Bilgi Bölümü ────────────────────────────────────────── */
.yp-info-grid {
  max-width: 800px;
  margin: 0 auto;
}

.yp-info-text p {
  color: var(--yp-text);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

.yp-info-text p:last-child {
  margin-bottom: 0;
}

.yp-info-text strong {
  color: var(--yp-primary);
  font-weight: 700;
}

.yp-info-text a {
  color: var(--yp-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Mahalle Listesi ────────────────────────────────────── */
.yp-details {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--yp-radius);
  border: 1px solid var(--yp-border);
  background: var(--yp-white);
  box-shadow: var(--yp-shadow-sm);
}

.yp-details summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--yp-primary);
  list-style: none;
}

.yp-details summary::-webkit-details-marker {
  display: none;
}

.yp-details summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 0.6rem;
  border-radius: 50%;
  background: var(--yp-blue);
  color: var(--yp-white);
  font-weight: 700;
  font-size: 0.9rem;
}

.yp-details[open] summary::before {
  content: "-";
}

.yp-details[open] summary {
  margin-bottom: 1rem;
}

.yp-mahalle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.yp-subhead {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yp-primary);
}

.yp-mahalle-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 1.5rem;
}

.yp-mahalle-list li {
  break-inside: avoid;
  padding: 0.18rem 0;
  color: var(--yp-text);
  font-size: 0.95rem;
}

.yp-source-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--yp-muted);
}

.yp-source-note a {
  color: var(--yp-blue);
  font-weight: 600;
}

@media (max-width: 640px) {
  .yp-mahalle-list {
    column-count: 1;
  }
}

/* ── FAQ Bölümü ──────────────────────────────────────────── */
.yp-faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid rgba(2, 132, 199, 0.12);
}

.yp-faq-item {
  border-bottom: 1px solid rgba(2, 132, 199, 0.12);
}

.yp-faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 0.2rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--yp-primary);
  cursor: pointer;
  transition: color 0.22s ease;
}

.yp-faq-trigger:hover {
  color: var(--yp-blue);
}

.yp-faq-trigger[aria-expanded="true"] {
  color: var(--yp-blue);
}

.yp-faq-trigger[aria-expanded="true"] .yp-faq-icon {
  transform: rotate(45deg);
}

.yp-faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--yp-blue);
  flex-shrink: 0;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.yp-faq-panel {
  padding: 0 0.2rem 1.25rem;
}

.yp-faq-panel[hidden] {
  display: none;
}

.yp-faq-panel p {
  color: var(--yp-text);
  line-height: 1.7;
  margin: 0;
  font-size: 0.97rem;
}

.yp-faq-panel a {
  color: var(--yp-blue);
  font-weight: 600;
}

/* ── CTA Bölümü ──────────────────────────────────────────── */
.yp-cta-strip {
  background: linear-gradient(
    135deg,
    #0f172a 0%,
    #1e3a5f 50%,
    #0284c7 100%
  );
  text-align: center;
}

.yp-cta-inner {
  max-width: 680px;
}

.yp-cta-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--yp-white);
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  font-family: var(--font-display, "Outfit", sans-serif);
}

.yp-cta-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2.5rem;
}
