Redesign hero section to be more compact with coral accent
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 39s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m16s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 1s

Reduced padding and title size to eliminate empty feeling, added
decorative coral underline bar for visual interest, and subtle
fade-in animation on page load.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Tudor
2026-02-04 09:29:06 +00:00
parent 05c667e6d3
commit 1b9220d51b

View File

@@ -4,29 +4,52 @@
.hero { .hero {
text-align: center; text-align: center;
margin-bottom: 3rem; margin-bottom: 2.5rem;
padding: 3rem 2rem; padding: 2rem 2rem 1.75rem;
background: linear-gradient(135deg, var(--bg-secondary, #f3ede4) 0%, var(--bg-primary, #faf7f2) 100%); background: linear-gradient(135deg, var(--bg-secondary, #f3ede4) 0%, var(--bg-primary, #faf7f2) 100%);
border-radius: 16px; border-radius: 16px;
border: 1px solid var(--border-color, #e5dfd5); border: 1px solid var(--border-color, #e5dfd5);
animation: heroFadeIn 0.5s ease-out;
}
@keyframes heroFadeIn {
from {
opacity: 0;
transform: translateY(-8px);
}
to {
opacity: 1;
transform: translateY(0);
}
} }
.heroTitle { .heroTitle {
font-size: 3rem; font-size: 2.25rem;
font-weight: 700; font-weight: 700;
color: var(--text-primary, #1a1612); color: var(--text-primary, #1a1612);
margin-bottom: 1rem; margin-bottom: 0.5rem;
line-height: 1.1; line-height: 1.2;
letter-spacing: -0.02em; letter-spacing: -0.02em;
font-family: var(--font-playfair), 'Playfair Display', serif; font-family: var(--font-playfair), 'Playfair Display', serif;
} }
/* Coral accent bar under title */
.heroTitle::after {
content: '';
display: block;
width: 80px;
height: 3px;
background: var(--accent-coral, #e07256);
border-radius: 2px;
margin: 0.75rem auto 0;
}
.heroDescription { .heroDescription {
font-size: 1.125rem; font-size: 1rem;
color: var(--text-secondary, #5c564d); color: var(--text-secondary, #5c564d);
max-width: 600px; max-width: 520px;
margin: 0 auto; margin: 0.75rem auto 0;
line-height: 1.6; line-height: 1.5;
} }
.locationBanner { .locationBanner {
@@ -166,17 +189,22 @@
@media (max-width: 768px) { @media (max-width: 768px) {
.hero { .hero {
padding: 2rem 1rem; padding: 1.5rem 1rem 1.25rem;
margin-bottom: 2rem; margin-bottom: 1.5rem;
border-radius: 12px; border-radius: 12px;
} }
.heroTitle { .heroTitle {
font-size: 2rem; font-size: 1.75rem;
}
.heroTitle::after {
width: 60px;
margin-top: 0.5rem;
} }
.heroDescription { .heroDescription {
font-size: 1rem; font-size: 0.9375rem;
} }
.grid { .grid {