/* Custom styles for Frontier Place Office Park */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
    background: #2e2e3e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Selection color */
::selection {
    background: rgba(245, 158, 11, 0.3);
    color: #f5f0eb;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
}

/* Navbar scroll effect */
nav.scrolled {
    background: rgba(10, 10, 15, 0.9) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(46, 46, 62, 0.5);
}

nav.scrolled .navbar-link {
    color: #a8a8b8;
}

nav.scrolled .navbar-link:hover {
    color: #f59e0b;
}

/* Gold gradient text utility */
.gold-gradient {
    background: linear-gradient(135deg, #f59e0b, #d97706, #b45309);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover glow */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.1), 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Button focus visible */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

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

/* Select dropdown arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Image lazy load fade-in */
img[loading="lazy"] {
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

img[loading="lazy"] {
    opacity: 0;
}
