/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Header */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
}

header {
    text-align: center;
    background-color: #4CAF50;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 10px;
}

#search-bar {
    padding: 10px;
    font-size: 1.1em;
    width: 80%;
    max-width: 400px;
    border: none;
    border-radius: 5px;
    outline: none;
}

#search-bar:focus {
    border: 2px solid #4CAF50;
}
/* Categories Section */
#categories {
    text-align: center;
    margin-top: 30px;
}

.category-btn {
    background-color: #FF5722;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    margin: 5px;
    transition: background-color 0.3s;
}

.category-btn:hover {
    background-color: #D32F2F;
}

/* Gadgets Section */
#Gadgets {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Gadgets Card Styling */
.Gadgets-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.Gadgets-card:hover {
    transform: translateY(-10px);
}

.Gadgets-card img {
    width: 100%;
    height: auto;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.5em;
    color: #4CAF50;
}

.card-content p {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #555;
}

.card-content .price {
    font-size: 1.3em;
    font-weight: bold;
    color: #FF5722;
}