/* Custom styles for Dorika Laing Real Estate website */

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

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

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

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

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

/* Typography refinements */
.font-serif {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

/* Reveal animation for scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Navigation active state */
nav a.active {
    color: #e86a54;
}

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

/* Form focus states */
input:focus, textarea:focus {
    outline: none;
    border-color: #e86a54;
    box-shadow: 0 0 0 2px rgba(232, 106, 84, 0.1);
}

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

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

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

/* Coral gradient for special elements */
.bg-coral-gradient {
    background: linear-gradient(135deg, #e86a54 0%, #c44d38 100%);
}

/* Subtle shadow for cards */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shadow-soft:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
