:root {
    --primary-color: #ff416c;
    --secondary-color: #ff4b2b;
    --accent-color: #ffffff;
    --background-color: #1e1e1e;
    --text-color-light: #f4f4f4;
    --text-color-dark: #333333;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color-light);
    line-height: 1.5;
    overflow-x: hidden;
}
header {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--accent-color);
    padding: 20px 0;
    text-align: center;
    position: relative;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav ul li { margin: 0 15px; }
nav ul li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}
nav ul li a:hover { color: var(--text-color-light); }
main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
}
.card {
    background: var(--text-color-dark);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: transform 0.1s ease;
    cursor: pointer;
}
.card:hover { transform: scale(1.05); }
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    clip-path: circle(0% at 50% 50%);
    transition: clip-path 0.5s ease-out;
}
.card:hover::before { clip-path: circle(150% at 100% -5%); }
.card-content {
    position: relative;
    padding: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.product-image-overlay {
    position: relative;
    width: 100%;
    height: 100px; /* Adjust based on desired overlay height */
    background-size: cover;
    background-position: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
    z-index: 4; /* Ensure image is above the ::before pseudo-element */
}
.featured-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
footer {
    background-color: var(--text-color-dark);
    color: var(--text-color-light);
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}
/* Swoosh Slide Effect */
.swoosh-slide {
    animation: swooshIn 0.5s forwards;
}
@keyframes swooshIn {
    from {
        opacity: 0;
        transform: translateX(50%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.button-link {
    display: inline-block;
    background: var(--primary-color);
    color: var(--accent-color);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.button-link:hover {
    background: var(--secondary-color);
}
