/* Custom styles and overrides */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

.animate-slide-up {
    animation: slideUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-slide-up-delay {
    animation: slideUpDelay 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: slideUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

/* Intersection Observer animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(61, 11, 9, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-scrolled .nav-logo,
.nav-scrolled .nav-link,
.nav-scrolled .nav-mobile-btn {
    color: white !important;
}

/* Form focus styles */
input:focus,
textarea:focus {
    background-color: white;
}

/* Smooth hover transitions */
a, button {
    transition: all 0.3s ease;
}

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

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

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

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

/* Selection color */
::selection {
    background: #e8441a;
    color: white;
}
