/* Nashville Neon Nights — Shared Styles */

/* Base mobile-friendly settings */
* { 
    font-family: 'Manrope', sans-serif;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: 'Barlow Condensed', sans-serif; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0F0F0F; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00FFFF; }

/* Neon glow effects */
.neon-glow { box-shadow: 0 0 15px rgba(0, 255, 255, 0.3); }
.neon-glow:hover { box-shadow: 0 0 30px rgba(0, 255, 255, 0.6); }
.neon-text { text-shadow: 0 0 10px rgba(0, 255, 255, 0.5); }

/* Glass effect */
.glass {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Nav scroll effect */
#main-nav.scrolled {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom-color: transparent !important;
}
#main-nav.scrolled .nav-item {
    opacity: 0.5;
}

/* Property Management Modal */
#property-mgmt-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
#property-mgmt-modal.active {
    display: flex;
}
#property-mgmt-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}
#property-mgmt-modal .modal-content {
    position: relative;
    background: #0F0F0F;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    max-width: 500px;
    width: calc(100% - 2rem);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 0, 255, 0.1);
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 640px) {
    #property-mgmt-modal .modal-content {
        max-height: 85vh;
        border-radius: 0.75rem;
    }
}
#property-mgmt-modal .modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 640px) {
    #property-mgmt-modal .modal-header {
        padding: 1rem;
    }
}
#property-mgmt-modal .modal-body {
    padding: 1.5rem;
}
@media (max-width: 640px) {
    #property-mgmt-modal .modal-body {
        padding: 1rem;
    }
}
#property-mgmt-modal .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #fff;
    font-size: 16px; /* Prevents iOS zoom on focus */
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
#property-mgmt-modal .form-input:focus {
    outline: none;
    border-color: #FF00FF;
    box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.1);
}
#property-mgmt-modal .form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
#property-mgmt-modal textarea.form-input {
    min-height: 100px;
    resize: vertical;
}
@media (max-width: 640px) {
    #property-mgmt-modal textarea.form-input {
        min-height: 80px;
    }
}

/* ─── Modal alert ────────────────────────────────────── */
#property-mgmt-modal .form-alert {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}
#property-mgmt-modal .form-alert.success {
    background-color: rgba(22, 163, 74, 0.2);
    color: rgb(134, 239, 172);
}
#property-mgmt-modal .form-alert.error {
    background-color: rgba(220, 38, 38, 0.2);
    color: rgb(252, 165, 165);
}

/* ─── Honeypot offscreen ─────────────────────────────── */
#property-mgmt-modal .honeypot {
    position: absolute;
    left: -9999px;
}