/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

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

.animate-scroll {
    animation: scroll 2s ease-in-out infinite;
}

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

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

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

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

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

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

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

/* Mobile Menu Transitions */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C05640;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Image Hover Effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(250, 249, 246, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.navbar-scrolled .text-gray-600 {
    color: #2C2C2C !important;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2rem;
    }
    
    .font-serif.text-4xl {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    nav,
    .animate-scroll {
        display: none;
    }
}
