/* Custom styles for DiminishInk */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8e483c;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(186, 114, 93, 0.2);
}

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Gallery grid hover */
.grid > div {
    overflow: hidden;
}

/* Testimonial card hover */
.bg-white\/10:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
    
    .grid-cols-2 {
        gap: 1rem;
    }
}
