/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 20 2025 | 20:47:20 */
/* --- Your Existing CSS --- */
.massage-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Studio Showcase Section */
.studio-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px; 
    margin-top: 0; 
    margin-bottom: 70px; 
    align-items: center;
}

.studio-images { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #D99496, #E8A8AA); 
    border-radius: 15px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem; 
    text-align: center;
    padding: 15px; 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(217, 148, 150, 0.15); 
}

.placeholder-line {
    display: inline-block;
    color: white; 
    padding: 6px 12px; 
    margin: 5px 0;
    border-radius: 20px; 
    font-size: 0.9em;
    line-height: 1.4;
    transition: all 0.3s ease-in-out;
    text-align: left;
    cursor: default;
    background-color: transparent;
}

.placeholder-line .fa-icon { 
    color: white;
    margin-right: 8px;
    font-size: 1em;
    vertical-align: middle; 
    transition: color 0.3s ease-in-out;
}

.placeholder-line:hover {
    background-color: #C57E80;
    color: #ffffff; 
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(197, 126, 128, 0.4), 0 0 12px rgba(255, 255, 255, 0.7);
    padding: 8px 15px; 
    border-radius: 25px; 
}

.placeholder-line:hover .fa-icon {
    color: #ffffff;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); 
    transition: left 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1; 
}

.image-placeholder:hover::before {
    left: 100%;
}

.image-placeholder:hover {
     transform: translateY(-5px) scale(1.02);
     box-shadow: 0 15px 30px rgba(217, 148, 150, 0.3);
}

.image-placeholder.large { 
    grid-column: span 2;
    aspect-ratio: 16/9;
    font-size: 1.1rem;
}

.studio-content { 
    padding-left: 30px; 
}

.refugium-title .title-main-icon {
    margin-right: 12px;
    font-size: 0.8em; 
    color: #C57E80; 
    transition: color 0.3s ease-in-out; 
}

.studio-content h3.refugium-title:hover .title-main-icon {
    color: #ffffff; 
}

.studio-content p {
    font-size: 1.05rem; 
    color: #555; 
    margin-bottom: 25px; 
    line-height: 1.7;
}

.additional-impressions {
    margin-top: 30px; 
    padding-top: 20px; 
    margin-bottom: 100px;
}

.additional-impressions .section-subheader-alt {
    text-align: left;
    margin-top: 0;
    margin-bottom: 60px; 
    padding: 0;
}

.additional-impressions .section-subheader-alt h3 {
    text-align: left;
    color: #3a3a3a;
    margin-bottom: 1.7rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.8rem;
    margin-top: -30px;
}

.additional-impressions .section-subheader-alt h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(0);
    width: 70px;
    height: 3px;
    background-color: #F6BFC0;
    border-radius: 2px;
}

.section-subheader-alt p {
    margin-bottom: 20px;
}

.impressions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    margin-top: -20px;
}

.image-placeholder.actual-image {
    background-size: cover;
    background-position: center;
    cursor: pointer; /* Add cursor pointer to indicate clickability */
}

@media (max-width: 992px) { 
    .studio-showcase {
        gap: 40px;
    }
    .studio-content {
        padding-left: 20px;
    }
     .impressions-grid {
        gap: 25px;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    }
    .studio-content h3.refugium-title {
        font-size: 2rem; 
    }
    .placeholder-line {
        font-size: 0.85em;
    }
}

@media (max-width: 768px) {
    .massage-section {
        padding: 40px 15px; 
    }

    .section-subheader-alt p {
        margin-bottom: 20px;
        margin-right: 20px;
         margin-left: 8px;
    }

    .studio-showcase {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .studio-images { 
        grid-template-columns: 1fr; 
    }
    .image-placeholder.large { 
         grid-column: span 1; 
    }

    .studio-content {
        padding-left: 0; 
        text-align: center; 
    }

    .studio-content h3.refugium-title { 
        font-size: 1.8rem; 
    }

    .studio-content p {
        font-size: 1rem;
    }

    .additional-impressions {
        margin-top: -60px;
    }

    .additional-impressions .accent-line-alt {
        width: 60px;
    }
     .impressions-grid {
        gap: 20px; 
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); 
    }

    .additional-impressions .section-subheader-alt h3 {
        text-align: left;
        color: #3a3a3a;
        margin-bottom: 1.7rem;
        font-size: 2rem; 
        font-weight: 700;
        position: relative;
        padding-bottom: 0.8rem;
        margin-top: -20px;
         margin-left: 8px !important; 
    }

    .placeholder-line {
        font-size: 0.8em;
        padding: 5px 10px;
        margin: 3px 0;
    }
    .placeholder-line:hover {
        padding: 7px 12px;
    }

    .studio-discover-button { 
        padding: 10px 24px;
        font-size: 0.95rem;
    }
     .studio-content h3.refugium-title:hover { 
        padding: 8px 15px; 
    }
}

