/* Custom styles and animations */

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

/* Geometric Background Shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #db4068, #ff7696);
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #ff7696, #ffd4de);
    bottom: 20%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(219, 64, 104, 0.1);
    top: 40%;
    left: 5%;
    animation: rotate 20s linear infinite;
}

.geo-square {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 118, 150, 0.1);
    top: 60%;
    right: 10%;
    transform: rotate(45deg);
    animation: float 12s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #db4068 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    top: 25%;
    left: 15%;
}

.geo-line {
    position: absolute;
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #db4068, transparent);
    opacity: 0.2;
    bottom: 30%;
    right: 20%;
    transform: rotate(-15deg);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    50% {
        transform: translateY(-20px) rotate(50deg);
    }
}

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

/* Hero Animations */
.hero-badge {
    animation: slideDown 0.6s ease-out;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-trust {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(253, 242, 244, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(110, 18, 54, 0.1);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #c11846;
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .circle-1 {
        width: 200px;
        height: 200px;
        right: -50px;
    }
    
    .circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-triangle {
        display: none;
    }
    
    .geo-square {
        width: 80px;
        height: 80px;
    }
}
