/* Custom Styles for Allan Soler Hernandez Realtor */

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

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

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

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

::-webkit-scrollbar-thumb {
    background: #d6afc9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a86b8c;
}

/* Selection Color */
::selection {
    background: #fff1bf;
    color: #513143;
}

/* Reveal Animation Classes */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img, .group-hover\\:scale-105:hover img {
        transform: none;
    }
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form Focus States */
input:focus,
textarea:focus {
    outline: none;
}

/* Custom Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
.group:hover img {
    transform: scale(1.05);
}

/* Navigation Active State */
.nav-link-active {
    color: #d48800;
}

/* Loading State for Form */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    header,
    footer,
    .reveal {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .font-serif {
        color: #000;
    }
}
