/* Custom styles for Cross Towne Properties */

:root {
    --forest-green: #2C5E4B;
    --forest-green-dark: #1A3C34;
    --off-white: #FDFBF7;
    --cream: #F0EDE6;
    --text-dark: #1A2E28;
    --text-muted: #4A5B56;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--off-white);
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Smooth scroll offset for fixed navbar */
section {
    scroll-margin-top: 80px;
}

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

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--forest-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--forest-green-dark);
}

/* Animation classes for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--forest-green) !important;
    box-shadow: 0 0 0 1px var(--forest-green) !important;
}

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

/* Image loading placeholder */
img {
    background-color: var(--cream);
}
