/* ============================================
   PANORAMA PET MARKET — Warm, Cozy, Inviting
   ============================================ */

:root {
  --warm-cream: #FAF6F1;
  --soft-beige: #F0E6D8;
  --warm-tan: #C4A882;
  --deep-brown: #5C4033;
  --rich-brown: #3E2723;
  --rose-gold: #B8877A;
  --soft-pink: #E8CFC4;
  --muted-sage: #A8B5A0;
  --text-dark: #2C2118;
  --text-muted: #7A6B5D;
  --white: #FFFFFF;
  --shadow-soft: 0 4px 30px rgba(92, 64, 51, 0.08);
  --shadow-hover: 0 8px 40px rgba(92, 64, 51, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--warm-cream);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

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

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

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

.center {
  text-align: center;
}

/* ---- Section Labels ---- */
.section-label {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 48px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--warm-tan);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rose-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--deep-brown);
  border: 2px solid var(--warm-tan);
}

.btn-outline:hover {
  background: var(--warm-tan);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---- Image Placeholders ---- */
.image-placeholder {
  background: linear-gradient(135deg, var(--soft-beige), var(--soft-pink));
  border: 2px dashed var(--warm-tan);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 350px;
  width: 100%;
}

.image-placeholder.tall {
  min-height: 420px;
}

.image-placeholder.wide {
  min-height: 300px;
}

.image-placeholder small {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(196, 168, 130, 0.1);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-soft);
}

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

.nav-logo img {
  height: 55px;
  width: auto;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--warm-tan);
  transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--warm-tan);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-cta:hover {
  background: var(--rose-gold);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--deep-brown);
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--warm-cream) 0%, var(--soft-beige) 50%, var(--soft-pink) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(184, 135, 122, 0.15), transparent 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 120px 24px 80px 80px;
}

.hero-tagline {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.8rem;
  color: var(--rich-brown);
  margin-bottom: 24px;
}

.hero h1 em {
  color: var(--rose-gold);
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  animation: heroZoom 20s ease infinite alternate;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--warm-cream) 0%, transparent 30%);
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* Enhanced hover for product images */
.product-image img {
  transition: transform 0.6s ease;
}
.product-card:hover .product-image img {
  transform: scale(1.08);
}

/* Staggered fade-in delays */
.product-card:nth-child(1) { transition-delay: 0s; }
.product-card:nth-child(2) { transition-delay: 0.15s; }
.product-card:nth-child(3) { transition-delay: 0.3s; }
.feature-card:nth-child(1) { transition-delay: 0s; }
.feature-card:nth-child(2) { transition-delay: 0.1s; }
.feature-card:nth-child(3) { transition-delay: 0.2s; }
.feature-card:nth-child(4) { transition-delay: 0.3s; }

/* Hero content entrance animation */
.hero-content {
  animation: heroSlideIn 1s ease forwards;
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: var(--rich-brown);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-text .btn {
  margin-top: 12px;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
  padding: 120px 0;
  background: var(--warm-cream);
}

.products h2 {
  font-size: 2.5rem;
  color: var(--rich-brown);
  margin-bottom: 16px;
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-soft);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  overflow: hidden;
}

.product-info {
  padding: 28px;
}

.product-info h3 {
  font-size: 1.3rem;
  color: var(--deep-brown);
  margin-bottom: 8px;
}

.product-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--rose-gold);
  font-weight: 600;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: 120px 0;
  background: var(--white);
}

.features h2 {
  font-size: 2.5rem;
  color: var(--rich-brown);
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.feature-card {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius);
  background: var(--warm-cream);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  color: var(--rose-gold);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.15rem;
  color: var(--deep-brown);
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--soft-beige), var(--soft-pink));
}

.quote-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quote-text blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--rich-brown);
  line-height: 1.6;
  font-style: italic;
}

.quote-text blockquote em {
  color: var(--rose-gold);
  font-style: italic;
}

.quote-attr {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: 120px 0;
  background: var(--warm-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text h2 {
  font-size: 2.5rem;
  color: var(--rich-brown);
  margin-bottom: 20px;
}

.contact-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.contact-details {
  margin-top: 32px;
}

.contact-details p {
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(196, 168, 130, 0.3);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--warm-tan);
  box-shadow: 0 0 0 3px rgba(196, 168, 130, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  font-weight: 300;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--rich-brown);
  padding: 60px 0 30px;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo img {
  height: 60px;
  filter: brightness(10);
  opacity: 0.9;
}

.footer-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

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

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  margin-top: 16px;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .hero-content {
    padding: 120px 24px 80px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-image {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .about-grid,
  .quote-card,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-cream);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .about-text h2,
  .products h2,
  .features h2,
  .contact-text h2 {
    font-size: 2rem;
  }

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

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

  .quote-text blockquote {
    font-size: 1.3rem;
  }
}

/* ============================================
   SHOP — cart button, badges, drawer
   ============================================ */
.cart-btn {
  position: relative; background: var(--deep-brown); color: var(--warm-cream);
  border: none; border-radius: 999px; width: 44px; height: 44px;
  font-size: 1.05rem; cursor: pointer; transition: var(--transition);
}
.cart-btn:hover { background: var(--rich-brown); transform: translateY(-1px); }
.cart-count {
  position: absolute; top: -6px; right: -6px; background: var(--rose-gold); color: var(--white);
  font-size: .72rem; font-weight: 700; width: 21px; height: 21px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; transition: transform .25s;
}
.cart-count.bump { transform: scale(1.35); }
.product-image { position: relative; }
.product-badge {
  position: absolute; top: 14px; left: 14px; background: var(--deep-brown); color: var(--warm-cream);
  font-size: .72rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700;
  padding: 6px 13px; border-radius: 999px;
}
.product-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.btn-cart {
  background: var(--deep-brown); color: var(--warm-cream); border: none;
  padding: 10px 20px; border-radius: 999px; font-family: 'Lato', sans-serif;
  font-weight: 700; font-size: .85rem; cursor: pointer; transition: var(--transition);
}
.btn-cart:hover { background: var(--rose-gold); transform: translateY(-1px); }
.cart-overlay {
  position: fixed; inset: 0; background: rgba(44, 33, 24, .45); opacity: 0;
  pointer-events: none; transition: opacity .3s; z-index: 90;
}
.cart-overlay.show { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: -400px; width: min(380px, 92vw); height: 100vh;
  background: var(--warm-cream); z-index: 95; transition: right .35s ease;
  display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(92,64,51,.2);
}
.cart-drawer.open { right: 0; }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; border-bottom: 1px solid var(--soft-beige);
}
.cart-head h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; }
.cart-close { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--text-muted); }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-empty { color: var(--text-muted); text-align: center; margin-top: 40px; }
.cart-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 0; border-bottom: 1px solid var(--soft-beige); font-size: .95rem;
}
.cart-item small { color: var(--text-muted); }
.cart-item-actions button {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--warm-tan);
  background: var(--white); cursor: pointer; font-size: 1rem; margin-left: 6px; color: var(--deep-brown);
}
.cart-item-actions button:hover { background: var(--soft-beige); }
.cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--soft-beige); }
.cart-subtotal { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 1.05rem; }
.cart-checkout { width: 100%; }
.cart-note { text-align: center; color: var(--text-muted); font-size: .8rem; margin-top: 10px; }
