/*
Theme Name: Elite Shipped Clones - Child Theme
Description: Premium child theme for Flatsome with enhanced SEO and modern design
Template: flatsome
Version: 1.0.0
*/

@import url("../flatsome/style.css");

/* ===== ELITE DESIGN SYSTEM - PURPLE & GOLD LUXURY ===== */

:root {
  /* Updated color palette to match your stunning logo */
  --primary-purple: #4a2c7a;       /* Deep royal purple from logo */
  --accent-purple: #6b4ba8;        /* Medium purple */
  --light-purple: #8b6db5;         /* Lighter purple for accents */
  --very-light-purple: #f4f1f8;    /* Very light purple for sections */
  --royal-gold: #c8860d;           /* Rich gold from logo */
  --light-gold: #d4af37;           /* Lighter gold for highlights */
  --white-lion: #f8f6f3;           /* Cream white from lion */
  --dark-bg: #1a1a1a;              /* Dark backgrounds */
  --light-bg: #fafafa;             /* Light backgrounds */
  --text-dark: #2c2c2c;            /* Dark text - high contrast */
  --text-light: #5a5a5a;           /* Light text - better readability */
  --white: #ffffff;
  --shadow-light: 0 2px 10px rgba(74, 44, 122, 0.1);
  --shadow-medium: 0 4px 20px rgba(74, 44, 122, 0.15);
  --shadow-heavy: 0 8px 30px rgba(74, 44, 122, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--accent-purple) 100%);
  --gradient-royal: linear-gradient(135deg, var(--primary-purple) 0%, #5d3a9b 100%);
  --gradient-gold: linear-gradient(135deg, var(--royal-gold) 0%, var(--light-gold) 100%);
  --gradient-light: linear-gradient(135deg, var(--very-light-purple) 0%, var(--light-bg) 100%);
}

/* ===== GLOBAL ENHANCEMENTS ===== */

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

.container {
  max-width: 1400px;
}

/* ===== HERO SECTION - ROYAL PURPLE LUXURY ===== */

.elite-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(74, 44, 122, 0.9), rgba(74, 44, 122, 0.8)),
              url('https://images.unsplash.com/photo-1536431311719-398b6704d4cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
  overflow: hidden;
}

.elite-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(200, 134, 13, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 300;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2.5rem;
  background: var(--gradient-gold);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  color: var(--white);
  background: linear-gradient(135deg, #b8760c 0%, #c8860d 100%);
}

/* ===== TRUST BADGES - LUXURY PURPLE THEME ===== */

.trust-section {
  background: var(--white);
  padding: 4rem 0;
  box-shadow: var(--shadow-light);
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.trust-badge {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid rgba(74, 44, 122, 0.1);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(74, 44, 122, 0.2);
}

.trust-badge-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.trust-badge h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.trust-badge p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ===== PRODUCT GRID ENHANCEMENTS ===== */

.products.row {
  gap: 2rem;
}

.product-small {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(74, 44, 122, 0.1);
}

.product-small:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
  border-color: rgba(74, 44, 122, 0.3);
}

.product-small .box-image {
  position: relative;
  overflow: hidden;
}

.product-small .box-image img {
  transition: transform 0.5s ease;
}

.product-small:hover .box-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(74, 44, 122, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.product-small:hover .product-overlay {
  opacity: 1;
}

.quick-view-btn {
  background: var(--gradient-gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.product-small .box-text {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-purple);
}

/* ===== ENHANCED BUTTONS - ROYAL LUXURY ===== */

.button.primary, .btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  color: var(--white);
}

.button.primary:hover, .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  background: var(--gradient-royal);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border: 2px solid var(--primary-purple);
  color: var(--primary-purple);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.button.secondary:hover {
  background: var(--primary-purple);
  color: var(--white);
  transform: translateY(-2px);
}

.button.gold {
  background: var(--gradient-gold);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: var(--white);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.button.gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
}

/* ===== SECTION ENHANCEMENTS ===== */

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== GUARANTEE SECTION - ROYAL PURPLE ===== */

.guarantee-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.guarantee-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 134, 13, 0.15) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

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

.guarantee-content h2 {
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
}

.guarantee-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
}

.guarantee-badge {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-heavy);
}

/* ===== LUXURY SECTIONS WITH PURPLE THEME ===== */

.featured-section {
  background: var(--very-light-purple);
  padding: 5rem 0;
}

.testimonial-section {
  background: var(--white);
  padding: 5rem 0;
}

.stats-section {
  background: var(--gradient-light);
  padding: 4rem 0;
}

.about-section {
  background: var(--light-bg);
  padding: 5rem 0;
}

/* ===== TESTIMONIALS - LUXURY STYLING ===== */

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(74, 44, 122, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(74, 44, 122, 0.2);
}

.testimonial-content {
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-purple);
}

.testimonial-rating {
  color: var(--royal-gold);
  margin-bottom: 1rem;
}

/* ===== FOOTER ENHANCEMENTS ===== */

.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 3rem 0 1rem;
}

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

.footer-section h4 {
  color: var(--light-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--light-gold);
}

/* ===== ANIMATIONS ===== */

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

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
  .elite-hero {
    min-height: 80vh;
    background-attachment: scroll;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .trust-badges {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .products.row {
    gap: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

.lazy-load {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-load.loaded {
  opacity: 1;
}

/* ===== ACCESSIBILITY - ENHANCED FOR LUXURY BRAND ===== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Enhanced focus styles with gold accent */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--light-gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --shadow-light: 0 2px 10px rgba(74, 44, 122, 0.3);
    --shadow-medium: 0 4px 20px rgba(74, 44, 122, 0.4);
    --shadow-heavy: 0 8px 30px rgba(74, 44, 122, 0.5);
    --text-light: #4a4a4a;
  }
  
  .trust-badge,
  .product-small,
  .testimonial-card {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== LUXURY BRAND ENHANCEMENTS ===== */

/* Better link visibility with purple theme */
a:not(.button):not(.hero-cta):not(.quick-view-btn) {
  color: var(--primary-purple);
  text-decoration: underline;
  text-decoration-color: rgba(74, 44, 122, 0.3);
  transition: all 0.3s ease;
}

a:not(.button):not(.hero-cta):not(.quick-view-btn):hover {
  color: var(--accent-purple);
  text-decoration-color: var(--accent-purple);
}

/* Form improvements with purple theme */
input, textarea, select {
  border: 2px solid rgba(74, 44, 122, 0.2);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-purple);
}

/* Elite branding elements */
.elite-badge {
  background: var(--gradient-gold);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.royal-accent {
  color: var(--primary-purple);
  font-weight: 600;
}

.gold-accent {
  color: var(--royal-gold);
  font-weight: 600;
}