/**
 * view-all-link.css
 * Premium styling for "Voir tout" links
 */

/* ========================================
   VIEW ALL CONTAINER
   ======================================== */

.view-all-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 32px;
    padding: 0 1rem;
}

/* ========================================
   VIEW ALL LINK - PREMIUM DESIGN
   ======================================== */

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--accent-color);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(197, 160, 89, 0.25);
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: transparent;
    letter-spacing: 0.3px;
}

.view-all-link:hover {
    background: rgba(197, 160, 89, 0.08);
    border-color: var(--accent-color);
    transform: translateX(6px);
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(197, 160, 89, 0.15);
}

.view-all-link:active {
    transform: translateX(4px) scale(0.98);
}

/* Arrow icon animation */
.view-all-link i {
    font-size: 0.85rem;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.view-all-link:hover i {
    transform: translateX(4px);
}

/* ========================================
   SECTION HEADER WITH VIEW ALL
   ======================================== */

.section-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header-with-action .view-all-link {
    margin: 0;
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ========================================
   CATEGORY ROW VIEW ALL
   ======================================== */

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.category-header .view-all-link {
    margin: 0;
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .view-all-container {
        justify-content: center;
        margin-top: 24px;
    }

    .view-all-link {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-header-with-action {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-header-with-action .view-all-link {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .category-header .view-all-link {
        align-self: flex-end;
    }
}