/* Modern Collections Page Styles */
:root {
    --primary-color: #000;
    --primary-light: #333;
    --primary-dark: #000;
    --accent-color: #c9a77c;
    --text-color: #333;
    --text-light: #777;
    --background-color: #fff;
    --card-bg: #fff;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --sans-font: "Helvetica Neue", Arial, sans-serif;
    --serif-font: Georgia, "Times New Roman", Times, serif;
    --transition-slow: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-medium: 0.3s ease;
    --transition-fast: 0.2s ease;
    --overlay-color: rgba(0, 0, 0, 0.7);
    --overlay-gradient: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    --section-spacing: 80px;
    --dark-bg: #212529;
    --button-dark: #212529;
    --black: #000000;
    --white: #ffffff;
    --text-muted: #6c757d;
    --text-secondary: #495057;
}

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

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

.collections-hero {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: auto;
    min-height: 600px;
    max-height: none;
    background-color: var(--dark-bg);
    background-image: none;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

.collections-hero-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.collections-hero-title {
    font-family: var(--serif-font);
    font-size: 48px;
    font-weight: 500;
    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-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.collections-breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.collections-breadcrumbs a:hover {
    color: white;
    text-decoration: underline;
}

.collections-breadcrumbs .separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 4px;
}

.collections-breadcrumbs .current {
    color: white;
    font-weight: 500;
}

.collections-section {
    padding: 0 0 var(--section-spacing);
}

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

.collection-card {
    display: flex;
    flex-direction: column;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-medium),
        box-shadow var(--transition-medium);
    opacity: 1;
    transform: translateY(0);
}

.collection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.collection-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: background var(--transition-medium);
    border-radius: 0;
}

.collection-card:hover .collection-overlay {
    background: var(--overlay-gradient);
}

.collection-view-btn {
    display: inline-flex;
    align-items: center;
    background-color: white;
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    opacity: 1;
    /* Always visible */
    transform: translateY(0);
    /* No animation */
    transition: background-color var(--transition-fast),
        color var(--transition-fast);
    align-self: flex-start;
}

.collection-view-btn i {
    margin-left: 8px;
    transition: transform var(--transition-fast);
}

.collection-view-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.collection-view-btn:hover i {
    transform: translateX(5px);
}

.collection-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.collection-title {
    font-family: var(--serif-font);
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 15px;
    color: var(--primary-color);
}

.collection-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin: 0 0 25px;
    flex-grow: 1;
}

/* BUTTON STYLES - Clean hierarchy without conflicts */
.collection-button {
    display: inline-block;
    background-color: transparent;
    color: var(--dark-bg);
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 0;
    padding: 0 0 5px 0;
    text-decoration: none;
    text-transform: none;
    transition: all var(--transition-fast);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--dark-bg);
    align-self: center;
    margin: 0 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    box-sizing: border-box;
}

.collection-button:hover {
    background-color: transparent;
    color: var(--black);
    border-bottom-color: var(--black);
    border-bottom-width: 2px;
    transform: none;
    box-shadow: none;
    padding-bottom: 4px;
}

[dir="rtl"] .collection-view-btn {
    flex-direction: row;
}

[dir="rtl"] .collection-view-btn i {
    margin-left: 8px;
    margin-right: 0;
    transform: rotate(180deg);
}

[dir="rtl"] .collection-view-btn:hover i {
    transform: rotate(180deg) translateX(-5px);
}

[dir="rtl"] .collection-button {
    align-self: flex-end;
}

[dir="rtl"] .collections-breadcrumbs {
    flex-direction: row-reverse;
}

[dir="rtl"] .collections-breadcrumbs .separator {
    transform: rotate(180deg);
}

