/* 
 * Enhanced Visual Styles for Wellbeing Wonders
 * Add this file to improve the overall design
 */

/* ============================================
   ENHANCED HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    background: linear-gradient(135deg,
            #5A189A 0%,
            #7B2CBF 35%,
            #9D4EDD 65%,
            #C77DFF 100%);
    overflow: hidden;
}

/* Animated gradient overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(199, 125, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 214, 10, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(90, 24, 154, 0.4) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Floating particles effect with CSS */
.hero-section::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 214, 10, 0.4), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(199, 125, 255, 0.5), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 90% 60%, rgba(255, 214, 10, 0.3), transparent);
    background-size: 200% 200%;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* ============================================
   ENHANCED SECTIONS WITH BACKGROUNDS
   ============================================ */

/* Services Section - Healing Energy */
.services-section {
    background: linear-gradient(180deg,
            rgba(239, 71, 111, 0.05) 0%,
            rgba(6, 214, 160, 0.08) 50%,
            rgba(199, 125, 255, 0.05) 100%);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(123,44,191,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="30" fill="none" stroke="rgba(123,44,191,0.03)" stroke-width="0.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="rgba(123,44,191,0.03)" stroke-width="0.5"/></svg>');
    background-size: 300px 300px;
    opacity: 0.3;
    pointer-events: none;
}

/* Products/Featured Section */
.featured-products {
    position: relative;
    background: linear-gradient(180deg,
            #ffffff 0%,
            rgba(199, 125, 255, 0.03) 50%,
            #ffffff 100%);
}

/* Categories Section */
.categories-section {
    background: linear-gradient(135deg,
            rgba(90, 24, 154, 0.03) 0%,
            rgba(123, 44, 191, 0.05) 50%,
            rgba(199, 125, 255, 0.03) 100%);
    position: relative;
}

.categories-section::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 100%);
    pointer-events: none;
}

/* About Section Enhancement */
.about-section {
    background: linear-gradient(135deg,
            #7B2CBF 0%,
            #5A189A 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255, 214, 10, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(199, 125, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* ============================================
   ENHANCED PRODUCT CARDS
   ============================================ */

.product-card,
.product {
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%);
    position: relative;
    overflow: hidden;
}

.product-card::before,
.product::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before,
.product:hover::before {
    opacity: 1;
}

/* Product image overlay gradient */
.product-image::after,
.product-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    pointer-events: none;
}

/* ============================================
   ENHANCED SERVICE CARDS
   ============================================ */

.service-card {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(199, 125, 255, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.service-icon {
    background: linear-gradient(135deg, #C77DFF 0%, #7B2CBF 100%);
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   ENHANCED CATEGORY CARDS
   ============================================ */

.category-card {
    position: relative;
    overflow: hidden;
}

.category-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(90, 24, 154, 0.6) 100%);
    transition: all 0.3s ease;
}

.category-card:hover .category-image::before {
    background: linear-gradient(180deg,
            rgba(123, 44, 191, 0.3) 0%,
            rgba(90, 24, 154, 0.8) 100%);
}

.category-content {
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(199, 125, 255, 0.05) 100%);
}

/* ============================================
   SECTION HEADERS WITH DECORATIVE ELEMENTS
   ============================================ */

.section-header {
    position: relative;
    padding-bottom: 1rem;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--color-violeta-mistico) 50%,
            transparent 100%);
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

/* Decorative stars around section titles */
.section-header h2::before,
.section-header h2::after {
    content: '✨';
    position: absolute;
    top: -10px;
    font-size: 1.5rem;
    opacity: 0.6;
}

.section-header h2::before {
    left: -40px;
}

.section-header h2::after {
    right: -40px;
}

/* ============================================
   ENHANCED BUTTONS WITH GLOW
   ============================================ */

.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-accent {
    box-shadow: 0 4px 15px rgba(255, 214, 10, 0.3);
}

.btn-accent:hover {
    box-shadow: 0 6px 25px rgba(255, 214, 10, 0.5);
}

/* ============================================
   LOADING ANIMATIONS FOR IMAGES
   ============================================ */

.product-image,
.category-image,
.service-featured-image {
    background: linear-gradient(90deg,
            rgba(224, 224, 224, 0.3) 0%,
            rgba(199, 125, 255, 0.1) 50%,
            rgba(224, 224, 224, 0.3) 100%);
    background-size: 200% 100%;
}

/* ============================================
   ENHANCED FOOTER
   ============================================ */

.site-footer {
    background: linear-gradient(180deg,
            #2B2D42 0%,
            #1a1b2e 100%);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(199, 125, 255, 0.5) 50%,
            transparent 100%);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.product-card,
.category-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   RESPONSIVE ENHANCEMENTS
   ============================================ */

@media (max-width: 768px) {

    .section-header h2::before,
    .section-header h2::after {
        display: none;
    }

    .hero-section {
        min-height: 500px;
    }
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg,
            var(--color-violeta-mistico) 0%,
            var(--color-indigo-profundo) 100%);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg,
            var(--color-amatista-suave) 0%,
            var(--color-violeta-mistico) 100%);
}