/* Custom styles for Kulmiye Coffee */

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Stat card animations */
.stat-card {
    opacity: 0;
    transform: translateY(20px);
    animation: floatIn 0.6s ease forwards;
}

.card-1 { animation-delay: 0.2s; }
.card-2 { animation-delay: 0.35s; }
.card-3 { animation-delay: 0.5s; }
.card-4 { animation-delay: 0.65s; }

@keyframes floatIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal animations (below the fold only) */
.reveal-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-grid {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-up.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal-grid.hidden-reveal {
        opacity: 0;
        transform: scale(0.97);
    }
}

/* Mobile menu transitions */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile nav links */
.mobile-nav-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

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

::-webkit-scrollbar-track {
    background: #0a0e1a;
}

::-webkit-scrollbar-thumb {
    background: rgba(167, 32, 58, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(167, 32, 58, 0.7);
}

/* Selection color */
::selection {
    background: rgba(167, 32, 58, 0.4);
    color: white;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e04368;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

/* Button hover glow */
a:hover {
    transition: all 0.3s ease;
}

/* Map filter for dark theme */
iframe[title*="Google Maps"] {
    opacity: 0.9;
}
