/* PetPets — style.css */

:root {
  --coral: #ff6f59;
  --coral-dark: #e0523f;
  --teal: #1b9c8e;
  --teal-dark: #14776c;
  --cream: #fff8ef;
  --card: #ffffff;
  --ink: #2c2420;
  --ink-soft: #5a5049;
  --gold: #ffc857;
  --radius: 22px;
  --shadow: 0 10px 25px rgba(44, 36, 32, 0.10);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Trebuchet MS", "Segoe UI", Verdana, Tahoma, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
}

a { color: var(--teal-dark); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top bar */
header.topbar {
  background: var(--coral);
  color: #fff;
  padding: 14px 0;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: #fff;
}

.brand .paw { margin-right: 6px; }

.topbar nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  margin-left: 22px;
  opacity: 0.92;
}

.topbar nav a:hover { text-decoration: underline; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--coral) 0%, #ff8a63 55%, var(--gold) 100%);
  color: #fff;
  padding: 64px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "🐾";
  position: absolute;
  font-size: 9rem;
  opacity: 0.12;
  top: -20px;
  left: -20px;
  transform: rotate(-18deg);
}

.hero::after {
  content: "🐾";
  position: absolute;
  font-size: 9rem;
  opacity: 0.12;
  bottom: -30px;
  right: -10px;
  transform: rotate(20deg);
}

.hero h1 {
  font-size: 3.2rem;
  margin: 0 0 6px;
  font-weight: 900;
  text-shadow: 0 3px 0 rgba(0,0,0,0.08);
}

.hero .tagline {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 18px;
}

.hero .subline {
  max-width: 640px;
  margin: 0 auto 26px;
  font-size: 1.1rem;
  opacity: 0.97;
}

.hero .double-down {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 2px dashed rgba(255,255,255,0.6);
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 30px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn.secondary {
  background: #fff;
  color: var(--coral-dark);
}

.btn.secondary:hover { background: #ffe9e2; }

/* Sections */
section { padding: 56px 0; }

.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 900;
  margin: 0 0 8px;
  color: var(--coral-dark);
}

.section-sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* Featured product */
.product {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}

.product-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  box-shadow: var(--shadow);
}

.product-gallery .cover {
  grid-row: 1 / 3;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: #5a3f00;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.product h3 {
  font-size: 1.9rem;
  margin: 0 0 6px;
  color: var(--ink);
}

.price {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--coral-dark);
  margin: 0 0 16px;
}

.product ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--ink-soft);
}

.product ul li { margin-bottom: 6px; }

.product .fine {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* Coming to the litter */
.litter {
  background: #fff2e6;
}

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

.litter-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid #ffe1cc;
}

.litter-card .paw-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 10px;
}

.litter-card h4 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.litter-card .soon {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--teal-dark);
  background: #e3f5f2;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Honest note */
.honest {
  text-align: center;
}

.honest .box {
  max-width: 680px;
  margin: 0 auto;
  background: #eaf6f4;
  border: 2px dashed var(--teal);
  border-radius: var(--radius);
  padding: 26px 30px;
  color: var(--ink);
}

.honest .box strong { color: var(--teal-dark); }

/* Footer */
footer {
  background: #2c2420;
  color: #f2e9df;
  padding: 32px 0;
  text-align: center;
  font-size: 0.92rem;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

footer .fine {
  margin-top: 8px;
  opacity: 0.7;
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 820px) {
  .product {
    grid-template-columns: 1fr;
  }
  .litter-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 2.3rem; }
  .hero .tagline { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar nav a { margin: 0 10px; }
  .product { padding: 22px; }
}
