/* Lookbook Gallery V2 - Redesigned */
.lookbook-section-v2 {
    background: linear-gradient(180deg, rgba(10,25,41,0.98) 0%, rgba(15,30,50,0.98) 100%);
    position: relative;
}

.lookbook-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.lookbook-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.lookbook-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 4/5;
    background: rgba(20,40,70,0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lookbook-item.lookbook-large {
    grid-row: span 2;
    aspect-ratio: 4/5;
}

.lookbook-item.lookbook-wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

.lookbook-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.lookbook-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.85) contrast(1.1);
}

.lookbook-item:hover .lookbook-image-wrapper img {
    transform: scale(1.08);
    filter: brightness(0.95) contrast(1.15);
}

.lookbook-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lookbook-item:hover .lookbook-content {
    transform: translateY(0);
    opacity: 1;
}

.lookbook-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(74,144,226,0.2);
    border: 1px solid rgba(74,144,226,0.4);
    border-radius: 20px;
    color: var(--primary-light);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.lookbook-content h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Border glow effect on hover */
.lookbook-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, 
        rgba(74,144,226,0) 0%, 
        rgba(74,144,226,0.6) 50%, 
        rgba(74,144,226,0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.lookbook-item:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .lookbook-masonry {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Disable hover effects and show content always on tablet/mobile */
@media (max-width: 992px) {
    .lookbook-item:hover .lookbook-image-wrapper img {
        transform: none;
        filter: brightness(0.85) contrast(1.1);
    }
    
    .lookbook-item:hover::before {
        opacity: 0;
    }
    
    /* Always show content on tablet/mobile */
    .lookbook-content {
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 70%, transparent 100%);
    }
    
    .lookbook-item:hover .lookbook-content {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .lookbook-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .lookbook-item.lookbook-wide {
        grid-column: span 2;
    }
    
    .lookbook-item.lookbook-large {
        grid-row: span 1;
        aspect-ratio: 4/5;
    }
    
    .lookbook-content {
        padding: 1.5rem;
    }
    
    .lookbook-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .lookbook-masonry {
        grid-template-columns: 1fr;
    }
    
    .lookbook-item.lookbook-wide {
        grid-column: span 1;
    }
    
    .lookbook-item {
        aspect-ratio: 3/4;
    }
    
    .lookbook-item.lookbook-large {
        aspect-ratio: 3/4;
    }
}

