@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@keyframes phone-float {
    0% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(1deg); }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-phone-float {
    animation: phone-float 6s ease-in-out infinite;
}

.fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}

.fade-in-up-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-up-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-up-delay-3 {
    animation-delay: 0.6s;
}

/* Gradient animasyonu için */
.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glass effect için */
.glass-effect {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Responsive düzenlemeler için */
@media (max-width: 640px) {
    .glass-effect {
        backdrop-filter: blur(5px);
    }
    
    .animate-phone-float {
        animation: phone-float 4s ease-in-out infinite;
    }
}

.pattern-bg {
    background-image: url('../img/bgpattern.png');
    background-repeat: repeat;
    background-size: 400px;  /* Pattern boyutunu ayarlayabilirsiniz */
    background-position: center;
    background-attachment: fixed; /* Opsiyonel: Scroll yaparken sabit kalması için */
}

.pattern-gradient-bg {
    background-color: white; /* Base color */
    background-image: 
        linear-gradient(to bottom right, rgba(255,255,255,0.9), rgba(255,255,255,0.95)),
        url('../img/bgpattern.png');
    background-repeat: repeat;
    background-size: 400px;
    background-position: center;
    background-attachment: fixed;
}
.parallax-background {
    position: absolute;
    width: 100%;
    height: 120%; /* Extra height for parallax effect */
    top: 0;
    left: 0;
    z-index: -1;
    transform: translateZ(-1px) scale(2);
}

.hero-section {
    perspective: 10px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
}

.glass-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
}

/* Parallax scroll effect */
.hero-section {
    transform-style: preserve-3d;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    transform: translateZ(-2px) scale(3);
}
.parallax-background {
    transform: translateZ(0);
    will-change: transform;
    transform-style: preserve-3d;
}


.parallax-background img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0);
}

@font-face {
    font-family: 'Mistress Benedict Brush';
    src: url('assets/fonts/Mistress Benedict Brush.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.mistress-font {
    font-family: 'Mistress Benedict Brush', cursive;
} 

@keyframes scrollIndicator {
  0% { 
    top: 90%; 
    opacity: 0; 
  }
  30% { 
    opacity: 1; 
  }
  60% { 
    opacity: 0.5; 
  }
  100% { 
    top: -10%; 
    opacity: 0; 
  }
}

.animate-scroll-indicator {
  animation: scrollIndicator 2s infinite;
}