/* Custom Styles for Turkish Delight Coffee House */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reveal Animation Classes */
.reveal-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.reveal-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.reveal-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease-out forwards;
}

/* Staggered Animation Delays */
.reveal-up:nth-child(1) { animation-delay: 0.1s; }
.reveal-up:nth-child(2) { animation-delay: 0.2s; }
.reveal-up:nth-child(3) { animation-delay: 0.3s; }
.reveal-up:nth-child(4) { animation-delay: 0.4s; }
.reveal-up:nth-child(5) { animation-delay: 0.5s; }
.reveal-up:nth-child(6) { animation-delay: 0.6s; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        animation: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(48, 12, 22, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fdf4f6;
}

::-webkit-scrollbar-thumb {
    background: #a33751;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #842941;
}

/* Image Hover Effects */
img {
    transition: transform 0.3s ease;
}

/* Button Focus States */
button:focus,
a:focus {
    outline: 2px solid #ffc71f;
    outline-offset: 2px;
}

/* Form Input Focus */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(163, 55, 81, 0.2);
}
