/* HalıYıkama24 — Professional Carpet Cleaning */

:root {
  --hy-aqua: #00B4D8;
  --hy-navy: #023E8A;
  --hy-white: #FAFEFF;
  --hy-mint: #90E0EF;
  --hy-gray: #F0F4F8;
  --hy-text: #1a2b3c;
  --hy-text-light: #5a6b7c;
  --hy-shadow: 0 4px 24px rgba(2, 62, 138, 0.12);
  --hy-radius: 12px;
  --hy-font-heading: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --hy-font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --hy-nav-height: 64px;
  --hy-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hy-font-body);
  font-weight: 300;
  color: var(--hy-text);
  background: var(--hy-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--hy-aqua);
  text-decoration: none;
  transition: color var(--hy-transition);
}

a:hover {
  color: var(--hy-navy);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hy-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--hy-navy);
}

.hy-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Floating Pill Nav ── */
.hy-nav-wrap {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: top var(--hy-transition);
}

.hy-nav-wrap.hy-nav-scrolled {
  top: 10px;
}

.hy-nav-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 254, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(144, 224, 239, 0.5);
  border-radius: 999px;
  padding: 8px 12px 8px 20px;
  box-shadow: var(--hy-shadow);
  pointer-events: all;
  transition: padding var(--hy-transition), gap var(--hy-transition), box-shadow var(--hy-transition);
}

.hy-nav-scrolled .hy-nav-pill {
  padding: 4px 8px 4px 16px;
  gap: 4px;
  box-shadow: 0 2px 12px rgba(2, 62, 138, 0.1);
}

.hy-nav-logo {
  font-family: var(--hy-font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--hy-navy);
  white-space: nowrap;
  transition: font-size var(--hy-transition);
}

.hy-nav-scrolled .hy-nav-logo {
  font-size: 0.85rem;
}

.hy-nav-logo span {
  color: var(--hy-aqua);
}

.hy-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.hy-nav-links a {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hy-navy);
  transition: background var(--hy-transition), color var(--hy-transition), padding var(--hy-transition), font-size var(--hy-transition);
}

.hy-nav-scrolled .hy-nav-links a {
  padding: 6px 12px;
  font-size: 0.8rem;
}

.hy-nav-links a:hover,
.hy-nav-links a.hy-active {
  background: var(--hy-mint);
  color: var(--hy-navy);
}

.hy-nav-cta {
  background: var(--hy-aqua) !important;
  color: var(--hy-white) !important;
  font-weight: 600 !important;
}

.hy-nav-cta:hover {
  background: var(--hy-navy) !important;
  color: var(--hy-white) !important;
}

.hy-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--hy-navy);
}

/* ── Hero ── */
.hy-hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--hy-navy) 0%, #0077b6 45%, var(--hy-aqua) 100%);
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(144, 224, 239, 0.25) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(0, 180, 216, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hy-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hy-hero-badge {
  display: inline-block;
  background: rgba(144, 224, 239, 0.2);
  border: 1px solid rgba(144, 224, 239, 0.4);
  color: var(--hy-mint);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hy-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--hy-white);
  margin-bottom: 20px;
}

.hy-hero p {
  font-size: 1.15rem;
  color: rgba(250, 254, 255, 0.85);
  margin-bottom: 36px;
  font-weight: 300;
}

.hy-hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.hy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--hy-font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--hy-transition);
  text-decoration: none;
}

.hy-btn-primary {
  background: var(--hy-aqua);
  color: var(--hy-white);
  border-color: var(--hy-aqua);
}

.hy-btn-primary:hover {
  background: var(--hy-white);
  color: var(--hy-navy);
  border-color: var(--hy-white);
}

.hy-btn-outline {
  background: transparent;
  color: var(--hy-white);
  border-color: rgba(250, 254, 255, 0.5);
}

.hy-btn-outline:hover {
  background: var(--hy-white);
  color: var(--hy-navy);
  border-color: var(--hy-white);
}

.hy-btn-navy {
  background: var(--hy-navy);
  color: var(--hy-white);
  border-color: var(--hy-navy);
}

.hy-btn-navy:hover {
  background: var(--hy-aqua);
  border-color: var(--hy-aqua);
  color: var(--hy-white);
}

/* ── Trust Badges ── */
.hy-trust {
  background: var(--hy-white);
  padding: 48px 0;
  border-bottom: 1px solid var(--hy-gray);
}

.hy-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hy-trust-item {
  text-align: center;
  padding: 20px 12px;
}

