@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
    --bg-color: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --accent-color: #ff4757;
    --border-color: #eeeeee;
    --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

header {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.kafa-logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.kafa-linkler a {
    color: var(--text-secondary);
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.kafa-linkler a:hover {
    color: var(--text-primary);
}

.baba-alan {
    text-align: center;
    padding: 5rem 1rem;
    background-color: #f9f9f9;
}

.baba-alan h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.baba-alan p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.kontaynirr {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.raf-duzeni {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem 2rem;
}

.alpppcann {
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.alpppcann:hover {
    transform: translateY(-5px);
}

.babunbeyyy {
    width: 100%;
    position: relative;
    padding-top: 100%;
    background-color: #f4f4f4;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.fotograf-sup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.alpppcann:hover .fotograf-sup {
    transform: scale(1.05);
}

.bilgi-kismi {
    text-align: center;
}

.baslik-sup {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.al-beni-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: var(--text-primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background-color 0.2s;
    margin-top: 0.5rem;
    border: none;
    cursor: pointer;
}

.al-beni-btn:hover {
    background-color: var(--accent-color);
}

.yonetici-kutu {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.form-zimbirtisi {
    margin-bottom: 1.25rem;
}

.form-zimbirtisi label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-zimbirtisi input,
.form-zimbirtisi textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-zimbirtisi input:focus,
.form-zimbirtisi textarea:focus {
    outline: none;
    border-color: var(--text-primary);
}

.ana-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--text-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.ana-btn:hover {
    opacity: 0.9;
}

.sakli {
    display: none;
}

.liste-alani {
    margin-top: 2rem;
}

.liste-elemani {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.sil-bunu {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
}

.perde {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.perde.aktif {
    opacity: 1;
    visibility: visible;
}

.kutu {
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.kapat-dugmesi {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
    transition: background 0.2s;
}

.kapat-dugmesi:hover {
    background: rgba(0, 0, 0, 0.2);
}

.galeri-alani {
    flex: 1.5;
    background: #f8f8f8;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.ana-foto {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.kucuk-fotolar {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem;
}

.parca-foto {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.parca-foto.aktif {
    border-color: var(--text-primary);
}

.detay-alani {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.detay-baslik {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.detay-fiyat {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detay-aciklama {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    white-space: pre-wrap;
    font-size: 0.95rem;
}

.detay-aksiyon {
    margin-top: auto;
}

.detay-satin-al {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--text-primary);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.25s;
}

.detay-satin-al:hover {
    background: var(--accent-color);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

@media (max-width: 768px) {
    .kutu {
        flex-direction: column;
        max-height: 95vh;
    }

    .galeri-alani {
        padding: 1rem;
    }

    .ana-foto {
        height: 250px;
    }

    .detay-alani {
        padding: 1.5rem;
    }

    .detay-baslik {
        font-size: 1.5rem;
    }
}