belinda-barnes-site/styles.css

182 lines
3.5 KiB
CSS
Raw Normal View History

2026-07-18 10:26:32 +02:00
/* Belinda Barnes — Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');
:root {
--bg-deep: #0a0a0c;
--bg-panel: #141418;
--fg-primary: #e8e8ec;
--fg-muted: #8a8a96;
--accent-gold: #d4af37;
--accent-steel: #7aa3b5;
--border-subtle: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
height: 100%;
font-family: 'Inter', system-ui, sans-serif;
background-color: var(--bg-deep);
color: var(--fg-primary);
line-height: 1.6;
}
a {
color: var(--accent-steel);
text-decoration: none;
transition: color 0.2s ease;
}
a:hover { color: var(--accent-gold); }
.hero {
position: relative;
min-height: 70vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 4rem 2rem;
overflow: hidden;
}
.hero::before {
content: "";
position: absolute;
inset: 0;
background-image: url('https://images.pexels.com/photos/6478071/pexels-photo-6478071.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=1200&w=1800');
background-size: cover;
background-position: center;
opacity: 0.35;
z-index: -1;
filter: grayscale(0.4) contrast(1.1);
}
.hero h1 {
font-size: clamp(2.5rem, 6vw, 4.5rem);
font-weight: 800;
letter-spacing: -0.03em;
margin-bottom: 0.75rem;
text-shadow: 0 4px 24px rgba(0,0,0,0.8);
}
.tagline {
font-size: clamp(1rem, 1.8vw, 1.4rem);
font-weight: 300;
color: var(--accent-steel);
margin-bottom: 0.5rem;
}
.location {
font-size: 0.85rem;
font-weight: 400;
color: var(--fg-muted);
letter-spacing: 0.05em;
text-transform: uppercase;
}
.menu {
display: flex;
gap: 2rem;
justify-content: center;
padding: 2rem;
background: linear-gradient(to bottom, var(--bg-deep), transparent);
position: sticky;
top: 0;
z-index: 100;
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--border-subtle);
}
.menu a {
font-size: 0.9rem;
font-weight: 600;
letter-spacing: 0.03em;
text-transform: uppercase;
color: var(--fg-muted);
padding: 0.5rem 0;
border-bottom: 2px solid transparent;
}
.menu a:hover {
color: var(--fg-primary);
border-bottom-color: var(--accent-gold);
}
.welcome {
max-width: 72ch;
margin: 4rem auto;
padding: 0 2rem;
}
.welcome h2 {
font-size: 2rem;
margin-bottom: 1.5rem;
font-weight: 600;
color: var(--fg-primary);
}
.welcome p {
margin-bottom: 1.25rem;
font-size: 1.05rem;
color: var(--fg-muted);
}
.featured {
max-width: 1200px;
margin: 4rem auto;
padding: 0 2rem;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.story-card {
background: var(--bg-panel);
border: 1px solid var(--border-subtle);
border-radius: 8px;
padding: 2rem;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.story-card:hover {
transform: translateY(-4px);
box-shadow: 0 12px 32px rgba(0,0,0,0.4);
border-color: var(--accent-steel);
}
.story-card h3 {
font-size: 1.4rem;
margin-bottom: 1rem;
color: var(--fg-primary);
}
.story-card p {
font-size: 0.95rem;
color: var(--fg-muted);
margin-bottom: 1.5rem;
}
.story-card a {
font-size: 0.85rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--accent-gold);
}
.footer {
text-align: center;
padding: 4rem 2rem 2rem;
border-top: 1px solid var(--border-subtle);
margin-top: 4rem;
color: var(--fg-muted);
font-size: 0.8rem;
}
@media (max-width: 768px) {
.menu {
flex-wrap: wrap;
gap: 1.5rem;
}
.menu a {
font-size: 0.8rem;
}
}