/* W LIFE Page Styles */

/* Hero Section */
.wlife-hero {
    margin-top: 88px;
    background-color: #ffffff;
    position: relative;
}

/* Ticker Banner */
.wlife-ticker {
    background-color: #1a1a1a;
    height: 32px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    gap: 8px;
    animation: ticker-scroll 20s linear infinite;
    white-space: nowrap;
}

.ticker-content span {
    color: #696969;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: -0.42px;
    padding: 0 8px;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* W LIFE Content Section */
.wlife-content {
    background-color: #ffffff;
    min-height: calc(100vh - 120px);
    padding: 60px 0 80px;
}

.wlife-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 252px;
}

/* Title */
.wlife-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -1.44px;
    text-transform: uppercase;
    margin: 0 0 48px 0;
}

/* Gallery Grid */
.wlife-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 300px;
}

/* Loading State */
.wlife-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #f0f0f0;
    border-top-color: #1a1a1a;
    border-radius: 50%;
    animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

/* Empty & Error States */
.wlife-empty,
.wlife-error {
    text-align: center;
    color: #888;
    font-size: 16px;
    padding: 60px 20px;
}

.wlife-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.wlife-item {
    flex: 1;
    min-width: 0;
    aspect-ratio: 1;
}

.wlife-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    transition: opacity 0.3s ease;
}

.wlife-image:hover {
    opacity: 1;
}

.wlife-image:hover .wlife-overlay {
    opacity: 1;
}

/* Overlay with Instagram Icon */
.wlife-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wlife-overlay svg {
    color: #fff;
    width: 32px;
    height: 32px;
}

/* Placeholder styles for images */
.placeholder-light {
    background: #f2f2f2;
}

.placeholder-dark {
    background: #1a1a1a;
}

/* If real images are added */
.wlife-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */

@media (max-width: 1680px) {
    .wlife-container {
        padding: 0 180px;
    }
}

@media (max-width: 1440px) {
    .wlife-container {
        padding: 0 120px;
    }
    
    .wlife-row {
        gap: 20px;
    }
    
    .wlife-gallery {
        gap: 20px;
    }
}

@media (max-width: 1280px) {
    .wlife-container {
        padding: 0 120px;
    }
    
    .wlife-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .wlife-container {
        padding: 0 60px;
    }
    
    .wlife-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wlife-container {
        padding: 0 30px;
    }
    
    .wlife-title {
        font-size: 48px;
        margin-bottom: 32px;
    }
    
    .wlife-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .wlife-gallery {
        gap: 16px;
    }
}