/* ========================================================
   FRESH VIBE CLEANING - Main Stylesheet
   Palette: Sky Blue + Soft White + Mint accent
   ======================================================== */

:root {
  /* Core palette — only these. No purple, no random accents. */
  --sky-50:   #f0f8ff;
  --sky-100:  #e1f1fb;
  --sky-200:  #bfe2f5;
  --sky-300:  #8fcdec;
  --sky-400:  #5ab3df;
  --sky-500:  #2d97ce;
  --sky-600:  #1f7aae;
  --sky-700:  #195f87;
  --sky-800:  #14486a;
  --sky-900:  #0e3551;

  --mint:     #b8e6d6;
  --mint-d:   #6fbfa1;

  --white:    #ffffff;
  --cream:    #fafdff;

  --ink:      #0e3551;
  --ink-soft: #3a5a78;
  --muted:    #6a7f95;
  --line:     #d6e8f3;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Outfit', -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadows — soft, watery */
  --shadow-sm: 0 2px 8px rgba(20, 72, 106, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 72, 106, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 72, 106, 0.12);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sky-900);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

p { color: var(--ink-soft); }

/* ========================================================
   Layout helpers
   ======================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sky-600);
  background: var(--sky-100);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--sky-500);
  border-radius: 50%;
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-head p {
  font-size: 1.05rem;
  margin-top: 14px;
}

/* ========================================================
   Buttons
   ======================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn-primary {
  background: var(--sky-600);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(31, 122, 174, 0.3);
}

.btn-primary:hover {
  background: var(--sky-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(31, 122, 174, 0.42);
}

.btn-ghost {
  background: var(--white);
  color: var(--sky-800);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--sky-400);
  color: var(--sky-700);
  transform: translateY(-2px);
}

.btn .arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ========================================================
   Navigation
   ======================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(250, 253, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all 0.3s var(--ease);
}

.nav.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sky-900);
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
  position: relative;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(45, 151, 206, 0.3);
}

.brand-mark::before {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  background: var(--white);
  border-radius: 50%;
  top: 7px; left: 8px;
  opacity: 0.85;
}

.brand-mark::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  bottom: 9px; right: 10px;
  opacity: 0.65;
}

.brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--sky-500);
}

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

.nav-links a {
  font-size: 0.95rem;
   font-weight: 400;
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0;
  height: 2px;
  background: var(--sky-500);
  transition: width 0.3s var(--ease-out);
  border-radius: 2px;
}



.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--sky-600);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
  background: var(--sky-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31, 122, 174, 0.32);
}

/* Mobile burger */
.burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 102;
}

.burger span {
  position: absolute;
  left: 8px;
  width: 24px;
  height: 2px;
  background: var(--sky-800);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 24px; }

.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ========================================================
   Footer
   ======================================================== */
.footer {
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--sky-100) 100%);
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -60px; left: 0; right: 0;
  height: 100px;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, var(--sky-50), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-about p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 380px;
}

.footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sky-700);
  margin-bottom: 20px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer li a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.2s var(--ease);
}
.footer li a:hover { color: var(--sky-700); }

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact a svg {
  width: 18px; height: 18px;
  color: var(--sky-500);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--sky-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ========================================================
   Reveal-on-scroll
   ======================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================================
   Floating bubbles background (decorative)
   ======================================================== */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), rgba(143, 205, 236, 0.15));
  border: 1px solid rgba(143, 205, 236, 0.2);
  animation: float-up 14s linear infinite;
  opacity: 0;
}

@keyframes float-up {
  0% { transform: translateY(110vh) scale(0.6); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20vh) scale(1.1); opacity: 0; }
}

/* ========================================================
   Responsive
   ======================================================== */
@media (max-width: 960px) {
  .section { padding: 70px 0; }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding: 100px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 14px 20px;
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--sky-900);
  }

  .nav-links .nav-cta {
    display: inline-block;
    margin-top: 20px;
    font-size: 1rem;
    padding: 14px 30px;
    color: var(--white);
    font-family: var(--font-body);
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .burger { z-index: 210; }

  .burger { display: block; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .section-head { margin-bottom: 40px; }
}
