/* Custom styles for Riverview Plaza Leasing Office */

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

/* Selection color */
::selection {
    background-color: rgba(232, 93, 74, 0.3);
    color: #fff;
}

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

::-webkit-scrollbar-track {
    background: #1E1E21;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4A4A50;
}

/* Navbar styles */
#navbar {
    background: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile menu */
#mobile-menu {
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
a[href^="tel:"] {
    text-decoration: none;
}

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

/* Image loading placeholder */
img {
    background-color: #2C2C30;
}

/* Ensure hero content is always visible */
#hero h1,
#hero p,
#hero a,
#hero .relative > div:first-child > div {
    opacity: 1 !important;
    transform: none !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    #navbar,
    #contact-form,
    .reveal {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }
}

/* Large screen adjustments */
@media (min-width: 1280px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

/* Fix for mobile touch targets */
@media (max-width: 767px) {
    a, button {
        min-height: 44px;
    }
}
