/* ========================================
   BRAND STORIES SECTION
   Marka Hikayelerimiz - Horizontal Scroll Cards
   ======================================== */

/* ===== SECTION WRAPPER ===== */
.brand-stories-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* ===== SECTION HEADER ===== */
.brand-stories-header {
    text-align: center;
    margin-bottom: 60px;
}

.brand-stories-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFF;
    margin-bottom: 0;
}

/* ===== CARDS CONTAINER ===== */
.brand-stories-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-stories-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.brand-stories-scroll::-webkit-scrollbar {
    height: 8px;
}

.brand-stories-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.brand-stories-scroll::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 99, 0.5);
    border-radius: 10px;
}

.brand-stories-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(233, 30, 99, 0.7);
}

/* ===== STORY CARD ===== */
.brand-story-card {
    position: relative;
    min-width: 280px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.brand-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.3);
}

/* ===== CARD IMAGE ===== */
.brand-story-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.brand-story-card:hover .brand-story-card__image {
    transform: scale(1.05);
}

/* ===== CARD OVERLAY ===== */
.brand-story-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background 0.3s ease;
}

.brand-story-card:hover .brand-story-card__overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

/* ===== CARD CONTENT ===== */
.brand-story-card__brand {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.brand-story-card__description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ===== VIEW MORE BUTTON ===== */
.brand-stories-footer {
    text-align: center;
    margin-top: 50px;
}

.brand-stories-btn {
    padding: 16px 48px;
    border-radius: 100px;
    background: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.3);
    border: none;
    cursor: pointer;
}

.brand-stories-btn:hover {
    background: linear-gradient(135deg, #C2185B 0%, #9C27B0 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4);
    color: #ffffff !important;
}

.brand-stories-btn i {
    font-size: 18px;
    color: #ffffff;
}

/* ===== LIGHT MODE ===== */
body.light-mode .brand-stories-section {
    background: #ffffff;
}

body.light-mode .brand-stories-title {
    color: #1d1d1f;
}

body.light-mode .brand-story-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .brand-story-card:hover {
    box-shadow: 0 20px 60px rgba(233, 30, 99, 0.25);
}

body.light-mode .brand-stories-scroll::-webkit-scrollbar-track {
    background: #f3f4f6;
}

body.light-mode .brand-stories-scroll::-webkit-scrollbar-thumb {
    background: rgba(233, 30, 99, 0.4);
}

body.light-mode .brand-stories-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(233, 30, 99, 0.6);
}

/* ===== RESPONSIVE ===== */

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .brand-stories-section {
        padding: 80px 0;
    }
    
    .brand-stories-title {
        font-size: 36px;
    }
    
    .brand-story-card {
        min-width: 240px;
        height: 360px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .brand-stories-section {
        padding: 60px 0;
    }
    
    .brand-stories-header {
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .brand-stories-title {
        font-size: 28px;
    }
    
    .brand-stories-container {
        padding: 0 10px;
    }
    
    .brand-stories-scroll {
        gap: 16px;
    }
    
    .brand-story-card {
        min-width: 220px;
        height: 340px;
    }
    
    .brand-story-card__overlay {
        padding: 20px;
    }
    
    .brand-story-card__brand {
        font-size: 18px;
    }
    
    .brand-story-card__description {
        font-size: 13px;
    }
    
    .brand-stories-btn {
        padding: 14px 40px;
        font-size: 15px;
    }
}

/* ===== ANIMATIONS ===== */
.brand-story-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.brand-story-card:nth-child(1) { animation-delay: 0.1s; }
.brand-story-card:nth-child(2) { animation-delay: 0.15s; }
.brand-story-card:nth-child(3) { animation-delay: 0.2s; }
.brand-story-card:nth-child(4) { animation-delay: 0.25s; }
.brand-story-card:nth-child(5) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ACCESSIBILITY ===== */
.brand-story-card:focus {
    outline: 2px solid #E91E63;
    outline-offset: 2px;
}

.brand-stories-btn:focus {
    outline: 2px solid #E91E63;
    outline-offset: 2px;
}
