/* Custom Styles & Animations */

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

/* Base Typography */
body {
    background-color: #FDFBF7; /* cream */
}

/* Blob Animations */
.blob {
    position: absolute;
    filter: blur(60px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s ease-in-out infinite;
}

.blob-1 {
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: #fceee8; /* terracotta 100 */
    animation-delay: 0s;
}

.blob-2 {
    bottom: 20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: #e8c9a3; /* sand 300 */
    animation-delay: 2s;
}

.blob-3 {
    top: 40%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: #f0e0cc; /* sand 200 */
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* Floating Elements */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 8s ease-in-out infinite reverse;
}

.animate-bounce-slow {
    animation: bounce 3s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(253, 251, 247, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.nav-scrolled .logo-text {
    color: #d46245 !important;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
}

#mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

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

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

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

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

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Styles */
@media print {
    .blob, .animate-float, .animate-bounce-slow {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
