/* ═══════════════════════════════════════════════════════
   Dottie's Pet Boutique — styles.css
   Premium artisan landing page
   ═══════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --teal: #2ABFBF;
  --teal-deep: #1A8F8F;
  --teal-dark: #0D5E5E;
  --teal-muted: #E6F7F7;
  --teal-subtle: #F0FAFA;
  --pink: #E84C8A;
  --pink-soft: #F472A8;
  --pink-deep: #C73872;
  --pink-muted: #FDE8F0;
  --charcoal: #1C1C1E;
  --dark-grey: #2C2C2E;
  --mid-grey: #8E8E93;
  --light-grey: #E5E5EA;
  --off-white: #F8F8FA;
  --white: #FFFFFF;
  --gold: #D4A853;
  --coral: #FF7F6B;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --font-accent: 'Caveat', cursive;

  --nav-height: 72px;
}


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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input {
  font-family: inherit;
  border: none;
  outline: none;
}


/* ─── UTILITIES ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-teal { color: var(--teal); }

.section-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.section-label--light {
  color: var(--teal);
}

.section-label--alt {
  color: var(--pink-soft);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.section-title--light {
  color: var(--white);
}

.section-body {
  font-weight: 300;
  font-size: 17px;
  color: var(--mid-grey);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.section-body:last-of-type {
  margin-bottom: 50px;
}


/* ─── SCROLL ANIMATIONS ─── */
.anim-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-d1 { transition-delay: 0.08s; }
.anim-d2 { transition-delay: 0.16s; }
.anim-d3 { transition-delay: 0.24s; }
.anim-d4 { transition-delay: 0.32s; }
.anim-d5 { transition-delay: 0.4s; }
.anim-d6 { transition-delay: 0.48s; }


/* ═══════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.nav-wordmark span {
  color: var(--teal);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--teal-deep) !important;
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ═══════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-height) + 40px) 24px 80px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb--teal {
  top: -220px;
  right: -180px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(42, 191, 191, 0.12) 0%, transparent 70%);
}

.hero-orb--pink {
  bottom: -280px;
  left: -160px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 76, 138, 0.08) 0%, transparent 70%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.hero-tagline {
  font-family: var(--font-accent);
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--pink-soft);
}

.hero-subtitle {
  font-weight: 300;
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.55);
  margin-top: 16px;
  letter-spacing: 0.3px;
}

.hero-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  margin: 40px auto;
  border-radius: 2px;
}

/* Hero CTA Cards */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 16px auto 0;
  max-width: 680px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px 24px 28px;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.hero-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  background: rgba(42, 191, 191, 0.06);
}

.hero-card__icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.hero-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--white);
}

.hero-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  flex-grow: 1;
}

.hero-card__arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 18px;
  color: var(--teal);
  transition: transform 0.2s;
}

.hero-card:hover .hero-card__arrow {
  transform: translateX(4px);
}


/* ═══════════════════════════════════════════════════════
   BRAND STORY
   ═══════════════════════════════════════════════════════ */
.story {
  padding: 120px 0;
  background: var(--off-white);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
}

.value-card {
  padding: 44px 32px;
  background: var(--white);
  transition: background 0.3s;
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  opacity: 0;
  transition: opacity 0.3s;
}

.value-card:hover {
  background: var(--teal-subtle);
}

.value-card:hover::before {
  opacity: 1;
}

.value-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 18px;
}

.value-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
  margin-bottom: 12px;
}

.value-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid-grey);
  line-height: 1.8;
}


/* ═══════════════════════════════════════════════════════
   TRUST & SOCIAL PROOF
   ═══════════════════════════════════════════════════════ */
.trust {
  padding: 120px 0;
  background: var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.trust-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.trust-orb--teal {
  top: -100px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(42, 191, 191, 0.06) 0%, transparent 70%);
}

.trust-orb--pink {
  bottom: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 76, 138, 0.05) 0%, transparent 70%);
}

/* Award Badge */
.award {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(212, 168, 83, 0.1);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: 14px;
  padding: 16px 28px;
  margin-bottom: 40px;
}

.award-icon {
  font-size: 36px;
  line-height: 1;
}

.award-text {
  display: flex;
  flex-direction: column;
}

