/* Lenis Smooth Scroll Recommended Base Styles */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

/* Service Row Hover Animation */
.service-row {
    transition: all 0.3s ease;
    border-color: rgba(176, 125, 112, 0.15);
}

.service-row:hover {
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: rgba(176, 125, 112, 0.05);
}

/* Swiper Customizations */
.swiper-slide {
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0.5;
    transform: scale(0.9);
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* Custom animation for scroll indicator in Hero */
@keyframes scrolldown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* --- ABOUT PAGE STYLES --- */
/* Custom image masking */
.image-mask-arch {
    border-top-left-radius: 12rem;
    border-top-right-radius: 12rem;
}

/* Team Card Hover Effects */
.team-img {
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.team-card:hover .team-img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Infinite Marquee Animations */
@keyframes marqueeLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marqueeRight {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

.animate-marquee-left {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeLeft 30s linear infinite;
}

.animate-marquee-right {
    display: inline-flex;
    white-space: nowrap;
    animation: marqueeRight 30s linear infinite;
}

/* --- SERVICES PAGE STYLES --- */
/* Custom Hover Effects for Service Cards */
.service-detail-card {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(176, 125, 112, 0.15);
}

/* Active state for sticky nav */
.nav-link-active {
    color: #B07D70 !important;
    padding-left: 1rem;
    border-left: 2px solid #B07D70;
}

/* FAQ Accordion Transitions */
.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.faq-item.active .faq-content {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* --- CONTACT PAGE STYLES --- */
/* Minimalist Form Input Styling */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(148, 141, 136, 0.4);
    padding: 0.5rem 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
    color: #2A2826;
}

.form-input:focus {
    border-bottom-color: #B07D70;
}

.form-input::placeholder {
    color: #948D88;
    opacity: 0.5;
}

/* --- DASHBOARD PAGE STYLES --- */
/* Dashboard Card Hover Effects */
.dash-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.dash-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(176, 125, 112, 0.15);
    border-color: rgba(176, 125, 112, 0.3);
}

/* Sidebar link active state */
.nav-item.active {
    background-color: rgba(176, 125, 112, 0.1);
    color: #B07D70;
    font-weight: 500;
}

/* Custom Scrollbar for Dashboard */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(148, 141, 136, 0.3);
    border-radius: 10px;
}

/* --- BOOK PAGE STYLES --- */
/* Custom Radio Card Styling */
.radio-card input[type="radio"] {
    display: none;
}

.radio-card label {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-card input[type="radio"]:checked+label {
    border-color: #B07D70;
    background-color: rgba(176, 125, 112, 0.05);
}

/* Custom image masking */
.image-mask-arch {
    border-top-left-radius: 12rem;
    border-top-right-radius: 12rem;
}

/* --- IMAGE MASKING STYLES --- */
/* Custom image masking */
.image-mask-arch {
    border-top-left-radius: 12rem;
    border-top-right-radius: 12rem;
}

/* --- COMING SOON STYLES --- */
/* Minimalist Input Styling */
.waitlist-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(148, 141, 136, 0.4);
    padding: 0.75rem 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s ease;
    color: #2A2826;
}

.waitlist-input:focus {
    border-bottom-color: #B07D70;
}

.waitlist-input::placeholder {
    color: #948D88;
    opacity: 0.6;
}

/* --- HOME VERSION 2 STYLES --- */

/* Horizontal Scroll Structural Fix */
@media (min-width: 1024px) {
    #horizontal-section {
        height: 100vh;
        overflow: hidden;
    }

    .horizontal-wrapper {
        display: flex;
        width: max-content;
        height: 100vh;
    }

    .horizontal-panel {
        width: 100vw;
        height: 100vh;
        flex-shrink: 0 !important;
    }
}

/* Framed Layout Padding */
.framed-layout {
    padding: 1rem;
}

@media (min-width: 1024px) {
    .framed-layout {
        padding: 1.5rem;
    }
}

/* Hotspot Animations */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.8);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.hotspot-dot {
    animation: pulse-ring 2s infinite;
}

.hotspot-card {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hotspot-wrapper:hover .hotspot-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Accordion Image Sync Transition */
.sync-img {
    transition: opacity 0.6s ease, transform 0.8s ease;
}

.sync-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}

.sync-img.inactive {
    opacity: 0;
    transform: scale(1.05);
    z-index: 0;
}

.accordion-row {
    border-color: rgba(148, 141, 136, 0.2);
}

.accordion-row:hover .accordion-title,
.accordion-row.active .accordion-title {
    color: #B07D70;
    transform: translateX(1rem);
}

/* Lookbook Parallax Column Will-Change for Smoothness */
.lookbook-col {
    will-change: transform;
}

/* --- SKELETON LOADERS --- */
@keyframes skeleton-loading {
    0% {
        background-color: rgba(148, 141, 136, 0.1);
    }

    100% {
        background-color: rgba(148, 141, 136, 0.25);
    }
}

.skel {
    animation: skeleton-loading 1s linear infinite alternate;
    border-radius: 0.25rem;
}

.skel-text {
    height: 1rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.skel-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skel-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

.skel-button {
    height: 2.5rem;
    width: 8rem;
    border-radius: 9999px;
}