/* ==========================================================================
   blog.html + laundry-service.html + commercial-laundry.html ortak katmani
   ========================================================================== */

/* Bu sayfalar dili <html lang> uzerinden degistiriyor */
/* ---------- Basit header (blog.html) ---------- */
header .header-inner,
.nav-container > nav,
.nav-container {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.nav-container {
  position: sticky;
  top: 0;
  z-index: 900;
  width: 100%;
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-container > nav { min-height: 62px; }

header:not([role="banner"]):not(.header) {
  position: sticky;
  top: 0;
  z-index: 900;
  padding-inline: var(--gutter);
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.home-link,
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 800;
  color: var(--ink);
  text-decoration: none;
}

.logo-icon img,
.home-link img,
.logo-link img { width: auto; height: 26px; }

.header-actions { display: flex; align-items: center; gap: .5rem; }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }

.nav-links a {
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  padding: .5rem .7rem;
  border-radius: var(--r-sm);
}

.nav-links a:hover { background: var(--surface-2); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--gutter) clamp(2rem, 1.25rem + 3vw, 3.25rem);
  text-align: center;
  background:
    radial-gradient(900px 440px at 15% -10%, var(--brand-100) 0%, transparent 60%),
    radial-gradient(760px 380px at 90% 0%, #e0f2fe 0%, transparent 58%),
    linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
}

.hero-content { width: min(100%, 820px); margin-inline: auto; }
.hero h1 { font-size: var(--step-3); max-width: 22ch; margin-inline: auto; }
.hero p { color: var(--slate); max-width: 56ch; margin-inline: auto; }

.hero-logo {
  width: min(100%, 460px);
  margin: 0 auto 1.5rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.cta-group,
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.cta-btn,
.pricing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  text-decoration: none;
  padding: .9rem 1.5rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.cta-primary,
.pricing-btn { background: var(--ink); color: var(--white); }
.cta-primary:hover,
.pricing-btn:hover { background: var(--brand-600); transform: translateY(-2px); }

.cta-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.cta-secondary:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-50); }

/* ---------- Bolumler ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

.services,
.industries,
.pricing,
.contact,
.free-delivery { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

.section-title { text-align: center; font-size: var(--step-2); margin-bottom: .35rem; }
.section-subtitle { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 2rem; }

.service-grid,
.industry-grid,
.pricing-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.service-card,
.industry-card,
.card,
.feature-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.service-card:hover,
.industry-card:hover,
.card:hover,
.feature-item:hover { border-color: var(--brand-100); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.service-icon,
.industry-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: var(--r);
  background: var(--brand-50);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.service-card h3,
.industry-card h3,
.feature-title { font-size: var(--step-1); margin-bottom: .4rem; }

.service-card p,
.industry-card p,
.feature-desc { color: var(--muted); font-size: var(--step--1); margin: 0; }

.free-delivery {
  background: var(--ink);
  background-image: radial-gradient(700px 340px at 15% 0%, rgba(13, 148, 136, .3) 0%, transparent 62%);
  color: var(--white);
  text-align: center;
}

.free-delivery h2 { color: var(--white); }
.free-delivery p { color: rgba(255, 255, 255, .74); max-width: 56ch; margin-inline: auto; }

/* ---------- Fiyat kartlari ---------- */
.pricing { background: var(--surface); }

.pricing-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 1.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }

.pricing-badge {
  align-self: center;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: var(--step--1);
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: var(--r-full);
  margin-bottom: .9rem;
}

.price {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}

.period { color: var(--muted); font-size: var(--step--1); }
.pricing-card ul { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: .5rem; text-align: left; }

.pricing-card li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--step--1);
  color: var(--slate);
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0; top: .4em;
  width: 1rem; height: 1rem;
  border-radius: var(--r-full);
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d9488'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/.7rem no-repeat;
}

.pricing-card .pricing-btn { margin-top: auto; }

/* ---------- Iletisim ---------- */
.contact { background: var(--white); }
.contact-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.15rem 1.35rem;
}

.contact-item a { color: var(--brand-600); text-decoration: none; font-weight: 600; }

/* ---------- Blog yazi govdesi ---------- */
main {
  width: min(100% - var(--gutter) * 2, 780px);
  margin-inline: auto;
  padding-block: clamp(2rem, 1.25rem + 2vw, 3rem);
}

