@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Manrope:wght@200;300;400;500;700&display=swap');

:root {
    --color-bio-deep: #0C2D3A;
    --color-bio-sage: #7BAEA3;
    --color-bio-mist: #F2F5F3;
    --color-bio-sand: #E8DFD0;
    --color-bio-warm: #C4956A;
}

[x-cloak] {
    display: none !important;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background-color: var(--color-bio-mist);
    color: #333;
    overflow-x: hidden;
}

/* REVEAL IMAGE EFFECT */
.reveal-holder {
    position: relative;
    overflow: hidden;
}

.reveal-holder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bio-mist);
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 10;
}

.aos-animate.reveal-holder::after {
    transform: scaleY(0);
}

.reveal-img {
    transform: scale(1.2);
    transition: transform 2s ease-out;
}

.aos-animate .reveal-img {
    transform: scale(1);
}

/* CLIP PATH REVEAL */
.reveal-img-clip {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.aos-animate .reveal-img-clip {
    clip-path: inset(0 0 0 0);
}

/* TEXT FADE UP */
.fade-up-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BUTTON GLOW */
.btn-glow {
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s;
}

.btn-glow:hover::before {
    left: 100%;
}

/* HERO TEXT SHADOW */
.text-shadow-hero {
    text-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
}

/* PARALLAX */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bio-mist);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bio-sage);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-bio-deep);
}

/* SMOOTH LINK UNDERLINE */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.link-underline:hover::after {
    width: 100%;
}
