/*
Theme Name: TheraJuve Theme
*/

/* Force hover effects to work */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Card hover effects */
.card {
    transition: all 0.3s ease !important;
}

.card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Button hover effects */
.btn-gradient,
.shop-button,
a[href*="/products"],
a[href*="/blog"],
button {
    transition: all 0.3s ease !important;
    cursor: pointer;
}

.btn-gradient:hover,
.shop-button:hover,
button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3) !important;
}

/* Social icon hover effects */
.social-icon {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1) !important;
}

/* Filter pill hover effects */
.filter-pill {
    transition: all 0.3s ease !important;
}

.filter-pill:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

/* Link hover effects */
a {
    transition: color 0.3s ease, opacity 0.3s ease !important;
}

a:hover {
    opacity: 0.8;
}

/* Feature cards on homepage */
.fade-up > div:hover {
    transform: translateY(-5px) !important;
    transition: transform 0.3s ease !important;
}

/* Newsletter form button */
.newsletter-wpform-wrapper button:hover,
.newsletter-wpform-wrapper .wpforms-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4) !important;
}

/* Force hover effects to override inline styles */
*[style*="transition"] {
    transition: all 0.3s ease !important;
}

/* Make sure hover is enabled on all interactive elements */
[onclick],
[href],
button,
input[type="submit"],
.clickable {
    cursor: pointer !important;
}

/* Add hover scale to images in cards */
.product-card img,
.blog-card img {
    transition: transform 0.3s ease !important;
}

.product-card:hover img,
.blog-card:hover img {
    transform: scale(1.05) !important;
}

/* Critical mobile fixes - Add at the very TOP */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
}

/* Fix all grid layouts for mobile */
@media (max-width: 768px) {
    div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
    }
    
    section {
        padding: 60px 20px !important;
    }
    
    .container {
        padding: 0 20px !important;
    }
}

/* Hero button effects */
.btn-primary-hero:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4) !important;
}

.btn-secondary-hero:hover {
    background: #f3f4f6 !important;
    border: 2px solid #e5e7eb;
}

/* Make layout responsive */
@media (max-width: 1024px) {
    section > div > div {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .hero-image-container > div {
        height: 450px !important;
    }
}

@media (max-width: 768px) {
    section > div {
        padding: 0 2rem !important;
    }
    
    .hero-image-container > div {
        height: 350px !important;
    }
}

/* Footer link hover effects */
footer a:hover {
    color: #3b82f6 !important;
}

/* Social icon hover */
footer svg:hover {
    transform: scale(1.1);
}

/* CTA button hover effects */
section a[href*="/products"]:hover {
    background: #2563eb !important;
}

section a[href*="/blog"]:hover {
    background: #f3f4f6 !important;
}

section a[href*="/home"]:hover {
    background: #f3f4f6 !important;
}

section a[href*="/about"]:hover {
    background: #f3f4f6 !important;
}

section a[href*="/faq"]:hover {
    background: #f3f4f6 !important;
}

section a[href*="/contact"]:hover {
    background: #f3f4f6 !important;
}

/* Newsletter form styles */
#newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

#newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.3);
}

#newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Success message */
.newsletter-success {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
}

/* Testimonial card effects */
.testimonial-card {
    border: 1px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    background: white !important;
    border: 1px solid #e5e7eb;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 1rem;
    }
    
    section .container > div:last-child {
        grid-template-columns: 1fr !important;
    }
}

/* Blog card hover effects */
.blog-card {
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-card a:hover {
    gap: 0.5rem !important;
    color: #2563eb;
}

/* View All Articles button hover */
a[href*="/blog"]:hover {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    section .container > div:nth-child(2) {
        grid-template-columns: 1fr !important;
    }
}

/* Scroll fade-up animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-delay-1 {
    transition-delay: 0.1s;
}

.fade-up-delay-2 {
    transition-delay: 0.2s;
}

.fade-up-delay-3 {
    transition-delay: 0.3s;
}

.fade-up-delay-4 {
    transition-delay: 0.4s;
}

/* Hero image float animation */
.hero-image-container {
    animation: float 6s ease-in-out infinite;
}

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

/* Button hover effects */
a[href*="/products"]:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.3);
}

a[href*="/blog"]:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    section > .container > div {
        grid-template-columns: 1fr !important;
    }
    
    .hero-image-container {
        height: 350px !important;
        margin-top: 2rem;
    }
}

/* Get Started button hover */
a[href*="/products"] {
    transition: all 0.3s;
}

a[href*="/products"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.3);
}

/* Hide Get Started button on mobile */
@media (max-width: 768px) {
    nav > a[href*="/products"] {
        display: none;
    }
}
/* Benefit card hover effect */
.benefit-card {
    background: white;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.benefit-card:hover > div:first-child {
    transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 1024px) {
    section .container > div:last-child {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    section .container > div:last-child {
        grid-template-columns: 1fr !important;
    }
}
/* Your exact React CSS */
:root {
  --background: 0 0% 100%;
  --foreground: 240 10% 3.9%;
  --card: 0 0% 100%;
  --card-foreground: 240 10% 3.9%;
  --popover: 0 0% 100%;
  --popover-foreground: 240 10% 3.9%;
  --primary: 210 100% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 280 100% 65%;
  --secondary-foreground: 0 0% 100%;
  --muted: 240 4.8% 95.9%;
  --muted-foreground: 240 3.8% 46.1%;
  --accent: 240 4.8% 95.9%;
  --accent-foreground: 240 5.9% 10%;
  --destructive: 0 72.22% 50.59%;
  --destructive-foreground: 0 0% 98%;
  --border: 240 5.9% 90%;
  --input: 240 5.9% 90%;
  --ring: 240 5% 64.9%;
  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #2196F3 0%, #9C27B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Glass morphism */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Card styles */
.card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Buttons */
.btn-gradient {
  background: linear-gradient(135deg, #2196F3 0%, #9C27B0 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.4);
}

/* Header styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* Grid system */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .grid-cols-3, .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, #2196F3 0%, #9C27B0 100%);
  border-radius: 24px;
  padding: 4rem 3rem;
  margin: 5rem 0;
  color: white;
  text-align: center;
}

/* Product cards */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* FAQ styles */
.faq-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: #2196F3;
}

/* Form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: #2196F3;
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

/* Footer */
.site-footer {
  background: #1f2937;
  color: white;
  padding: 5rem 0 3rem;
  margin-top: 5rem;
}

/* Utilities */
.section-padding {
  padding: 5rem 0;
}

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

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.pulse-animation {
  animation: pulse-slow 3s ease-in-out infinite;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Force footer to show */
footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 999 !important;
}

/* Fix potential overflow issues */
html, body {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* Ensure sections don't hide footer */
section {
    overflow: visible !important;
}

@media (max-width: 768px) {
    body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }
    
    .product-single-container,
    .related-products,
    .reviews-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}