.apt-gallery-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .apt-gallery-header {
            text-align: center;
            margin-bottom: 60px;
            color: white;
        }

        .apt-gallery-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 16px;
            background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }

        .apt-gallery-subtitle {
            font-size: 1.25rem;
            opacity: 0.9;
            font-weight: 300;
            letter-spacing: 0.5px;
            color: #18442c;
            padding-top: 13px;
        }

        .apt-gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            grid-template-rows: repeat(2, 350px);
            gap: 20px;
            margin-bottom: 40px;
        }

        /* Layout asimmetrico moderno */
        .apt-gallery-item:nth-child(1) {
            grid-column: 1 / 3;
            grid-row: 1;
        }

        .apt-gallery-item:nth-child(2) {
            grid-column: 3;
            grid-row: 1;
        }

        .apt-gallery-item:nth-child(3) {
            grid-column: 1;
            grid-row: 2;
        }

        .apt-gallery-item:nth-child(4) {
            grid-column: 2;
            grid-row: 2;
        }

        .apt-gallery-item:nth-child(5) {
            grid-column: 3;
            grid-row: 2;
        }

        .apt-gallery-item:nth-child(6) {
            grid-column: 1 / 4;
            grid-row: 3;
            height: 250px;
        }

        .apt-gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 0px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
        }

        .apt-gallery-item:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 
                0 25px 50px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
        }

        .apt-gallery-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            filter: brightness(0.9);
        }

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

        .apt-gallery-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                135deg,
                rgba(0, 0, 0, 0) 0%,
                rgba(0, 0, 0, 0.3) 50%,
                rgba(0, 0, 0, 0.8) 100%
            );
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 32px;
            opacity: 0;
            transition: all 0.4s ease;
        }

        .apt-gallery-item:hover .apt-gallery-overlay {
            opacity: 1;
        }

        .apt-gallery-room-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: white;
            margin-bottom: 8px;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.1s;
        }

        .apt-gallery-room-desc {
            font-size: 1rem;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.4;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.2s;
        }

        .apt-gallery-item:hover .apt-gallery-room-title,
        .apt-gallery-item:hover .apt-gallery-room-desc {
            transform: translateY(0);
        }

        .apt-gallery-zoom-icon {
            position: absolute;
            top: 24px;
            right: 24px;
            width: 48px;
            height: 48px;
      
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: #fdfdfd;
            opacity: 0;
            transform: scale(0.8);
            transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .apt-gallery-item:hover .apt-gallery-zoom-icon {
            opacity: 1;
            transform: scale(1);
        }
 .apt-gallery-zoom-icon img {
            width: 50px;
            height: auto;
            opacity: 1;
         }
        /* Modal moderno */
     .apt-gallery-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #114b4b87;
    backdrop-filter: blur(6px);
    animation: modalFadeIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

        @keyframes modalFadeIn {
            from { 
                opacity: 0;
                backdrop-filter: blur(0px);
            }
            to { 
                opacity: 1;
                backdrop-filter: blur(20px);
            }
        }

        .apt-gallery-modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 90vw;
            max-height: 90vh;
            animation: modalSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        @keyframes modalSlideIn {
            from {
                transform: translate(-50%, -50%) scale(0.8);
                opacity: 0;
            }
            to {
                transform: translate(-50%, -50%) scale(1);
                opacity: 1;
            }
        }

        .apt-gallery-modal-image {
            width: 100%;
            height: auto;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 16px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        }

        .apt-gallery-close {
            position: fixed;
            top: 32px;
            right: 32px;
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            color: white;
            font-size: 24px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10001;
        }

        .apt-gallery-close:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }

        .apt-gallery-nav {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            width: 56px;
            height: 56px;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            color: white;
            font-size: 20px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 10001;
        }

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

        .apt-gallery-prev {
            left: 32px;
        }

        .apt-gallery-next {
            right: 32px;
        }

        .apt-gallery-counter {
            position: fixed;
            bottom: 32px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            color: white;
            padding: 12px 24px;
            border-radius: 24px;
            font-size: 14px;
            font-weight: 500;
            z-index: 10001;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .apt-gallery-grid {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: repeat(3, 300px);
            }

            .apt-gallery-item:nth-child(1) {
                grid-column: 1 / 3;
            }

            .apt-gallery-item:nth-child(2),
            .apt-gallery-item:nth-child(3) {
                grid-column: auto;
                grid-row: auto;
            }

            .apt-gallery-item:nth-child(4),
            .apt-gallery-item:nth-child(5) {
                grid-column: auto;
                grid-row: auto;
            }

            .apt-gallery-item:nth-child(6) {
                grid-column: 1 / 3;
            }
        }

        @media (max-width: 768px) {
            .apt-gallery-grid {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(5, 250px);
                gap: 16px;
            }

            .apt-gallery-item {
                grid-column: 1 !important;
                grid-row: auto !important;
                border-radius: 16px;
            }

            .apt-gallery-overlay {
                padding: 24px;
            }

            .apt-gallery-room-title {
                font-size: 1.25rem;
            }

            .apt-gallery-nav,
            .apt-gallery-close {
                width: 48px;
                height: 48px;
            }

            .apt-gallery-close {
                top: 24px;
                right: 24px;
            }

            .apt-gallery-prev {
                left: 24px;
            }

            .apt-gallery-next {
                right: 24px;
            }
            .apt-gallery-modal-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    transform: scale(1.7);
    transform-origin: center center;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}
        }