Files
camping-fenix/static/css/style.css

631 lines
12 KiB
CSS

:root {
--bg: #f3efe6;
--bg-strong: #ede6da;
--surface: #fffaf2;
--surface-alt: #f6efe1;
--primary: #2e7d5a;
--primary-strong: #1f5b42;
--accent: #d28b5c;
--accent-strong: #b8744c;
--text: #1c1a17;
--muted: #4c5a4f;
--pill: #e9e1d5;
--card-border: rgba(28, 26, 23, 0.12);
--shadow: 0 20px 55px rgba(20, 28, 22, 0.18);
--shadow-soft: 0 12px 32px rgba(20, 28, 22, 0.1);
}
* {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: 'Manrope', 'Segoe UI', sans-serif;
background:
radial-gradient(circle at 10% 20%, rgba(210, 139, 92, 0.2), transparent 45%),
radial-gradient(circle at 88% 0%, rgba(46, 125, 90, 0.3), transparent 40%),
repeating-linear-gradient(115deg, rgba(28, 26, 23, 0.03) 0 1px, transparent 1px 7px),
linear-gradient(180deg, #fbf7f1 0%, #f2ede3 100%);
color: var(--text);
line-height: 1.65;
min-height: 100vh;
overflow-x: hidden;
}
img {
max-width: 100%;
display: block;
border-radius: 18px;
}
a {
color: inherit;
text-decoration: none;
transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
:focus-visible {
outline: 3px solid rgba(210, 139, 92, 0.5);
outline-offset: 2px;
}
.hero {
padding: 32px 7vw 90px;
position: relative;
overflow: hidden;
background:
linear-gradient(140deg, rgba(255, 250, 242, 0.96), rgba(246, 239, 226, 0.88)),
radial-gradient(circle at 22% 18%, rgba(210, 139, 92, 0.18), transparent 45%),
radial-gradient(circle at 90% 5%, rgba(46, 125, 90, 0.3), transparent 40%);
}
.hero::before,
.hero::after {
content: "";
position: absolute;
border-radius: 50%;
filter: blur(8px);
opacity: 0.65;
}
.hero::before {
width: 440px;
height: 440px;
background: radial-gradient(circle, rgba(46, 125, 90, 0.35), transparent 70%);
top: -160px;
right: -160px;
}
.hero::after {
width: 360px;
height: 360px;
background: radial-gradient(circle, rgba(210, 139, 92, 0.35), transparent 70%);
left: -140px;
bottom: -160px;
}
.hero > * {
position: relative;
z-index: 1;
}
.nav {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
margin: 0 auto 56px;
max-width: 1200px;
padding: 12px 16px;
border: 1px solid var(--card-border);
border-radius: 20px;
background: rgba(255, 255, 255, 0.72);
box-shadow: var(--shadow-soft);
backdrop-filter: blur(10px);
}
.logo {
font-family: 'Fraunces', serif;
font-weight: 700;
letter-spacing: 0.12em;
text-transform: uppercase;
font-size: 0.95rem;
padding: 10px 14px;
border: 1px solid var(--card-border);
border-radius: 14px;
background: linear-gradient(120deg, rgba(46, 125, 90, 0.12), rgba(210, 139, 92, 0.18));
color: var(--primary-strong);
}
.nav-actions {
display: flex;
gap: 12px;
align-items: center;
flex-wrap: wrap;
}
.nav-link {
padding: 10px 12px;
border-radius: 12px;
color: var(--muted);
font-weight: 600;
letter-spacing: 0.02em;
transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
color: var(--primary-strong);
background: rgba(46, 125, 90, 0.12);
}
.cta {
padding: 12px 18px;
border-radius: 14px;
background: linear-gradient(120deg, var(--primary), var(--accent));
color: #ffffff;
font-weight: 700;
box-shadow: var(--shadow);
}
.hero-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 40px;
align-items: center;
max-width: 1200px;
margin: 0 auto;
}
.hero-text h1 {
font-family: 'Fraunces', serif;
font-size: clamp(2.5rem, 4.2vw, 3.6rem);
line-height: 1.05;
margin: 10px 0 12px;
color: #16251f;
text-wrap: balance;
}
.accent {
position: relative;
display: inline-block;
color: var(--primary-strong);
z-index: 0;
}
.accent::after {
content: "";
position: absolute;
left: -4px;
right: -4px;
bottom: 6px;
height: 0.38em;
background: rgba(210, 139, 92, 0.35);
border-radius: 999px;
z-index: -1;
}
.hero-text .subtitle {
color: var(--muted);
margin-bottom: 24px;
font-size: 1.03rem;
}
.eyebrow {
letter-spacing: 0.24em;
text-transform: uppercase;
font-weight: 700;
color: var(--primary-strong);
font-size: 0.72rem;
}
.subtitle {
color: var(--muted);
max-width: 620px;
}
.hero-buttons {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-bottom: 16px;
}
.button {
padding: 12px 18px;
border-radius: 16px;
border: 1px solid transparent;
font-weight: 700;
cursor: pointer;
display: inline-flex;
gap: 8px;
align-items: center;
justify-content: center;
transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
text-align: center;
letter-spacing: 0.01em;
box-shadow: var(--shadow-soft);
}
.button:hover {
transform: translateY(-2px);
box-shadow: var(--shadow);
}
.button.primary {
background: linear-gradient(120deg, var(--primary), var(--accent));
color: #ffffff;
border: none;
}
.button.ghost {
background: rgba(46, 125, 90, 0.12);
color: var(--primary-strong);
border: 1px solid rgba(46, 125, 90, 0.2);
}
.button.full {
width: 100%;
background: rgba(210, 139, 92, 0.12);
}
.quick-info {
display: flex;
gap: 12px;
flex-wrap: wrap;
margin-top: 18px;
}
.pill {
background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(233, 225, 213, 0.9));
border: 1px solid var(--card-border);
padding: 10px 14px;
border-radius: 999px;
color: #2f3b33;
font-weight: 600;
box-shadow: var(--shadow-soft);
}
.hero-card {
background: rgba(255, 255, 255, 0.85);
border: 1px solid var(--card-border);
border-radius: 24px;
overflow: hidden;
box-shadow: var(--shadow);
backdrop-filter: blur(12px);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card:hover {
transform: translateY(-6px);
box-shadow: 0 30px 70px rgba(20, 28, 22, 0.2);
}
.hero-card .card-header {
padding: 14px 18px;
background: rgba(46, 125, 90, 0.12);
border-bottom: 1px solid var(--card-border);
font-weight: 700;
letter-spacing: 0.18em;
text-transform: uppercase;
font-size: 0.75rem;
color: var(--primary-strong);
}
.hero-card .card-body {
padding: 18px;
}
.card-title {
font-family: 'Fraunces', serif;
font-size: 1.35rem;
margin: 6px 0;
}
.card-desc {
color: var(--muted);
margin-bottom: 14px;
}
.card-tags {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 14px;
}
.card-tags span {
background: rgba(210, 139, 92, 0.15);
border-radius: 999px;
padding: 8px 12px;
color: #2c3a32;
border: 1px solid rgba(210, 139, 92, 0.25);
font-weight: 600;
font-size: 0.85rem;
}
.section {
padding: 90px 7vw;
background: var(--bg);
position: relative;
overflow: hidden;
}
.section > * {
position: relative;
z-index: 1;
}
.services {
background: linear-gradient(140deg, #fcf8f2, #efe6d8);
}
.services::before {
content: "";
position: absolute;
width: 260px;
height: 260px;
border-radius: 50%;
background: radial-gradient(circle, rgba(46, 125, 90, 0.2), transparent 70%);
right: 8%;
top: -120px;
opacity: 0.6;
}
.section-heading {
max-width: 760px;
margin: 0 auto;
}
.section-heading h2 {
margin: 6px 0;
font-size: clamp(1.8rem, 3.2vw, 2.7rem);
font-family: 'Fraunces', serif;
line-height: 1.1;
text-wrap: balance;
}
.features-grid {
margin-top: 28px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 16px;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}
.feature-card {
display: flex;
align-items: center;
gap: 12px;
padding: 16px 18px;
border: 1px solid var(--card-border);
border-radius: 18px;
background: rgba(255, 255, 255, 0.9);
box-shadow: var(--shadow-soft);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow);
}
.feature-card p {
margin: 0;
color: #223028;
font-weight: 600;
}
.feature-dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: linear-gradient(120deg, var(--primary), var(--accent));
box-shadow: 0 0 0 6px rgba(46, 125, 90, 0.12);
}
.gallery-grid {
margin-top: 32px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 22px;
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}
.gallery-card {
background: rgba(255, 255, 255, 0.92);
border: 1px solid var(--card-border);
border-radius: 20px;
overflow: hidden;
box-shadow: var(--shadow-soft);
display: flex;
flex-direction: column;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow);
}
.image-wrap {
background: linear-gradient(160deg, rgba(46, 125, 90, 0.08), rgba(210, 139, 92, 0.18));
padding: 18px;
display: grid;
place-items: center;
}
.image-wrap img {
width: 100%;
height: 210px;
object-fit: contain;
border-radius: 16px;
filter: drop-shadow(0 12px 24px rgba(20, 28, 22, 0.18));
}
.gallery-info {
padding: 18px;
}
.gallery-info h3 {
margin: 0 0 8px;
font-family: 'Fraunces', serif;
font-size: 1.2rem;
}
.gallery-info p {
color: var(--muted);
margin: 0;
}
.map-section {
background: linear-gradient(160deg, #fbf7f1, #efe6d8);
}
.map-section::before {
content: "";
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
background: radial-gradient(circle, rgba(210, 139, 92, 0.22), transparent 70%);
left: 6%;
top: -140px;
opacity: 0.5;
}
.map-section .map-card {
margin-top: 30px;
background: rgba(255, 255, 255, 0.95);
border: 1px solid var(--card-border);
border-radius: 22px;
overflow: hidden;
box-shadow: var(--shadow);
max-width: 1100px;
margin-left: auto;
margin-right: auto;
}
.map-card iframe {
width: 100%;
border: none;
height: 420px;
filter: saturate(1.05) contrast(1.02);
}
.map-actions {
padding: 18px;
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.contact {
background: linear-gradient(140deg, rgba(46, 125, 90, 0.16), rgba(210, 139, 92, 0.18));
}
.contact-card {
max-width: 1000px;
margin: 0 auto;
background: rgba(255, 255, 255, 0.92);
border: 1px solid var(--card-border);
border-radius: 24px;
padding: 28px;
display: flex;
gap: 20px;
align-items: center;
justify-content: space-between;
box-shadow: var(--shadow);
flex-wrap: wrap;
}
.footer {
padding: 30px 7vw 40px;
text-align: center;
background: #e8dfd0;
color: #3b4740;
border-top: 1px solid var(--card-border);
font-size: 0.95rem;
}
.reveal {
opacity: 0;
transform: translateY(18px);
animation: reveal 0.9s ease forwards;
animation-delay: var(--delay, 0s);
}
.delay-1 {
--delay: 0.12s;
}
.delay-2 {
--delay: 0.24s;
}
.delay-3 {
--delay: 0.36s;
}
.delay-4 {
--delay: 0.48s;
}
@keyframes reveal {
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 900px) {
.nav {
flex-direction: column;
align-items: flex-start;
}
.hero {
padding: 28px 6vw 70px;
}
.hero-content {
gap: 28px;
}
}
@media (max-width: 600px) {
.hero-buttons,
.map-actions {
flex-direction: column;
align-items: stretch;
}
.hero-buttons .button,
.map-actions .button {
width: 100%;
}
.section {
padding: 70px 6vw;
}
.map-card iframe {
height: 320px;
}
.image-wrap img {
height: 180px;
}
.contact-card {
padding: 22px;
}
}
@media (prefers-reduced-motion: reduce) {
html {
scroll-behavior: auto;
}
.reveal {
opacity: 1;
transform: none;
animation: none;
}
.button,
.hero-card,
.feature-card,
.gallery-card {
transition: none;
}
}