/* ===============================================
   CATEGORIES STRUCTURED LAYOUT (1 + 3 Pattern)
   =============================================== */

.categories-structured-grid {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.category-row {
    display: flex;
    width: 100%;
}

.category-row-single {
    height: 500px;
}

.category-row-triple {
    height: 400px;
}

.category-row-single .category-fullwidth-item {
    flex: 1;
}

.category-row-triple .category-fullwidth-item {
    flex: 1;
}

.category-fullwidth-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-fullwidth-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.category-fullwidth-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.fullwidth-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.fullwidth-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.category-fullwidth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    transition: all 0.3s ease;
}

.category-fullwidth-content {
    color: white;
    width: 100%;
}

.fullwidth-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.fullwidth-description {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.fullwidth-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-text {
    transition: transform 0.3s ease;
}

.fullwidth-action i {
    transition: transform 0.3s ease;
}

/* Hero Category (First Row) Styles */
.category-hero {
    height: 100%;
}

.category-hero .fullwidth-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.category-hero .fullwidth-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 60%;
}

.category-hero .fullwidth-action {
    font-size: 1.1rem;
    gap: 0.75rem;
}

.category-hero .category-fullwidth-overlay {
    padding: 3rem;
}

/* Small Categories (Triple Row) Styles */
.category-small .fullwidth-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.category-small .fullwidth-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.category-small .fullwidth-action {
    font-size: 0.8rem;
}

/* Hover Effects */
.category-fullwidth-item:hover .fullwidth-img {
    transform: scale(1.1);
}

.category-fullwidth-item:hover .category-fullwidth-overlay {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

.category-fullwidth-item:hover .fullwidth-action i {
    transform: translateX(5px);
}

.category-fullwidth-item:hover .action-text {
    transform: translateX(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .category-row-single {
        height: 450px;
    }
    
    .category-row-triple {
        height: 300px;
    }
    
    .category-hero .fullwidth-title {
        font-size: 2.5rem;
    }
    
    .category-hero .fullwidth-description {
        font-size: 1.1rem;
        max-width: 70%;
    }
}

@media (max-width: 768px) {
    .category-row {
        flex-direction: column;
    }
    
    .category-row-single {
        height: 400px;
    }
    
    .category-row-triple {
        height: auto;
    }
    
    .category-row-triple .category-fullwidth-item {
        height: 250px;
    }
    
    .category-hero .fullwidth-title {
        font-size: 2rem;
    }
    
    .category-hero .fullwidth-description {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .category-hero .category-fullwidth-overlay {
        padding: 2rem;
    }
    
    .category-small .category-fullwidth-overlay {
        padding: 1.5rem;
    }
    
    .category-small .fullwidth-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .categories-structured-grid {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .category-row-single {
        height: 300px;
    }
    
    .category-row-triple .category-fullwidth-item {
        height: 200px;
    }
    
    .category-hero .fullwidth-title {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }
    
    .category-hero .fullwidth-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .category-hero .fullwidth-action {
        font-size: 0.9rem;
    }
    
    .category-small .fullwidth-title {
        font-size: 1rem;
    }
    
    .category-small .fullwidth-description {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .category-small .fullwidth-action {
        font-size: 0.75rem;
    }
}

/* Animation enhancements */
.category-fullwidth-item {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.6s ease;
}

.category-fullwidth-item.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* Placeholder gradient variations */
.category-small:nth-child(1) .fullwidth-placeholder {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.category-small:nth-child(2) .fullwidth-placeholder {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.category-small:nth-child(3) .fullwidth-placeholder {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
} 