main h2 { font-size: var(--step-2); margin-top: 2.25rem; }
main h3 { font-size: var(--step-1); margin-top: 1.75rem; }
main p, main li { color: var(--slate); }
main ul, main ol { padding-left: 1.25rem; display: grid; gap: .4rem; margin-bottom: 1.25rem; }

.cta-box {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-block: 2rem;
  text-align: center;
}

.cta-box h3 { margin-top: 0; }
.cta-box p { color: var(--slate); }

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: 1.5rem;
  font-size: var(--step--1);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.price-table th,
.price-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--line-soft); }
.price-table th { background: var(--surface-2); font-family: var(--font-display); color: var(--ink); font-weight: 700; }
.price-table tr:last-child td { border-bottom: 0; }

/* ---------- SSS ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: .6rem;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.faq-question::after { content: "+"; font-size: 1.35rem; line-height: 1; color: var(--brand-600); transition: transform .2s ease; }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 1.25rem; transition: max-height .28s ease, padding .28s ease; }
.faq-item.active .faq-answer { max-height: 460px; padding: 0 1.25rem 1.15rem; }
.faq-answer p { color: var(--muted); font-size: var(--step--1); }

/* ---------- Sabit donusum cubugu ---------- */
/* Aramalarin cogu mobilden geliyor; Ara butonu once ve daha genis. */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--line);
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 1rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
}

.sticky-cta a svg { width: 19px; height: 19px; fill: currentColor; flex: none; }
.sticky-cta .cta-call { background: var(--ink); }
.sticky-cta .cta-wa { background: var(--wa); }

body { padding-bottom: 5.25rem; }

@media (min-width: 900px) {
  .sticky-cta {
    left: auto;
    right: clamp(1rem, .5rem + 1.5vw, 1.75rem);
    bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem);
    grid-template-columns: auto auto;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    padding: .5rem;
    box-shadow: var(--shadow-lg);
  }

  body { padding-bottom: 0; }
}

@media (max-width: 700px) {
  .nav-links { display: none; }
}

/* ---------- Sayfa ustu gorsel ---------- */
.page-hero {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin: clamp(1rem, .5rem + 1.5vw, 1.75rem) auto 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }

/* ---------- Dil butonu ---------- */
.lang-btn,
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-family: inherit;
  font-size: var(--step--1);
  font-weight: 700;
  padding: .45rem .75rem;
  border-radius: var(--r-full);
  cursor: pointer;
  line-height: 1;
}

.lang-btn:hover,
.lang-toggle:hover { background: var(--line-soft); }

.lang-toggle {
  position: fixed;
  top: .85rem;
  right: var(--gutter);
  z-index: 900;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.lang-toggle button { all: unset; cursor: pointer; }

/* ---------- commercial-laundry.html ---------- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
  font-size: var(--step--1);
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.back-link:hover { color: var(--brand-600); }

.grid-layout {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.hero-text h1 { font-size: var(--step-3); margin-bottom: .6rem; }
.hero-text > p { color: var(--slate); max-width: 68ch; }

.gradient-text {
  background: linear-gradient(120deg, var(--brand-600), #0ea5e9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.highlight { color: var(--ink); font-weight: 700; }

.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 600;
  padding: .35rem .8rem;
  border-radius: var(--r-full);
}

.badge-emerald, .emerald { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.badge-cyan, .cyan, .sky { background: #ecfeff; border-color: #a5f3fc; color: #0e7490; }
.badge-amber, .amber { background: #fffbeb; border-color: #fde68a; color: #b45309; }

.cta-buttons { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-block: 1.5rem; }

.btn-primary,
.btn-secondary,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 700;
  text-decoration: none;
  padding: .85rem 1.5rem;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); }

.btn-secondary { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--brand); color: var(--brand-600); background: var(--brand-50); }

.cta-note { color: var(--muted); font-size: var(--step--1); }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  box-shadow: var(--shadow);
  margin-block: 1.5rem;
}

.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }

.form-label,
.form-label-top {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}

.form-label-top { margin-top: .9rem; }

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .8rem .9rem;
  margin-bottom: .9rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.form-textarea { min-height: 110px; resize: vertical; }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}

.form-submit { width: 100%; background: var(--brand); color: var(--white); }
.form-submit:hover { background: var(--brand-600); }

.form-notes { color: var(--muted); font-size: var(--step--1); margin-top: .75rem; text-align: center; }
