* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial;
}

body {
    background: #f5f5f5;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
}

.logo {
    color: red;
    font-weight: bold;
    font-size: 22px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
}

.icons i {
    margin-left: 15px;
    cursor: pointer;
}

/* HERO */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px;
    background: #ffff;
    margin: 20px;
    border-radius: 20px;
}

.hero-text h1 {
    font-size: 45px;
    margin: 10px 0;
}

.hero button {
    background: red;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 20px;
}

/* KATEGORİ */
.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 eşit kolon */
    gap: 20px;
    padding: 20px;
}

.card {
    position: relative;
    height: 200px; /* 🔥 TÜM KARTLAR AYNI */
    border-radius: 20px;
    overflow: hidden;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* kırp ama doldur */
}


/* KARARTMA + YAZI */
.overlay {
    position: absolute;
    inset: 0;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    color: white;
}

/* BUTTON */
.overlay button {
    margin-top: 10px;
    width: 100px;        /* 🔥 SABİT GENİŞLİK */
    height: 35px;        /* 🔥 SABİT YÜKSEKLİK */
    
    background: white;
    color: black;
    
    border: none;
    border-radius: 20px;
    
    font-size: 13px;
    font-weight: 600;
    
    cursor: pointer;
}

.overlay h3 {
    font-size: 18px;
    font-weight: bold;
}

.overlay p {
    font-size: 12px;
    opacity: 0.8;
}
/* FEATURES */
.features {
    display: flex;
    justify-content: space-around;
    background: white;
    margin: 20px;
    padding: 25px;
    border-radius: 15px;
}

.features i {
    color: red;
    margin-right: 10px;
}

/* BANNER */
.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: red;
    color: white;
    margin: 20px;
    padding: 40px;
    border-radius: 20px;
    
}

.banner button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
}