
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #fafafa;
}


.container {
    max-width: 1200px;
    margin: auto;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 2px solid #e6e6e6;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #0055ff;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
    padding-bottom: 5px;
}

.menu a:hover {
    border-bottom: 2px solid #0055ff;
}

.search {
    font-size: 22px;
    cursor: pointer;
}


.banner {
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1400&q=60')
                center/cover;
    height: 320px;
    margin: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner h1 {
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px 25px;
    border-radius: 6px;
    font-size: 32px;
}


.grid-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.card {
    flex: 1 1 calc(33.33% - 20px);
    background: white;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card h2 {
    padding: 15px;
    font-size: 18px;
    color: #222;
}


footer {
    background: #0055ff;
    color: white;
    display: flex;
    justify-content: space-between;
    padding: 25px;
    margin-top: 40px;
}
