/* 
 * VEKS Production Page - Premium Bento Grid
 */

.veks-production-page {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    margin-left: calc(-50vw + 50%);
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

/* Hero Section */
.veks-production-page__hero {
    position: relative;
    padding: 260px 0 120px;
    background: transparent;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.veks-production-page__hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.veks-production-page__hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.veks-production-page__hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 1) 100%);
}

.veks-production-page__hero-content {
    position: relative;
    z-index: 3;
    max-width: 1320px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
}

.veks-production-page__title {
    font-family: "Playfair Display", "Noto Sans Armenian", serif;
    font-size: clamp(41px, 2vw, 82px);
    font-weight: 300;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.veks-production-page__subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
    line-height: 1.6;
}

/* Hero Decorative Elements */
.veks-hero-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(213, 154, 87, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.veks-hero-divider {
    width: 60px;
    height: 2px;
    background: #d59a57;
    margin: 0 auto 30px;
    opacity: 0.8;
}

.veks-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.veks-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
}

.veks-wheel {
    width: 4px;
    height: 8px;
    background: #d59a57;
    border-radius: 2px;
    margin-top: 6px;
    animation: veks-scroll-wheel 2s infinite ease-in-out;
}

@keyframes veks-scroll-wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

/* Animations */
.veks-animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: veks-fade-up-anim 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes veks-fade-up-anim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Container */
.veks-production-page__content {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 15px 120px;
    box-sizing: border-box;
}

/* Bento Grid System */
.veks-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 350px;
    gap: 20px;
}

@media(min-width: 768px) {
    .veks-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }
}

@media(min-width: 1024px) {
    .veks-bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 320px;
        gap: 30px;
    }

    .veks-bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .veks-bento-square {
        grid-column: span 1;
        grid-row: span 1;
    }

    .veks-bento-tall {
        grid-column: span 1;
        grid-row: span 2;
    }

    .veks-bento-wide {
        grid-column: span 2;
        grid-row: span 1;
    }
}

/* Bento Card Styles */
.veks-bento-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.veks-bento-item.is-visible {
    animation: veksBentoFadeInUp 0.8s cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes veksBentoFadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.veks-bento-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.veks-bento-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.8s;
    filter: brightness(0.65);
}

.veks-bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: opacity 0.6s;
    opacity: 0.8;
}

/* Content */
.veks-bento-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
}

.veks-bento-title {
    font-family: "Playfair Display", "Noto Sans Armenian", serif;
    font-size: clamp(17px, 2vw, 25px) !important;
    font-weight: 400;
    margin: 0;
    color: #fff;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0, 1);
    word-break: break-word;
    hyphens: auto;
}

.veks-bento-reveal {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.veks-bento-reveal-inner {
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.2, 0, 0, 1), transform 0.6s cubic-bezier(0.2, 0, 0, 1);
}

.veks-bento-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 15px 0 0 0;
}

.veks-bento-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #d59a57;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    background: transparent;
    border: none;
    padding: 0 15px;
    cursor: pointer;
}

.veks-bento-btn svg {
    transition: transform 0.3s;
}

/* Hover Effects */
.veks-bento-item:hover .veks-bento-image img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.veks-bento-item:hover .veks-bento-overlay {
    opacity: 0.95;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.veks-bento-item:hover .veks-bento-title {
    transform: translateY(0);
}

.veks-bento-item:hover .veks-bento-reveal {
    grid-template-rows: 1fr;
}

.veks-bento-item:hover .veks-bento-reveal-inner {
    opacity: 1;
    transform: translateY(0);
}

.veks-bento-btn:hover {
    color: #fff;
}

.veks-bento-btn:hover svg {
    transform: translateX(5px);
}

/* Specific Sizes Tweaks */
.veks-bento-large .veks-bento-title {
    font-size: clamp(17px, 2vw, 25px);
}

.veks-bento-large .veks-bento-desc {
    font-size: 16px;
}

/* -------------------------------------
 * Premium Lightbox Styles
 * ------------------------------------- */
.veks-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.veks-lightbox.is-active {
    opacity: 1;
    visibility: visible;
}

.veks-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.veks-lightbox__close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}

.veks-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.veks-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s, transform 0.3s;
}

.veks-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.veks-lightbox__nav--prev {
    left: 30px;
}

.veks-lightbox__nav--next {
    right: 30px;
}

.veks-lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
}

.veks-lightbox.is-active .veks-lightbox__content {
    transform: scale(1) translateY(0);
}

.veks-lightbox__image {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    display: block;
}

.veks-lightbox__caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.veks-lightbox__dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.veks-lightbox__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.veks-lightbox__dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.veks-lightbox__dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

@media(max-width: 768px) {
    .veks-lightbox__nav {
        width: 44px;
        height: 44px;
    }
    .veks-lightbox__nav svg {
        width: 24px;
        height: 24px;
    }
    .veks-lightbox__nav--prev { left: 10px; }
    .veks-lightbox__nav--next { right: 10px; }
    .veks-lightbox__close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}