/* Components: Cards, Modals, etc. */

/* Brand Scroller Item (Universal) */
.brand-slide,
.brand-scroll-item {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-slide:hover,
.brand-scroll-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(27, 38, 59, 0.15);
}

/* Product Card */
.product-card {
    background: var(--white);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--accent-color);
}

/* Foundation Card */
.foundation-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.foundation-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 70px rgba(27, 38, 59, 0.15);
    border-color: var(--accent-color);
}

/* Modal Universals */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease forwards;
    border: 1px solid var(--glass-border);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 10;
}