/*
Theme Name: Pet Lovers
Theme URI: https://pl.aromanish.com
Author: Aromanish
Author URI: https://aromanish.com
Description: A fully customizable WordPress theme for Pet Lovers — covering Pakistani & international pet care, food, cultural products, and services.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pet-lovers
Tags: pets, animals, blog, e-commerce, customizable, pakistan, international
*/

/* ===================== CSS VARIABLES ===================== */
:root {
  --pl-primary: #2E7D32;
  --pl-secondary: #FF6F00;
  --pl-accent: #1565C0;
  --pl-light: #F1F8E9;
  --pl-dark: #1B2F1B;
  --pl-text: #2C3E2D;
  --pl-muted: #607D5A;
  --pl-white: #ffffff;
  --pl-border: #C8E6C9;
  --pl-card-bg: #FAFFF9;
  --pl-hero-gradient: linear-gradient(135deg, #1B4332 0%, #2E7D32 50%, #FF6F00 100%);
  --pl-font-heading: 'Playfair Display', Georgia, serif;
  --pl-font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --pl-radius: 12px;
  --pl-shadow: 0 4px 24px rgba(46,125,50,0.12);
  --pl-transition: all 0.3s ease;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--pl-font-body);
  color: var(--pl-text);
  background: var(--pl-white);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pl-primary); text-decoration: none; transition: var(--pl-transition); }
a:hover { color: var(--pl-secondary); }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--pl-font-heading);
  color: var(--pl-dark);
  line-height: 1.3;
}

/* ===================== LAYOUT ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--pl-light); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* ===================== HEADER ===================== */
#masthead {
  background: var(--pl-white);
  box-shadow: 0 2px 16px rgba(46,125,50,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title { font-family: var(--pl-font-heading); font-size: 1.6rem; font-weight: 700; color: var(--pl-primary); }
.site-title a { color: inherit; }
.site-description { font-size: 0.8rem; color: var(--pl-muted); }
.header-logo img { max-height: 60px; width: auto; }

/* Top Bar */
.top-bar {
  background: var(--pl-dark);
  color: #ccc;
  font-size: 0.82rem;
  padding: 6px 0;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: #aed581; }

/* ===================== NAVIGATION ===================== */
#primary-navigation ul { display: flex; gap: 4px; }
#primary-navigation ul li { position: relative; }
#primary-navigation ul li a {
  display: block;
  padding: 10px 18px;
  color: var(--pl-text);
  font-weight: 500;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: var(--pl-transition);
}
#primary-navigation ul li a:hover,
#primary-navigation ul li.current-menu-item > a {
  background: var(--pl-light);
  color: var(--pl-primary);
}
#primary-navigation ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--pl-white);
  border-radius: var(--pl-radius);
  box-shadow: var(--pl-shadow);
  min-width: 200px;
  flex-direction: column;
  z-index: 999;
  border: 1px solid var(--pl-border);
}
#primary-navigation ul li:hover > ul { display: flex; }
#primary-navigation ul ul li a { padding: 10px 20px; border-radius: 0; }
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--pl-primary);
  color: var(--pl-primary);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* ===================== HERO ===================== */
