/* Custom Styles for Laura Foster Real Estate */

:root {
    --plum-50: #faf5f7;
    --plum-100: #f5e8ed;
    --plum-200: #ebd0db;
    --plum-300: #dbadae;
    --plum-400: #c47a7f;
    --plum-500: #b05961;
    --plum-600: #9e4650;
    --plum-700: #843a44;
    --plum-800: #6d333b;
    --plum-900: #5d4037;
    --plum-950: #3d1f22;
    
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
}

/* Custom Font Classes */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

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

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in-up.delay-100 {
    animation-delay: 0.1s;
}

.animate-fade-in-up.delay-200 {
    animation-delay: 0.2s;
}

.animate-fade-in-up.delay-300 {
    animation-delay: 0.3s;
}

.animate-slow-zoom {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-track {
    background: var(--plum-50);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-300);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-500);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Navbar Background Transition */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#navbar.scrolled .nav-link,
#navbar.scrolled a {
    color: var(--plum-900) !important;
}

#navbar.scrolled .group-hover\:text-amber-400:hover {
    color: var(--amber-600) !important;
}

/* Focus Styles for Accessibility */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

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