
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Fredoka:wght@400;500;600;700&display=swap');

:root {
  --cream: #F8F3E8;
  --orange: #C45430;
  --green: #40563A;
  --mustard: #E5A719;
  --brown: #654C37;
  --white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--green);
}

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

.announcement {
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 11px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.header {
  max-width: 1400px;
  margin: auto;
  padding: 25px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  font-family: 'Fredoka', sans-serif;
  color: var(--orange);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1px;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

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

.nav-button {
  background: var(--green);
  color: white !important;
  padding: 13px 20px;
  border-radius: 30px;
}

/* HERO */

.hero {
  min-height: 650px;
  max-width: 1400px;
  margin: auto;
  padding: 65px 6% 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 800;
  color: var(--orange);
}

.hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(46px, 5.5vw, 85px);
  line-height: 1.03;
  letter-spacing: -2.5px;
  margin: 24px 0;
  font-weight: 700;
}

.hero h1 span {
  color: var(--orange);
}

.hero-content > p {
  font-size: 19px;
  line-height: 1.8;
  max-width: 440px;
  color: var(--brown);
}

.primary-button {
  background: var(--orange);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 20px;
  transition: transform 0.25s, background 0.25s;
}

.primary-button:hover {
  transform: translateY(-4px);
  background: var(--green);
}

.coming-soon {
  margin-top: 35px;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--brown);
  font-weight: 700;
}

/* ROVER'S STAGE */

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.dog-stage {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1;
  background: var(--mustard);
  border-radius: 45% 55% 55% 45% / 50% 45% 55% 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: blobFloat 6s ease-in-out infinite;
}

.rover-mascot {
  width: 110%;
  transform: rotate(-5deg);
  animation: roverEnter 1.2s ease-out both;
}

.rover-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 12px rgba(55, 45, 28, 0.12));
}

.dog-decoration {
  position: absolute;
  font-size: 43px;
}

.bone {
  top: 8%;
  right: 5%;
  transform: rotate(25deg);
}

.paw {
  bottom: 10%;
  left: 3%;
  transform: rotate(-20deg);
}

@keyframes blobFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

@keyframes roverEnter {
  from {
    opacity: 0;
    transform: translateY(35px) rotate(-5deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(-5deg);
  }
}

/* ABOUT */

.about {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 110px 8%;
}

.about .eyebrow {
  color: var(--mustard);
}

.about h2,
.treats h2,
.join h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.1;
  margin: 20px 0;
}

.about p {
  font-size: 17px;
  max-width: 650px;
  margin: 25px auto 0;
  line-height: 1.9;
}

/* TREATS */

.treats {
  text-align: center;
  padding: 110px 6%;
  max-width: 1400px;
  margin: auto;
}

.section-intro {
  color: var(--brown);
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  margin-top: 55px;
}

.product-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.product-image {
  height: 260px;
  background: #EADBC3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card:nth-child(2) .product-image {
  background: #E8B35A;
}

.product-card:nth-child(3) .product-image {
  background: #D8E1C6;
}

.product-image span {
  font-size: 90px;
}

.product-info {
  padding: 30px;
}

.product-info h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 24px;
  margin: 0 0 10px;
}

.product-info p {
  color: var(--brown);
  margin-bottom: 25px;
}

.product-status {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--orange);
}

/* JOIN THE PACK */

.join {
  padding: 110px 6%;
  background: var(--mustard);
  text-align: center;
}

.join .eyebrow {
  color: var(--green);
}

.join > p {
  max-width: 530px;
  margin: 20px auto 35px;
  line-height: 1.8;
  font-size: 17px;
}

#signup-form {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: auto;
}

#signup-form input {
  flex: 1;
  min-width: 0;
  padding: 20px;
  border: none;
  border-radius: 50px;
  background: white;
  font: inherit;
}

#signup-form button {
  border: none;
  border-radius: 50px;
  padding: 20px 25px;
  background: var(--green);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

#signup-form button:hover {
  background: var(--orange);
}

#signup-message {
  font-weight: 700;
  min-height: 20px;
}

/* FOOTER */

.footer {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.footer h3 {
  font-family: 'Fredoka', sans-serif;
  color: var(--mustard);
  font-size: 30px;
  margin: 0 0 12px;
}

.footer p {
  margin: 10px 0;
}

.copyright {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 30px !important;
}

/* ACCESSIBILITY */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

/* MOBILE */

@media (max-width: 850px) {
  .header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .header nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 45px;
  }

  .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

  .dog-stage {
    max-width: 380px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  #signup-form {
    flex-direction: column;
  }

  #signup-form button {
    width: 100%;
  }
}

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

