
/* =====================================
   SHIX LAUNDRY — WEBSITE STYLES
   ===================================== */

:root {
  --blue: #1878bd;
  --blue-dark: #10578e;
  --blue-light: #eaf6ff;
  --blue-pale: #f5faff;
  --white: #ffffff;
  --ink: #183247;
  --muted: #617487;
  --border: #dceaf4;
  --gold: #f4c96b;
  --shadow: 0 12px 35px rgba(28, 91, 135, 0.09);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -1px;
}

h3 {
  font-size: 1.2rem;
}

/* HEADER */

.site-header {
  min-height: 84px;
  padding: 16px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(145deg, #45a8e6, var(--blue-dark));
  border-radius: 14px 14px 14px 5px;
  font-size: 1.35rem;
  box-shadow: 0 6px 14px rgba(24, 120, 189, 0.2);
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.site-header nav a {
  color: #435b6e;
  font-size: 0.93rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-header nav a:hover {
  color: var(--blue);
}

/* BUTTONS */

.button {
  min-height: 47px;
  padding: 12px 21px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 700;
  text-align: center;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 7px 17px rgba(24, 120, 189, 0.18);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--blue-dark);
  background: var(--white);
  border-color: var(--border);
}

.button-secondary:hover {
  background: var(--blue-pale);
}

/* HERO */

.hero {
  min-height: 540px;
  padding: 76px 8%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, #d2edff 0, transparent 27%),
    radial-gradient(circle at 8% 92%, #d9f1ff 0, transparent 28%),
    var(--blue-light);
}

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

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.hero h1 {
  margin-bottom: 23px;
}

.hero-description {
  max-width: 550px;
  margin-bottom: 27px;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 22px 0 0;
  font-size: 0.9rem;
}

.hero-visual {
  min-height: 350px;
  position: relative;
  display: grid;
  place-items: center;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
}

.bubble-one {
  width: 260px;
  height: 260px;
  top: 10px;
  right: 5px;
}

.bubble-two {
  width: 115px;
  height: 115px;
  left: 5px;
  bottom: 20px;
  background: rgba(119, 195, 239, 0.25);
}

.laundry-card {
  width: min(100%, 330px);
  min-height: 260px;
  padding: 36px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px 30px 30px 8px;
  box-shadow: 0 25px 60px rgba(28, 91, 135, 0.14);
  transform: rotate(2deg);
}

.laundry-icon {
  width: 55px;
  height: 55px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: #dff2ff;
  border-radius: 18px;
  font-size: 2rem;
}

.laundry-card h2 {
  margin-bottom: 12px;
  font-size: 1.65rem;
}

.laundry-card p {
  margin-bottom: 0;
}

/* GENERAL SECTIONS */

.section {
  padding: 85px 8%;
}

.section-heading {
  max-width: 690px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 15px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
}

/* SERVICES */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 225px;
  padding: 29px 25px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(28, 91, 135, 0.035);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #b7ddf6;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 51px;
  height: 51px;
  margin-bottom: 23px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: var(--blue-light);
  border-radius: 16px;
  font-size: 1.8rem;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* HOW IT WORKS */

.process-section {
  background: var(--blue-pale);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}

.process-grid article {
  padding: 15px 10px;
}

.step-number {
  width: 49px;
  height: 49px;
  margin-bottom: 21px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  background: #dcefff;
  border-radius: 15px;
  font-weight: 800;
}

.process-grid h3 {
  margin-bottom: 12px;
}

.process-grid p {
  margin-bottom: 0;
}

/* LOCATION AND HOURS */

.location-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
}

.location-section > div:first-child {
  max-width: 490px;
}

.location-section h2 {
  margin-bottom: 18px;
}

.hours-card {
  padding: 30px;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.hours-card h3 {
  margin-bottom: 22px;
}

.hours-card > p:not(.hours-note) {
  padding-bottom: 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
}

.hours-card strong {
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

.hours-note {
  margin: 15px 0 0;
  font-size: 0.85rem;
}

/* CONTACT CTA */

.contact-section {
  padding: 75px 8%;
  text-align: center;
  background:
    radial-gradient(circle at 8% 15%, rgba(255,255,255,.13) 0 55px, transparent 57px),
    radial-gradient(circle at 90% 90%, rgba(255,255,255,.12) 0 85px, transparent 87px),
    linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.contact-section h2 {
  margin-bottom: 16px;
  color: var(--white);
}

.contact-section > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 auto 25px;
  color: #e2f3ff;
}

.contact-section .eyebrow {
  color: #c5eaff;
}

.contact-section .hero-actions {
  justify-content: center;
}

.button-light {
  color: var(--blue-dark);
  background: var(--white);
}

.button-light:hover {
  background: #edf7ff;
}

.button-outline-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* FOOTER */

.site-footer {
  padding: 30px 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  background: #f8fbfe;
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
}

/* TABLETS */

@media (max-width: 950px) {
  .site-header {
    padding-inline: 4%;
    gap: 15px;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a {
    font-size: 0.85rem;
  }

  .hero,
  .section,
  .contact-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .hero {
    gap: 25px;
  }

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

  .location-section {
    gap: 30px;
  }
}

/* MOBILE PHONES */

@media (max-width: 650px) {
  html {
    scroll-padding-top: 20px;
  }

  .site-header {
    padding: 15px 5%;
    flex-wrap: wrap;
    gap: 13px;
    position: relative;
  }

  .brand {
    font-size: 1.08rem;
  }

  .brand-mark {
    width: 37px;
    height: 37px;
  }

  .site-header nav {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    padding: 3px 0 7px;
  }

  .site-header nav a {
    flex-shrink: 0;
  }

  .site-header > .button {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  .hero {
    padding: 57px 6% 45px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  h1 {
    font-size: clamp(2.7rem, 12vw, 3.8rem);
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-visual {
    min-height: 290px;
  }

  .bubble-one {
    width: 220px;
    height: 220px;
    right: 4%;
  }

  .laundry-card {
    min-height: 225px;
    padding: 28px;
  }

  .section {
    padding: 60px 6%;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .service-grid,
  .process-grid,
  .location-section {
    grid-template-columns: 1fr;
  }

  .service-grid {
    gap: 15px;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }

  .service-icon {
    margin-bottom: 17px;
  }

  .process-grid {
    gap: 15px;
  }

  .process-grid article {
    padding: 10px 0;
  }

  .location-section {
    gap: 30px;
  }

  .hours-card {
    padding: 23px 18px;
  }

  .hours-card > p:not(.hours-note) {
    font-size: 0.84rem;
    gap: 10px;
  }

  .hours-card strong {
    white-space: normal;
  }

  .contact-section {
    padding: 58px 6%;
  }

  .contact-section .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer {
    padding: 28px 6%;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
