/* Custom styles for Green Lake Properties Inc. */

/* Font imports handled in HTML */

/* Custom properties */
:root {
    --rose-900: #7f1d1d;
    --rose-800: #991b1b;
    --rose-700: #b91c1c;
    --rose-100: #ffe4e6;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-900: #1c1917;
}

/* Base styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
}

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

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Hero image animation */
.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Scroll reveal animations */
.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) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .hero-image {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #7f1d1d;
    outline-offset: 2px;
}

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

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

::-webkit-scrollbar-thumb {
    background: #7f1d1d;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #991b1b;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

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

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

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(127, 29, 29, 0.1);
}

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