:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}

.kategori-card, .urun-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.kategori-card:hover, .urun-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.carousel-item img {
    filter: brightness(0.7);
}

.carousel-caption {
    backdrop-filter: blur(5px);
}

#sepet-sayisi {
    position: relative;
    top: -5px;
}

.table-responsive {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 300px !important;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
}

.badge-indirim {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    font-size: 14px;
    padding: 8px 12px;
}

.loading {
    text-align: center;
    padding: 50px;
}

.loading:after {
    content: " .";
    animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: black;
        text-shadow:
            .25em 0 0 rgba(0,0,0,0),
            .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow:
            .25em 0 0 black,
            .5em 0 0 black;
    }
}
