/* Animasyonlu Arka Plan Cup ve Bardak Objeleri */
.animated-background-objects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.animated-cup,
.animated-glass {
    position: absolute;
    opacity: 0.25;
    font-size: 80px;
    animation: floatAnimation 20s infinite ease-in-out;
    will-change: transform;
}

.animated-cup {
    animation-duration: 25s;
}

.animated-glass {
    animation-duration: 30s;
}

/* Farklı pozisyonlar ve animasyonlar */
.animated-cup:nth-child(1) {
    left: 5%;
    top: 10%;
    animation-delay: 0s;
    font-size: 70px;
}

.animated-cup:nth-child(2) {
    left: 85%;
    top: 20%;
    animation-delay: 3s;
    font-size: 90px;
    animation-duration: 22s;
}

.animated-cup:nth-child(3) {
    left: 15%;
    top: 60%;
    animation-delay: 6s;
    font-size: 65px;
    animation-duration: 28s;
}

.animated-glass:nth-child(4) {
    left: 75%;
    top: 50%;
    animation-delay: 2s;
    font-size: 85px;
    animation-duration: 26s;
}

.animated-glass:nth-child(5) {
    left: 10%;
    top: 80%;
    animation-delay: 5s;
    font-size: 75px;
    animation-duration: 24s;
}

.animated-glass:nth-child(6) {
    left: 90%;
    top: 70%;
    animation-delay: 8s;
    font-size: 80px;
    animation-duration: 27s;
}

.animated-cup:nth-child(7) {
    left: 50%;
    top: 15%;
    animation-delay: 4s;
    font-size: 60px;
    animation-duration: 23s;
}

.animated-glass:nth-child(8) {
    left: 30%;
    top: 40%;
    animation-delay: 7s;
    font-size: 70px;
    animation-duration: 25s;
}

.animated-cup:nth-child(9) {
    left: 65%;
    top: 5%;
    animation-delay: 1s;
    font-size: 75px;
    animation-duration: 24s;
}

.animated-glass:nth-child(10) {
    left: 20%;
    top: 30%;
    animation-delay: 4.5s;
    font-size: 80px;
    animation-duration: 26s;
}

.animated-cup:nth-child(11) {
    left: 80%;
    top: 60%;
    animation-delay: 2.5s;
    font-size: 70px;
    animation-duration: 27s;
}

.animated-glass:nth-child(12) {
    left: 40%;
    top: 75%;
    animation-delay: 6.5s;
    font-size: 85px;
    animation-duration: 23s;
}

.animated-cup:nth-child(13) {
    left: 55%;
    top: 45%;
    animation-delay: 3.5s;
    font-size: 65px;
    animation-duration: 25s;
}

.animated-glass:nth-child(14) {
    left: 25%;
    top: 20%;
    animation-delay: 5.5s;
    font-size: 75px;
    animation-duration: 28s;
}

.animated-cup:nth-child(15) {
    left: 70%;
    top: 85%;
    animation-delay: 1.5s;
    font-size: 80px;
    animation-duration: 26s;
}

.animated-glass:nth-child(16) {
    left: 45%;
    top: 55%;
    animation-delay: 7.5s;
    font-size: 70px;
    animation-duration: 24s;
}

/* Animasyon keyframes */
@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -50px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, -80px) rotate(-5deg);
    }
    75% {
        transform: translate(40px, -30px) rotate(3deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Dikey hareket animasyonu */
@keyframes verticalFloat {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Yatay hareket animasyonu */
@keyframes horizontalFloat {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    50% {
        transform: translateX(150px) rotate(-180deg);
    }
    100% {
        transform: translateX(0) rotate(-360deg);
    }
}

/* Bazı objelere farklı animasyonlar */
.animated-cup:nth-child(2) {
    animation-name: verticalFloat;
}

.animated-glass:nth-child(4) {
    animation-name: horizontalFloat;
}

/* Mobilde animasyonları azalt */
@media (max-width: 768px) {
    .animated-background-objects {
        display: none; /* Mobilde performans için gizle */
    }
}

/* İçerik z-index ayarı - İçerik objelerin üstünde olmalı */
.page-box {
    position: relative;
    z-index: 10;
}

#main-content {
    position: relative;
    z-index: 10;
}

