/* Custom AOS Animation */
[data-aos="zoom-fade-up"] {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition-property: transform, opacity;
}

[data-aos="zoom-fade-up"].aos-animate {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Spa Ritual Cards */
.spa-ritual-card {
    background: white;
    border-radius: 20px; /* Slightly rounder corners for a modern look */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease-in-out; /* Smoother transition */
    height: 100%;
    position: relative;
    animation: cardEnter 1s ease-out; /* New entrance animation */
}

@keyframes cardEnter {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(30px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.spa-ritual-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 15px 30px rgba(var(--bs-primary-rgb), 0.2);
    animation: cardHoverEffect 0.4s ease-in-out; /* New hover effect animation */
}

@keyframes cardHoverEffect {
    0% {
        transform: translateY(-12px) scale(1.05);
    }
    50% {
        transform: translateY(-8px) scale(1.08);
    }
    100% {
        transform: translateY(-12px) scale(1.05);
    }
}

.ritual-image {
    height: 260px;
    overflow: hidden;
    position: relative;
    width: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: imageFadeIn 1.2s ease-out; /* Image fade-in effect */
}

@keyframes imageFadeIn {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.spa-ritual-card:hover .ritual-image {
    transform: scale(1.2) rotate(-5deg); /* Slight rotation for a more dynamic hover effect */
}

.ritual-content {
    padding: 1.8rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 1) 100%
    );
    position: relative;
}

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    /* height: 100vh; */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(var(--bs-primary-rgb), 0.45) 100%
    );
    z-index: 1;
    animation: gradientPulse 3s infinite alternate;
}

@keyframes gradientPulse {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.8;
    }
}

/* Enhanced Button Styles */
.book-btn {
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s ease-out;
    position: relative;
    overflow: hidden;
    background-color: var(--bs-primary);
    color: white;
    border: none;
    animation: buttonSlideIn 0.8s ease-in-out; /* Button entrance animation */
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.book-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(var(--bs-primary-rgb), 0.3);
    letter-spacing: 2px;
    background-color: #be185d;
    animation: buttonGrow 0.3s ease-out; /* Hover effect animation */
}

@keyframes buttonGrow {
    0% {
        transform: translateY(-4px) scale(1);
    }
    100% {
        transform: translateY(0) scale(1.05);
    }
}

/* Price Animation */
.ritual-price {
    color: var(--bs-primary);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
    animation: priceScaleIn 1.5s ease-out; /* Price animation */
}

@keyframes priceScaleIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.ritual-price::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bs-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.spa-ritual-card:hover .ritual-price::after {
    transform: scaleX(1);
}

/* Float Animation */
.float-animation {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

:root {
    --bs-primary: #ec4899;
    --bs-primary-rgb: 236, 72, 153;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: #be185d;
    --bs-btn-hover-border-color: #be185d;
    --bs-btn-active-bg: #be185d;
    --bs-btn-active-border-color: #be185d;
}

.text-primary {
    color: var(--bs-primary) !important;
}