.hero-section {
  background: var(--pl-hero-gradient);
  color: var(--pl-white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 200"><path fill="rgba(255,255,255,0.04)" d="M0,100 C360,180 720,20 1440,100 L1440,200 L0,200Z"/></svg>') bottom/cover no-repeat;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-family: var(--pl-font-heading);
  color: var(--pl-white);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-title span { color: #FFD54F; }
.hero-desc { font-size: 1.1rem; opacity: 0.9; margin-bottom: 36px; max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.hero-stat .num { font-size: 2rem; font-weight: 700; color: #FFD54F; font-family: var(--pl-font-heading); }
.hero-stat .label { font-size: 0.85rem; opacity: 0.8; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--pl-transition);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: var(--pl-secondary);
  color: var(--pl-white);
  border-color: var(--pl-secondary);
}
.btn-primary:hover { background: #E65100; border-color: #E65100; color: var(--pl-white); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--pl-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--pl-white); }
.btn-green {
  background: var(--pl-primary);
  color: var(--pl-white);
  border-color: var(--pl-primary);
}
.btn-green:hover { background: #1B5E20; color: var(--pl-white); transform: translateY(-2px); }

/* ===================== SECTION HEADINGS ===================== */
.section-heading { margin-bottom: 50px; }
.section-heading .label {
  display: inline-block;
  background: var(--pl-light);
  color: var(--pl-primary);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
  border: 1px solid var(--pl-border);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-heading h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.section-heading p { color: var(--pl-muted); max-width: 560px; font-size: 1.05rem; }
.section-heading.center p { margin: 0 auto; }

/* ===================== CARDS ===================== */
.card {
  background: var(--pl-card-bg);
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  padding: 28px;
  transition: var(--pl-transition);
}
.card:hover { box-shadow: var(--pl-shadow); transform: translateY(-4px); border-color: var(--pl-primary); }
.card-icon {
  width: 56px; height: 56px;
  background: var(--pl-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--pl-muted); font-size: 0.95rem; }

/* Services Card */
.service-card { position: relative; overflow: hidden; }
.service-card .service-img {
  width: 100%; height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 18px;
  background: var(--pl-light);
}
.service-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.tag-pk { background: #E8F5E9; color: #2E7D32; }
.tag-intl { background: #E3F2FD; color: #1565C0; }
.tag-food { background: #FFF3E0; color: #E65100; }
.tag-care { background: #F3E5F5; color: #6A1B9A; }

/* Pricing */
.pricing-card {
  background: var(--pl-white);
  border: 2px solid var(--pl-border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--pl-transition);
  position: relative;
}
.pricing-card.featured {
  border-color: var(--pl-primary);
  background: var(--pl-dark);
  color: var(--pl-white);
}
.pricing-card.featured h3,
.pricing-card.featured .price { color: var(--pl-white); }
.pricing-card.featured p,
.pricing-card.featured ul li { color: #ccc; }
.pricing-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--pl-secondary);
  color: white;
  padding: 5px 18px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}
.price { font-size: 2.8rem; font-weight: 700; color: var(--pl-primary); font-family: var(--pl-font-heading); }
.price span { font-size: 1rem; font-weight: 400; opacity: 0.7; }
.pricing-card .price-period { font-size: 0.85rem; color: var(--pl-muted); margin-bottom: 24px; }
.pricing-features { text-align: left; margin: 24px 0; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--pl-border); font-size: 0.92rem; }
.pricing-features li::before { content: '✓ '; color: var(--pl-primary); font-weight: 700; }
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.1); }
.pricing-card.featured .pricing-features li::before { color: #aed581; }

/* Blog Cards */
.blog-card { background: var(--pl-white); border-radius: var(--pl-radius); overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: var(--pl-transition); border: 1px solid var(--pl-border); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--pl-shadow); }
.blog-card-img { height: 200px; background: var(--pl-light); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; }
.blog-meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--pl-muted); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 10px; line-height: 1.4; }
.blog-card h3 a { color: var(--pl-dark); }
.blog-card h3 a:hover { color: var(--pl-primary); }
.read-more { color: var(--pl-primary); font-weight: 600; font-size: 0.9rem; }

/* Team / About */
.team-card { text-align: center; }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; background: var(--pl-light); border: 4px solid var(--pl-border); overflow: hidden; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-size: 1.05rem; font-weight: 700; }
.team-role { color: var(--pl-muted); font-size: 0.88rem; }

/* ===================== FEATURES / WHAT WE DO ===================== */
.feature-item { display: flex; gap: 20px; margin-bottom: 32px; }
.feature-icon { flex-shrink: 0; width: 52px; height: 52px; background: var(--pl-light); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.feature-content h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-content p { color: var(--pl-muted); font-size: 0.92rem; }

/* Products */
.product-card {
  background: var(--pl-white);
  border-radius: var(--pl-radius);
  overflow: hidden;
  border: 1px solid var(--pl-border);
  transition: var(--pl-transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--pl-shadow); }
.product-img { height: 180px; background: var(--pl-light); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.product-body { padding: 18px; }
.product-name { font-weight: 700; margin-bottom: 4px; }
.product-type { font-size: 0.78rem; color: var(--pl-muted); margin-bottom: 8px; }
.product-price { color: var(--pl-secondary); font-weight: 700; font-size: 1.1rem; }
.product-origin { font-size: 0.75rem; color: var(--pl-accent); margin-top: 4px; }

/* ===================== TESTIMONIALS ===================== */
.testimonial-card {
  background: var(--pl-white);
  border: 1px solid var(--pl-border);
  border-radius: var(--pl-radius);
  padding: 28px;
  position: relative;
}
.testimonial-card::before { content: '"'; font-size: 4rem; color: var(--pl-light); position: absolute; top: 10px; left: 20px; font-family: serif; line-height: 1; }
.testimonial-text { position: relative; z-index: 1; color: var(--pl-muted); margin-bottom: 20px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pl-light); }
.testimonial-name { font-weight: 700; font-size: 0.9rem; }
.testimonial-city { font-size: 0.78rem; color: var(--pl-muted); }
.stars { color: #FFB300; font-size: 0.85rem; }

/* ===================== CTA SECTION ===================== */
.cta-section {
  background: var(--pl-hero-gradient);
  color: var(--pl-white);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { color: var(--pl-white); font-size: 2.2rem; margin-bottom: 16px; }
.cta-section p { opacity: 0.85; margin-bottom: 32px; }

/* ===================== FOOTER ===================== */
#colophon {
  background: var(--pl-dark);
  color: #9E9E9E;
  padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .site-title { color: #aed581; font-size: 1.4rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: var(--pl-white); font-size: 0.95rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #9E9E9E; font-size: 0.9rem; }
.footer-col ul li a:hover { color: #aed581; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #9E9E9E;
  font-size: 0.9rem;
  transition: var(--pl-transition);
}
.footer-social a:hover { background: var(--pl-primary); color: white; }

/* ===================== BREADCRUMBS ===================== */
.breadcrumbs {
  background: var(--pl-light);
  padding: 14px 0;
  font-size: 0.88rem;
}
.breadcrumbs a { color: var(--pl-primary); }
.breadcrumbs span { color: var(--pl-muted); }

/* ===================== PAGE HERO ===================== */
.page-hero {
  background: var(--pl-hero-gradient);
  color: var(--pl-white);
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--pl-white); font-size: 2.5rem; margin-bottom: 12px; }
.page-hero p { opacity: 0.85; font-size: 1.05rem; }

/* ===================== BLOG / ARCHIVE ===================== */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.sidebar-widget { background: var(--pl-card-bg); border: 1px solid var(--pl-border); border-radius: var(--pl-radius); padding: 24px; margin-bottom: 24px; }
.sidebar-widget h4 { font-size: 1rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--pl-primary); }
.widget-search input[type="search"] { width: 100%; padding: 10px 14px; border: 1px solid var(--pl-border); border-radius: 8px; font-size: 0.9rem; }
.cat-list li { padding: 6px 0; border-bottom: 1px solid var(--pl-border); font-size: 0.9rem; }
.cat-list li a { display: flex; justify-content: space-between; }
.cat-count { background: var(--pl-light); padding: 1px 8px; border-radius: 10px; font-size: 0.78rem; }

/* ===================== SINGLE POST ===================== */
.post-content { max-width: 780px; }
.post-content h2 { font-size: 1.6rem; margin: 32px 0 14px; }
.post-content p { margin-bottom: 18px; color: var(--pl-text); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 18px; }
.post-content li { margin-bottom: 6px; }
.post-tags a { display: inline-block; padding: 4px 12px; background: var(--pl-light); border-radius: 20px; font-size: 0.82rem; margin: 4px 4px 4px 0; color: var(--pl-primary); }

/* ===================== FORMS ===================== */
.pl-form input, .pl-form textarea, .pl-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--pl-border);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--pl-font-body);
  transition: var(--pl-transition);
  background: var(--pl-white);
}
.pl-form input:focus, .pl-form textarea:focus {
  outline: none;
  border-color: var(--pl-primary);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}
.pl-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.pl-form .form-group { margin-bottom: 20px; }
.pl-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===================== CONTACT / MAP ===================== */
.contact-info-item { display: flex; gap: 14px; margin-bottom: 20px; }
.contact-info-icon { width: 44px; height: 44px; background: var(--pl-light); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

/* ===================== ACCORDION / FAQ ===================== */
.faq-item { border: 1px solid var(--pl-border); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 22px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background: var(--pl-white); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--pl-muted); font-size: 0.95rem; }
.faq-item.open .faq-answer { max-height: 400px; padding: 0 22px 18px; }
.faq-item.open .faq-question { color: var(--pl-primary); }

/* ===================== CULTURAL SECTION ===================== */
.culture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.culture-card {
  border-radius: var(--pl-radius);
  padding: 32px;
  color: var(--pl-white);
  position: relative;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.culture-card.pk { background: linear-gradient(135deg, #1B5E20, #388E3C); }
.culture-card.intl { background: linear-gradient(135deg, #0D47A1, #1976D2); }
.culture-card.food { background: linear-gradient(135deg, #BF360C, #E64A19); }
.culture-card.wellness { background: linear-gradient(135deg, #4A148C, #7B1FA2); }
.culture-card h3 { color: white; font-size: 1.2rem; }
.culture-card p { opacity: 0.85; font-size: 0.9rem; }
.culture-emoji { font-size: 2.5rem; margin-bottom: 12px; }

/* ===================== STATS BAR ===================== */
.stats-bar { background: var(--pl-primary); color: white; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: 2.2rem; font-weight: 700; font-family: var(--pl-font-heading); }
.stat-label { font-size: 0.88rem; opacity: 0.8; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4, .blog-layout { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .hero-section { padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  #primary-navigation { display: none; width: 100%; }
  #primary-navigation.active { display: block; }
  #primary-navigation ul { flex-direction: column; }
  #primary-navigation ul ul { position: static; box-shadow: none; }
  .menu-toggle { display: block; }
  .site-header-inner { flex-wrap: wrap; gap: 12px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .pl-form .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .hero-cta { flex-direction: column; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
