/* ===========================================
   MARBLE COLLECTIONS MINIMAL GRID DESIGN
   =========================================== */

/* 1. COLLECTIONS PAGE LAYOUT */
.collections-page {
    padding: 80px 20px 60px;
    min-height: 100vh;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

/* Page Header */
.collections-header {
    text-align: center;
    margin-bottom: 50px;
}

.collections-header h1 {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.collections-header h1:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #D4AF37;
}

.collections-header p {
    color: #aaa;
    font-size: 1rem;
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* 2. MINIMAL COLLECTION GRID - 4 PER ROW */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Collection Card - Image + Name Only */
.collection-card {
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.collection-card:hover {
    transform: translateY(-5px);
}

/* Image Container */
.collection-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}

.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);
}

/* Overlay Effect */
.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-card:hover .collection-overlay {
    opacity: 1;
}

/* Collection Name - Minimal */
.collection-name {
    text-align: center;
    padding: 0 10px;
}

.collection-name h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collection-card:hover .collection-name h3 {
    color: #D4AF37;
}

/* View Button (Hidden initially, shows on hover) */
.collection-view-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #D4AF37;
    color: #000;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    border: none;
    cursor: pointer;
}

.collection-card:hover .collection-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.collection-view-btn:hover {
    background: #fff;
    transform: translateX(-50%) translateY(0) scale(1.05);
}

/* 3. RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 900px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .collection-image {
        height: 240px;
    }
    
    .collections-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .collection-image {
        height: 300px;
    }
    
    .collections-page {
        padding: 60px 15px 40px;
    }
}

/* 4. CATEGORY FILTERS */
.category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #D4AF37;
    color: #000;
    border-color: #D4AF37;
}

/* 5. LOAD MORE BUTTON */
.load-more-container {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: transparent;
    border: 1px solid #D4AF37;
    color: #D4AF37;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.load-more-btn:hover {
    background: #D4AF37;
    color: #000;
    transform: translateY(-2px);
}

/* 6. EMPTY STATE */
.no-collections {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-collections i {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-collections h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-collections p {
    color: #888;
    max-width: 400px;
    margin: 0 auto;
}

/* 7. PRODUCT PAGE STYLES */
.marble-product-details {
    padding: 40px 20px;
}

@media (max-width: 900px) {
    .marble-product-details {
        grid-template-columns: 1fr !important;
    }
}