/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(249, 245, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(128, 61, 80, 0.1);
}

/* Mobile Menu Transitions */
.mobile-link {
    transition: opacity 0.3s ease;
}

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

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

::-webkit-scrollbar-thumb {
    background: #d4afba;
    border-radius: 4px;
}

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

/* Focus Styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Image Loading */
img {
    image-rendering: auto;
}

/* Selection */
::selection {
    background: #ffa817;
    color: #532d3c;
}
