/* Custom Styles for Room Lender */

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

/* Custom Selection Color */
::selection {
    background-color: rgb(242 213 200);
    color: rgb(179 71 45);
}

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

::-webkit-scrollbar-track {
    background: rgb(252 249 245);
}

::-webkit-scrollbar-thumb {
    background: rgb(212 114 78);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(179 71 45);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

/* Navbar Transition */
#navbar.scrolled {
    background-color: rgba(252, 249, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Mobile Menu Animation */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Image Hover Zoom */
img {
    transition: transform 0.7s ease;
}

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

/* Print Styles */
@media print {
    nav,
    button,
    #contact-form {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
