/* Modern Collections Page Styles - Enhanced */
:root {
    --primary-color: #000;
    --primary-light: #333;
    --primary-dark: #000;
    --text-color: #333;
    --text-light: #666;
    --background-color: #fff;
    --card-bg: #fff;
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --section-spacing: 80px;
    --dark-bg: #212529;
    --black: #000000;
    --white: #ffffff;
    --text-muted: #6c757d;
}

.collections-page-wrapper {
    width: 100%;
    max-width: 100%;
    background-color: var(--background-color);
    overflow-x: hidden;
    padding-top: 0;
    margin-top: 0;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* Hero Section */
.collections-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: auto;
    min-height: 500px;
    background-color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 60px;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

.collections-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.collections-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.collections-hero-slide.active {
    opacity: 1;
}

.collections-hero-slide:nth-child(1) {
    background-image: url("../images/collection-banner1.png");
}

.collections-hero-slide:nth-child(2) {
    background-image: url("../images/collection-banner2.png");
}

.collections-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    text-align: center;
}

.collections-hero-title {
    font-size: 48px;
    font-weight: 600;
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.collections-hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 25px;
    opacity: 0.9;
}

.collections-hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slide-indicator {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-indicator.active {
    background: white;
    width: 60px;
}

/* Collections Section */
.collections-section {
    padding: 0 0 var(--section-spacing);
    padding-top: 0;
    margin-top: 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Enhanced Collection Card */
.collection-card {
    position: relative;
    background: var(--white);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all var(--transition-medium);
}

.collection-card:hover {
    border-color: var(--dark-bg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.collection-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.collection-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collection-card:hover .collection-image img {
    transform: scale(1.05);
}

.collection-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--dark-bg);
    color: var(--white);
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

[dir="rtl"] .collection-badge {
    left: auto;
    right: 20px;
}

.collection-content {
    padding: 28px;
    background: var(--white);
}

.collection-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--black);
    line-height: 1.3;
}

.collection-description {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 20px;
}

.collection-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-bg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.collection-cta i {
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.collection-card:hover .collection-cta {
    color: var(--black);
}

.collection-card:hover .collection-cta i {
    transform: translateX(4px);
}

[dir="rtl"] .collection-card:hover .collection-cta i {
    transform: translateX(-4px);
}

/* Coming Soon */
.coming-soon-section {
    background: var(--white);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.coming-soon-container {
    max-width: 600px;
    margin: 0 auto;
}

.coming-soon-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--black);
    margin: 0 0 30px 0;
}

.coming-soon-message {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
    .collections-grid {
        gap: 30px;
    }

    .collections-hero-title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .collections-hero-title {
        font-size: 36px;
    }

    .collection-image {
        height: 240px;
    }

    .collection-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 60px;
    }

    .collections-hero {
        min-height: 400px;
        padding: 80px 20px;
        margin-bottom: 40px;
    }

    .collections-hero-title {
        font-size: 32px;
    }

    .collections-hero-subtitle {
        font-size: 16px;
    }

    .collections-hero-slide:nth-child(1) {
        background-image: url("../images/Collection-Banner1-Mobile.png");
    }

    .collections-hero-slide:nth-child(2) {
        background-image: url("../images/Collection-Banner2-Mobile.png");
    }

    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .collection-image {
        height: 180px;
    }

    .collection-badge {
        top: 12px;
        left: 12px;
        padding: 6px 10px;
        font-size: 9px;
    }

    [dir="rtl"] .collection-badge {
        left: auto;
        right: 12px;
    }

    .collection-content {
        padding: 16px;
    }

    .collection-title {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .collection-description {
        font-size: 13px;
        margin-bottom: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .collection-cta {
        font-size: 11px;
    }

    .coming-soon-section {
        padding: 40px 20px;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .collections-hero {
        min-height: 350px;
        padding: 60px 20px;
    }

    .collections-hero-title {
        font-size: 28px;
    }

    .collections-hero-subtitle {
        font-size: 14px;
    }

    .slide-indicator {
        width: 30px;
        height: 3px;
    }

    .slide-indicator.active {
        width: 45px;
    }

    .collections-grid {
        gap: 12px;
    }

    .collection-image {
        height: 150px;
    }

    .collection-badge {
        top: 10px;
        left: 10px;
        padding: 5px 8px;
        font-size: 8px;
    }

    [dir="rtl"] .collection-badge {
        left: auto;
        right: 10px;
    }

    .collection-content {
        padding: 14px;
    }

    .collection-title {
        font-size: 14px;
    }

    .collection-description {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .collection-cta {
        font-size: 10px;
    }
}

/* RTL Support */
[dir="rtl"] .collection-cta i {
    transform: rotate(180deg);
}

[dir="rtl"] .collection-card:hover .collection-cta i {
    transform: rotate(180deg) translateX(4px);
}
