/*
Theme Name: Petova
Theme URI: https://petovainc.com/
Author: Petova INC
Author URI: https://petovainc.com/
Description: A premium one-page WordPress theme for Petova INC — a Long Island based pet retail company specializing in premium imported pet furniture and accessories. Clean whites, warm neutrals, and a deep forest-green accent.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: petova
Tags: one-page, business, e-commerce, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, sticky-post, theme-options
*/

/* -------------------------------------------------------------------------
   Design tokens
------------------------------------------------------------------------- */
:root {
  --background: #faf8f3;
  --foreground: #1d2a22;
  --card: #ffffff;
  --primary: #1f4d36;       /* deep forest green */
  --primary-foreground: #faf8f3;
  --secondary: #efece4;
  --muted: #efece4;
  --muted-foreground: #5a6a60;
  --accent: #d8e4d8;
  --border: #e3ddd1;
  --radius: 0.5rem;

  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* -------------------------------------------------------------------------
   Base
------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
}

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .container { padding: 0 2.5rem; } }

.section { padding: 7rem 0; }
@media (min-width: 1024px) { .section { padding: 9rem 0; } }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, color 0.2s;
}
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { opacity: 0.9; }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--secondary); }
.btn .arrow { display: inline-block; transition: transform 0.2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   Header
------------------------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.site-logo img { height: 40px; width: auto; object-fit: contain; }
.site-nav { display: none; gap: 2.25rem; font-size: 0.875rem; font-weight: 500; }
.site-nav a { color: rgba(29, 42, 34, 0.8); transition: color 0.2s; }
.site-nav a:hover { color: var(--primary); }
.site-header .btn { display: none; }
@media (min-width: 768px) {
  .site-nav { display: inline-flex; }
  .site-header .btn { display: inline-flex; }
}

/* -------------------------------------------------------------------------
   Hero
------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; min-height: 88vh; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; } }
.hero-content {
  display: flex; align-items: center;
  padding: 8rem 1.5rem 4rem;
  background: var(--background);
}
@media (min-width: 1024px) { .hero-content { padding: 8rem 4rem; } }
.hero-content > div { max-width: 36rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary);
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 9999px; background: var(--primary); }
.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
}
.hero h1 .accent { color: var(--primary); }
.hero-lede { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted-foreground); }
.hero-actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.5rem; max-width: 28rem;
}
.stat-n { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.stat-l { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); margin-top: 0.25rem; }

.hero-image { position: relative; min-height: 50vh; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(31,77,54,0.10), transparent);
}

/* -------------------------------------------------------------------------
   About
------------------------------------------------------------------------- */
.about { background: rgba(239, 236, 228, 0.4); }
.about h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); max-width: 48rem; }
.about p {
  margin-top: 2rem; font-size: 1.125rem;
  color: rgba(29, 42, 34, 0.75); max-width: 48rem;
}
.about p + p { margin-top: 1.25rem; }

/* -------------------------------------------------------------------------
   Categories / Featured shared
------------------------------------------------------------------------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.section-head h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted-foreground); max-width: 28rem; margin: 0; }

.card-grid {
  margin-top: 3.5rem;
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 77, 54, 0.4);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15);
}
.card-media { overflow: hidden; background: var(--muted); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card:hover .card-media img { transform: scale(1.05); }

.cat-media { aspect-ratio: 4 / 3; }
.cat-body { padding: 1.75rem; }
.cat-body .icon { font-size: 1.5rem; }
.cat-body h3 { margin-top: 0.75rem; font-size: 1.25rem; }
.cat-body p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }
.cat-link { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); }

/* Featured product cards */
.product-media { aspect-ratio: 4 / 5; position: relative; }
.product-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.625rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); border: 1px solid var(--border);
}
.product-body { padding: 1.5rem; }
.product-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.product-head h3 { font-size: 1.125rem; }
.product-sku { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); font-weight: 500; }
.product-body p { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); }

.center { text-align: center; margin-top: 3rem; }

/* -------------------------------------------------------------------------
   Why Petova
------------------------------------------------------------------------- */
.why { background: var(--primary); color: var(--primary-foreground); }
.why h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); max-width: 36rem; }
.why .eyebrow { color: rgba(250, 248, 243, 0.7); }
.trust-grid {
  margin-top: 4rem;
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(250, 248, 243, 0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.trust h3 { margin-top: 1.5rem; font-size: 1.125rem; }
.trust p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(250, 248, 243, 0.7); }

/* -------------------------------------------------------------------------
   Contact
------------------------------------------------------------------------- */
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
}
@media (min-width: 1024px) { .contact-card { padding: 4rem; } }
.contact-grid { display: grid; gap: 3rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact h2 { margin-top: 1rem; font-size: clamp(2rem, 4vw, 3rem); }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-row {
  display: flex; align-items: flex-start; gap: 1rem;
  background: var(--secondary); padding: 1.25rem; border-radius: 0.75rem;
  transition: background 0.2s;
}
.contact-row:hover { background: var(--accent); }
.contact-row .icon { font-size: 1.5rem; }
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.contact-value { font-weight: 600; margin-top: 0.25rem; }

/* -------------------------------------------------------------------------
   Footer
------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); padding: 3rem 0; }
.site-footer .container {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.site-footer .brand { display: flex; align-items: center; gap: 0.5rem; color: var(--primary); font-family: var(--font-display); font-weight: 700; }
.site-footer .copyright,
.site-footer a { font-size: 0.875rem; color: var(--muted-foreground); }
.site-footer a:hover { color: var(--primary); }
