/*!******************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[7].use[3]!./src/components/LandingImageScroller.module.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************/
/* filepath: src/components/LandingImageScroller.module.css */
.LandingImageScroller_landingImageScroller__evIz5 { /* Renamed from .colorPaletteScroller */
    position: relative;
    /* Default max-width for mobile (e.g., show 1 full image + part of next) */
    max-width: calc(100vw - 40px); /* Adjust based on desired look & padding */
    /* Keep width: 100% to allow shrinking on smaller screens if needed */
    width: 100%;
    margin: 20px auto; /* Center the scroller */
    overflow: hidden;
    /* Reduced padding for mobile */
    padding: 0 20px;
    box-sizing: border-box;
}

/* Apply larger max-width only on medium screens and up */
@media (min-width: 768px) { /* md breakpoint */
    .LandingImageScroller_landingImageScroller__evIz5 {
        /* Restore original max-width for 3 images */
        max-width: 1124px;
        /* Restore original padding */
        padding: 0 45px;
    }
}

.LandingImageScroller_imageContainer__Z61VY {
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth; /* Handled by JS scrollBy */
    padding: 10px 0; /* Padding for hover effect overflow */
    gap: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.LandingImageScroller_imageContainer__Z61VY::-webkit-scrollbar {
    display: none;
}

.LandingImageScroller_imageWrapper__Ec8gX {
   flex-shrink: 0;
   position: relative;
   /* Adjust width to be larger on mobile, matching screenshot's apparent width */
   width: clamp(280px, calc(100vw - 40px), 400px); /* Ideal width is viewport width minus 40px */
   /* height: auto; */
   border-radius: 4px;
   overflow: hidden;
   border: 1px solid #eee;
   background-color: #f8f9fa;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   cursor: pointer; /* Add pointer cursor to indicate clickability */
}

/* Apply larger width only on medium screens and up */
@media (min-width: 768px) { /* md breakpoint */
    .LandingImageScroller_imageWrapper__Ec8gX {
        /* Restore original width */
        width: 338px;
    }
}

.LandingImageScroller_imageWrapper__Ec8gX:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.LandingImageScroller_galleryImage__vfJqa { /* Renamed from .paletteImage */
    display: block;
    object-fit: contain; /* Use contain to show the whole image */
    width: 100%;
    height: auto; /* Crucial for maintaining aspect ratio */
    max-width: 100%;
}

/* --- Scroll Button Styles (copied, adjust if needed) --- */
/* Adjust button positions slightly for mobile padding */
.LandingImageScroller_scrollButton__Gfxvr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(50, 50, 50, 0.6);
    color: white;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 10;
    font-size: 24px;
    /* Adjust size if needed */
    width: 30px; /* Slightly smaller? */
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.LandingImageScroller_scrollButton__Gfxvr.LandingImageScroller_left__TPL_s { left: 5px; } /* Closer to edge with less padding */
.LandingImageScroller_scrollButton__Gfxvr.LandingImageScroller_right__Rft0E { right: 5px; }
.LandingImageScroller_scrollButton__Gfxvr:hover { background-color: rgba(0, 0, 0, 0.8); }
.LandingImageScroller_scrollButton__Gfxvr:active { background-color: rgba(0, 0, 0, 1); }

/* Restore button positions for desktop */
@media (min-width: 768px) {
    .LandingImageScroller_scrollButton__Gfxvr {
        width: 35px;
        height: 50px;
    }
    .LandingImageScroller_scrollButton__Gfxvr.LandingImageScroller_left__TPL_s { left: 5px; } /* Keep close or adjust */
    .LandingImageScroller_scrollButton__Gfxvr.LandingImageScroller_right__Rft0E { right: 5px; }
}

/* Lightbox Styles */
.LandingImageScroller_lightboxOverlay___IJ40 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Darker background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 25000; /* Increased z-index */
    padding: 0; /* Remove padding for true fullscreen */
    cursor: pointer; /* If overlay click closes lightbox */
}