/* --- New/Enhanced Elegant Lightbox Styles with Thumbnails --- */
.elegant-lightbox {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.92);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 20px 0; /* Add some padding for top/bottom */
    box-sizing: border-box;
}

.elegant-lightbox.active {
    display: flex; /* Use flex for centering and layout */
    flex-direction: column; /* Stack image area and thumbnails vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    opacity: 1;
}

.elegant-lightbox-slider-area {
    display: flex;
    align-items: center; /* Vertically align prev/image/next */
    justify-content: center; /* Horizontally center this group */
    width: 100%;
    max-width: 95%; /* Limit width of slider area */
    position: relative; /* For positioning prev/next absolutely if needed, but flex works fine */
    margin-bottom: 15px; /* Space between main image and thumbnails */
    flex-grow: 1; /* Allow this area to take available space */
    min-height: 0; /* Fix for flex item overflow in some browsers */
}

.elegant-lightbox-content {
    display: flex; /* For centering the image if it's smaller than the container */
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* Image container takes available space between nav buttons */
    max-width: calc(100% - 120px); /* Account for nav buttons width */
    height: 100%; /* Take full height of slider-area */
    max-height: calc(100vh - 150px); /* Max height considering padding and thumbnails */
    overflow: hidden; /* Ensure image doesn't break layout */
}

.elegant-lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%; /* Fit within its container */
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-out;
    transition-delay: 0.1s;
}

.elegant-lightbox.active .elegant-lightbox-content img {
    transform: scale(1);
    opacity: 1;
}

/* Close Button */
.elegant-lightbox-close {
    position: absolute;
    top: 15px; /* Adjusted position */
    right: 25px; /* Adjusted position */
    color: #cccccc;
    font-size: 40px; /* Slightly smaller */
    font-weight: 300;
    line-height: 1;
    transition: color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    z-index: 10002; /* Above thumbnails and other content */
}

.elegant-lightbox-close:hover,
.elegant-lightbox-close:focus {
    color: #ffffff;
    transform: scale(1.1);
    text-decoration: none;
}

/* Next & previous buttons */
.elegant-lightbox-prev,
.elegant-lightbox-next {
    cursor: pointer;
    /* Removed absolute positioning, rely on flexbox in .elegant-lightbox-slider-area */
    padding: 15px;
    color: rgba(255,255,255,0.7);
    font-weight: bold;
    font-size: 28px; /* Slightly smaller */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background-color: rgba(0,0,0,0.2);
    z-index: 10001;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 10px; /* Space around buttons */
}

.elegant-lightbox-prev:hover,
.elegant-lightbox-next:hover {
    background-color: rgba(0,0,0,0.5);
    color: #ffffff;
    transform: scale(1.05);
}

.elegant-lightbox-nav-hidden {
    display: none !important;
}

/* Thumbnails Container */
.elegant-lightbox-thumbnails-container {
    width: 100%;
    max-width: 80%; /* Limit width of thumbnail strip */
    height: auto; /* Adjust based on content */
    max-height: 100px; /* Max height for the thumbnail bar */
    padding: 10px 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* Center thumbnails if they don't fill the width */
    align-items: center;
    overflow-x: auto; /* Allow horizontal scrolling for many thumbnails */
    overflow-y: hidden;
    /* Custom scrollbar for webkit browsers */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: rgba(255,255,255,0.3) rgba(0,0,0,0.1); /* Firefox thumb and track */
}

.elegant-lightbox-thumbnails-container::-webkit-scrollbar {
    height: 8px;
}

.elegant-lightbox-thumbnails-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.elegant-lightbox-thumbnails-container::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,0.3);
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}
.elegant-lightbox-thumbnails-container::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255,255,255,0.5);
}


.elegant-lightbox-thumbnail {
    width: 70px; /* Fixed width for thumbnails */
    height: 50px; /* Fixed height for thumbnails */
    margin: 0 5px;
    border-radius: 4px;
    overflow: hidden; /* Clip image if aspect ratio differs */
    cursor: pointer;
    transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    opacity: 0.6;
    border: 2px solid transparent;
    flex-shrink: 0; /* Prevent thumbnails from shrinking */
}

.elegant-lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    display: block;
}

.elegant-lightbox-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.elegant-lightbox-thumbnail.active {
    opacity: 1;
    border-color: #F6BFC0; /* Your accent color */
    transform: scale(1.08);
}
