/* =====================================================
   BUSINESS SECTION - Masonry/Pinterest Layout
   ===================================================== */

.glamzn-business-section {
    padding: 10px 0 40px 0;
    background: #fff;
}

.dark .glamzn-business-section {
    background: #0f172a;
}

/* Header */
.glamzn-business-header {
    padding: 0 16px;
    margin-bottom: 24px;
}

.glamzn-business-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 3px solid #f59e0b;
}

.glamzn-business-title-bar i {
    font-size: 20px;
    color: #f59e0b;
}

.glamzn-business-title-bar h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.glamzn-business-title-bar a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.glamzn-business-title-bar a:hover {
    color: #f59e0b;
}

.dark .glamzn-business-title-bar a {
    color: #fff;
}

/* Subcategories */
.glamzn-business-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.glamzn-business-subcat {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f1f5f9;
    transition: all 0.3s;
    cursor: pointer;
}

.glamzn-business-subcat:hover {
    background: #f59e0b;
    color: #fff;
}

.glamzn-business-subcat.active {
    background: #f59e0b;
    color: #fff;
    font-weight: 600;
}

.dark .glamzn-business-subcat {
    background: #1e293b;
    color: #94a3b8;
}

.dark .glamzn-business-subcat:hover,
.dark .glamzn-business-subcat.active {
    background: #f59e0b;
    color: #fff;
}

/* Masonry Grid using CSS Grid */
.glamzn-business-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 16px;
}

/* Card styles */
.glamzn-business-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.glamzn-business-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.2);
}

.dark .glamzn-business-card {
    background: #1e293b;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.dark .glamzn-business-card:hover {
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.3);
}

.glamzn-business-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Card Image - Variable heights for masonry effect */
.glamzn-business-card-img {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Different heights for masonry variety */
.glamzn-business-card.small .glamzn-business-card-img {
    height: 180px;
}

.glamzn-business-card.medium .glamzn-business-card-img {
    height: 240px;
}

.glamzn-business-card.large .glamzn-business-card-img {
    height: 300px;
}

.glamzn-business-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.glamzn-business-card:hover .glamzn-business-card-img img {
    transform: scale(1.08);
}

/* Subtle overlay on hover */
.glamzn-business-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.glamzn-business-card:hover .glamzn-business-overlay {
    opacity: 1;
}

/* Badge */
.glamzn-business-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* Card Content */
.glamzn-business-card-content {
    padding: 16px;
}

.glamzn-business-card-content h3 {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 8px 0;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.glamzn-business-card:hover h3 {
    color: #f59e0b;
}

.dark .glamzn-business-card-content h3 {
    color: #fff;
}

/* Only show description on large and medium cards */
.glamzn-business-card.large .glamzn-business-card-content h3,
.glamzn-business-card.medium .glamzn-business-card-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.glamzn-business-card-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .glamzn-business-card-content p {
    color: #94a3b8;
}

/* Meta */
.glamzn-business-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #64748b;
    font-weight: 500;
    flex-wrap: wrap;
}

.dark .glamzn-business-meta {
    color: #94a3b8;
}

.glamzn-business-meta i {
    font-size: 10px;
    margin-right: 3px;
}

.glamzn-business-date,
.glamzn-business-time {
    display: flex;
    align-items: center;
}

.glamzn-business-time {
    color: #f59e0b !important;
    font-weight: 600;
}

.dark .glamzn-business-time {
    color: #fbbf24 !important;
}

/* =====================================================
   RESPONSIVE - Large Desktop
   ===================================================== */

@media (max-width: 1400px) {
    .glamzn-business-masonry {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =====================================================
   RESPONSIVE - Tablet
   ===================================================== */

@media (max-width: 1024px) {
    .glamzn-business-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .glamzn-business-card.small .glamzn-business-card-img {
        height: 160px;
    }

    .glamzn-business-card.medium .glamzn-business-card-img {
        height: 200px;
    }

    .glamzn-business-card.large .glamzn-business-card-img {
        height: 260px;
    }
}

/* =====================================================
   RESPONSIVE - Mobile
   ===================================================== */

@media (max-width: 768px) {
    .glamzn-business-section {
        padding: 16px 0 30px 0;
    }

    .glamzn-business-header {
        padding: 0 12px;
        margin-bottom: 20px;
    }

    .glamzn-business-title-bar h2 {
        font-size: 18px;
    }

    .glamzn-business-title-bar i {
        font-size: 18px;
    }

    .glamzn-business-subcats {
        gap: 6px;
    }

    .glamzn-business-subcat {
        font-size: 11px;
        padding: 3px 10px;
    }

    .glamzn-business-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 12px;
    }

    .glamzn-business-card.small .glamzn-business-card-img {
        height: 140px;
    }

    .glamzn-business-card.medium .glamzn-business-card-img {
        height: 180px;
    }

    .glamzn-business-card.large .glamzn-business-card-img {
        height: 220px;
    }

    .glamzn-business-card-content {
        padding: 12px;
    }

    .glamzn-business-card-content h3 {
        font-size: 14px;
    }

    .glamzn-business-card.large .glamzn-business-card-content h3,
    .glamzn-business-card.medium .glamzn-business-card-content h3 {
        font-size: 15px;
    }

    .glamzn-business-card-content p {
        font-size: 12px;
    }

    .glamzn-business-meta {
        font-size: 10px;
        gap: 8px;
    }
}

/* =====================================================
   RESPONSIVE - Small Mobile
   ===================================================== */

@media (max-width: 480px) {
    .glamzn-business-section {
        padding: 14px 0 24px 0;
    }

    .glamzn-business-header {
        padding: 0 10px;
        margin-bottom: 16px;
    }

    .glamzn-business-masonry {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 0 10px;
    }

    .glamzn-business-card.small .glamzn-business-card-img,
    .glamzn-business-card.medium .glamzn-business-card-img {
        height: 180px;
    }

    .glamzn-business-card.large .glamzn-business-card-img {
        height: 240px;
    }

    .glamzn-business-card-content h3 {
        font-size: 14px;
    }

    .glamzn-business-card.large .glamzn-business-card-content h3,
    .glamzn-business-card.medium .glamzn-business-card-content h3 {
        font-size: 15px;
    }

    .glamzn-business-subcats {
        gap: 4px;
    }

    .glamzn-business-subcat {
        font-size: 10px;
        padding: 3px 8px;
    }
}
