/* Brand Values Widget Styles */

.brand-values-wrapper {
    background-color: #f0ebe5;
    padding: 60px 0;
    position: relative;
}

.brand-values-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Values Grid - Görsele uygun düzen */
.values-grid {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile ve tablet'te gap'i kaldır */
@media (max-width: 1024px) {
    .values-grid {
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Desktop düzeni için wrapper'lar */
@media (min-width: 1025px) {
    .desktop-left-column,
    .desktop-right-column {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .desktop-left-column {
        padding-top: 40px;
    }
    
    .mobile-slide-1,
    .mobile-slide-2,
    .mobile-slide-3,
    .mobile-slide-4 {
        display: block;
    }
}

/* Value Items */
.value-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.value-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

/* Özel boyutlandırma - görseldeki gibi */
.value-item.top-left {
    width: 280px;
    height: 320px;
}

.value-item.top-right {
    width: 280px;
    height: 220px;
}

.value-item.bottom-left {
    width: 280px;
    height: 220px;
}

.value-item.bottom-right {
    width: 280px;
    height: 320px;
}

/* Value item wrapper */
.value-item-wrapper {
    display: flex;
    flex-direction: column;
}

/* Hover Overlay */
.value-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
    pointer-events: none;
}

.value-item:hover::after {
    background: rgba(255, 255, 255, 0.3);
}

.value-item:hover img {
    transform: scale(1.05);
}

/* Title - Görselin altında, her zaman görünür */
.value-title {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #333;
    margin: 15px 0 0 0;
    text-align: left;
}

/* Caption - Sadece hover'da görünür, görselin üstünde */
.value-caption {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 235, 229, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    box-sizing: border-box;
}

.value-item:hover .value-caption {
    opacity: 1;
}

.value-description {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    margin: 0;
    text-align: center;
    max-width: 100%;
    word-wrap: break-word;
    display: block;
}

/* Center Logo */
.center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.center-logo img {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.center-logo.default-icon {
    padding: 20px;
}

.center-logo.default-icon svg {
    width: 100%;
    height: 100%;
    color: #333;
}

/* Desktop'ta mobile slides'ları gizle */
@media (min-width: 1025px) {
    .mobile-slide-1,
    .mobile-slide-2,
    .mobile-slide-3,
    .mobile-slide-4 {
        display: none !important;
    }
    
    /* Desktop'ta grid'i normal boyuta getir */
    .values-grid {
        width: auto !important;
        overflow: visible !important;
    }
}

/* Bottom Text */
.bottom-text {
    text-align: center;
    margin-top: 40px;
}

.bottom-text a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.bottom-text a:hover {
    opacity: 0.7;
}

/* Mobile stiller brand-values-mobile.css dosyasına taşındı */

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .values-grid {
        gap: 20px;
    }
    
    .value-item.top-left,
    .value-item.top-right,
    .value-item.bottom-left,
    .value-item.bottom-right {
        height: 350px;
        margin: 0;
    }
    
    .value-caption {
        bottom: 20px;
        left: 20px;
    }
    
    .value-title {
        font-size: 13px;
    }
    
    .value-description {
        font-size: 14px;
        max-width: 250px;
    }
}

/* Desktop'ta mobile elements gizle - Brand Values için özel */
@media (min-width: 1025px) {
    .brand-values-wrapper .mobile-nav,
    .brand-values-wrapper .mobile-bottom-section {
        display: none !important;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .brand-values-container {
        max-width: 100%;
        padding: 0 60px;
    }
    
    .values-grid {
        max-width: 100%;
        gap: 40px;
    }
    
    .value-item.top-left,
    .value-item.bottom-right {
        width: 320px;
        height: 360px;
    }
    
    .value-item.top-right,
    .value-item.bottom-left {
        width: 320px;
        height: 260px;
    }
}