/* Custom styles for Donut Hole */

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

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile menu transitions */
.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease-out;
}

.mobile-menu-open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-open .mobile-link:nth-child(4) { transition-delay: 0.4s; }

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 0 rgba(10, 22, 40, 0.05);
}

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

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

::-webkit-scrollbar-thumb {
    background: #c9963e;
    border-radius: 3px;
}

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

/* Image hover effect */
.overflow-hidden img {
    transition: transform 0.6s ease-out;
}

.overflow-hidden:hover img {
    transform: scale(1.02);
}

/* Input focus styles */
input:focus,
textarea:focus {
    outline: none;
}

/* Selection color */
::selection {
    background-color: #d4a853;
    color: #0a1628;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
