/* ============================================
   COLLECTIONS SECTION - TABBED INTERFACE
   ============================================ */
.collections-section {
    padding: 3rem 0 2.5rem;
    background: #FFFFFF;
}

/* Tab Navigation */
.collection-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.8rem;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4B5563;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #D4AF37 0%, #FFD700 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #D4AF37;
    color: #1A1A1A;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.tab-btn:hover::before {
    transform: scaleX(1);
}

.tab-btn.active {
    background: linear-gradient(135deg, #8B0000 0%, #C41E3A 100%);
    border-color: #8B0000;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.25);
}

.tab-btn.active::before {
    transform: scaleX(1);
    background: #FFD700;
}

.tab-btn.active i {
    color: #FFD700;
}

/* Tab Content */
.tab-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Collection Grid - Smaller Cards */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Collection Card - Compact Design */
.collection-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F0 100%);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    position: relative;
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.05) 0%,
            rgba(255, 215, 0, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.collection-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
}

.collection-card:hover::before {
    opacity: 1;
}

.card-image {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.collection-card:hover .card-image img {
    transform: scale(1.1);
}

.card-body {
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.card-body h3 {
    font-family: var(--font-english-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    background: linear-gradient(135deg, #8B0000 0%, #C41E3A 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.collection-card:hover .card-body h3 {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .card-image {
        height: 150px;
    }

    .tab-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}