.LandingImageScroller_lightboxContent__Iup4F {
    position: relative;
    width: 100vw; /* Full viewport width */
    height: 100vh; /* Full viewport height */
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    /* If padding is desired around the image, inside the black overlay, add it here: */
    /* e.g., padding: 20px; box-sizing: border-box; */
}

.LandingImageScroller_lightboxImage__N2WTB {
    display: block;
    max-width: 90%; /* Image uses up to 90% of the viewport dimension */
    max-height: 90%;
    object-fit: contain; /* Scales image while maintaining aspect ratio */
    width: auto;
    height: auto;
}

.LandingImageScroller_closeButton__ZIvvK {
    position: absolute;
    top: 25px; /* Position from top */
    right: 25px; /* Position from right */
    transform: none; /* Clear previous transforms */
    background: rgba(30, 30, 30, 0.75); /* Slightly more opaque background */
    border: none;
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 25002; /* Increased z-index, above overlay and nav buttons */
    line-height: 1;
    padding: 0; /* Padding will be handled by width/height for centering 'X' */
    border-radius: 50%; /* Circular button */
    width: 40px; /* Fixed width for the circle */
    height: 40px; /* Fixed height for the circle */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* In case it's an <a> tag */
}

.LandingImageScroller_closeButton__ZIvvK:hover {
    background: rgba(0, 0, 0, 0.9); /* Darker on hover */
    color: #eee;
}

.LandingImageScroller_lightboxNavButton__TeX6Y {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(50, 50, 50, 0.6);
    color: white;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    z-index: 25001; /* Increased z-index, above overlay but below close button */
    font-size: 24px;
    line-height: 1;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.LandingImageScroller_lightboxNavButton__TeX6Y:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.LandingImageScroller_prevButton__cRbBW {
    left: 10px;
}

.LandingImageScroller_nextButton__HZkpr {
    right: 10px;
}

/* Mobile Optimizations */
@media (max-width: 767px) { /* Targets screens smaller than md breakpoint */
    .LandingImageScroller_lightboxOverlay___IJ40 {
        padding: 0; /* Ensure no padding on mobile */
        /* z-index: 10000; is inherited */
    }

    .LandingImageScroller_lightboxContent__Iup4F {
        width: 100%; /* Full width */
        height: 100%; /* Full height */
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0; /* No rounded corners for fullscreen */
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .LandingImageScroller_lightboxImage__N2WTB {
        max-width: 90%; /* Consistent with desktop, or adjust for mobile */
        max-height: 90%;
        object-fit: contain;
    }

    .LandingImageScroller_closeButton__ZIvvK {
        position: absolute;
        top: 15px; /* Adjusted for mobile */
        right: 15px; /* Adjusted for mobile */
        transform: none; /* Clear previous transforms */
        font-size: 1.5rem; /* Slightly smaller for mobile */
        padding: 0; /* Padding handled by width/height */
        background-color: rgba(30, 30, 30, 0.75);
        color: white;
        z-index: 25003; /* Increased z-index, highest for mobile */
        border-radius: 50%; /* Circular */
        line-height: 1;
        width: 35px; /* Smaller circle for mobile */
        height: 35px; /* Smaller circle for mobile */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .LandingImageScroller_lightboxNavButton__TeX6Y {
        padding: 12px 8px; /* Slightly smaller padding for mobile */
        font-size: 20px; /* Slightly smaller font for mobile */
        background-color: rgba(30, 30, 30, 0.7); /* Ensure visibility */
        z-index: 25001; /* Same as desktop, ensures it's above overlay but below mobile close button */
    }

    .LandingImageScroller_prevButton__cRbBW {
        left: 10px; /* Adjusted slightly from 15px if needed */
    }

    .LandingImageScroller_nextButton__HZkpr {
        right: 10px; /* Adjusted slightly from 15px if needed */
    }
}

/* Ensure the container of the enlarged image has relative positioning */
.LandingImageScroller_enlarged-image-container__7t90B { /* Replace with your image container's class or ID */
  position: relative;
  /* ... other existing styles ... */
}

/* Remove the .fullscreen-image-viewer styles as they are now redundant */