.hy-trust-icon {
  width: 56px;
  height: 56px;
  background: var(--hy-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.5rem;
}

.hy-trust-item h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hy-trust-item p {
  font-size: 0.8rem;
  color: var(--hy-text-light);
}

/* ── Sections ── */
.hy-section {
  padding: 80px 0;
}

.hy-section-gray {
  background: var(--hy-gray);
}

.hy-section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.hy-section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 12px;
}

.hy-section-header p {
  color: var(--hy-text-light);
  font-size: 1.05rem;
}

.hy-label {
  display: inline-block;
  color: var(--hy-aqua);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── Service Cards ── */
.hy-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hy-service-card {
  background: var(--hy-white);
  border-radius: var(--hy-radius);
  overflow: hidden;
  box-shadow: var(--hy-shadow);
  transition: transform var(--hy-transition), box-shadow var(--hy-transition);
}

.hy-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(2, 62, 138, 0.18);
}

.hy-service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.hy-service-card-body {
  padding: 24px;
}

.hy-service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.hy-service-card-body p {
  font-size: 0.9rem;
  color: var(--hy-text-light);
  margin-bottom: 16px;
}

.hy-service-link {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--hy-aqua);
}

/* ── Calculator ── */
.hy-calculator {
  background: var(--hy-white);
  border-radius: var(--hy-radius);
  padding: 40px;
  box-shadow: var(--hy-shadow);
  max-width: 520px;
  margin: 0 auto;
}

.hy-calculator h3 {
  text-align: center;
  margin-bottom: 28px;
  font-size: 1.3rem;
}

.hy-form-group {
  margin-bottom: 20px;
}

.hy-form-group label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 6px;
  color: var(--hy-navy);
}

.hy-form-group input,
.hy-form-group select,
.hy-form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--hy-gray);
  border-radius: 8px;
  font-family: var(--hy-font-body);
  font-size: 0.95rem;
  background: var(--hy-white);
  color: var(--hy-text);
  transition: border-color var(--hy-transition);
}

.hy-form-group input:focus,
.hy-form-group select:focus,
.hy-form-group textarea:focus {
  outline: none;
  border-color: var(--hy-aqua);
}

.hy-calculator-result {
  text-align: center;
  margin-top: 24px;
  padding: 20px;
  background: var(--hy-gray);
  border-radius: 8px;
  display: none;
}

.hy-calculator-result.hy-visible {
  display: block;
}

.hy-calculator-result .hy-price {
  font-family: var(--hy-font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--hy-aqua);
}

.hy-calculator-result p {
  font-size: 0.85rem;
  color: var(--hy-text-light);
  margin-top: 4px;
}

/* ── FAQ Accordion ── */
.hy-faq {
  max-width: 720px;
  margin: 0 auto;
}

.hy-faq-item {
  border-bottom: 1px solid var(--hy-gray);
}

.hy-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--hy-font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--hy-navy);
  text-align: left;
  transition: color var(--hy-transition);
}

.hy-faq-question:hover {
  color: var(--hy-aqua);
}

.hy-faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--hy-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform var(--hy-transition), background var(--hy-transition);
}

.hy-faq-item.hy-open .hy-faq-icon {
  transform: rotate(45deg);
  background: var(--hy-mint);
}

.hy-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.hy-faq-item.hy-open .hy-faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.hy-faq-answer p {
  color: var(--hy-text-light);
  font-size: 0.95rem;
}

/* ── About / Content Blocks ── */
.hy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hy-split img {
  border-radius: var(--hy-radius);
  box-shadow: var(--hy-shadow);
}

.hy-split h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.hy-split p {
  color: var(--hy-text-light);
  margin-bottom: 16px;
}

.hy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.hy-stat {
  text-align: center;
  padding: 20px;
  background: var(--hy-gray);
  border-radius: var(--hy-radius);
}

.hy-stat strong {
  display: block;
  font-family: var(--hy-font-heading);
  font-size: 2rem;
  color: var(--hy-aqua);
  font-weight: 800;
}

.hy-stat span {
  font-size: 0.85rem;
  color: var(--hy-text-light);
}

