/* Side Menu Gallery - 622db5db — Fullscreen Fixed Black + Uniform Gallery */

/* Reset wrapper */
.smg-622db5db-wrapper {
    position: relative;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== FULLSCREEN FIXED PANEL ===== */
.smg-622db5db-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0a0a0a;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
}

.smg-622db5db-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px 100px;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
.smg-622db5db-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 64px;
}

.smg-622db5db-menu-label {
    color: #c8a97e;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    white-space: nowrap;
}

.smg-622db5db-menu-line {
    flex: 1;
    height: 1px;
    max-width: 120px;
}

.smg-622db5db-menu-line--left {
    background: linear-gradient(90deg, transparent, #c8a97e);
}

.smg-622db5db-menu-line--right {
    background: linear-gradient(90deg, #c8a97e, transparent);
}

/* ===== MENU NAV ===== */
.smg-622db5db-menu-nav {
    display: flex;
    flex-direction: column;
}

/* ===== MENU ITEM ===== */
.smg-622db5db-menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.smg-622db5db-menu-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.smg-622db5db-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #c8a97e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-622db5db-menu-item:hover::before {
    transform: scaleX(1);
}

.smg-622db5db-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.smg-622db5db-menu-item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 28px 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-622db5db-menu-item:hover .smg-622db5db-menu-item-inner {
    transform: translateY(-2px);
}

.smg-622db5db-menu-number {
    color: #c8a97e;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    opacity: 0.4;
    min-width: 30px;
    text-align: right;
    transition: opacity 0.3s ease;
}

.smg-622db5db-menu-item:hover .smg-622db5db-menu-number {
    opacity: 1;
}

.smg-622db5db-menu-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.smg-622db5db-menu-title {
    font-size: 36px;
    font-weight: 200;
    color: #ffffff;
    letter-spacing: 3px;
    transition: color 0.3s ease, letter-spacing 0.5s ease;
    line-height: 1.15;
    text-transform: uppercase;
}

.smg-622db5db-menu-item:hover .smg-622db5db-menu-title {
    letter-spacing: 6px;
}

.smg-622db5db-menu-subtitle {
    font-size: 12px;
    color: #666666;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.smg-622db5db-menu-item:hover .smg-622db5db-menu-subtitle {
    opacity: 1;
}

.smg-622db5db-menu-arrow {
    color: rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    min-width: 30px;
}

.smg-622db5db-menu-item:hover .smg-622db5db-menu-arrow {
    color: #c8a97e;
    transform: translateX(6px);
}

/* ===== FOOTER WITH HOME BUTTON ===== */
.smg-622db5db-menu-footer {
    margin-top: 48px;
    padding-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.smg-622db5db-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    border: 1px solid #c8a97e;
    border-radius: 50px;
    color: #c8a97e;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    cursor: pointer;
}

.smg-622db5db-home-btn:hover {
    background: #c8a97e;
    color: #0a0a0a;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 169, 126, 0.25);
}

.smg-622db5db-home-btn:hover svg {
    stroke: #0a0a0a;
}

.smg-622db5db-home-btn svg {
    transition: stroke 0.4s ease;
}

/* ===== GALLERY OVERLAY ===== */
.smg-622db5db-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    overflow-y: auto;
    padding: 0 60px 60px;
    box-sizing: border-box;
    animation: smg622db5dbSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.smg-622db5db-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: sticky;
    top: 0;
    z-index: 2;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.smg-622db5db-overlay-back {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.smg-622db5db-overlay-back:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
}

.smg-622db5db-overlay-title {
    font-size: 36px;
    font-weight: 200;
    letter-spacing: 4px;
    margin: 0;
    color: #ffffff;
    text-transform: uppercase;
    position: relative;
}

.smg-622db5db-overlay-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #c8a97e;
    margin: 12px auto 0;
}

.smg-622db5db-overlay-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.smg-622db5db-overlay-close:hover {
    transform: rotate(90deg);
}

/* ===== GALLERY GRID — UNIFORM SIZE ===== */
.smg-622db5db-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
}

.smg-622db5db-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.smg-622db5db-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    display: block;
}

.smg-622db5db-gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.15);
}

.smg-622db5db-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.5) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.smg-622db5db-gallery-item:hover::after {
    opacity: 1;
}

.smg-622db5db-gallery-item-zoom {
    position: absolute;
    bottom: 16px;
    right: 16px;
    color: #fff;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.smg-622db5db-gallery-item:hover .smg-622db5db-gallery-item-zoom {
    opacity: 1;
    transform: translateY(0);
}

/* ===== LIGHTBOX ===== */
.smg-622db5db-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: smg622db5dbFadeIn 0.3s ease;
}

@keyframes smg622db5dbFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.smg-622db5db-lb-image {
    max-width: 88vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.7);
    transition: opacity 0.3s ease;
}

.smg-622db5db-lb-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    z-index: 3;
}

.smg-622db5db-lb-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.smg-622db5db-lb-prev,
.smg-622db5db-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 3;
}

.smg-622db5db-lb-prev { left: 24px; }
.smg-622db5db-lb-next { right: 24px; }

.smg-622db5db-lb-prev:hover,
.smg-622db5db-lb-next:hover {
    background: #c8a97e;
    border-color: #c8a97e;
}

.smg-622db5db-lb-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    letter-spacing: 4px;
    z-index: 3;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .smg-622db5db-inner {
        padding: 40px 20px 80px;
    }

    .smg-622db5db-menu-title {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .smg-622db5db-menu-item-inner {
        padding: 20px 12px;
        gap: 16px;
    }

    .smg-622db5db-menu-number {
        display: none;
    }

    .smg-622db5db-menu-arrow {
        display: none;
    }

    .smg-622db5db-menu-header {
        margin-bottom: 30px;
    }

    .smg-622db5db-menu-footer {
        margin-top: 30px;
    }

    .smg-622db5db-home-btn {
        padding: 14px 28px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    .smg-622db5db-overlay {
        padding: 0 16px 30px;
    }

    .smg-622db5db-overlay-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    .smg-622db5db-overlay-back span {
        display: none;
    }

    .smg-622db5db-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .smg-622db5db-lb-prev,
    .smg-622db5db-lb-next {
        width: 42px;
        height: 42px;
    }

    .smg-622db5db-lb-prev { left: 8px; }
    .smg-622db5db-lb-next { right: 8px; }
}
