/* ============================================
   CATALOGO STYLES (Card Layout)
   ============================================ */

.catalog-list {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Section */
.catalog-category {
    margin-bottom: 80px;
}

.catalog-category:last-child {
    margin-bottom: 0;
}

/* Category Title */
.catalog-category-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-black);
    color: var(--color-black);
    display: inline-block;
    width: 100%;
}

/* Grid Layout */
.catalog-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Card Component */
/* Card Component */
.catalog-card {
    display: flex;
    /* Horizontal Layout */
    background-color: #fff;
    /* White background per request */
    align-items: stretch;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

    /* Animation Initial State */
    opacity: 0;
    transform: translateY(30px);
    /* Auto-animation removed to allow JS scroll trigger */
}

.catalog-card.animate-in {
    animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger animations purely via CSS for simplicity, or we can use JS observer. 
   Using a simple delay based on child index is tricky with multiple categories.
   Let's use a generic animation class we already have or keep it simple.
   The HTML has 'reveal' classes on sections, but these are new items.
   I'll add a simple animation here.
*/
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.catalog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.catalog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.catalog-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Wrapper for Image */
.catalog-card__image-wrapper {
    width: 45%;
    /* Adjust width of image section */
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.catalog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-card__image {
    transform: scale(1.05);
}

/* Content Side */
.catalog-card__content {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    /* Explicit white */
    width: 55%;
}

/* Meta / Date / Category */
.catalog-card__meta {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    /* Gray */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Work Title */
.catalog-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Description */
.catalog-card__desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .catalog-card {
        flex-direction: column;
        /* Stack vertically on mobile */
    }

    .catalog-card__image-wrapper {
        width: 100%;
        height: 250px;
        /* Fixed height for image on mobile */
    }

    .catalog-card__content {
        width: 100%;
        padding: 25px;
    }

    .catalog-card__title {
        font-size: 22px;
    }
}