/*
Theme Name: Mcshpiltcha Pooper Scooper
Theme URI: https://mcshpiltchascooper.com
Author: A&G Design Build
Description: Premium, SEO-friendly custom WordPress theme for Mcshpiltcha Pooper Scooper featuring glassmorphism design.
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: mcshpiltcha
*/

/* 
  Mcshpiltcha Pooper Scooper VIP Premium Theme
  Modern, Glassmorphism, Clean Aesthetic
*/

:root {
  /* Color Palette - Fresh, Trustworthy, Premium */
  --primary: #10b981;       /* Emerald */
  --primary-dark: #059669;
  --primary-light: #d1fae5;
  --secondary: #0f172a;     /* Slate */
  --accent: #3b82f6;        /* Blue */
  --success: #22c55e;
  --success-light: #dcfce7;
  --warning: #f59e0b;
  --warning-light: #fef3c7;
  
  --bg-color: #f8fafc;
  --bg-light: #ffffff;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #f8fafc;
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-dark: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  /* Typography */
  --font-main: 'Outfit', sans-serif;
  
  /* Spacing */
  --section-pad: 5rem 0;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ================= CSS Reset & Globals ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.5px; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ================= Layout ================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 1000px;
}

.section {
  padding: var(--section-pad);
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.align-center {
  align-items: center;
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary) !important; }
.text-success { color: var(--success) !important; }
.text-warning { color: var(--warning) !important; }
.text-white { color: white !important; }
.bg-light { background-color: var(--bg-light); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-success-light { background-color: var(--success-light); }
.bg-warning-light { background-color: var(--warning-light); }
.bg-gradient { 
  background: linear-gradient(135deg, var(--secondary) 0%, rgba(30, 41, 59, 0.9) 100%);
}
.mb-3 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.w-100 { width: 100%; }

/* ================= Components ================= */
/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* Glass Panels */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
}

.dark-glass {
  background: var(--glass-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.dark-glass h3, .dark-glass h4 {
  color: white;
}

.dark-glass p {
  color: rgba(255, 255, 255, 0.8);
}

/* Effects */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ================= Navbar ================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.has-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.5px;
}

.brand-logo i {
  color: var(--primary);
  font-size: 1.75rem;
}

.brand-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  font-weight: 500;
  position: relative;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* ================= Hero ================= */
.hero {
  padding: 10rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.shape-1 {
  background: rgba(16, 185, 129, 0.2);
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.shape-2 {
  background: rgba(59, 130, 246, 0.15);
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -200px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.avatars {
  display: flex;
}

.avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
}

.avatars img:first-child {
  margin-left: 0;
}

.hero-trust span {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Hero Image & Floating Cards */
.image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1rem;
  background: white;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}

.floating-card {
  position: absolute;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  background: white !important;
  z-index: 10;
  animation: float 6s ease-in-out infinite;
}

.floating-card i {
  font-size: 1.5rem;
}

.card-1 {
  top: 10%;
  left: -10%;
}

.card-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ================= Feature Cards ================= */
.feature-card {
  padding: 2.5rem 2rem;
  text-align: center;
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

/* Details Grid */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
}

.detail-item {
  display: flex;
  gap: 1.5rem;
}

.detail-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ================= Reviews ================= */
.review-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-text {
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
}

.r-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.r-info {
  display: flex;
  flex-direction: column;
}

.r-info strong {
  color: white;
}

.r-info span {
  font-size: 0.875rem;
}

/* ================= Service Area & Offers ================= */
.city-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.city-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.offer-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.accent-border {
  border-top: 4px solid var(--primary);
}

.gradient-border {
  border-top: 4px solid var(--accent);
}

.offer-badge {
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--warning);
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 3rem;
  transform: rotate(45deg);
  text-transform: uppercase;
}

.coupon-box {
  background: rgba(0,0,0,0.03);
  border: 1px dashed rgba(0,0,0,0.2);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.code {
  font-family: monospace;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--secondary);
}

.expiry {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 700;
}

/* ================= Footer ================= */
.footer {
  background-color: var(--secondary);
  color: white;
  padding: 5rem 0 2rem;
}

.footer p {
  color: rgba(255,255,255,0.7);
}

.footer-logo {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-links h4, .footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact i {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.appear {
  opacity: 1;
  transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
.delay-4 { transition-delay: 0.8s; }

/* ================= Responsive ================= */
@media (max-width: 1024px) {
  .hero-container, .grid-3, .details-grid, .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .hero-container, .grid-3, .grid-2, .details-grid {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding-top: 8rem;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .nav-links, .nav-btn {
    display: none; /* In a real app we'd add a hamburger menu */
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .city-list {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
