 {} *{} {} #IE-warning { display: none; position: fixed; width: 100%; height: 100%; z-index: 9999; background: white; } .IE-warning-message { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; } @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Sans+3:wght@300;400;600;700&display=swap'); :root { --hh-navy: #1a2332; --hh-gold: #c8a44e; --hh-cream: #faf8f4; --hh-slate: #4a5568; --hh-light: #f0ece4; --hh-green: #2d6a4f; --hh-red: #c0392b; --hh-white: #ffffff; } .hh-page * { box-sizing: border-box; margin: 0; padding: 0; } .hh-page { font-family: 'Source Sans 3', sans-serif; color: var(--hh-navy); background: var(--hh-cream); min-height: 100vh; } /* NAV */ .hh-nav { background: var(--hh-navy); padding: 0.8rem 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .hh-nav-brand { font-family: 'Playfair Display', serif; color: var(--hh-gold); font-size: 1.5rem; font-weight: 700; text-decoration: none; } .hh-nav-links { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; } .hh-nav-links a { color: var(--hh-cream); text-decoration: none; font-size: 0.9rem; font-weight: 400; letter-spacing: 0.03em; transition: color 0.2s; } .hh-nav-links a:hover, .hh-nav-links a.active { color: var(--hh-gold); } /* HERO */ .hh-hero { background: linear-gradient(135deg, var(--hh-navy) 0%, #2a3a4e 100%); padding: 3rem 2rem 2rem; text-align: center; } .hh-hero h1 { font-family: 'Playfair Display', serif; color: var(--hh-gold); font-size: 2.2rem; margin-bottom: 0.5rem; } .hh-hero p { color: var(--hh-cream); font-size: 1rem; opacity: 0.85; } /* ADMIN BTN */ .hh-admin-btn { position: fixed; bottom: 2rem; right: 2rem; width: 52px; height: 52px; background: var(--hh-gold); border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.25); z-index: 1000; transition: transform 0.2s; font-size: 1.4rem; color: var(--hh-navy); } .hh-admin-btn:hover { transform: scale(1.1); } /* OVERLAY */ .hh-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; justify-content: center; align-items: flex-start; padding-top: 5vh; overflow-y: auto; } .hh-overlay.show { display: flex; } .hh-modal { background: var(--hh-white); border-radius: 12px; width: 95%; max-width: 640px; padding: 2rem; position: relative; margin-bottom: 2rem; box-shadow: 0 20px 60px rgba(0,0,0,0.3); } .hh-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--hh-slate); line-height: 1; } .hh-modal h2 { font-family: 'Playfair Display', serif; color: var(--hh-navy); margin-bottom: 1.5rem; font-size: 1.4rem; } /* LOGIN PANEL */ .hh-login { text-align: center; } .hh-login input { display: block; width: 100%; max-width: 300px; margin: 0.5rem auto; padding: 0.7rem 1rem; border: 2px solid var(--hh-light); border-radius: 8px; font-size: 1rem; font-family: 'Source Sans 3', sans-serif; } .hh-login input:focus { outline: none; border-color: var(--hh-gold); } .hh-login button { margin-top: 1rem; padding: 0.7rem 2rem; background: var(--hh-gold); color: var(--hh-navy); border: none; border-radius: 8px; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: 'Source Sans 3', sans-serif; } .hh-login-error { color: var(--hh-red); font-size: 0.85rem; margin-top: 0.5rem; } /* FORM */ .hh-form { display: none; } .hh-form.show { display: block; } .hh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; } .hh-form-group { display: flex; flex-direction: column; } .hh-form-group.full { grid-column: 1 / -1; } .hh-form-group label { font-size: 0.8rem; font-weight: 600; color: var(--hh-slate); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 0.05em; } .hh-form-group input, .hh-form-group select, .hh-form-group textarea { padding: 0.6rem 0.8rem; border: 2px solid var(--hh-light); border-radius: 8px; font-size: 0.95rem; font-family: 'Source Sans 3', sans-serif; } .hh-form-group input:focus, .hh-form-group select:focus, .hh-form-group textarea:focus { outline: none; border-color: var(--hh-gold); } .hh-form-group textarea { resize: vertical; min-height: 60px; } .hh-form-actions { display: flex; gap: 1rem; margin-top: 1.25rem; justify-content: flex-end; } .hh-btn { padding: 0.65rem 1.5rem; border: none; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer; font-family: 'Source Sans 3', sans-serif; transition: opacity 0.2s; } .hh-btn:hover { opacity: 0.85; } .hh-btn-primary { background: var(--hh-gold); color: var(--hh-navy); } .hh-btn-secondary { background: var(--hh-light); color: var(--hh-slate); } .hh-btn-danger { background: var(--hh-red); color: white; } .hh-btn-sm { padding: 0.4rem 0.8rem; font-size: 0.8rem; } /* DEAL CARDS */ .hh-deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; padding: 2rem; max-width: 1200px; margin: 0 auto; } .hh-deal-card { background: var(--hh-white); border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: transform 0.2s, box-shadow 0.2s; } .hh-deal-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); } .hh-deal-photo { width: 100%; height: 200px; object-fit: cover; background: var(--hh-light); display: flex; align-items: center; justify-content: center; color: var(--hh-slate); font-size: 0.9rem; } .hh-deal-photo img { width: 100%; height: 200px; object-fit: cover; } /* BEFORE/AFTER */ .hh-ba-container { display:flex; width:100%; height:200px; } .hh-ba-half { flex:1; position:relative; overflow:hidden; } .hh-ba-half img { width:100%; height:200px; object-fit:cover; } .hh-ba-label { position:absolute; top:8px; left:8px; background:rgba(0,0,0,0.6); color:white; font-size:0.7rem; font-weight:700; padding:2px 8px; border-radius:4px; text-transform:uppercase; letter-spacing:0.05em; } .hh-ba-label.after { background:rgba(16,185,129,0.8); } .hh-deal-body { padding: 1.25rem; } .hh-deal-address { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--hh-navy); margin-bottom: 0.3rem; } .hh-deal-location { font-size: 0.85rem; color: var(--hh-slate); margin-bottom: 0.75rem; } .hh-deal-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; } .hh-deal-stat { } .hh-deal-stat-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hh-slate); } .hh-deal-stat-value { font-size: 1rem; font-weight: 700; color: var(--hh-navy); } .hh-deal-status { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.75rem; } .hh-status-pipeline { background: #fef3c7; color: #92400e; } .hh-status-rehab { background: #dbeafe; color: #1e40af; } .hh-status-rented { background: #d1fae5; color: #065f46; } .hh-status-sold { background: #e5e7eb; color: #374151; } .hh-deal-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; } /* EMPTY STATE */ .hh-empty { text-align: center; padding: 4rem 2rem; color: var(--hh-slate); } .hh-empty-icon { font-size: 3rem; margin-bottom: 1rem; } .hh-empty h3 { font-family: 'Playfair Display', serif; color: var(--hh-navy); margin-bottom: 0.5rem; } /* LOADING */ .hh-loading { text-align: center; padding: 3rem; color: var(--hh-slate); } /* STATS BAR */ .hh-stats-bar { background: var(--hh-white); border-bottom: 1px solid var(--hh-light); padding: 1rem 2rem; display: flex; justify-content: center; gap: 2.5rem; flex-wrap: wrap; } .hh-stat-item { text-align: center; } .hh-stat-number { font-size: 1.5rem; font-weight: 700; color: var(--hh-gold); } .hh-stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hh-slate); } /* PHOTO UPLOAD */ .hh-photo-upload { border: 2px dashed var(--hh-light); border-radius: 8px; padding: 1rem; text-align: center; cursor: pointer; transition: border-color 0.2s; } .hh-photo-upload:hover { border-color: var(--hh-gold); } .hh-photo-preview { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; } .hh-photo-thumb { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; border: 2px solid var(--hh-light); } @media (max-width: 600px) { .hh-form-grid { grid-template-columns: 1fr; } .hh-deals-grid { grid-template-columns: 1fr; padding: 1rem; } .hh-nav { padding: 0.8rem 1rem; } .hh-nav-links { gap: 0.8rem; } .hh-stats-bar { gap: 1.5rem; } }
