* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;/* Kaydırma çubuklarını kaldırır */
}

.container {
    display: flex;
    width: 100%;
    height: 100vh; /* Viewport yüksekliği kadar */
}
#ilkyazi {
    color: rebeccapurple;
    
}
.half-screen {
    flex: 1; /* Her iki bölmeyi eşit genişlikte yapar */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: Arial, sans-serif;
    cursor: pointer; /* Üzerine gelindiğe tıklanabilir olduğunu gösterir */
    transition: all 0.3s ease; /* Hover efekti için geçiş */
    text-align: center;
}

.left-section {
    background-image: url('2.png');
    background-size: cover
}

/* Sağ Bölüm Stili */
.right-section {
    background-image: url('4.jpeg');
    background-size: cover
}

/* Fare ile üzerine gelindiğinde (hover) efekti */
.half-screen:hover {
    opacity: 0.9;
    transform: scale(1.01);
}
#cart-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff8c00;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    font-size: 18px;
    z-index: 9999;
}

#cart-panel {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 260px;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    z-index: 9999;
}

#cart-panel.hidden {
    display: none;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

#cart-items li {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
    font-size: 15px;
}

.cart-total {
    margin-top: 10px;
    font-weight: bold;
    text-align: right;
}