/* Custom CSS for Sculpted Serenity Spa Sanctuary */

/* Background Texture */
.bg-texture {
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.3'/%3E%3C/svg%3E");
    background-color: #F8F6F1;
}

/* Luxury Button Styles */
.lux-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #C9A961;
    color: white;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.2);
}

.lux-btn-primary:hover {
    background-color: #B89750;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 97, 0.3);
}

.lux-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #C9A961;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #C9A961;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.lux-btn-secondary:hover {
    background-color: rgba(201, 169, 97, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 40, 37, 0.06);
}

/* Card and Frame Styles */
.lux-image-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(44, 40, 37, 0.10);
    position: relative;
}

.lux-image-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(44, 40, 37, 0.05));
    z-index: 1;
    pointer-events: none;
}

.lux-portrait-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(44, 40, 37, 0.06);
}

.lux-team-portrait {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(44, 40, 37, 0.08);
}

.lux-card-overlay {
    background-color: #FFFFFF;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(44, 40, 37, 0.06);
    position: relative;
    overflow: hidden;
}

.lux-card-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #C9A961, #D4AF37);
}

.lux-problem-card,
.lux-solution-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(44, 40, 37, 0.06);
    transition: transform 0.3s ease;
}

.lux-problem-card:hover,
.lux-solution-card:hover {
    transform: translateY(-4px);
}

.lux-problem-card {
    border-top: 4px solid #FCA5A5;
}

.lux-solution-card {
    border-top: 4px solid #C9A961;
}

.lux-main-program-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(44, 40, 37, 0.06);
    border: 2px solid #E8E3DB;
    position: relative;
    margin-bottom: 2.5rem;
}

.lux-main-program-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, #C9A961, #D4AF37);
    border-radius: 20px 20px 0 0;
}

.lux-team-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 6px 18px rgba(44, 40, 37, 0.06);
    border: 1px solid #E8E3DB;
}

/* Typography enhancements */
.font-playfair {
    letter-spacing: -0.02em;
}

.font-montserrat {
    letter-spacing: -0.01em;
}

/* Scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section spacing */
section {
    scroll-margin-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: #F8F6F1;
}

::-webkit-scrollbar-thumb {
    background: #E8E3DB;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Mobile: show image above text in hero section */
@media (max-width: 1023px) {
    .hero {
        flex-direction: column-reverse;
    }

    /* Make hero image full-bleed and centered */
    .hero .lux-image-frame {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        border-radius: 0;
        overflow: hidden;
    }

    /* Force image container to appear before text on mobile */
    .hero > .flex-1:nth-child(2) {
        order: -1;
    }

    .hero .lux-image-frame img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 16/9;
    }

    /* Fade overlay so image smoothly blends into the page background */
    .hero .lux-image-frame::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 40%;
        background: linear-gradient(180deg,
            rgba(248,246,241,0) 0%,
            rgba(248,246,241,0.03) 55%,
            rgba(248,246,241,0.12) 78%,
            rgba(248,246,241,0.28) 92%,
            #F8F6F1 100%
        );
        pointer-events: none;
        z-index: 3;
        transition: background-color 0.25s ease;
    }

    /* Ensure existing subtle overlay remains below the fade */
    .lux-image-frame::before {
        z-index: 1;
    }
    /* Remove top spacing between header and hero image on mobile */
    .hero-section {
        padding-top: 0 !important;
        padding-bottom: 1rem;
        margin-top: 0;
    }

/* Office Carousel Styles */
.office-carousel-container {
    position: relative;
    background: #2C2825;
    box-shadow: 0 6px 18px rgba(44, 40, 37, 0.08);
}

.office-carousel-track {
    display: flex;
    width: 100%;
    height: auto;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.office-slide {
    min-width: 100%;
    height: 100%;
    flex: 0 0 100%;
    overflow: hidden;
}

.office-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(201, 169, 97, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.carousel-btn:hover {
    background-color: #C9A961;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(201, 169, 97, 0.4);
}

.carousel-btn-prev {
    left: 1.5rem;
}

.carousel-btn-next {
    right: 1.5rem;
}

.carousel-dots {
    margin-top: 1.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #C9A961;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: #C9A961;
    box-shadow: 0 0 8px rgba(201, 169, 97, 0.4);
}
}