/* Custom styles for BloomTech Berlin */

/* Global Styles */
body {
    overflow-x: hidden;
}

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

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fefaf6;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #fbcfe8, #99f6e4);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f9a8d4, #5eead4);
}

/* Selection color */
::selection {
    background-color: rgba(236, 72, 153, 0.3);
    color: #831843;
}

/* Custom button hover effects */
.btn-bloom {
    position: relative;
    overflow: hidden;
}

.btn-bloom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-bloom:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

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

.service-card:hover {
    transform: translateY(-8px);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #ec4899 0%, #14b8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blob shapes */
.blob {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.blob-2 {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* Custom shapes for decorative elements */
.leaf-shape {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.petal-shape {
    clip-path: ellipse(25% 40% at 50% 50%);
}

/* Loading animation */
.loading-bloom {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(236, 72, 153, 0.3);
    border-radius: 50%;
    border-top-color: #ec4899;
    animation: spin 1s ease-in-out infinite;
}

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

/* Responsive tweaks */
@media (max-width: 768px) {
    .mobile-stack {
        flex-direction: column !important;
    }
    
    .mobile-center {
        text-align: center;
    }
    
    .mobile-padding {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}