/* Custom Styles for The Krantz Luxe Group */

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

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-up-delay {
    animation: slideUp 0.8s ease-out 0.3s forwards;
    opacity: 0;
}

/* Navbar scroll effect */
.navbar-scrolled {
    background-color: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

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

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #0d9488 !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

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

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

/* Text selection color */
::selection {
    background-color: #0d9488;
    color: white;
}

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

/* Property card hover effect */
.group:hover img {
    transform: scale(1.1);
}

/* Testimonial card hover */
.bg-slate-800:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Service card hover */
.group:hover .w-16 {
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.2s ease;
}

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

/* Print styles */
@media print {
    nav,
    button,
    .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