/* Responsive Styles */
@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: 25px;
    }

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

    .collection-image {
        height: 280px;
    }

    .collection-content {
        padding: 25px;
    }

    .collection-overlay {
        padding: 25px;
    }
}

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

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

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

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

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

    .collections-hero-slide {
        background-attachment: scroll;
    }

    .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-hero-indicators {
        bottom: 20px;
    }

    .collections-hero-content {
        padding: 0 20px;
    }

    .collection-card {
        max-height: 50vh;
    }

    .collection-image {
        height: 180px;
        max-height: 180px;
    }

    .collection-content {
        padding: 18px;
    }

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

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

    .collection-overlay {
        opacity: 1;
        background: rgba(0, 0, 0, 0.4);
    }

    .collection-view-btn {
        font-size: 13px;
        padding: 8px 16px;
        gap: 6px;
    }

    .collection-view-btn span {
        max-width: 120px;
    }

    .collection-overlay {
        opacity: 1;
        background: rgba(33, 37, 41, 0.7);
    }

    .collection-view-btn {
        opacity: 1;
        transform: translateY(0);
        position: relative;
        transition: none;
        pointer-events: auto;
        cursor: pointer;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .collection-card:hover .collection-overlay,
    .collection-card.touch-hover .collection-overlay,
    .collection-card:active .collection-overlay {
        opacity: 1;
        background: rgba(33, 37, 41, 0.7);
        transform: none;
    }

    .collection-card:hover .collection-view-btn,
    .collection-card.touch-hover .collection-view-btn,
    .collection-card:active .collection-view-btn {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }

    .collection-card {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

@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-hero-content {
        padding: 0 15px;
    }

    .collection-card {
        max-height: 45vh;
        min-height: auto;
    }

    .collection-content {
        padding: 15px;
    }

    .collection-image {
        height: 150px;
        max-height: 150px;
    }

    .collection-overlay {
        padding: 15px;
    }

    .collection-title {
        font-size: 16px;
        margin: 0;
        padding-bottom: 10px;
    }

    .collection-description {
        font-size: 13px;
        line-height: 1.5;
        margin: 0 0 12px;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .collection-button,
    .collection-view-btn span {
        font-size: 12px;
        padding: 0 0 3px 0;
    }

    .collection-view-btn {
        font-size: 12px;
        padding: 6px 12px;
        gap: 4px;
    }

    .collection-card .collection-button {
        max-width: 140px;
        font-size: 11px;
    }
}

.collections-page-wrapper {
    padding-top: 0;
    margin-top: 0;
}

.collections-section {
    padding-top: 0;
    margin-top: 0;
}

.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;
    display: block;
    opacity: 0;
    transition: none;
}

.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-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);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.collections-hero-content {
    position: relative;
    z-index: 2;
}

.collections-hero-content {
    text-align: center;
    padding: 0 20px;
}

.collection-overlay {
    background: rgba(33, 37, 41, 0.9);
    background-image: none;
    border-radius: 0;
}

.collection-card,
.collection-image,
.collection-image img {
    border-radius: 0;
}

.collections-breadcrumbs {
    display: none;
}

.collection-description {
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collection-description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more-toggle {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    font-weight: normal;
}

.read-more-toggle:hover {
    color: var(--text-secondary);
    text-decoration: underline;
}

.collection-description.no-overflow + .read-more-toggle {
    display: none;
}

.collection-description.collapsed {
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.collection-content .read-more-toggle {
    display: block;
    width: fit-content;
    margin: 10px auto 15px auto;
}

.collection-button,
.collection-view-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.collection-view-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 140px;
}

@media (max-width: 360px) {
    .collection-button,
    .collection-view-btn span {
        font-size: 10px;
    }

    .collection-card .collection-button {
        max-width: 120px;
        font-size: 10px;
    }
}

@media (hover: none) and (pointer: coarse) {
    .collection-overlay {
        opacity: 1;
        background: rgba(33, 37, 41, 0.8);
    }

    .collection-view-btn {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }

    .collection-card:hover .collection-overlay,
    .collection-card:hover .collection-view-btn,
    .collection-card:hover .collection-name {
        transform: none;
        opacity: 1;
    }
}

[dir="rtl"] .collection-view-btn {
    flex-direction: row-reverse;
}

[dir="rtl"] .collection-view-btn i {
    margin-right: 10px;
    margin-left: 0;
}
.coming-soon-section {
    background: #ffffff;
    margin-top: 0;
    margin-bottom: 0;
    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: 800;
    color: var(--black);
    margin: 0 0 30px 0;
}

.coming-soon-message {
    font-size: 1rem;
    color: #666666;
    line-height: 1.6;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .coming-soon-section {
        padding: 60px 20px;
        min-height: 350px;
    }

    .coming-soon-title {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
        margin-bottom: 25px;
    }

    .coming-soon-message {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .coming-soon-section {
        padding: 30px 15px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }

    .coming-soon-container {
        padding: 0 15px;
    }

    .coming-soon-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 15px;
    }

    .coming-soon-message {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .coming-soon-section {
        padding: 20px 15px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0;
    }

    .coming-soon-container {
        padding: 0 10px;
    }

    .coming-soon-title {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
        margin-bottom: 10px;
    }

    .coming-soon-message {
        font-size: 0.85rem;
    }
}
