/* Custom styles for InLet website */

@import url('https://fonts.googleapis.com/css2?family=Outfit&family=Roboto&display=swap');

/* Global CSS */

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    -webkit-font-smoothing: "Outfit", sans-serif;
    -moz-osx-font-smoothing: "Outfit", sans-serif;
    font-style: normal;
}

/* Carousel container - ensure proper height and overflow */
.carousel-container {
    overflow: hidden;
}

.carousel-slide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.active {
    opacity: 1;
}

/* Carousel controls - hide by default, show on hover */
.carousel-container .carousel-prev,
.carousel-container .carousel-next {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-container:hover .carousel-prev,
.carousel-container:hover .carousel-next {
    opacity: 1;
}

/* Smooth transitions */
* {
    transition: all 0.3s ease;
}

/* Splide slider configuration for shadow visibility */
.splide {
    padding: 0;
    margin: 0 -20px;
}

.splide__track {
    padding: 20px;
}

.splide__list {
    display: flex !important;
}

.splide__slide {
    padding: 0 10px;
}

/* Ensure smooth shadow rendering */
.splide__slide > article,
.splide__slide > div {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.splide__slide > article:hover,
.splide__slide > div:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

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

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hover effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Image loading */
img {
    image-rendering: -webkit-optimize-contrast;
}

/* Image placeholder styles */
.img-placeholder {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    min-height: 200px;
}

.img-placeholder::before {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 4rem;
    opacity: 0.3;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.img-placeholder::after {
    content: attr(data-placeholder);
    position: absolute;
    font-size: 0.875rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    white-space: nowrap;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.img-error {
    background: linear-gradient(135deg, #d1d5db 0%, #9ca3af 100%);
}

/* Placeholder for different image types */
.banner-placeholder {
    min-height: 400px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.product-placeholder {
    min-height: 200px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.team-placeholder {
    min-height: 300px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.news-placeholder {
    min-height: 200px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.gallery-placeholder {
    min-height: 250px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

.research-placeholder {
    min-height: 200px;
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
}

/* Image loading state */
img.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* Navbar Logo */
nav img {
    max-height: 60px;
    height: auto;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

nav a:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    nav img {
        max-height: 48px;
    }
}

/* Form styles */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Button animations */
button,
.btn {
    position: relative;
    overflow: hidden;
}

button:before,
.btn:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover:before,
.btn:hover:before {
    width: 300px;
    height: 300px;
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Team Slider Styles */
.teamSwiper {
    padding: 20px 0 60px 0;
}

.teamSwiper .swiper-slide {
    height: auto;
    display: flex;
}

.teamSwiper .swiper-slide>div {
    width: 100%;
    flex: 1;
}

.teamSwiper .swiper-button-next,
.teamSwiper .swiper-button-prev {
    color: #2563eb;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.teamSwiper .swiper-button-next:after,
.teamSwiper .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.teamSwiper .swiper-button-next:hover,
.teamSwiper .swiper-button-prev:hover {
    background: #2563eb;
    color: white;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

.teamSwiper .swiper-pagination {
    bottom: 10px;
}

.teamSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.teamSwiper .swiper-pagination-bullet-active {
    background: #2563eb;
    width: 30px;
    border-radius: 6px;
}

/* Swiper Container Wrapper - Common for all swipers */
.swiper-container-wrapper {
    position: relative;
    padding: 0 10px;
}

@media (max-width: 640px) {
    .swiper-container-wrapper {
        padding: 0;
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {

    .teamSwiper .swiper-button-next,
    .teamSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .teamSwiper .swiper-button-next:after,
    .teamSwiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Products Slider Styles - Splide */
.splide.products-slider {
    padding: 20px 0 60px 0;
}

.splide.products-slider .splide__slide {
    height: auto;
}

.splide.products-slider .splide__slide > article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.splide.products-slider .splide__arrow {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.15),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2563eb;
}

.splide.products-slider .splide__arrow:hover {
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.35),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
}

.splide.products-slider .splide__arrow:active {
    transform: scale(1.05);
}


.productsSwiper .swiper-button-next:after,
.productsSwiper .swiper-button-prev:after {
    font-size: 22px;
    font-weight: 900;
}

.productsSwiper .swiper-button-next:hover,
.productsSwiper .swiper-button-prev:hover {
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.35),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
}

.productsSwiper .swiper-button-next:active,
.productsSwiper .swiper-button-prev:active {
    transform: scale(1.05);
}

.productsSwiper .swiper-pagination {
    bottom: 10px;
}

.productsSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.productsSwiper .swiper-pagination-bullet-active {
    background: #2563eb;
    width: 30px;
    border-radius: 6px;
}

/* News Slider Styles - Splide */
.splide.news-slider {
    padding: 20px 0 60px 0;
}

.splide.news-slider .splide__slide {
    height: auto;
}

.splide.news-slider .splide__slide > article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.splide.news-slider .splide__arrow {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.15),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2563eb;
}

.splide.news-slider .splide__arrow:hover {
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.35),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
}

.splide.news-slider .splide__arrow:active {
    transform: scale(1.05);
}
                

.newsSwiper .swiper-button-next:after,
.newsSwiper .swiper-button-prev:after {
    font-size: 22px;
    font-weight: 900;
}

.newsSwiper .swiper-button-next:hover,
.newsSwiper .swiper-button-prev:hover {
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.35),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
}

.newsSwiper .swiper-button-next:active,
.newsSwiper .swiper-button-prev:active {
    transform: scale(1.05);
}

.newsSwiper .swiper-pagination {
    bottom: 10px;
}

.newsSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.newsSwiper .swiper-pagination-bullet-active {
    background: #2563eb;
    width: 30px;
    border-radius: 6px;
}

/* Research Slider Styles - Splide */
.splide.research-slider {
    padding: 20px 0 60px 0;
}

.splide.research-slider .splide__slide {
    height: auto;
}

.splide.research-slider .splide__slide > article {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.splide.research-slider .splide__arrow {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.15),
                inset 0 1px 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2563eb;
}

.splide.research-slider .splide__arrow:hover {
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.35),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
}

.splide.research-slider .splide__arrow:active {
    transform: scale(1.05);
}

.researchSwiper .swiper-button-next:after,
.researchSwiper .swiper-button-prev:after {
    font-size: 22px;
    font-weight: 900;
}

.researchSwiper .swiper-button-next:hover,
.researchSwiper .swiper-button-prev:hover {
    background: rgba(37, 99, 235, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.15);
    box-shadow: 0 12px 40px 0 rgba(37, 99, 235, 0.35),
                inset 0 1px 2px 0 rgba(255, 255, 255, 0.6);
}

.researchSwiper .swiper-button-next:active,
.researchSwiper .swiper-button-prev:active {
    transform: scale(1.05);
}

.researchSwiper .swiper-pagination {
    bottom: 10px;
}

.researchSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.researchSwiper .swiper-pagination-bullet-active {
    background: #2563eb;
    width: 30px;
    border-radius: 6px;
}

/* Responsive Swiper adjustments for all sections */
@media (max-width: 1024px) {
    .productsSwiper .swiper-button-next,
    .productsSwiper .swiper-button-prev,
    .newsSwiper .swiper-button-next,
    .newsSwiper .swiper-button-prev,
    .researchSwiper .swiper-button-next,
    .researchSwiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .productsSwiper .swiper-button-next:after,
    .productsSwiper .swiper-button-prev:after,
    .newsSwiper .swiper-button-next:after,
    .newsSwiper .swiper-button-prev:after,
    .researchSwiper .swiper-button-next:after,
    .researchSwiper .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Hide navigation buttons on mobile */
@media (max-width: 640px) {
    .productsSwiper .swiper-button-next,
    .productsSwiper .swiper-button-prev,
    .newsSwiper .swiper-button-next,
    .newsSwiper .swiper-button-prev,
    .researchSwiper .swiper-button-next,
    .researchSwiper .swiper-button-prev {
        display: none;
    }
}

/* Gallery Modal Styles */
#galleryModal {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#galleryModal.show {
    opacity: 1;
}

#galleryModalImage {
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gallery navigation buttons */
#galleryModal button {
    transition: all 0.3s ease;
}

#galleryModal button:hover {
    transform: scale(1.1);
}

#galleryModal button:active {
    transform: scale(0.95);
}

/* Gallery items hover effect */
.gallery-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Smooth fade for modal caption */
#galleryModalCaption {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner for images in modal */
.modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===============================================
   BANNER ANIMATIONS
   =============================================== */

/* Typing cursor blink animation */
.typing-cursor {
    display: inline-block;
    margin-left: 2px;
    animation: blink 0.7s infinite;
}

.typing-cursor.opacity-0 {
    opacity: 0;
    animation: none;
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Slide in from left animation */
.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out forwards;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Slide in from bottom animation */
.animate-slideInUp {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade in up animation for button */
.animate-fadeInUp {
    animation: fadeInUp 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Banner content transitions */
.banner-title,
.banner-description,
.banner-button {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Ensure smooth carousel transitions */
.carousel-slide .banner-content {
    position: relative;
    z-index: 10;
}

/* Text shadow for better readability */
.banner-title,
.banner-description {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Button hover effect enhancement */
.banner-button {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease !important;
}

.banner-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* ===============================================
   BENTO GALLERY LAYOUT
   =============================================== */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Responsive grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
        gap: 10px;
    }
    
    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}

/* Bento item sizes */
.bento-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #1f2937;
}

.bento-normal {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}

/* Bento image */
.bento-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.bento-item:hover .bento-image {
    transform: scale(1.1);
    filter: brightness(0.7);
}

/* Bento overlay */
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-item:hover .bento-overlay {
    opacity: 1;
}

.bento-caption {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.bento-item:hover .bento-caption {
    transform: translateY(0);
}

.bento-caption h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.bento-large .bento-caption h3 {
    font-size: 18px;
}

/* ===============================================
   LIGHTBOX STYLES
   =============================================== */

.bento-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* No need for .active class - using display:flex inline */

/* Close button */
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Navigation buttons */
.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

/* Lightbox content */
.lightbox-content {
    position: relative;
    max-width: 85vw;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-image {
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    max-width: 600px;
}

/* Thumbnail strip */
.lightbox-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    max-width: 80vw;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.lightbox-thumbnails::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.lightbox-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    flex-shrink: 0;
}

.lightbox-thumb:hover {
    opacity: 0.8;
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: white;
    transform: scale(1.1);
}

/* Image counter */
.lightbox-counter {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
}

/* Responsive lightbox */
@media (max-width: 768px) {
    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 18px;
        top: 10px;
        right: 10px;
    }
    
    .lightbox-thumbnails {
        display: none;
    }
    
    .lightbox-caption {
        font-size: 14px;
        padding: 15px;
    }
    
    .lightbox-counter {
        font-size: 14px;
        padding: 6px 12px;
    }
}


