- Redesigned UI with a Green/Earth/Yellow palette and Manrope typography. - Modernized Hero, Services, and Gallery sections. - Improved mobile navigation to be responsive (stacked links) instead of hidden. - Prepared `app.py` for future local image usage with clear instructions. - Added `docker-compose.yml` configured for development (binds to 0.0.0.0). - Added `.gitignore`. Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com>
469 lines
8.6 KiB
CSS
Executable File
469 lines
8.6 KiB
CSS
Executable File
:root {
|
|
/* Color Palette - Green, Earth, Yellow */
|
|
--primary: #2F4F4F; /* Deep Forest Green */
|
|
--primary-hover: #264040;
|
|
--secondary: #EAD7C3; /* Earthy Sand/Beige */
|
|
--accent: #F4D35E; /* Muted Sun Yellow */
|
|
|
|
--bg-body: #FAFAF9; /* Off-white */
|
|
--bg-surface: #FFFFFF; /* Pure white for cards */
|
|
--bg-alt: #F2F0E9; /* Light earthy background for sections */
|
|
|
|
--text-main: #1A1C1B; /* Dark Grey/Green */
|
|
--text-muted: #5C5F5E; /* Muted Grey */
|
|
--text-light: #F9F9F9; /* Light text for dark backgrounds */
|
|
|
|
--border-light: rgba(47, 79, 79, 0.1);
|
|
|
|
/* Spacing & Layout */
|
|
--container-width: 1200px;
|
|
--header-height: 80px;
|
|
|
|
/* Effects */
|
|
--shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
|
|
--shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.08);
|
|
--radius-sm: 8px;
|
|
--radius-md: 16px;
|
|
--radius-lg: 24px;
|
|
}
|
|
|
|
/* Reset & Base */
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
font-size: 16px;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Manrope', sans-serif;
|
|
background-color: var(--bg-body);
|
|
color: var(--text-main);
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
/* Typography */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-weight: 700;
|
|
line-height: 1.2;
|
|
letter-spacing: -0.02em;
|
|
color: var(--primary);
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(2.5rem, 5vw, 4rem);
|
|
}
|
|
|
|
h2 {
|
|
font-size: clamp(2rem, 4vw, 2.5rem);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
p {
|
|
margin-bottom: 1rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.eyebrow {
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
color: var(--accent); /* Yellow accent */
|
|
margin-bottom: 0.5rem;
|
|
display: block;
|
|
}
|
|
|
|
/* Buttons */
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: var(--radius-sm);
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.button.primary {
|
|
background-color: var(--primary);
|
|
color: var(--text-light);
|
|
border: 2px solid var(--primary);
|
|
}
|
|
|
|
.button.primary:hover {
|
|
background-color: var(--primary-hover);
|
|
border-color: var(--primary-hover);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.button.ghost {
|
|
background-color: transparent;
|
|
color: var(--primary);
|
|
border: 2px solid var(--border-light);
|
|
}
|
|
|
|
.button.ghost:hover {
|
|
border-color: var(--primary);
|
|
background-color: var(--bg-surface);
|
|
}
|
|
|
|
.button.full {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Layout Utilities */
|
|
.container {
|
|
max-width: var(--container-width);
|
|
margin: 0 auto;
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
.section {
|
|
padding: 5rem 0;
|
|
}
|
|
|
|
/* Navigation */
|
|
.nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: var(--header-height);
|
|
background: rgba(250, 250, 249, 0.95); /* matching bg-body */
|
|
backdrop-filter: blur(10px);
|
|
z-index: 1000;
|
|
border-bottom: 1px solid var(--border-light);
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.logo {
|
|
font-weight: 800;
|
|
font-size: 1.5rem;
|
|
color: var(--primary);
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
align-items: center;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav-container {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
|
|
.nav {
|
|
height: auto;
|
|
}
|
|
|
|
.nav-links {
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.hero {
|
|
padding-top: calc(var(--header-height) + 8rem);
|
|
}
|
|
}
|
|
|
|
.nav-link {
|
|
font-weight: 500;
|
|
font-size: 0.95rem;
|
|
color: var(--text-main);
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.nav-cta {
|
|
background-color: var(--accent);
|
|
color: var(--primary); /* Contrast on yellow */
|
|
padding: 0.5rem 1rem;
|
|
border-radius: var(--radius-sm);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.nav-cta:hover {
|
|
background-color: #e3c048; /* darker yellow */
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
padding-top: calc(var(--header-height) + 4rem);
|
|
padding-bottom: 6rem;
|
|
background-color: var(--bg-body);
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Abstract background shapes */
|
|
.hero::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -10%;
|
|
right: -5%;
|
|
width: 40vw;
|
|
height: 40vw;
|
|
background: var(--secondary);
|
|
border-radius: 50%;
|
|
opacity: 0.3;
|
|
filter: blur(80px);
|
|
z-index: 0;
|
|
}
|
|
|
|
.hero::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 10%;
|
|
left: -5%;
|
|
width: 30vw;
|
|
height: 30vw;
|
|
background: var(--accent);
|
|
border-radius: 50%;
|
|
opacity: 0.2;
|
|
filter: blur(80px);
|
|
z-index: 0;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.25rem;
|
|
max-width: 600px;
|
|
margin: 0 auto 2rem;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
margin-bottom: 3rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero-features {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
font-size: 0.9rem;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.feature-pill {
|
|
background: var(--bg-surface);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 100px;
|
|
border: 1px solid var(--border-light);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
box-shadow: var(--shadow-soft);
|
|
}
|
|
|
|
.feature-pill::before {
|
|
content: '';
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background-color: var(--primary);
|
|
}
|
|
|
|
/* Services Section */
|
|
.services {
|
|
background-color: var(--bg-alt);
|
|
}
|
|
|
|
.section-header {
|
|
text-align: center;
|
|
max-width: 600px;
|
|
margin: 0 auto 3rem;
|
|
}
|
|
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.service-card {
|
|
background: var(--bg-surface);
|
|
padding: 2rem;
|
|
border-radius: var(--radius-md);
|
|
box-shadow: var(--shadow-soft);
|
|
border: 1px solid transparent;
|
|
transition: all 0.3s ease;
|
|
text-align: center;
|
|
}
|
|
|
|
.service-card:hover {
|
|
border-color: var(--secondary);
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
/* Gallery Section */
|
|
.gallery-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
}
|
|
|
|
.gallery-item {
|
|
background: var(--bg-surface);
|
|
border-radius: var(--radius-md);
|
|
overflow: hidden;
|
|
box-shadow: var(--shadow-soft);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.gallery-item:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: var(--shadow-hover);
|
|
}
|
|
|
|
.gallery-image-wrapper {
|
|
width: 100%;
|
|
height: 250px;
|
|
overflow: hidden;
|
|
background-color: var(--secondary); /* placeholder color */
|
|
}
|
|
|
|
.gallery-image-wrapper img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.gallery-item:hover .gallery-image-wrapper img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.gallery-content {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.gallery-content h3 {
|
|
font-size: 1.25rem;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* Map Section */
|
|
.map-section {
|
|
background-color: var(--bg-alt);
|
|
}
|
|
|
|
.map-container {
|
|
background: var(--bg-surface);
|
|
padding: 1rem;
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: var(--shadow-soft);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.map-frame {
|
|
width: 100%;
|
|
height: 400px;
|
|
border: none;
|
|
border-radius: var(--radius-md);
|
|
filter: grayscale(0.2); /* mute the map slightly */
|
|
}
|
|
|
|
/* Contact/Footer */
|
|
.footer {
|
|
background-color: var(--primary);
|
|
color: var(--text-light);
|
|
padding: 4rem 0 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.contact-box {
|
|
background-color: rgba(255, 255, 255, 0.05);
|
|
padding: 3rem;
|
|
border-radius: var(--radius-lg);
|
|
max-width: 600px;
|
|
margin: 0 auto 3rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.contact-box h2 {
|
|
color: var(--text-light);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.footer-bottom {
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
padding-top: 2rem;
|
|
font-size: 0.85rem;
|
|
color: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
/* Utilities */
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
.hero-actions {
|
|
flex-direction: column;
|
|
}
|
|
.button {
|
|
width: 100%;
|
|
}
|
|
}
|