first commit

This commit is contained in:
2026-06-18 17:08:26 +02:00
commit 2f5f37c7b4
20 changed files with 1717 additions and 0 deletions
+760
View File
@@ -0,0 +1,760 @@
/* ============ RESET & BASE ============ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--bg: #faf9f7;
--bg-alt: #f3ede6;
--text: #2c2c2c;
--text-mid: #6b6b6b;
--accent: #a67c52;
--accent-dk:#8c6740;
--white: #fff;
--radius: 12px;
}
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', system-ui, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container {
max-width: 1060px;
margin: 0 auto;
padding: 0 24px;
}
/* ============ NAV ============ */
.nav {
position: fixed;
top: 0; left: 0; right: 0;
background: rgba(250, 249, 247, 0.92);
backdrop-filter: blur(10px);
z-index: 100;
border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
display: flex;
justify-content: space-between;
align-items: center;
height: 64px;
}
.logo {
font-family: 'DM Serif Display', serif;
font-size: 1.3rem;
color: var(--text);
}
.logo span { color: var(--accent); }
.nav-links {
display: flex;
gap: 28px;
list-style: none;
}
.nav-links a {
font-size: 0.9rem;
font-weight: 500;
color: var(--text-mid);
transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.btn-nav {
padding: 8px 20px;
font-size: 0.85rem;
}
/* ============ HERO ============ */
.hero {
position: relative;
min-height: 520px;
display: flex;
align-items: center;
justify-content: center;
padding: 140px 0 80px;
text-align: center;
overflow: hidden;
}
.hero-bg {
position: absolute;
inset: 0;
z-index: 0;
}
.hero-bg img {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-bg::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(
to bottom,
rgba(250, 249, 247, 0.75) 0%,
rgba(250, 249, 247, 0.55) 50%,
rgba(250, 249, 247, 0.85) 100%
);
}
/* Fallback gradient when no image is loaded */
.hero-bg img[src=""]::before,
.hero-bg img:not([src])::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(160deg, var(--bg) 40%, var(--bg-alt) 100%);
}
.hero-content {
position: relative;
z-index: 1;
}
.hero h1 {
font-family: 'DM Serif Display', serif;
font-size: clamp(2.4rem, 5vw, 3.6rem);
line-height: 1.15;
margin-bottom: 20px;
}
.hero-sub {
color: var(--text);
font-size: 1.1rem;
font-weight: 500;
max-width: 500px;
margin: 0 auto 32px;
text-shadow: 0 1px 8px rgba(250, 249, 247, 0.9);
}
.hero-actions {
display: flex;
gap: 12px;
justify-content: center;
flex-wrap: wrap;
}
/* ============ BUTTONS ============ */
.btn {
display: inline-block;
padding: 12px 28px;
border-radius: 999px;
font-size: 0.95rem;
font-weight: 600;
transition: all 0.2s;
cursor: pointer;
}
.btn-primary {
background: var(--accent);
color: var(--white);
}
.btn-primary:hover { background: var(--accent-dk); }
.btn-secondary {
background: transparent;
color: var(--text);
border: 2px solid rgba(0,0,0,0.12);
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-title {
font-family: 'DM Serif Display', serif;
font-size: 2rem;
text-align: center;
margin-bottom: 12px;
}
.section-subtitle {
text-align: center;
color: var(--text-mid);
font-size: 1rem;
margin-bottom: 48px;
max-width: 500px;
margin-left: auto;
margin-right: auto;
}
/* ============ SERVICES ============ */
.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.service-card {
background: var(--white);
border-radius: var(--radius);
overflow: hidden;
border: 1px solid rgba(0,0,0,0.05);
transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.service-img {
width: 100%;
height: 220px;
overflow: hidden;
background: var(--bg-alt);
}
.service-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.service-body {
padding: 24px;
}
.service-body h3 {
font-family: 'DM Serif Display', serif;
font-size: 1.3rem;
margin-bottom: 16px;
}
.service-list {
list-style: none;
}
.service-list li {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 0;
border-bottom: 1px solid rgba(0,0,0,0.06);
font-size: 0.9rem;
color: var(--text-mid);
}
.service-list li:last-child {
border-bottom: none;
}
.price {
font-weight: 600;
color: var(--accent);
white-space: nowrap;
}
/* ============ GALLERY ============ */
.gallery-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
}
.gallery-item {
border-radius: var(--radius);
overflow: hidden;
aspect-ratio: 1;
background: var(--bg);
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s;
}
.gallery-item:hover img {
transform: scale(1.05);
}
/* ============ SCHEDULE ============ */
.schedule {
max-width: 500px;
margin: 0 auto;
}
.schedule-row {
display: flex;
justify-content: space-between;
padding: 14px 0;
border-bottom: 1px solid rgba(0,0,0,0.08);
font-size: 0.95rem;
}
.schedule-row.closed span:last-child { color: #c0392b; font-weight: 500; }
.schedule-note {
text-align: center;
margin-top: 24px;
color: var(--accent);
font-weight: 600;
font-size: 0.95rem;
}
/* ============ CONTACT ============ */
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
align-items: start;
}
.contact-item { margin-bottom: 20px; }
.contact-item strong {
display: block;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--accent);
margin-bottom: 4px;
}
.contact-item p { font-size: 0.95rem; color: var(--text-mid); }
.contact-item a:hover { color: var(--accent); }
/* ============ BOOKING FORM ============ */
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 16px;
}
.form-group {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 16px;
}
.form-row .form-group {
margin-bottom: 0;
}
.form-group label {
font-size: 0.85rem;
font-weight: 600;
color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
padding: 10px 14px;
border: 1px solid rgba(0,0,0,0.14);
border-radius: 8px;
font-size: 0.95rem;
font-family: inherit;
background: var(--white);
color: var(--text);
transition: border-color 0.2s;
width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent);
}
.form-group textarea {
resize: vertical;
}
.booking-result {
max-width: 820px;
margin: 16px auto 0;
padding: 14px 18px;
border-radius: 8px;
font-size: 0.95rem;
font-weight: 500;
}
.booking-success {
background: #edf7ed;
color: #2e7d32;
border: 1px solid #a5d6a7;
}
.booking-error {
background: #fdecea;
color: #c62828;
border: 1px solid #ef9a9a;
}
/* ============ CALENDAR ============ */
.booking-calendar {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 40px;
max-width: 820px;
margin: 0 auto;
align-items: start;
}
.cal-left {
background: var(--white);
border-radius: var(--radius);
padding: 24px;
border: 1px solid rgba(0,0,0,0.06);
}
.cal-header {
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0 16px;
}
.cal-month {
font-family: 'DM Serif Display', serif;
font-size: 1.15rem;
}
.cal-nav {
background: none;
border: 1px solid rgba(0,0,0,0.12);
border-radius: 8px;
width: 36px;
height: 36px;
font-size: 1.1rem;
cursor: pointer;
color: var(--text);
display: flex;
align-items: center;
justify-content: center;
transition: border-color 0.2s, color 0.2s;
padding: 0;
}
.cal-nav:hover {
border-color: var(--accent);
color: var(--accent);
background: none;
}
.cal-weekdays {
display: grid;
grid-template-columns: repeat(7, 1fr);
text-align: center;
font-size: 0.75rem;
font-weight: 600;
color: var(--text-mid);
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 8px;
}
.cal-grid {
display: grid;
grid-template-columns: repeat(7, 1fr);
gap: 4px;
}
.cal-day {
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
border: none;
background: none;
border-radius: 8px;
font-size: 0.9rem;
cursor: pointer;
transition: background 0.15s, color 0.15s;
color: var(--text);
font-family: inherit;
padding: 0;
}
.cal-day:hover:not(:disabled) {
background: var(--bg-alt);
}
.cal-empty {
cursor: default;
}
.cal-disabled {
color: rgba(0,0,0,0.2);
cursor: default;
}
.cal-selected {
background: var(--accent) !important;
color: var(--white) !important;
font-weight: 600;
}
/* ============ SLOTS ============ */
.cal-right {
min-height: 200px;
}
.slots-placeholder {
color: var(--text-mid);
text-align: center;
padding: 60px 20px;
font-size: 0.95rem;
}
.slots-title {
font-family: 'DM Serif Display', serif;
font-size: 1.1rem;
margin-bottom: 16px;
}
.slots-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 8px;
margin-bottom: 24px;
}
.slot-btn {
padding: 10px 4px;
border: 1px solid rgba(0,0,0,0.12);
border-radius: 8px;
background: var(--white);
font-size: 0.9rem;
cursor: pointer;
transition: all 0.15s;
color: var(--text);
font-family: inherit;
}
.slot-btn:hover:not(:disabled) {
border-color: var(--accent);
color: var(--accent);
}
.slot-occupied {
background: var(--bg-alt);
color: rgba(0,0,0,0.25);
text-decoration: line-through;
cursor: default;
border-color: transparent;
}
.slot-selected {
background: var(--accent) !important;
color: var(--white) !important;
border-color: var(--accent) !important;
font-weight: 600;
}
.booking-mini-form {
margin-top: 8px;
}
.services-loading {
color: var(--text-mid);
text-align: center;
grid-column: 1 / -1;
padding: 40px 0;
}
/* ============ PROFESIONAL ============ */
.profesional-grid {
display: grid;
grid-template-columns: 260px 1fr;
gap: 60px;
align-items: center;
max-width: 860px;
margin: 0 auto;
}
.profesional-img {
border-radius: var(--radius);
overflow: hidden;
aspect-ratio: 3 / 4;
}
.profesional-img img {
width: 100%;
height: 100%;
object-fit: cover;
}
.profesional-info h3 {
font-family: 'DM Serif Display', serif;
font-size: 2rem;
margin-bottom: 6px;
}
.profesional-role {
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
color: var(--accent);
font-weight: 600;
margin-bottom: 20px;
}
.profesional-info p {
color: var(--text-mid);
font-size: 0.97rem;
line-height: 1.8;
}
/* ============ SERVICE SELECTOR (booking) ============ */
.service-selector {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 16px;
max-width: 820px;
margin: 0 auto 20px;
}
.svc-cat-card {
background: var(--white);
border: 1px solid rgba(0,0,0,0.06);
border-radius: var(--radius);
padding: 20px;
transition: opacity 0.2s;
}
.svc-cat-card.svc-cat-locked {
opacity: 0.35;
pointer-events: none;
}
.svc-cat-title {
font-family: 'DM Serif Display', serif;
font-size: 1rem;
color: var(--accent);
margin-bottom: 12px;
}
.svc-options {
display: flex;
flex-direction: column;
gap: 4px;
}
.svc-option {
display: flex;
align-items: center;
gap: 8px;
cursor: pointer;
padding: 6px 8px;
border-radius: 8px;
transition: background 0.15s;
}
.svc-option:hover {
background: var(--bg-alt);
}
.svc-option input[type=checkbox] {
accent-color: var(--accent);
width: 15px;
height: 15px;
cursor: pointer;
flex-shrink: 0;
}
.svc-name {
flex: 1;
font-size: 0.88rem;
color: var(--text);
}
.svc-meta {
font-size: 0.78rem;
color: var(--text-mid);
white-space: nowrap;
}
.service-summary-bar {
display: none;
max-width: 820px;
margin: 0 auto 28px;
padding: 12px 20px;
background: var(--accent);
border-radius: var(--radius);
color: var(--white);
font-size: 0.9rem;
gap: 10px;
align-items: center;
flex-wrap: wrap;
}
.service-summary-bar #summary-names {
flex: 1;
font-weight: 600;
}
.service-summary-bar .summary-sep {
opacity: 0.6;
}
/* ============ FOOTER ============ */
.footer {
padding: 32px 0;
border-top: 1px solid rgba(0,0,0,0.06);
}
.footer-inner {
display: flex;
justify-content: space-between;
align-items: center;
}
.footer p { font-size: 0.82rem; color: var(--text-mid); }
/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
.services-grid {
grid-template-columns: 1fr;
}
.gallery-grid {
grid-template-columns: repeat(2, 1fr);
}
.booking-calendar {
grid-template-columns: 1fr;
gap: 24px;
}
.slots-grid {
grid-template-columns: repeat(3, 1fr);
}
.profesional-grid {
grid-template-columns: 200px 1fr;
gap: 36px;
}
}
@media (max-width: 640px) {
.nav-links { display: none; }
.btn-nav { display: none; }
.contact-grid { grid-template-columns: 1fr; }
.footer-inner { flex-direction: column; gap: 8px; text-align: center; }
.gallery-grid {
grid-template-columns: repeat(2, 1fr);
gap: 8px;
}
.form-row {
grid-template-columns: 1fr;
}
.profesional-grid {
grid-template-columns: 1fr;
gap: 32px;
text-align: center;
}
.profesional-img {
max-width: 200px;
margin: 0 auto;
}
.service-selector {
grid-template-columns: 1fr;
}
}