← back to Hospitalitydesignreps
public/css/styles.css
245 lines
:root {
--bg: #0c1a26;
--bg-elev: #11253a;
--bg-card: #142e47;
--fg: #e9f2fb;
--fg-muted: #8aa3bf;
--accent: #e2b85a;
--accent-fg: #1a1208;
--border: #1e3a55;
--tag-bg: #1a3550;
--shadow: 0 10px 30px rgba(0,0,0,.45);
--radius: 14px;
--cols-min: 320px;
font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}
[data-theme="light"] {
--bg: #f5f1ea;
--bg-elev: #ffffff;
--bg-card: #ffffff;
--fg: #182030;
--fg-muted: #5a6a80;
--accent: #a07028;
--accent-fg: #ffffff;
--border: #e3dccf;
--tag-bg: #f0e9da;
--shadow: 0 6px 22px rgba(40,30,15,.10);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--bg);
color: var(--fg);
line-height: 1.55;
-webkit-font-smoothing: antialiased;
min-height: 100vh;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--fg-muted); }
.site-header {
background: var(--bg-elev);
border-bottom: 1px solid var(--border);
position: sticky; top: 0; z-index: 30;
}
.header-row { display: flex; align-items: center; gap: 24px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--fg); }
.brand:hover { text-decoration: none; }
.brand-mark {
width: 28px; height: 28px; border-radius: 8px;
background: linear-gradient(135deg, var(--accent), #b6873a);
}
.brand-name { font-size: 18px; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 18px; margin-left: auto; }
.site-nav a { color: var(--fg); font-size: 14px; }
.theme-toggle {
width: 36px; height: 36px; border-radius: 50%;
border: 1px solid var(--border); background: var(--bg-card);
color: var(--fg); cursor: pointer; font-size: 16px;
display: inline-flex; align-items: center; justify-content: center;
}
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: inline; }
[data-theme="light"] .theme-toggle .sun { display: inline; }
[data-theme="light"] .theme-toggle .moon { display: none; }
.main { padding: 32px 24px 80px; }
.hero { padding: 40px 0 28px; }
.hero h1 {
font-size: clamp(30px, 4.4vw, 52px);
margin: 0 0 16px; letter-spacing: -0.025em; line-height: 1.05;
font-weight: 700;
}
.hero h1 .hero-accent {
display: block;
font-style: italic;
font-weight: 500;
color: var(--accent);
letter-spacing: -0.02em;
}
.hero .lead { color: var(--fg-muted); font-size: 17px; max-width: 740px; margin: 0; }
.how-matches { margin-top: 64px; padding-top: 36px; border-top: 1px solid var(--border); }
.how-matches > h2 {
font-size: 13px; margin: 0 0 22px; color: var(--fg-muted);
text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
}
.how-grid {
display: grid; gap: 22px;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.how-step {
background: var(--bg-elev);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 22px 22px 20px;
position: relative;
}
.how-step .how-num {
font-family: ui-serif, Georgia, "Times New Roman", serif;
font-size: 12px; font-weight: 600; letter-spacing: .08em;
color: var(--accent); margin-bottom: 10px;
}
.how-step h3 {
font-size: 17px; margin: 0 0 10px; letter-spacing: -0.01em;
color: var(--fg); line-height: 1.3;
}
.how-step p { color: var(--fg-muted); font-size: 14px; margin: 0; line-height: 1.6; }
.how-foot { margin-top: 22px; font-size: 13px; max-width: 760px; }
.filter-bar {
display: grid; grid-template-columns: minmax(220px,1.4fr) repeat(3, 1fr) auto auto;
gap: 10px; margin: 24px 0 16px;
background: var(--bg-elev); padding: 14px; border-radius: var(--radius);
border: 1px solid var(--border);
}
.filter-bar input[type=search], .filter-bar select {
background: var(--bg-card); color: var(--fg);
border: 1px solid var(--border); padding: 10px 12px;
border-radius: 10px; font-size: 14px; min-width: 0;
}
.filter-bar input[type=search]:focus, .filter-bar select:focus {
outline: 2px solid var(--accent); outline-offset: 1px;
}
.btn-primary, .btn-ghost {
display: inline-flex; align-items: center; justify-content: center;
padding: 10px 16px; border-radius: 10px; font-weight: 600;
font-size: 14px; cursor: pointer; border: 1px solid transparent;
text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); }
.btn-primary:hover { filter: brightness(1.05); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-card); text-decoration: none; }
.result-bar {
display: flex; align-items: center; justify-content: space-between;
margin: 14px 0 16px; gap: 14px; flex-wrap: wrap;
}
.controls { display: flex; gap: 14px; align-items: center; }
.control { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--fg-muted); }
.control select, .control input[type=range] {
background: var(--bg-card); color: var(--fg);
border: 1px solid var(--border); padding: 6px 10px;
border-radius: 8px; font-size: 13px;
}
.control input[type=range] { padding: 0; }
.rep-grid {
list-style: none; padding: 0; margin: 0;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(var(--cols-min), 1fr));
gap: 16px;
}
.rep-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius);
transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
overflow: hidden;
}
.rep-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.rep-link { display: block; padding: 18px; color: var(--fg); }
.rep-link:hover { text-decoration: none; }
.rep-card-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.rep-avatar {
width: 44px; height: 44px; border-radius: 50%;
background: linear-gradient(135deg, var(--accent), #b6873a);
color: var(--accent-fg); font-weight: 700; font-size: 14px;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.rep-avatar.lg { width: 80px; height: 80px; font-size: 26px; }
.rep-name { font-weight: 600; font-size: 16px; }
.rep-agency { color: var(--fg-muted); font-size: 13px; }
.rep-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip {
display: inline-block; font-size: 11px; padding: 3px 9px;
background: var(--tag-bg); color: var(--fg);
border-radius: 99px; border: 1px solid var(--border);
}
.chip.city { background: transparent; color: var(--fg-muted); }
.rep-lines { font-size: 13px; margin-bottom: 10px; }
.rep-vertical { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
font-size: 10px; text-transform: uppercase; letter-spacing: .04em;
padding: 2px 8px; background: transparent; border: 1px solid var(--border);
color: var(--fg-muted); border-radius: 4px;
}
.empty { text-align: center; padding: 60px 20px; color: var(--fg-muted); }
.back-link { font-size: 13px; color: var(--fg-muted); display: inline-block; margin-bottom: 14px; }
.rep-detail { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.rep-header { display: flex; gap: 18px; align-items: center; margin-bottom: 24px; }
.rep-header h1 { margin: 0; font-size: 28px; letter-spacing: -0.01em; }
.rep-header .agency { color: var(--accent); font-weight: 600; margin-top: 4px; }
.rep-header .city { font-size: 14px; }
.rep-grid-detail {
display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.rep-grid-detail h3 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--fg-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lines-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.cta-row { display: flex; gap: 10px; padding-top: 22px; flex-wrap: wrap; }
.related { margin-top: 40px; }
.related h2 { font-size: 20px; margin: 0 0 14px; }
.long-form { max-width: 720px; }
.long-form h1 { font-size: 32px; margin: 0 0 20px; }
.long-form h2 { font-size: 18px; margin-top: 28px; }
.long-form p { color: var(--fg); }
.seo-block { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--border); max-width: 820px; }
.seo-block h2 { font-size: 18px; margin: 0 0 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: .06em; }
.seo-block p { color: var(--fg-muted); font-size: 14px; }
.site-footer { background: var(--bg-elev); border-top: 1px solid var(--border); margin-top: 60px; padding: 36px 0 24px; }
.footer-grid {
display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
padding-bottom: 24px;
}
.site-footer strong { display: block; margin-bottom: 6px; font-size: 14px; }
.site-footer p { font-size: 13px; line-height: 1.7; color: var(--fg-muted); margin: 0; }
.site-footer a { color: var(--fg); }
.copy { padding-top: 18px; border-top: 1px solid var(--border); color: var(--fg-muted); }
@media (max-width: 720px) {
.filter-bar { grid-template-columns: 1fr 1fr; }
.filter-bar input[type=search] { grid-column: 1 / -1; }
.site-nav a:nth-child(1) { display: none; }
}
/* Direct-contact block on rep detail pages (phone/email/LinkedIn) */
.contact-block { margin-top: 1.25rem; }
.contact-block h3 { margin-bottom: .5rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .4rem; }
.contact-list li { display: flex; align-items: center; gap: .55rem; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .ci { display: inline-flex; align-items: center; justify-content: center; min-width: 1.4rem; height: 1.4rem; font-size: .8rem; font-weight: 700; opacity: .8; }