/* Custom Styles for Gosiame's Beauty Glam */

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #FBCFE8 0%, #F9A8D4 50%, #F472B6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section with Fixed Background */
#home {
    position: relative;
}

.hero-bg-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Hero Section Overlay */
.hero-overlay {
    background: linear-gradient(135deg, rgba(28, 28, 28, 0.7) 0%, rgba(28, 28, 28, 0.4) 100%);
}

/* Sticky Navbar */
nav {
    transition: all 0.3s ease-in-out;
}

nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding-top: 1rem;
    padding-bottom: 1rem;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Button Glow Effect */
.btn-glow:hover {
    box-shadow: 0 0 25px rgba(244, 114, 182, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Parallax Effect */
.parallax {
    transform: translateZ(0);
    will-change: transform;
}

/* Gallery Animations */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeOutScale {
    0% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
}

.gallery-item {
    animation: fadeInScale 0.6s ease forwards;
}

.gallery-filter.active {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
}

/* Image overlay effects */
.gallery-item img {
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.7s ease;
}

.gallery-item:hover img {
    filter: brightness(1) contrast(1.2);
}

/* Lightbox animations */
#lightboxModal {
    backdrop-filter: blur(10px);
}

#lightboxModal > div {
    animation: lightboxSlideIn 0.4s ease;
}

@keyframes lightboxSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Floating Action Bar Animations */
.floating-action-bar .whatsapp-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Form Styles Enhancement */
.floating-label-input:focus + .floating-label,
.floating-label-input:valid + .floating-label {
    transform: translateY(-150%) translateX(-10px) scale(0.85);
    color: #f472b6;
}

.floating-label {
    transition: all 0.3s ease;
    pointer-events: none;
}

/* Product Card Hover Effects */
.product-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(244, 114, 182, 0.15);
}

/* Testimonial Card Animations */
.testimonial-card {
    transition: all 0.5s ease;
}

.testimonial-slide-enter {
    animation: slideInRight 0.5s ease;
}

.testimonial-slide-exit {
    animation: slideOutLeft 0.5s ease;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-100%);
    }
}

/* Loading States */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===== ARTISTIC GALLERY ANIMATIONS ===== */

/* Blob Animation for Background */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Gradient Animation */
@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

/* Heart Float Animation */
@keyframes heartFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.heart-float {
    animation: heartFloat 2s ease-in-out infinite;
}

/* Prism Light Effect */
@keyframes prism {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.animate-prism {
    animation: prism 10s linear infinite;
}

/* Slow Spin for Geometric Shapes */
@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin-slow {
    animation: spinSlow 8s linear infinite;
}

/* Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.animate-shimmer {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(244, 114, 182, 0.4),
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

/* Gallery Card Entrance Animation */
.gallery-card {
    opacity: 0;
    transform: translateY(30px);
    animation: galleryFadeIn 0.8s ease forwards;
}

.gallery-card:nth-child(1) { animation-delay: 0.1s; }
.gallery-card:nth-child(2) { animation-delay: 0.2s; }
.gallery-card:nth-child(3) { animation-delay: 0.3s; }
.gallery-card:nth-child(4) { animation-delay: 0.4s; }
.gallery-card:nth-child(5) { animation-delay: 0.5s; }
.gallery-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes galleryFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    .hero-overlay {
        background: linear-gradient(135deg, rgba(28, 28, 28, 0.8) 0%, rgba(28, 28, 28, 0.6) 100%);
    }
    
    .floating-action-bar {
        bottom: 1rem;
        right: 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typewriter Effect */
.typewriter-cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Service Tile Hover Glow Effect - Bottom 30% Pink Glow */
.gallery-item:hover .absolute.inset-0.bg-gradient-to-t {
    background: linear-gradient(to top, 
        rgba(244, 114, 182, 0.8) 0%, 
        rgba(244, 114, 182, 0.6) 15%,
        rgba(29, 29, 31, 0.9) 30%, 
        rgba(29, 29, 31, 0.6) 50%, 
        transparent 100%) !important;
}

.gallery-item .absolute.inset-0.flex.flex-col.justify-end > * {
    position: relative;
    z-index: 1;
}

/* Focus States for Better Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #f472b6;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .gradient-text {
        background: none;
        color: #f472b6;
        -webkit-text-fill-color: currentColor;
    }
}