/* Custom styles for Whidbey Cottages Condominium */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #fefdf8;
}
::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* Selection color */
::selection {
    background: #065f46;
    color: #fefdf8;
}

/* Animation keyframes for scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* Geometric accent shapes */
.geo-diamond {
    width: 60px;
    height: 60px;
    background: #34d399;
    transform: rotate(45deg);
    border-radius: 4px;
    opacity: 0.15;
}

/* Button hover glow effect */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.3);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.5s ease;
}
.img-zoom:hover {
    transform: scale(1.03);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(6, 78, 59, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Form focus states */
input:focus, textarea:focus {
    border-color: #059669 !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2) !important;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Responsive typography adjustments */
@media (max-width: 640px) {
    .font-display {
        line-height: 1.1;
    }
}

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