@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

:root {
  --primary: #009999;
  --accent: #333;
  --bg: #fefefe;
  --paw-color: #009999;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg);
  color: var(--accent);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* === Animated Background === */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(135deg, #e5f9f8, #ffffff);
}

/* Paw print container to hold multiple paw prints */
.paw {
  position: absolute;
  border-radius: 50%;
  border: 3px solid var(--paw-color);
  background: transparent;
  filter: drop-shadow(0 0 3px var(--primary));
  opacity: 0.1;
  box-shadow:
    7px 2px 0 0 var(--bg),
    7px 2px 0 3px var(--paw-color),
    20px 2px 0 0 var(--bg),
    20px 2px 0 3px var(--paw-color),
    33px 2px 0 0 var(--bg),
    33px 2px 0 3px var(--paw-color),
    43px 15px 0 0 var(--bg),
    43px 15px 0 3px var(--paw-color);
  animation-name: floatUpRotateFade;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Position and animation delays for each paw */
.paw:nth-child(1) {
  left: 5%;
  bottom: -60px;
  animation-duration: 28s;
  animation-delay: 0s;
  width: 50px;
  height: 50px;
}

.paw:nth-child(2) {
  left: 25%;
  bottom: -80px;
  animation-duration: 32s;
  animation-delay: 6s;
  width: 40px;
  height: 40px;
}

.paw:nth-child(3) {
  left: 45%;
  bottom: -70px;
  animation-duration: 30s;
  animation-delay: 12s;
  width: 55px;
  height: 55px;
}

.paw:nth-child(4) {
  left: 65%;
  bottom: -90px;
  animation-duration: 26s;
  animation-delay: 18s;
  width: 45px;
  height: 45px;
}

.paw:nth-child(5) {
  left: 80%;
  bottom: -65px;
  animation-duration: 31s;
  animation-delay: 24s;
  width: 50px;
  height: 50px;
}

.paw:nth-child(6) {
  left: 90%;
  bottom: -85px;
  animation-duration: 29s;
  animation-delay: 8s;
  width: 42px;
  height: 42px;
}

/* Paw floating and rotation animation */
@keyframes floatUpRotateFade {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.1;
  }
  50% {
    opacity: 0.25;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg);
    opacity: 0;
  }
}

/* === Header & Hero === */
header {
  background: white;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 5px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 60px;
  width: auto;
  border-radius: 8px;
}

.logo-text {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
}

.hero {
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  color: var(--primary);
}

.hero p {
  margin-top: 1rem;
  font-size: 1.2rem;
  color: #444;
}

.byline {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

.section {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  padding: 1.5rem;
  border-left: 5px solid var(--primary);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: scale(1.02);
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

.product-card p {
  color: #555;
  font-size: 0.95rem;
}

.about, .contact {
  background: white;
  border-left: 5px solid var(--primary);
  padding: 2rem;
  margin-top: 2rem;
}

footer {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .logo-text {
    font-size: 1.5rem;
  }
}
