/* markalar.css - Tamamen yenilenmiş versiyon */

/* Slider Kırmızı Oval Arkaplan */
.slider-controls-bg {
    position: absolute;
    bottom: -220px;
    left: -200px;
    width: 500px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
    background-color: transparent;
}

.slider-controls-bg svg {
    width: 100%;
    height: 100%;
}

.slider-controls-bg svg path {
    fill: #e20613;
}

/* Öne Çıkan Markalar Bölümü */
.featured-brands {
    position: relative;
    padding: 60px 0;
    z-index: 3;
}

.featured-brands h2 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--dark);
    text-align: right;
    margin-top: 50px;
}

.featured-brands h2 span {
    color: #e20613;
}

.featured-brands p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
    text-align: right;
}

/* Sağa hizalı başlık ve içerik */
.featured-brands .section-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Markalar Container */
.brands-container {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
    width: 100%;
    margin-top: 10px;
}

/* Marka Kartları - SVG Şekillerle */
.brand-item {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Brand shape - eski ebatlar */
.brand-shape {
    position: absolute;
    top: -25%;
    left: -25%;
    width: 150%;
    height: 150%;
    z-index: -1;
    filter: drop-shadow(0 10px 20px rgba(226, 6, 19, 0.2));
}

/* SVG path için kırmızı renk */
.brand-shape path {
    fill: #e20613 !important;
}

/* Logo görüntüsü - tam ortalama */
.brand-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 70%;
    max-height: 70%;
    z-index: 1;
    transition: all 0.4s ease;
}

/* Hover animasyonu */
.brand-item:hover {
    transform: translateY(-10px);
}

.brand-item:hover img {
    transform: translate(-50%, -50%) scale(1.1);
}

/* SVG etrafında kesik çizgili animasyon */
.brand-item::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1.5px dashed #e20613;
    border-radius: 47% 53% 50% 50% / 44% 43% 57% 56%;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

.brand-item:hover::after {
    opacity: 1;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Aktif durum için stil */
.brand-item.active .brand-shape {
    filter: drop-shadow(0 15px 30px rgba(226, 6, 19, 0.3));
}

/* Lorem ipsum içerik stili */
.lorem-content {
    max-width: 400px;
    text-align: right;
    margin-left: auto;
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
    margin-top: 10px;
}

/* Markalar sayfasında header slider için düzeltme */
.header-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 5;
    overflow: visible;
}

/* Slider container düzeltmeleri */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Sayfa akışı düzeltmeleri */
body {
    overflow-x: hidden;
}

/* Responsive Ayarlar */
@media (max-width: 992px) {
    .slider-controls-bg {
        width: 280px;
        height: 350px;
        bottom: -40px;
    }
    
    .brand-item {
        width: 170px;
        height: 170px;
    }
    
    .featured-brands .section-container,
    .featured-brands h2,
    .featured-brands p,
    .lorem-content {
        text-align: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .brands-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .slider-controls-bg {
        width: 230px;
        height: 230px;
        bottom: -30px;
    }
    
    .brands-container {
        gap: 30px;
        flex-wrap: wrap;
    }
    
    .brand-item {
        width: 140px;
        height: 140px;
    }
    
    .featured-brands h2 {
        font-size: 2.5rem;
    }
}