/* Base structure */
.fashion-shows {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
}

/* Background */
.fashion-shows__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #207c8a;
    z-index: 1;
}

/* Content wrapper */
.fashion-shows__content {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(2rem, 4dvh, 4rem);
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4dvh, 4rem);
    z-index: 2;
}

/* Header section */
.fashion-shows__header {
    opacity: 0;
}

.fashion-shows__title {
    color: #ffffff;
    font-family: 'Adamina', serif;
    font-size: clamp(2.5rem, 5vw, 80px);
    font-weight: 400;
    line-height: 1.2;
}

/* Special image - Updated to show on both desktop and mobile */
.fashion-shows__special-image {
    width: min(467px, 60%);
    margin: 0 auto;
    opacity: 0;
    display: block; /* Changed from none to block */
}

.fashion-shows__special-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Desktop slider */
.fashion-shows__desktop-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

.fashion-shows__track {
    display: flex;
    width: max-content; /* Changed from 200% to max-content */
    animation: slideTrack 60s linear infinite; /* Increased duration for more images */
}

.fashion-shows__slide-group {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    flex-shrink: 0; /* Added to prevent shrinking */
    padding: 0 1rem;
}

.fashion-shows__slide-group img {
    width: clamp(250px, 25vw, 314px);
    height: min(450px, 80dvh); /* Fixed height for consistency */
    object-fit: cover; /* Changed from contain to cover */
    flex-shrink: 0;
}

.fashion-shows__description {
    position: relative;
    max-width: 698px;
    margin: 2rem auto;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.5vw, 24px);
    font-weight: 600;
    line-height: 1.6;
    z-index: 999;
    padding: 2rem 0;
    display: block;
    opacity: 1;
}

.fashion-shows__text {
    display: block;
}

/* Hide mobile elements on desktop */
.fashion-shows__mobile-sliders,
.fashion-shows__mobile-row,
.fashion-shows__mobile-track,
.fashion-shows__mobile-group,
.fashion-shows__decorative-line,
.fashion-shows__decorative-border,
.fashion-shows__decorative-square {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    .fashion-shows__background {
        background: #253839;
    }

    .fashion-shows__content {
        padding: clamp(1rem, 3dvh, 1.5rem);
    }

    /* Updated special image styles for mobile */
    .fashion-shows__special-image {
        width: 80%; /* Adjusted width for mobile */
        max-width: 300px; /* Added max-width for mobile */
        margin: 1rem auto;
        display: block;
    }

    /* Show mobile elements */
    .fashion-shows__mobile-sliders {
        display: flex;
        flex-direction: column;
        gap: 4dvh;
        overflow: hidden;
        padding: 2dvh 0;
    }

    .fashion-shows__mobile-row {
        display: block;
        width: 100%;
        overflow: hidden;
        position: relative;
        height: min(153px, 20dvh);
    }

    .fashion-shows__mobile-track {
        display: flex;
        width: max-content; /* Changed from fit-content */
        animation: slideTrackMobile 40s linear infinite; /* Increased duration */
    }

    .fashion-shows__mobile-track--reverse {
        animation-direction: reverse;
    }

    .fashion-shows__mobile-group {
        display: flex; /* Changed from grid to flex */
        gap: 1rem;
        flex-shrink: 0;
        padding-right: 1rem;
    }

    .fashion-shows__mobile-group img {
        width: 112px;
        height: min(153px, 20dvh);
        object-fit: cover;
        flex-shrink: 0; /* Added to prevent shrinking */
    }

    /* Mobile text styling */
    .fashion-shows__title {
        font-size: clamp(1.5rem, 4vw, 30px);
        color: #dcb77c;
    }

    .fashion-shows__decorative-line {
        display: block;
        width: 187.5px;
        height: 2px;
        background: #dcb77c;
        margin-left: 2rem;
    }

    .fashion-shows__decorative-border {
        display: block;
        position: relative;
        padding: 2rem;
        border: 1px solid #dcb77c;
    }

    .fashion-shows__decorative-square {
        display: block;
        position: absolute;
        width: 12px;
        height: 12px;
        border: 1px solid #dcb77c;
        background: transparent;
        border-radius: 2px;
    }

    .fashion-shows__decorative-square:nth-child(1) {
        top: -6px;
        left: 68px;
    }

    .fashion-shows__decorative-square:nth-child(2) {
        top: -6px;
        right: 68px;
    }

    .fashion-shows__text {
        color: #dcb77c;
        font-size: clamp(0.625rem, 2vw, 10px);
        text-align: justify;
    }

    /* Hide only desktop slider */
    .fashion-shows__desktop-slider {
        display: none;
    }
}

/* Animations */
@keyframes slideTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interaction states */
.fashion-shows__track:hover,
.fashion-shows__mobile-track:hover {
    animation-play-state: paused;
}

/* Desktop Description */
.fashion-shows__desktop-description {
    max-width: 698px;
    margin: 4rem auto;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.5vw, 24px);
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    opacity: 0;
    z-index: 3;
}

@media (max-width: 768px) {
    .fashion-shows__desktop-description {
        display: none;
    }
}
/* Device specific tweaks remain unchanged */
/* (Previous media queries for iPad Mini, Surface Duo, etc.) */
/* RTL Support */
[dir="rtl"] .fashion-shows__content {
   direction: ltr; /* Keep slider mechanics */
}

[dir="rtl"] .fashion-shows__title,
[dir="rtl"] .fashion-shows__text,
[dir="rtl"] .fashion-shows__desktop-text {
   text-align: right;
   direction: rtl;
}

[dir="rtl"] .fashion-shows__decorative-line {
   margin-left: 0;
   margin-right: 2rem;
}

/* Adjust decorative squares for RTL */
[dir="rtl"] .fashion-shows__decorative-square:nth-child(1) {
   right: 68px;
   left: auto;
}

[dir="rtl"] .fashion-shows__decorative-square:nth-child(2) {
   left: 68px;
   right: auto;
}

/* Fix slider in RTL */
[dir="rtl"] .fashion-shows__slide {
   transform: scaleX(-1);
}

[dir="rtl"] .fashion-shows__slide img {
   transform: scaleX(-1);
}

@media screen and (min-width: 1025px) {
   [dir="rtl"] .fashion-shows__content-text {
       direction: rtl;
   }
}