/* ==========================================================================
   YıkamaLS — Responsive CSS
   Mobile-first breakpoints: 480px / 768px / 1024px / 1280px
   ========================================================================== */

/* --------------------------------------------------------------------------
   Base Mobile (default — designed for ~375px+)
   -------------------------------------------------------------------------- */

/* Hero — stack vertically on mobile */
.hero .container {
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 1.875rem; /* 30px */
}

.hero-subtitle {
  font-size: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

.hero-stats {
  justify-content: center;
  gap: 1.5rem;
}

.hero-visual {
  display: none;
}

/* Grids — single column on mobile */
.grid-2,
.grid-3,
.grid-4,
.grid-2-1,
.grid-1-2 {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-split {
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.feature-split.reverse {
  direction: ltr;
}

.feature-visual,
.feature-visual-box {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.feature-visual-box svg,
.feature-visual svg {
  max-width: 100%;
  height: auto;
}

.steps-list {
  max-width: 100% !important;
}

/* Section */
.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.875rem;
}

.hero {
  padding: 3rem 0;
}

/* Navigation — mobile */
.site-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  box-shadow: -4px 0 30px rgba(11,92,122,0.15);
  overflow-y: auto;
  transition: right 250ms ease;
  padding: 80px 0 2rem;
  flex-direction: column;
  justify-content: flex-start;
}

.site-nav.nav-open {
  right: 0;
}

.nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0 1rem;
}

.nav-list > li {
  width: 100%;
}

.nav-list > li > a {
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  transform: none;
  box-shadow: none;
  border: none;
  background: #f7fafb;
  border-radius: 0.5rem;
  margin: 0 0 0.5rem 1rem;
  padding: 0.25rem 0;
  display: none;
}

.has-dropdown.open .dropdown {
  display: block;
}

.nav-toggle {
  display: flex;
}

/* Footer */
.footer-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-bottom {
  flex-direction: column;
  text-align: center;
}

/* Kanban */
.kanban-board {
  flex-direction: column;
}

.kanban-column {
  min-width: unset;
}

/* CTA section */
.cta-section h2 {
  font-size: 1.875rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.cta-actions .btn {
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
}

/* Contact */
.contact-form {
  padding: 1.5rem;
}

/* Header */
.header-actions .btn-cta {
  padding: 0.45rem 0.75rem;
  font-size: 0.8125rem;
}

/* Steps */
.step-item {
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   480px — Small Phones (Landscape) / Large Phones
   -------------------------------------------------------------------------- */
@media (min-width: 480px) {
  :root {
    --container-padding: 1.25rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 2rem;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   768px — Tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root {
    --container-padding: 1.5rem;
  }

  /* Hero */
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    max-width: none;
    margin: 0;
    justify-content: flex-start;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero .container {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .hero-subtitle {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-visual {
    display: flex;
  }

  .hero-stats {
    justify-content: flex-start;
  }

  /* Sections */
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .cta-section h2 {
    font-size: 2.25rem;
  }

  .cta-actions {
    flex-direction: row;
    align-items: center;
    width: auto;
    max-width: none;
    margin: 0 auto;
    justify-content: center;
  }

  .cta-actions .btn {
    width: auto;
  }

  /* Grids */
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .grid-2-1 {
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }

  .grid-1-2 {
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
  }

  /* Feature split */
  .feature-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .feature-split.reverse {
    direction: rtl;
  }

  .feature-split.reverse > * {
    direction: ltr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: row;
  }

  /* Nav */
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 0.25rem;
  }

  .nav-list > li {
    width: auto;
  }

  .dropdown {
    position: absolute;
    display: block !important;
    background: #fff;
    border: 1px solid #D1E4EC;
    box-shadow: 0 20px 50px rgba(11,92,122,0.15), 0 8px 20px rgba(11,92,122,0.10);
    border-radius: 0.75rem;
    padding: 0.5rem 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 250ms ease;
  }

  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Steps — side by side on tablet */
  .step-item {
    flex-direction: row;
  }

  .kanban-board {
    flex-direction: row;
  }

  .kanban-column {
    min-width: 140px;
  }
}

/* --------------------------------------------------------------------------
   1024px — Small Desktop / Laptop
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root {
    --container-padding: 2rem;
  }

  /* Hero */
  .hero {
    padding: var(--spacing-20) 0;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  /* Grids */
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Feature split */
  .feature-split {
    gap: 4rem;
  }

  .feature-content h2 {
    font-size: 2.25rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }

  /* Section */
  .section {
    padding: 5rem 0;
  }

  .cta-section h2 {
    font-size: 2.5rem;
  }
}

/* --------------------------------------------------------------------------
   1280px — Full Desktop
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
  :root {
    --container-padding: 2rem;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .cta-section h2 {
    font-size: 2.75rem;
  }

  .hero-visual {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Accessibility & Print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .cta-section,
  .btn {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
  }
}
