/* ========================================
   Breathington.com - Phase 1 Styles
   ======================================== */

/* --- 1. Custom Properties --- */
:root {
  --color-teal: #5BBFB5;
  --color-teal-dark: #4AA89E;
  --color-teal-light: #E8F6F4;
  --color-warm-bg: #FDF9F5;
  --color-warm-bg-alt: #F7F1EA;
  --color-text: #2D3436;
  --color-text-light: #636E72;
  --color-white: #FFFFFF;

  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 72px;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

/* --- 2. Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-warm-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- 3. Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-family);
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--color-teal);
  color: var(--color-white);
  font-size: 1rem;
  padding: 16px 48px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: var(--color-teal-dark);
}

.btn-nav {
  background-color: var(--color-teal);
  color: var(--color-white);
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
}

.btn-nav:hover {
  background-color: var(--color-teal-dark);
}

/* --- 4. Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
  height: var(--nav-height);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  z-index: 101;
}

.nav-logo img {
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-teal);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --- 5. Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  z-index: 0;
}

/* gradient overlay - disabled, image has built-in text space
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(253, 249, 245, 0.95) 0%,
    rgba(253, 249, 245, 0.85) 35%,
    rgba(253, 249, 245, 0.3) 60%,
    transparent 75%
  );
} */

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  padding: 120px 24px 60px;
  padding-left: max(24px, calc((100vw - var(--max-width)) / 2 + 24px));
}

.hero h1 {
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 18px;
}

.hero-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 28px;
  max-width: 420px;
}

.hero-secondary-link {
  display: block;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.hero-secondary-link:hover {
  color: var(--color-teal);
}

/* --- 6. About Chonky --- */
.about-chonky {
  background-color: var(--color-white);
  padding: 80px 24px;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.about-image {
  flex: 0 0 280px;
}

.about-image img {
  width: 100%;
  filter: drop-shadow(0 12px 32px rgba(91, 191, 181, 0.2));
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text);
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.about-text .btn {
  margin-top: 12px;
}

/* --- 7. Get the App --- */
.get-the-app {
  padding: 80px 24px;
  text-align: center;
  background-color: var(--color-teal-light);
}

.get-the-app h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 36px;
}

.store-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-badge img {
  transition: transform 0.2s;
}

a.store-badge:hover img {
  transform: scale(1.05);
}

.store-badge--coming-soon {
  position: relative;
  cursor: default;
}

.store-badge--coming-soon img {
  filter: grayscale(60%) opacity(0.5);
}

.coming-soon-label {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-teal);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- 7b. Solarium Banner --- */
.solarium-banner {
  width: 100%;
  line-height: 0;
}

.solarium-banner img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 40%;
}

/* --- 8. Footer --- */
.site-footer {
  background-color: var(--color-text);
  color: rgba(255, 255, 255, 0.6);
  padding: 28px 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* --- 9. Responsive --- */

/* Mobile: < 768px */
@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    background: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero {
    min-height: 100svh;
  }

  /* gradient overlay disabled - image has built-in text space
  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(253, 249, 245, 0.6) 0%,
      rgba(253, 249, 245, 0.85) 40%,
      rgba(253, 249, 245, 0.95) 70%,
      rgba(253, 249, 245, 1) 100%
    );
  } */

  .hero-bg {
    object-position: 60% top;
  }

  .hero-content {
    align-self: flex-end;
    max-width: 100%;
    padding: 0 20px 48px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-description {
    font-size: 0.85rem;
    max-width: 100%;
  }

  .btn-primary {
    width: 100%;
    max-width: 360px;
    padding: 16px 32px;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .about-image {
    flex: none;
    width: 180px;
    margin: 0 auto;
  }

  .about-chonky {
    padding: 48px 20px;
  }

  .get-the-app {
    padding: 48px 20px;
  }

  .store-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    padding: 100px 24px 60px;
    gap: 32px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .about-image {
    flex: 0 0 220px;
  }
}