/* GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

/* HEADER STYLES */
header {
    background: linear-gradient(135deg, #ff758c, #ff7eb3);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0 0 15px 15px;
    position: relative;
}

header h1 {
    color: #fff;
    font-size: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

/* NAVIGATION */
nav {
    margin-top: 10px;
}

nav a {
    color: #ffffff;
    margin: 0 15px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
    padding: 10px;
}

nav a:hover {
    color: #ffd700;
    transform: scale(1.1);
}

/* MAIN CONTENT */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: linear-gradient(145deg, #1e1e1e, #333);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* LISTS */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #333;
    padding: 12px;
    margin: 8px 0;
    border-radius: 5px;
    text-align: center;
}

/* CATEGORY CARDS */
.category-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.category-card {
    background: linear-gradient(135deg, #ff7eb3, #ff758c);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
}

.category-card img {
    width: 100%;
    border-radius: 8px;
    height: 180px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 12px 25px rgba(0, 0, 0, 0.3);
}

.category-card:hover img {
    transform: scale(1.1);
}

/* BUTTONS */
button, .explore-button {
    background: linear-gradient(90deg, #ff4757, #ff6348);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: block;
    margin: 10px auto;
}

button:hover, .explore-button:hover {
    background: linear-gradient(90deg, #e84118, #ff6348);
    transform: scale(1.1);
}

/* INPUT FIELDS */
input[type="text"], textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    background-color: #333;
    color: #e0e0e0;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
} 

input[type="text"]:focus, textarea:focus {
    box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.7);
}

/* FOOTER */
footer {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 15px 15px 0 0;
    margin-top: 20px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    nav a {
        font-size: 1em;
    }
    
    main {
        padding: 15px;
    }
    
    .category-container {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        max-width: 100%;
    }
}
