/* ========================================
   COLLECTION SECTION
   Featured collections editorial grid
   ======================================== */

.collection-section {
    background: var(--bg-primary);
}

.collection-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4.5vh;
}

.collection-header {
    text-align: center;
    margin-bottom: 0;
}

.collection-label {
    font-family: var(--font-sans);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.collection-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--color-primary);
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}

.collection-divider {
    width: 50px;
    height: 1px;
    background-color: var(--color-accent);
    margin: 0 auto;
}

/* Grid Layout - Clean luxury grid */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.collection-card {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    padding: 10px;
    box-shadow: 0 12px 35px rgba(74, 16, 29, 0.04);
    transition: var(--transition-smooth);
    height: 400px;
    box-sizing: border-box;
    border-top-left-radius: 130px;
    border-top-right-radius: 130px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.collection-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 20px 45px rgba(197, 168, 128, 0.15);
}

.collection-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-top-left-radius: 120px;
    border-top-right-radius: 120px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

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

.collection-overlay {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 30px 24px;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 55%;
    box-sizing: border-box;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    transform: translateY(12px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-card-name {
    transform: translateY(0);
}

.collection-card-line {
    width: 30px;
    height: 1px;
    background-color: var(--color-accent);
    margin-bottom: 10px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-card-line {
    width: 50px;
}

.collection-card-cta {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.08s;
    display: inline-block;
}

.collection-card:hover .collection-card-cta {
    opacity: 1;
    transform: translateY(0);
}

.collection-card-cta:hover {
    color: #FFFFFF;
}

/* ========================================
   RESPONSIVE OVERRIDES
   ======================================== */
@media (min-width: 1920px) {
    .collection-card:nth-child(odd),
    .collection-card:nth-child(even) {
        height: 520px;
    }
}

@media (max-width: 1440px) {
    .collection-container {
        padding: 0 30px;
    }
}

@media (max-width: 1280px) {
    .collection-card:nth-child(odd),
    .collection-card:nth-child(even) {
        height: 380px;
        margin-top: 0;
    }
}

@media (max-width: 1024px) {
    .collection-section {
        min-height: auto;
        display: block;
        padding: 80px 0;
    }
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .collection-card:nth-child(even) {
        margin-top: 0;
    }
    .collection-card:nth-child(odd),
    .collection-card:nth-child(even) {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .collection-section {
        padding: 80px 0;
    }
    .collection-container {
        padding: 0 24px;
    }
    .collection-header {
        margin-bottom: 50px;
    }
    .collection-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 425px) {
    .collection-grid {
        grid-template-columns: 1fr;
    }
    .collection-card:nth-child(odd),
    .collection-card:nth-child(even) {
        height: 360px;
    }
    .collection-container {
        padding: 0 20px;
    }
    .collection-title {
        font-size: 2rem;
    }
}

@media (max-width: 375px) {
    .collection-title {
        font-size: 1.8rem;
    }
    .collection-card:nth-child(odd),
    .collection-card:nth-child(even) {
        height: 320px;
    }
}

@media (max-width: 320px) {
    .collection-section {
        padding: 60px 0;
    }
    .collection-title {
        font-size: 1.6rem;
    }
    .collection-card:nth-child(odd),
    .collection-card:nth-child(even) {
        height: 280px;
    }
    .collection-card-name {
        font-size: 1.2rem;
    }
}

