/* Custom styles and overrides */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
}

/* Form focus styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #f0fdfa 25%, #ccfbf1 50%, #f0fdfa 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

img[src] {
    animation: none;
    background: none;
}

/* Hover effects */
.group:hover .group-hover\\:scale-105 {
    transform: scale(1.05);
}

/* Responsive typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-blur-md;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.5s ease;
}

/* Custom selection color */
::selection {
    background: #99f6e4;
    color: #0f172a;
}

/* Print styles */
@media print {
    #navbar,
    #mobile-menu,
    button {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
