/* Custom Styles for Ringlets */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(31, 31, 31, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header transition classes */
.header-scrolled {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    color: #1F1F1F !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.header-scrolled .brand-logo {
    color: #1F1F1F !important;
}

.header-scrolled a.nav-link {
    color: #1F1F1F;
}

.header-scrolled a.nav-link:hover {
    color: #E91E8F;
}

/* Updated Button in Scrolled state */
.header-scrolled .header-cta {
    background-color: #1F1F1F !important;
    border-color: transparent !important;
    color: white !important;
}
.header-scrolled .header-cta:hover {
    background: linear-gradient(135deg, #E91E8F, #A96A55) !important;
    box-shadow: 0 10px 30px -10px rgba(233, 30, 143, 0.4) !important;
    color: white !important;
}

.header-scrolled #mobile-menu-btn {
    color: #1F1F1F;
}

/* Active Nav Link Styles */
.active-link {
    color: #E91E8F !important;
}

.header-scrolled .active-link {
    color: #E91E8F !important;
}

.active-link::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #E91E8F;
    box-shadow: 0 0 10px rgba(233, 30, 143, 0.8);
}

/* Nav Link Animation */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 50%;
    background-color: #E91E8F;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 100%;
}

/* Text clipping for luxury gradient text */
.text-gradient {
    background: linear-gradient(135deg, #E91E8F, #A96A55);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Decorative hair strands shapes */
.hair-strand-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: linear-gradient(135deg, rgba(233, 30, 143, 0.05), rgba(169, 106, 85, 0.05));
    animation: morph 8s ease-in-out infinite;
    z-index: -1;
}

.hair-strand-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: linear-gradient(135deg, rgba(233, 30, 143, 0.08), rgba(169, 106, 85, 0.08));
    animation: morph 10s ease-in-out infinite reverse;
    z-index: -1;
}

@keyframes morph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
    67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
}



/* Comparison slider */
.comparison-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    height: 500px;
}
.comparison-slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.comparison-slider .img-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}
.comparison-slider .img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: white;
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
}
.slider-handle::after {
    content: '< >';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #E91E8F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Custom Swiper pagination */
.swiper-pagination-bullet-active {
    background: #E91E8F !important;
}

/* Premium Card Hover */
.premium-card {
    transition: all 0.4s ease;
}
.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px -10px rgba(233, 30, 143, 0.15);
}

/* Custom Animations */
@keyframes gradient-x {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient-x {
    animation: gradient-x 6s ease infinite;
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    animation: marquee 25s linear infinite;
    display: flex;
    width: max-content;
}

.animate-marquee:hover {
    animation-play-state: paused;
}