.award-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: -0.2px;
}

.award-year {
  font-size: 12px;
  font-weight: 500;
  color: rgba(212, 168, 83, 0.6);
  letter-spacing: 2px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 60px auto;
  max-width: 560px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  color: var(--teal);
  letter-spacing: -2px;
  line-height: 1.1;
  white-space: nowrap;
}

.stat-label {
  display: block;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.testimonial {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color 0.3s;
}

.testimonial:hover {
  border-color: rgba(42, 191, 191, 0.2);
}

.testimonial-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
  font-style: normal;
  letter-spacing: 0.2px;
}


/* ═══════════════════════════════════════════════════════
   WHAT WE MAKE
   ═══════════════════════════════════════════════════════ */
.products {
  padding: 120px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.product-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 12px 40px rgba(42, 191, 191, 0.1);
}

.product-card__image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
}

.product-card__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.2px;
  padding: 20px 20px 6px;
}

.product-card__desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid-grey);
  padding: 0 20px 20px;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════════════
   DESIGN YOUR OWN
   ═══════════════════════════════════════════════════════ */
.design {
  padding: 120px 0;
  background: var(--teal-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.design::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.design-body {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.design-features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  line-height: 2;
}

.design-dot {
  color: rgba(255, 255, 255, 0.25);
  font-size: 18px;
}

.design-cta {
  display: inline-block;
  background: var(--white);
  color: var(--teal-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  padding: 18px 40px;
  border-radius: 12px;
  letter-spacing: -0.3px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.design-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}


/* ═══════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════ */
.newsletter {
  padding: 100px 0;
  background: var(--off-white);
  text-align: center;
}

.newsletter .section-title {
  margin-bottom: 12px;
}

.newsletter-body {
  font-size: 17px;
  font-weight: 300;
  color: var(--mid-grey);
  margin-bottom: 36px;
  line-height: 1.7;
}

.newsletter-form {
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input-wrap {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--light-grey);
  background: var(--white);
  transition: border-color 0.2s;
}

.newsletter-input-wrap:focus-within {
  border-color: var(--teal);
}

.newsletter-input {
  flex: 1;
  padding: 16px 20px;
  font-size: 15px;
  background: transparent;
  color: var(--charcoal);
  min-width: 0;
}

.newsletter-input::placeholder {
  color: var(--mid-grey);
}

.newsletter-btn {
  background: var(--teal-deep);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--teal);
}

.newsletter-small {
  font-size: 12px;
  color: var(--mid-grey);
  margin-top: 14px;
}

.newsletter-success {
  text-align: center;
  padding: 24px;
  background: var(--teal-muted);
  border-radius: 12px;
  margin-top: 16px;
}

.newsletter-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-success__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--teal-dark);
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 80px 0 48px;
  text-align: center;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1px;
}

.footer-tagline {
  font-family: var(--font-accent);
  font-size: 20px;
  color: var(--pink-soft);
  margin-top: 6px;
}

.footer-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  margin: 32px auto;
  border-radius: 2px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-meta {
  margin-bottom: 24px;
}

.footer-location {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.footer-instagram {
  font-size: 13px;
  font-weight: 500;
  color: var(--teal);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.3px;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .testimonials {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 28, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 20px;
  }

  .nav-cta {
    font-size: 18px !important;
    padding: 14px 32px;
  }

  .hero {
    padding: calc(var(--nav-height) + 40px) 20px 60px;
  }

  .hero-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: none;
  }

  .hero-card {
    padding: 24px 20px;
  }

  .hero-card__icon {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .story,
  .trust,
  .products,
  .design,
  .newsletter {
    padding: 80px 0;
  }

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

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

  .stat-number {
    font-size: clamp(32px, 8vw, 48px);
  }

  .testimonials {
    grid-template-columns: 1fr;
  }

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

  .product-card__image {
    height: 140px;
  }

  .design-features {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .design-dot {
    display: none;
  }

  .design-features span:not(.design-dot)::before {
    content: '✓ ';
    color: rgba(255, 255, 255, 0.35);
  }

  .newsletter-input-wrap {
    flex-direction: column;
    border-radius: 12px;
  }

  .newsletter-btn {
    border-radius: 0 0 11px 11px;
  }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}
