/* Add these CSS classes to create beautiful background patterns and visual elements */

/* 3D Background Pattern for Hero Section */
.hero-3d-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 93, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(196, 181, 253, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(232, 180, 184, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--darker-purple) 0%, var(--dark-charcoal) 100%);
    animation: float-bg 20s ease-in-out infinite;
}

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

/* Floating 3D Elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, rgba(139, 93, 255, 0.1), rgba(196, 181, 253, 0.1));
    border-radius: 50%;
    backdrop-filter: blur(10px);
    animation: float-rotate 15s linear infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 5s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 10s;
}

@keyframes float-rotate {
    0% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(0px) rotate(180deg); }
    75% { transform: translateY(20px) rotate(270deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Service Category Icons */
.service-bg-hair {
    background: linear-gradient(145deg, #8B5DFF, #C4B5FD);
}

.service-bg-skincare {
    background: linear-gradient(145deg, #E8B4B8, #F7E7CE);
}

.service-bg-nails {
    background: linear-gradient(145deg, #6D28D9, #8B5DFF);
}

.service-bg-bridal {
    background: linear-gradient(145deg, #C4B5FD, #E8B4B8);
}

/* Premium Glass Effect Cards */
.glass-card {
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.05)
    );
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(139, 93, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* 3D Decorative Elements */
.decor-element {
    position: absolute;
    width: 200px;
    height: 200px;
    background: 
        conic-gradient(from 0deg, 
            rgba(139, 93, 255, 0.1), 
            rgba(196, 181, 253, 0.1), 
            rgba(232, 180, 184, 0.1), 
            rgba(139, 93, 255, 0.1)
        );
    border-radius: 50%;
    filter: blur(40px);
    animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Luxury Texture Overlay */
.luxury-texture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(139, 93, 255, 0.03) 2px,
            rgba(139, 93, 255, 0.03) 4px
        );
    pointer-events: none;
}

/* Premium Button Glow Effect */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(139, 93, 255, 0.3),
        transparent
    );
    animation: rotate-glow 3s linear infinite;
    z-index: -1;
}

@keyframes rotate-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}