/*
Theme Name: PetVeet
Theme URI: https://www.petveet.online
Author: PetVeet
Author URI: https://www.petveet.online
Description: One-page premium WordPress theme for pet care services. Home, About, Service, and Contact sections. Language: English.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
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: petveet
Tags: one-page, custom-menu, featured-images, translation-ready
*/

:root {
  --bg: #edf6f3;
  --bg-white: #ffffff;
  --dark: #1b3d38;
  --dark-soft: #2a524b;
  --text: #1a2e2a;
  --text-soft: #4d6660;
  --muted: #7a9690;
  --accent: #ff9f43;
  --accent-dark: #e8892b;
  --accent-teal: #2ec4b6;
  --accent-pink: #ff6b9d;
  --accent-blue: #4dabf7;
  --line: rgba(27, 61, 56, 0.1);
  --shadow: 0 20px 50px rgba(27, 61, 56, 0.14);
  --shadow-soft: 0 8px 24px rgba(27, 61, 56, 0.08);
  --radius: 20px;
  --radius-sm: 12px;
  --header-h: 72px;
  --font-display: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

h1,
h2,
h3,
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 159, 67, 0.15);
  color: var(--accent-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: none;
  background: var(--accent);
  color: var(--dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(255, 159, 67, 0.35);
}

.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.btn-outline:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 61, 56, 0.25);
}

.btn-dark:hover {
  background: var(--dark-soft);
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* Header — floating pill */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.header-shell {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
  pointer-events: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.site-header.is-scrolled .header-inner {
  background: rgba(27, 61, 56, 0.96);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.logo-dot {
  color: var(--accent);
}

.site-header.is-scrolled .logo {
  color: #fff;
}

.site-header.is-scrolled .logo-dot {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

.nav-toggle span {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle::before {
  top: 12px;
}

.nav-toggle::after {
  bottom: 12px;
}

.primary-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  background: var(--bg);
  color: var(--dark);
}

.site-header.is-scrolled .primary-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.site-header.is-scrolled .primary-nav a:hover,
.site-header.is-scrolled .primary-nav a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header-cta {
  min-height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

/* Hero — full-width overlay */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 61, 56, 0.55) 0%, rgba(27, 61, 56, 0.82) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 60px) 24px 120px;
  max-width: 760px;
}

.hero-content h1 {
  font-size: clamp(42px, 7vw, 76px);
  margin: 18px 0 20px;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--accent);
}

.hero-content p {
  font-size: clamp(16px, 2.2vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 48px;
}

.hero-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.hero-chip strong {
  color: var(--accent);
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
}

/* Home bento */
.home-features {
  padding: 80px 0 100px;
  margin-top: -20px;
  position: relative;
  z-index: 4;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 12px 0 10px;
  color: var(--dark);
}

.section-title p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 16px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.bento-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.bento-card.featured {
  grid-column: span 5;
  grid-row: span 2;
}

.bento-card:nth-child(2) { grid-column: span 4; }
.bento-card:nth-child(3) { grid-column: span 3; }
.bento-card:nth-child(4) { grid-column: span 3; }
.bento-card:nth-child(5) { grid-column: span 4; }
.bento-card:nth-child(6) { grid-column: span 5; }

.bento-media {
  position: relative;
  overflow: hidden;
}

.bento-card.featured .bento-media {
  height: 280px;
}

.bento-card:not(.featured) .bento-media {
  height: 140px;
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-media img {
  transform: scale(1.06);
}

.bento-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  background: var(--accent);
  color: var(--dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
}

.bento-body {
  padding: 18px 20px 22px;
}

.bento-body h3 {
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--dark);
}

.bento-body p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* About — split panel */
.about {
  padding: 100px 0;
  background: var(--bg-white);
}

.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 520px;
}

.about-panel {
  background: var(--dark);
  color: #fff;
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-panel .tag {
  background: rgba(255, 159, 67, 0.2);
  color: var(--accent);
  margin-bottom: 16px;
}

.about-panel h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 18px;
}

.about-panel > p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 28px;
  font-size: 15px;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.about-list li::before {
  content: "🐾";
  flex-shrink: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-stat {
  text-align: center;
}

.about-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--accent);
}

.about-stat span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.about-gallery {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0;
  background: var(--bg);
}

.about-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}

/* Services — colorful cards */
.services {
  padding: 100px 0;
  background: var(--bg);
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.service-item:hover {
  transform: translateY(-3px);
}

.service-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.service-item:nth-child(1)::before { background: var(--accent); }
.service-item:nth-child(2)::before { background: var(--accent-teal); }
.service-item:nth-child(3)::before { background: var(--accent-pink); }
.service-item:nth-child(4)::before { background: var(--accent-blue); }

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 26px;
  margin-bottom: 18px;
}

.service-item:nth-child(1) .service-icon { background: rgba(255, 159, 67, 0.15); }
.service-item:nth-child(2) .service-icon { background: rgba(46, 196, 182, 0.15); }
.service-item:nth-child(3) .service-icon { background: rgba(255, 107, 157, 0.15); }
.service-item:nth-child(4) .service-icon { background: rgba(77, 171, 247, 0.15); }

.service-item h3 {
  font-size: 22px;
  margin: 0 0 10px;
  color: var(--dark);
}

.service-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.service-showcase {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 14px;
}

.service-showcase img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

/* Contact */
.contact {
  padding: 100px 0;
  background: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--accent);
  border-radius: 12px;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-card span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card strong,
.contact-card a {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
}

.contact-card a:hover {
  color: var(--accent-dark);
}

.contact-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.contact-map {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.contact-map iframe {
  width: 100%;
  height: 200px;
  border: 0;
}

.contact-form {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
}

.contact-form h3 {
  font-size: 26px;
  margin: 0 0 6px;
  color: var(--dark);
}

.form-lead {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  margin-bottom: 12px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent-teal);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 10px 0 0;
  min-height: 20px;
  font-size: 13px;
  color: var(--accent-dark);
  font-weight: 600;
}

/* Footer — dark multi-column */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: #fff;
  font-size: 28px;
  margin-bottom: 14px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 14px;
  transition: background 0.2s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--dark);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  margin: 0 0 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer-contact-item span:first-child {
  color: var(--accent);
}

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bar a {
  color: var(--accent);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  z-index: 60;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  transition: transform 0.3s ease;
}

.toast.is-visible {
  transform: translateY(0);
}

@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }

  .bento-card,
  .bento-card.featured,
  .bento-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .bento-card.featured .bento-media,
  .bento-card:not(.featured) .bento-media {
    height: 160px;
  }

  .about-wrap {
    grid-template-columns: 1fr;
  }

  .about-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .service-showcase img:first-child {
    grid-column: span 2;
    height: 200px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 12px;
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-header.is-scrolled .primary-nav {
    background: var(--dark-soft);
  }

  .header-cta {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .service-showcase {
    grid-template-columns: 1fr;
  }

  .service-showcase img:first-child {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bar {
    flex-direction: column;
    text-align: center;
  }
}
