/* Custom Styles for Beachmasters HOA */

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FDFBF7;
}
::-webkit-scrollbar-thumb {
    background: #36454F;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF7F50;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
.reveal-hero {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.reveal-hero-delay {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
}

.reveal-hero-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active State for Scroll Animations */
.reveal-active.reveal-up,
.reveal-active.reveal-left,
.reveal-active.reveal-right {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Image Hover Effects */
img {
    max-width: 100%;
    height: auto;
}

/* Button Focus States */
button:focus,
a:focus {
    outline: 2px solid #FF7F50;
    outline-offset: 2px;
}

/* Form Focus States */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.2);
}
