/* CLAUDER - Desktop Navbar & Categories Styles */

/* DESKTOP NAVBAR */
@media screen and (min-width: 769px) {
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .navbar-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 30px;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .nav-menu {
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        gap: 20px;
    }
    
    .nav-item {
        border: none !important;
    }
    
    .nav-item a {
        padding: 10px 20px !important;
        border-radius: 25px;
        transition: all 0.3s ease;
        position: relative;
        overflow: visible;
    }
    
    .nav-item a::before {
        display: none;
    }
    
    .nav-item a:hover {
        color: var(--primary);
        background: white;
        box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
        transform: translateY(-2px);
    }
    
    .nav-item a.active {
        color: white;
        background: var(--primary);
        box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
    }
}

/* DESKTOP CATEGORIES - UNIFORM SIZE */
@media screen and (min-width: 769px) {
    
    .categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
        margin-top: 40px;
        padding: 0 20px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .category-card {
        position: relative;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        height: 280px; /* ALTURA FIJA UNIFORME */
        background: #f8f9fa;
    }
    
    .category-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    }
    
    .category-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 20px !important;
        transition: transform 0.4s ease;
    }
    
    .category-card:hover .category-image {
        transform: scale(1.1);
        border-radius: 20px !important;
    }
    
    .category-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
            135deg, 
            rgba(0, 94, 255, 0.85) 0%, 
            rgba(5, 0, 101, 0.9) 100%
        );
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 30px;
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        backdrop-filter: blur(2px);
    }
    
    .category-card:hover .category-overlay {
        opacity: 1;
    }
    
    .category-overlay h3 {
        color: white;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 15px;
        transform: translateY(30px);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .category-card:hover .category-overlay h3 {
        transform: translateY(0);
    }
    
    .category-overlay p {
        color: rgba(255, 255, 255, 0.95);
        font-size: 16px;
        line-height: 1.5;
        padding: 0 15px;
        transform: translateY(30px);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    }
    
    .category-card:hover .category-overlay p {
        transform: translateY(0);
    }
    
    /* EFECTO ADICIONAL PARA DESKTOP */
    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg, 
            transparent, 
            rgba(255, 255, 255, 0.2), 
            transparent
        );
        transition: left 0.6s ease;
        z-index: 2;
    }
    
    .category-card:hover::before {
        left: 100%;
    }
}

/* RESPONSIVE ADJUSTMENTS */
@media screen and (min-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 40px;
    }
    
    .category-card {
        height: 320px;
    }
    
    .category-overlay h3 {
        font-size: 32px;
    }
    
    .category-overlay p {
        font-size: 18px;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
}