/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(to right, #f5f7fa, #c3cfe2);
}

/* HEADER */
header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

header h1 {
    font-size: 32px;
    letter-spacing: 2px;
}

nav {
    margin-top: 15px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    transition: 0.3s;
}

nav a:hover {
    background: rgba(255,255,255,0.2);
}

/* CONTAINER */
.container {
    width: 90%;
    margin: 30px auto;
    display: flex;
    gap: 20px;
}

/* PRODUCTS */
.products {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* IMAGE */
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* TEXT */
.card h3 {
    margin: 10px 0;
    color: #333;
}

.card p {
    color: #e74c3c;
    font-weight: bold;
}

/* BUTTON */
.card button {
    margin: 12px 0 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    border: none;
    color: white;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.card button:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

/* SIDEBAR */
aside {
    flex: 1;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

aside h3 {
    margin-bottom: 15px;
    text-align: center;
    color: #555;
}

aside ul {
    list-style: none;
}

aside li {
    padding: 10px;
    margin: 8px 0;
    background: #f1f1f1;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

aside li:hover {
    background: #667eea;
    color: white;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 14px;
}
