/* ============================================
   Point West Plaza — Custom Styles
   Charcoal + Coral | Editorial Bold
   ============================================ */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: #FF6B4A;
    color: white;
}

/* --- Navbar --- */
#navbar {
    background: transparent;
}

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

.nav-text {
    color: #1a1a1a;
    transition: color 0.3s ease;
}

#navbar:not(.scrolled) .nav-text {
    color: #ffffff;
}

#navbar:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.75);
}

#navbar:not(.scrolled) .nav-link:hover {
    color: #FF6B4A;
}

/* --- Coral Button --- */
.btn-coral {
    background: linear-gradient(135deg, #FF6B4A 0%, #f04e28 100%);
    color: white;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-coral:hover {
    background: linear-gradient(135deg, #ff8a6b 0%, #FF6B4A 100%);
    transform: translateY(-2px);
}

/* --- Floating Cards Animation --- */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(2) {
    animation-delay: -1s;
}

.floating-card:nth-child(3) {
    animation-delay: -3s;
}

.floating-card:nth-child(4) {
    animation-delay: -4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* --- Card Elevation --- */
.card-elevate {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card-elevate:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* --- Feature Cards --- */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease, background 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 107, 74, 0.08);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .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; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* --- Mobile Menu --- */
.mobile-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* --- Form Styles --- */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* --- Smooth image loading --- */
img {
    loading: lazy;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }
}
