/* ============================================================
   Peninsula Clean Co. — Demo Site
   Built by South Stack · southstack.co.za
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:           #f4faff;
  --bg-alt:       #e6f3ff;
  --surface:      #ffffff;
  --border:       #c8dff5;
  --text:         #0c1e32;
  --muted:        #5a7a96;
  --accent:       #1a7fd4;
  --accent-dk:    #1568b8;
  --accent-light: #dceeff;
  --radius:       10px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 4px rgba(26, 127, 212, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 127, 212, 0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dk);
}

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 48px;
}

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.nav__logo span {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  background-color: var(--accent);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background-color 0.2s !important;
}

.nav__cta:hover {
  background-color: var(--accent-dk) !important;
  color: #ffffff !important;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

@media (max-width: 767px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 8px 0 16px;
    z-index: 99;
    box-shadow: var(--shadow-md);
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 12px 24px;
    font-size: 1rem;
  }

  .nav__links .nav__cta {
    margin: 8px 24px 0;
    display: inline-block;
    width: auto;
  }

  .nav.open .nav__links {
    display: flex;
  }

  .nav.open .nav__hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav.open .nav__hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav.open .nav__hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ── Bubbles ──────────────────────────────────────────────── */
@keyframes floatUp {
  0%   { transform: translateY(0) scale(1);   opacity: 0.55; }
  50%  { transform: translateY(-28px) scale(1.04); opacity: 0.7; }
  100% { transform: translateY(0) scale(1);   opacity: 0.55; }
}

.hero__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.8), rgba(180, 220, 255, 0.35));
  border: 1px solid rgba(26, 127, 212, 0.18);
  animation: floatUp linear infinite;
}

/* Individual bubble sizes, positions, speeds */
.bubble:nth-child(1)  { width: 90px;  height: 90px;  top: 12%; right: 8%;   animation-duration: 6s;  animation-delay: 0s; }
.bubble:nth-child(2)  { width: 44px;  height: 44px;  top: 55%; right: 18%;  animation-duration: 4.5s; animation-delay: 1s; }
.bubble:nth-child(3)  { width: 120px; height: 120px; top: 68%; right: 5%;   animation-duration: 7s;  animation-delay: 0.5s; }
.bubble:nth-child(4)  { width: 30px;  height: 30px;  top: 30%; right: 28%;  animation-duration: 5s;  animation-delay: 2s; }
.bubble:nth-child(5)  { width: 60px;  height: 60px;  top: 80%; right: 35%;  animation-duration: 8s;  animation-delay: 1.5s; }
.bubble:nth-child(6)  { width: 20px;  height: 20px;  top: 15%; right: 40%;  animation-duration: 4s;  animation-delay: 3s; }
.bubble:nth-child(7)  { width: 75px;  height: 75px;  top: 42%; right: 48%;  animation-duration: 6.5s; animation-delay: 0.8s; }
.bubble:nth-child(8)  { width: 18px;  height: 18px;  top: 72%; right: 55%;  animation-duration: 3.8s; animation-delay: 2.5s; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background:
    linear-gradient(135deg, rgba(244,250,255,0.88) 0%, rgba(220,238,255,0.78) 100%),
    url('Images/hero.jpg') center/cover no-repeat;
}

.hero__content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(26, 127, 212, 0.3);
}

.btn--primary:hover {
  background-color: var(--accent-dk);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(26, 127, 212, 0.38);
}

.btn--outline {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn--outline:hover {
  background-color: var(--accent-light);
}

/* ── Services ─────────────────────────────────────────────── */
.services {
  background-color: var(--surface);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 24px;
}

.card__icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
}

.card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.card__desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Why Us ───────────────────────────────────────────────── */
.why-us {
  background:
    linear-gradient(rgba(230, 243, 255, 0.92), rgba(230, 243, 255, 0.92)),
    url('Images/vecteezy_soap-bubbles-abstract-background-vector-illustration_.jpg') center/cover no-repeat;
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 640px) {
  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.trust-point__check {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.trust-point__check svg {
  width: 14px;
  height: 14px;
}

.trust-point__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.trust-point__text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Service Areas ────────────────────────────────────────── */
.areas {
  background-color: var(--surface);
}

.areas__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill {
  display: inline-block;
  padding: 9px 20px;
  border: 1.5px solid var(--accent);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  background-color: var(--accent-light);
  transition: background-color 0.2s, color 0.2s;
}

.pill:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  background-color: var(--bg-alt);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.testimonial__stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial__location {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ── Contact ──────────────────────────────────────────────── */
.contact {
  background-color: var(--surface);
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__intro {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
}

.contact__wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background-color 0.2s, box-shadow 0.2s;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.contact__wa-btn:hover {
  background-color: #1ebe5a;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.contact__email {
  font-size: 0.95rem;
  color: var(--muted);
}

.contact__email a {
  color: var(--accent);
  font-weight: 600;
}

/* Contact form */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form__input,
.form__textarea {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 127, 212, 0.12);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  align-self: flex-start;
  padding: 13px 32px;
  font-size: 1rem;
}

.form__honeypot {
  display: none;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background-color: var(--text);
  padding: 28px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

@media (min-width: 640px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer__brand {
  font-weight: 700;
  color: #ffffff;
}

.footer__built a {
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: color 0.2s;
}

.footer__built a:hover {
  color: #ffffff;
}

.footer__credits {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem;
  text-align: center;
}

.footer__credits a {
  color: rgba(255,255,255,0.3);
  border-bottom: none;
  transition: color 0.2s;
}

.footer__credits a:hover {
  color: rgba(255,255,255,0.55);
}

/* ── Sticky WhatsApp button (mobile only) ─────────────────── */
.wa-sticky {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 200;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  padding: 12px 20px 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.wa-sticky:hover {
  background-color: #1ebe5a;
  color: #fff;
  transform: scale(1.04);
}

@media (max-width: 767px) {
  .wa-sticky {
    display: inline-flex;
  }
}
