/* =========================================
   LOOKBOOK - THE ART GALLERY EDITION (V11)
   Differentiation: Elite Frame Geometry
   ========================================= */

:root {
    --lb-forest: #053e2f;
    --lb-emerald: #10b981;
    --lb-mint: #f0fdf4;
    --lb-gold: #d4af37;
    --lb-warm-ivory: #fafaf9;
    --lb-dark: #1c1917;
    --gold-grad: linear-gradient(135deg, #d4af37, #fef08a, #a8850b);
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--lb-dark);
    background: #fff;
}

/* 1. ARTISTIC HERO */
.lb-modern-hero {
    height: 60vh;
    min-height: 500px;
    background: url('/images/2.webp') center bottom/cover no-repeat fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0 0 100px 100px;
}

.lb-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(6, 78, 59, 0.7));
}

.lb-hero-frame {
    position: relative;
    z-index: 10;
    padding: 60px;
    background: transparent;
    backdrop-filter: none;
    max-width: 850px;
    text-align: center;
}

.serif-gold {
    font-family: 'Playfair Display', serif;
    background: var(--gold-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
}

.lb-hero-modern-title {
    font-size: clamp(3.5rem, 9vw, 6rem);
    color: #fff;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.lb-hero-lead {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* 2. REFINED SECTIONS (COMPACT) */
.lb-section {
    padding: 80px 0;
    position: relative;
}

.lb-section.bg-alt {
    background: var(--lb-warm-ivory);
}

.lb-header-1 {
    font-size: 1rem;
    font-weight: 900;
    color: var(--lb-gold);
    letter-spacing: 6px;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.lb-header-2 {
    font-size: 3.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: var(--lb-dark);
    margin-bottom: 30px;
    line-height: 1.1;
}

.lb-header-2 span {
    color: var(--lb-emerald);
}

.lb-intro-text {
    font-size: 1.2rem;
    color: #57534e;
    line-height: 1.8;
    border-left: 5px solid var(--lb-gold);
    padding-left: 30px;
}

/* 3. THE "OFFSET FRAME" CANVAS (Scaled Down) */
.lb-art-canvas {
    position: relative;
    width: 100%;
    height: 450px;
    /* Reduced from 550px */
}

.lb-frame-main {
    position: absolute;
    width: 75%;
    /* Reduced from 80% */
    height: 80%;
    top: 0;
    right: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.lb-frame-sub {
    position: absolute;
    width: 65%;
    /* Reduced from 70% */
    height: 70%;
    bottom: 0;
    left: 0;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: 0.5s ease;
}

.lb-frame-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 75%;
    height: 80%;
    border: 2px solid var(--lb-gold);
    border-radius: 20px;
    z-index: 1;
}

.lb-art-canvas img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 4. MODERN MASKED CARDS (BENTO GRID) */
.lb-modern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 20px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

/* Bento Spanning Rules */
.lb-modern-card.bento-big {
    grid-column: span 2;
    grid-row: span 2;
}

.lb-modern-card.bento-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.lb-modern-card.bento-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.lb-modern-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background: #fff;
}

.lb-chapter-header-centered {
    text-align: center;
    margin-bottom: 40px;
}

.lb-chapter-header-centered .lb-header-2 {
    font-size: 4.5rem;
    letter-spacing: -3px;
    font-weight: 900;
}

.lb-chapter-header-centered .lb-intro-text {
    border-left: none;
    padding-left: 0;
    max-width: 750px;
    margin: 0 auto;
}

.lb-modern-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.lb-modern-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(6, 78, 59, 0.15);
    z-index: 10;
}

.lb-modern-card:hover img {
    transform: scale(1.08);
}

.lb-hover-mask {
    position: absolute;
    inset: 0;
    background: rgba(5, 62, 47, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
    z-index: 4;
}

.lb-modern-card:hover .lb-hover-mask {
    opacity: 1;
}

.lb-hover-mask i {
    color: #fff;
    font-size: 2.22rem;
    transform: translateY(20px);
    transition: 0.4s;
}

.lb-hover-mask span {
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    transform: translateY(20px);
    transition: 0.5s 0.2s;
}

.lb-modern-card:hover .lb-hover-mask i,
.lb-modern-card:hover .lb-hover-mask span {
    transform: translateY(0);
}

/* 5. 3D SLIDER (Working Spec) */
.lb-3d-wrapper {
    padding: 80px 0;
}

.lb-3d-container {
    width: 100%;
    height: 550px;
    perspective: 2000px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.lb-3d-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lb-3d-item {
    position: absolute;
    width: 320px;
    height: 420px;
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
}

.lb-3d-card {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 5px solid #fff;
}

.lb-3d-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lb-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    background: #fff !important;
    border: none !important;
    border-radius: 50%;
    z-index: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lb-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.lb-prev {
    left: 40px;
}

.lb-next {
    right: 40px;
}

.lb-nav-btn:hover {
    background: var(--lb-emerald) !important;
    color: #fff !important;
}

/* 6. REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.lb-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.98);
    display: none;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(25px);
}

.lb-modal.active {
    display: flex;
}

.lb-modal-close-v5 {
    position: absolute;
    top: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: none;
    cursor: pointer;
}
