/* 
 * Paws Care - Modern Pet Store Theme
 * Custom Styles for Neve Theme
 * Version: 1.0
 */

:root {
  --paws-primary: #C4956D;
  --paws-secondary: #7A5F3F;
  --paws-accent: #E8994A;
  --paws-light: #FFFBF7;
  --paws-dark: #2D1F14;
  --paws-border: #E8DCC8;
}

/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #FAFAF8;
  color: var(--paws-dark);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  letter-spacing: -0.4px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--paws-dark);
}

h1 { font-size: 3.5rem; letter-spacing: -1px; }
h2 { font-size: 2.5rem; margin: 40px 0 20px; }
h3 { font-size: 1.8rem; margin: 30px 0 15px; }
h4 { font-size: 1.3rem; margin: 20px 0 10px; }
p { margin-bottom: 15px; line-height: 1.8; }

/* ========== HEADER & NAVIGATION ========== */
.hentry .site-header {
  background: linear-gradient(90deg, #FFF 0%, #FFFBF7 100%);
  border-bottom: 2px solid var(--paws-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-branding a {
  font-size: 24px;
  font-weight: 800;
  color: var(--paws-secondary);
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-branding a:before {
  content: "🐾";
  font-size: 28px;
}

/* Navigation styling */
.header-menu-sidebar nav ul li a {
  color: var(--paws-secondary);
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 15px;
  border-radius: 6px;
}

.header-menu-sidebar nav ul li a:hover {
  background-color: var(--paws-primary);
  color: #FFF;
}

/* ========== HERO SECTION ========== */
.hero-banner {
  background: linear-gradient(135deg, var(--paws-primary) 0%, var(--paws-secondary) 100%);
  color: #FFF;
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-banner::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 0;
  width: 100%;
  height: 200px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,50 Q300,0 600,50 T1200,50 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
  background-size: 600px 100%;
  animation: wave 8s linear infinite;
}

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

@keyframes wave {
  0% { transform: translateX(0); }
  100% { transform: translateX(600px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.1);
  animation: slideInUp 0.8s ease-out;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: inline-block;
  animation: slideInUp 0.8s ease-out 0.4s both;
}

/* ========== BUTTONS ========== */
.btn, button, .woocommerce a.button, .woocommerce button {
  background: var(--paws-primary);
  color: #FFF;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover, button:hover, .woocommerce a.button:hover {
  background: var(--paws-secondary);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(200, 149, 109, 0.3);
}

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

.btn-secondary:hover {
  background: var(--paws-primary);
  color: #FFF;
}

/* ========== CATEGORY SECTION ========== */
.category-section {
  padding: 60px 40px;
  background: #FFF;
  margin: 60px 0;
  border-radius: 12px;
}

.category-section h2 {
  text-align: center;
  color: var(--paws-secondary);
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.category-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--paws-primary), var(--paws-accent));
  border-radius: 2px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 0;
}

.category-card {
  background: #FFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 2px solid transparent;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(200, 149, 109, 0.2);
  border-color: var(--paws-primary);
}

.category-card-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #f5f0e8 0%, #e8dcc8 100%);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-card-image {
  transform: scale(1.08);
}

.category-card-content {
  padding: 25px;
  text-align: center;
}

.category-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--paws-secondary);
  margin-bottom: 8px;
}

.category-card-count {
  font-size: 13px;
  color: var(--paws-primary);
  font-weight: 600;
}

/* ========== PRODUCTS SECTION ========== */
.products-section {
  padding: 60px 0;
  margin: 60px 0;
}

.products-header {
  text-align: center;
  margin-bottom: 50px;
}

.products-header h2 {
  color: var(--paws-secondary);
  position: relative;
  padding-bottom: 20px;
}

.products-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--paws-primary), var(--paws-accent));
  border-radius: 2px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product {
  background: #FFF;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transform: translateY(-6px);
}

.woocommerce ul.products li.product .woocommerce-placeholder,
.woocommerce ul.products li.product img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--paws-dark);
  padding: 12px 12px 0;
  margin: 0;
  min-height: 40px;
  line-height: 1.3;
}

.woocommerce ul.products li.product .star-rating {
  margin: 8px 0 0 12px !important;
  font-size: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 12px;
  flex-grow: 1;
}

.woocommerce ul.products li.product .price {
  color: var(--paws-primary);
  font-weight: 700;
  font-size: 16px;
  padding: 0 12px;
  margin: 8px 0 !important;
}

.woocommerce ul.products li.product .price del {
  color: #999;
  font-size: 13px;
  margin-right: 5px;
}

.woocommerce ul.products li.product .button {
  background: var(--paws-primary);
  color: #FFF;
  border: none;
  width: 90%;
  margin: 12px auto;
  padding: 10px 0 !important;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s;
}

.woocommerce ul.products li.product .button:hover {
  background: var(--paws-secondary);
  transform: scale(1.05);
}

/* ========== FEATURES SECTION ========== */
.features-section {
  background: linear-gradient(135deg, var(--paws-secondary) 0%, #6B4226 100%);
  color: #FFF;
  padding: 60px 40px;
  border-radius: 12px;
  margin: 60px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
  display: block;
}

.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--paws-primary);
}

.feature-text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
  padding: 60px 0;
  margin: 60px 0;
}

.testimonials-section h2 {
  text-align: center;
  color: var(--paws-secondary);
  margin-bottom: 50px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.testimonial-card {
  background: #FFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--paws-accent);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 60px;
  color: var(--paws-primary);
  opacity: 0.3;
}

.testimonial-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transform: translateY(-5px);
}

.testimonial-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--paws-primary), var(--paws-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-weight: 700;
}

.testimonial-author-name {
  font-weight: 700;
  color: var(--paws-dark);
  font-size: 14px;
}

.testimonial-author-role {
  font-size: 12px;
  color: var(--paws-primary);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--paws-secondary);
  color: #FFF;
  padding: 60px 40px 30px;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--paws-primary);
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s;
  font-size: 14px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 2.8rem; }
  .woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 768px) {
  .hero-banner { padding: 60px 20px; }
  .hero-content h1 { font-size: 2rem; }
  
  .category-grid,
  .testimonials-grid,
  .features-grid { grid-template-columns: 1fr; }
  
  .woocommerce ul.products { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-banner { padding: 40px 15px; margin-bottom: 30px; }
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.95rem; }
  
  .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .woocommerce ul.products li.product .button { width: 95%; }
  
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.2rem; }
  
  .category-section, .features-section { padding: 30px 15px; }
}
