* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #fcf8f8; /* Soft, krem-pembe arası yumuşak arka plan */
    color: #4a4a4a;
    line-height: 1.6;
}


nav {
    background-color: #ffffff;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(255, 107, 129, 0.08);
    position: sticky; /* Sayfa aşağı kaysa da menü üstte sabit kalır */
    top: 0;
    z-index: 1000;
}

nav .logo {
    font-size: 26px;
    font-weight: 800;
    color: #ff6b81; /* Mascute Marka Pembesi */
    letter-spacing: 0.5px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px; /* Menü elemanları arasındaki boşluk */
}

nav ul li a {
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease; /* Hover geçiş yumuşaklığı */
}

nav ul li a:hover {
    color: #ff6b81;
}

.odev-tanitim {
    background: linear-gradient(135deg, #fff5f6 0%, #ffeef0 100%);
    border: 1px solid #ffd3d8;
    border-radius: 12px;
    max-width: 1200px;
    width: 90%;
    margin: 40px auto 20px auto;
    padding: 35px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(255, 107, 129, 0.05);
}

.odev-tanitim h4 {
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.odev-tanitim h2 {
    color: #ff6b81;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.odev-tanitim p {
    color: #616161;
    font-size: 15px;
    max-width: 900px;
    margin: 0 auto 12px auto;
}


.urun-listesi {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.urun-kartı {
    background-color: #ffffff;
    border: 1px solid #f0e6e6;
    border-radius: 16px;
    width: 270px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.urun-kartı:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 107, 129, 0.1);
}

.urun-kartı img {
    width: 100%;
    height: 220px;
    object-fit: cover; 
    border-radius: 12px;
    margin-bottom: 15px;
}

.urun-kartı h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.urun-kartı p {
    font-size: 14px;
    color: #777;
    height: 45px;
    overflow: hidden; /* Taşma yapan uzun açıklamaları gizler */
    margin-bottom: 15px;
}

.urun-kartı .fiyat {
    color: #ff6b81;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Modern Buton Tasarımı */
.satinal-buton {
    background-color: #ff6b81;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.satinal-buton:hover {
    background-color: #ff4757; /* Üzerine gelince koyulaşan buton rengi */
}

.form-konteyner {
    max-width: 450px;
    width: 90%;
    margin: 50px auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    border: 1px solid #f0e6e6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: center;
}

.form-konteyner h2 {
    color: #333;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-konteyner label {
    display: block;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.form-konteyner input[type="text"],
.form-konteyner input[type="email"],
.form-konteyner input[type="password"],
.form-konteyner input[type="number"],
.form-konteyner textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e0d0d0;
    border-radius: 8px;
    font-size: 14px;
    background-color: #faf6f6;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

/* Input odaklanma efekti */
.form-konteyner input:focus, 
.form-konteyner textarea:focus {
    outline: none;
    border-color: #ff6b81;
    background-color: #fff;
}


table {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    border-collapse: collapse; /* Çift kenarlıkları engeller */
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden; /* Köşelerin yuvarlak kalmasını sağlar */
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

th, td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f0e6e6;
    font-size: 15px;
}

th {
    background-color: #ff6b81;
    color: white;
    font-weight: 600;
}

tr:hover {
    background-color: #fff5f6; /* Satırın üzerine gelince vurgu rengi */
}

.sil-btn {
    color: #ff4757;
    text-decoration: none;
    font-weight: 700;
}

.sil-btn:hover {
    text-decoration: underline;
}


@media (max-width: 768px) {
    nav {
        flex-direction: column; /* Mobilde logoyu üste, menüyü alta alır */
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }

    .odev-tanitim h2 {
        font-size: 22px;
    }
    
    table {
        display: block;
        overflow-x: auto; /* Küçük ekranlarda tablonun taşmasını engeller, kaydırılabilir yapar */
    }
}