/* ── Contact ── */
.hy-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.hy-contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hy-contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hy-contact-icon {
  width: 48px;
  height: 48px;
  background: var(--hy-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hy-contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hy-contact-item p,
.hy-contact-item a {
  font-size: 0.9rem;
  color: var(--hy-text-light);
}

.hy-form-card {
  background: var(--hy-white);
  padding: 36px;
  border-radius: var(--hy-radius);
  box-shadow: var(--hy-shadow);
}

.hy-form-card h3 {
  margin-bottom: 24px;
}

.hy-form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.hy-form-success.hy-visible {
  display: block;
}

.hy-form-success .hy-success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* ── Page Header ── */
.hy-page-header {
  background: linear-gradient(135deg, var(--hy-navy), #0077b6);
  padding: 140px 0 60px;
  text-align: center;
}

.hy-page-header h1 {
  color: var(--hy-white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 12px;
}

.hy-page-header p {
  color: rgba(250, 254, 255, 0.8);
  font-size: 1.05rem;
}

/* ── Privacy ── */
.hy-legal {
  max-width: 780px;
  margin: 0 auto;
}

.hy-legal h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.hy-legal h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.hy-legal p,
.hy-legal li {
  color: var(--hy-text-light);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.hy-legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* ── Footer ── */
.hy-footer {
  background: var(--hy-navy);
  color: rgba(250, 254, 255, 0.75);
  padding: 60px 0 24px;
}

.hy-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.hy-footer-brand {
  font-family: var(--hy-font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--hy-white);
  margin-bottom: 12px;
}

.hy-footer-brand span {
  color: var(--hy-aqua);
}

.hy-footer p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.hy-footer h4 {
  color: var(--hy-white);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.hy-footer-links {
  list-style: none;
}

.hy-footer-links li {
  margin-bottom: 8px;
}

.hy-footer-links a {
  color: rgba(250, 254, 255, 0.65);
  font-size: 0.875rem;
  transition: color var(--hy-transition);
}

.hy-footer-links a:hover {
  color: var(--hy-mint);
}

.hy-footer-bottom {
  border-top: 1px solid rgba(144, 224, 239, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* ── Cookie Banner ── */
.hy-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--hy-navy);
  color: var(--hy-white);
  padding: 20px 24px;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.hy-cookie.hy-cookie-visible {
  transform: translateY(0);
}

.hy-cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hy-cookie p {
  font-size: 0.875rem;
  flex: 1;
  min-width: 280px;
  color: rgba(250, 254, 255, 0.85);
}

.hy-cookie p a {
  color: var(--hy-mint);
  text-decoration: underline;
}

.hy-cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.hy-cookie-btn {
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--hy-transition);
}

.hy-cookie-accept {
  background: var(--hy-aqua);
  color: var(--hy-white);
}

.hy-cookie-accept:hover {
  background: var(--hy-mint);
  color: var(--hy-navy);
}

.hy-cookie-decline {
  background: transparent;
  color: rgba(250, 254, 255, 0.7);
  border: 1px solid rgba(250, 254, 255, 0.3);
}

.hy-cookie-decline:hover {
  border-color: var(--hy-white);
  color: var(--hy-white);
}

/* ── CTA Banner ── */
.hy-cta-banner {
  background: linear-gradient(135deg, var(--hy-aqua), var(--hy-navy));
  border-radius: var(--hy-radius);
  padding: 48px;
  text-align: center;
  color: var(--hy-white);
}

.hy-cta-banner h2 {
  color: var(--hy-white);
  margin-bottom: 12px;
}

.hy-cta-banner p {
  margin-bottom: 24px;
  opacity: 0.9;
}

/* ── Process Steps ── */
.hy-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hy-process-step {
  text-align: center;
  position: relative;
}

.hy-process-num {
  width: 48px;
  height: 48px;
  background: var(--hy-aqua);
  color: var(--hy-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--hy-font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.hy-process-step h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.hy-process-step p {
  font-size: 0.85rem;
  color: var(--hy-text-light);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .hy-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hy-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hy-split,
  .hy-contact-grid {
    grid-template-columns: 1fr;
  }

  .hy-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hy-process {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hy-nav-toggle {
    display: block;
  }

  .hy-nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    flex-direction: column;
    background: var(--hy-white);
    border-radius: var(--hy-radius);
    padding: 12px;
    box-shadow: var(--hy-shadow);
    min-width: 220px;
  }

  .hy-nav-links.hy-nav-open {
    display: flex;
  }

  .hy-nav-pill {
    position: relative;
  }

  .hy-services-grid {
    grid-template-columns: 1fr;
  }

  .hy-trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hy-stats {
    grid-template-columns: 1fr;
  }

  .hy-footer-grid {
    grid-template-columns: 1fr;
  }

  .hy-hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hy-calculator {
    padding: 28px 20px;
  }
}
