/**
 * Boleyn Collections - Profesyonel Grid
 */

.boleyn-collections-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 60px 40px;
    background: #fff;
}

.boleyn-collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.boleyn-collections-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.boleyn-collections-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.boleyn-collection-card {
    position: relative;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.boleyn-collection-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

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

.boleyn-collection-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

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

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

.boleyn-collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.boleyn-view-collection {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 40px;
    background: rgba(201, 169, 97, 0.9);
    border: none;
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

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

.boleyn-collection-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.boleyn-collection-title {
    margin: 0 0 10px;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.boleyn-collection-description {
    margin: 0 0 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.boleyn-collection-count {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.boleyn-collection-banner {
    position: relative;
    height: 400px;
    margin-bottom: 60px;
    overflow: hidden;
}

.boleyn-collection-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.boleyn-collection-banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-align: center;
    padding: 40px;
}

.boleyn-collection-banner .boleyn-collection-title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .boleyn-collections-grid[data-columns="4"] {
        grid-template-columns: repeat(3, 1fr);
    }
    .boleyn-collection-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .boleyn-collections-wrapper {
        padding: 30px 20px;
    }
    .boleyn-collections-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
    .boleyn-collection-image {
        height: 250px;
    }
    .boleyn-collection-content {
        padding: 20px;
    }
    .boleyn-collection-title {
        font-size: 18px;
    }
    .boleyn-view-collection {
        font-size: 12px;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .boleyn-collections-grid {
        gap: 10px;
    }
    .boleyn-collection-image {
        height: 200px;
    }
    .boleyn-collection-content {
        padding: 15px;
    }
    .boleyn-collection-title {
        font-size: 16px;
    }
}

.woodmart-theme .boleyn-view-collection {
    background: var(--wd-primary-color, rgba(201, 169, 97, 0.9));
}
