/* Custom styles for Real Loyalty */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

/* Geometric shapes */
.geometric-shape {
    position: absolute;
    z-index: 0;
}

.triangle {
    width: 0;
    height: 0;
    border-style: solid;
}

/* Card hover effects */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Button styles */
.cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Scroll reveal animation */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Mobile menu */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 31, 78, 0.1);
}

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

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

::-webkit-scrollbar-thumb {
    background: #b81f4e;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9a1540;
}

/* Geometric blob animations */
@keyframes blob-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.geometric-blob {
    animation: blob-float 20s ease-in-out infinite;
}

.geometric-blob.blob-2 {
    animation-delay: -5s;
    animation-direction: reverse;
}

.geometric-blob.blob-3 {
    animation-delay: -10s;
}

/* Stat card hover */
.stat-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.stat-card:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 30px 60px -15px rgba(184, 31, 78, 0.25);
}

/* Navigation link underline animation */
.nav-link::after {
    transition: width 0.3s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Print styles */
@media print {
    .geometric-blob,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
