/* Custom styles for Valentine's Day Landing Page */


/* Smooth scrolling for the entire page */

html {
    scroll-behavior: smooth;
}


/* Custom gradient text */

.gradient-text {
    background: linear-gradient(to right, #ff4b4b, #ff85a1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


/* Custom hover effects for cards */

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}


/* Custom animation for the heart icon */

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.heart-beat {
    animation: heartbeat 1.5s ease-in-out infinite;
}


/* Custom scrollbar */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff4b4b, #ff85a1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ff85a1, #ff4b4b);
}


/* Custom focus styles */

*:focus {
    outline: 2px solid #ff85a1;
    outline-offset: 2px;
}


/* Custom selection color */

::selection {
    background: #ff85a1;
    color: white;
}


/* Custom loading animation */

.loading-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #ff4b4b;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* Custom button hover effect */

.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-hover-effect:hover::after {
    width: 300px;
    height: 300px;
}


/* Custom mobile menu animation */

.mobile-menu-enter {
    transform: translateX(100%);
}

.mobile-menu-enter-active {
    transform: translateX(0);
    transition: transform 300ms ease-in-out;
}

.mobile-menu-exit {
    transform: translateX(0);
}

.mobile-menu-exit-active {
    transform: translateX(100%);
    transition: transform 300ms ease-in-out;
}