From 8e82d9eee56c95182c8eb5d7a8004909c1f23787 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 31 Jan 2026 22:22:39 +0000 Subject: [PATCH] Refactor UI to a modern minimalist design with nature-inspired palette - Updated CSS variables for a Green/Earth/Yellow palette. - Switched typography to Manrope for a clean look. - Redesigned Hero, Services, and Gallery sections for better spacing and minimalism. - Updated `app.py` with instructions for future local image usage and updated placeholder colors. - Created `static/images/gallery` directory. Co-authored-by: abustosp <63634574+abustosp@users.noreply.github.com> --- app.log | 10 + app.py | 28 +- static/css/style.css | 993 ++++++++++++++----------------------------- templates/index.html | 193 ++++----- 4 files changed, 445 insertions(+), 779 deletions(-) create mode 100644 app.log diff --git a/app.log b/app.log new file mode 100644 index 0000000..58d7978 --- /dev/null +++ b/app.log @@ -0,0 +1,10 @@ + * Serving Flask app 'app' + * Debug mode: on +[31m[1mWARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.[0m + * Running on http://127.0.0.1:5000 +[33mPress CTRL+C to quit[0m + * Restarting with stat + * Debugger is active! + * Debugger PIN: 410-907-091 +127.0.0.1 - - [31/Jan/2026 22:16:09] "GET / HTTP/1.1" 200 - +127.0.0.1 - - [31/Jan/2026 22:16:09] "GET /static/css/style.css HTTP/1.1" 200 - diff --git a/app.py b/app.py index f1a4645..d4fafd9 100755 --- a/app.py +++ b/app.py @@ -2,51 +2,61 @@ from flask import Flask, render_template app = Flask(__name__) +# --- CONFIGURACIÓN DE IMÁGENES --- +# Para usar imágenes propias: +# 1. Guarda tus fotos en la carpeta 'static/images/'. +# 2. Actualiza el campo "image" en GALLERY_ITEMS con la ruta local. +# Ejemplo: "image": "/static/images/mi-foto.jpg", + GALLERY_ITEMS = [ { "title": "Río y vegetación", "description": "Senderos junto al agua con sombra natural.", - "image": "https://placehold.co/600x400/2d8659/ffffff?text=Rio+y+Naturaleza", + # Placeholder actual (verde oscuro): + "image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Rio+y+Naturaleza", }, { "title": "Área de fogón", "description": "Espacio amplio para compartir y cocinar al fuego.", - "image": "https://placehold.co/600x400/4a9d73/ffffff?text=Area+de+Fogon", + # Placeholder actual (tierra/arena): + "image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Area+de+Fogon", }, { "title": "Cabañas acogedoras", "description": "Descanso cómodo rodeado de naturaleza.", - "image": "https://placehold.co/600x400/6bb591/ffffff?text=Cabanas", + # Placeholder actual (verde): + "image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Cabanas", }, { "title": "Zona de acampe", "description": "Amplios espacios verdes para instalar tu carpa.", - "image": "https://placehold.co/600x400/a8d5ba/ffffff?text=Zona+de+Acampe", + # Placeholder actual (tierra): + "image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Zona+de+Acampe", }, { "title": "Parrillas equipadas", "description": "Parrillas listas con todo lo necesario para cocinar.", - "image": "https://placehold.co/600x400/2d8659/ffffff?text=Parrillas", + "image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Parrillas", }, { "title": "Arroyo cristalino", "description": "Agua fresca y clara dentro del predio para disfrutar.", - "image": "https://placehold.co/600x400/4a9d73/ffffff?text=Arroyo", + "image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Arroyo", }, { "title": "Senderos naturales", "description": "Caminos rodeados de vegetación para explorar.", - "image": "https://placehold.co/600x400/6bb591/ffffff?text=Senderos", + "image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Senderos", }, { "title": "Área de descanso", "description": "Espacios con sombra para relajarse y disfrutar.", - "image": "https://placehold.co/600x400/a8d5ba/ffffff?text=Descanso", + "image": "https://placehold.co/800x600/EAD7C3/2F4F4F?text=Descanso", }, { "title": "Vista panorámica", "description": "Hermosos paisajes de la selva misionera.", - "image": "https://placehold.co/600x400/2d8659/ffffff?text=Vista+Panoramica", + "image": "https://placehold.co/800x600/2F4F4F/FFFFFF?text=Vista+Panoramica", }, ] diff --git a/static/css/style.css b/static/css/style.css index f263331..a17ed76 100755 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,792 +1,451 @@ :root { - --bg: #f3efe6; - --bg-strong: #ede6da; - --surface: #fffaf2; - --surface-alt: #f6efe1; - --primary: #2d8659; - --primary-strong: #1f6342; - --primary-light: #4a9d73; - --primary-lighter: #6bb591; - --accent: #d28b5c; - --accent-strong: #b8744c; - --green-soft: #e8f5ef; - --green-medium: #a8d5ba; - --green-dark: #1a4d32; - --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); - --shadow-green: 0 12px 32px rgba(29, 134, 89, 0.15); + /* 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 { - margin: 0; - font-family: 'Manrope', 'Segoe UI', sans-serif; - background: - radial-gradient(circle at 10% 20%, rgba(107, 181, 145, 0.15), transparent 50%), - radial-gradient(circle at 88% 0%, rgba(45, 134, 89, 0.22), transparent 45%), - radial-gradient(circle at 50% 100%, rgba(168, 213, 186, 0.18), transparent 50%), - repeating-linear-gradient(115deg, rgba(28, 26, 23, 0.03) 0 1px, transparent 1px 7px), - linear-gradient(180deg, #fbf7f1 0%, #f0ede3 100%); - color: var(--text); - line-height: 1.65; - min-height: 100vh; - overflow-x: hidden; + 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; - border-radius: 18px; } a { - color: inherit; text-decoration: none; - transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease; + color: inherit; + transition: all 0.2s ease; } -:focus-visible { - outline: 3px solid rgba(210, 139, 92, 0.5); - outline-offset: 2px; +ul { + list-style: none; } -.hero { - padding: 32px 7vw 90px; - position: relative; - overflow: hidden; - background: - linear-gradient(140deg, rgba(255, 250, 242, 0.96), rgba(246, 242, 235, 0.88)), - radial-gradient(circle at 22% 18%, rgba(107, 181, 145, 0.2), transparent 50%), - radial-gradient(circle at 90% 5%, rgba(45, 134, 89, 0.25), transparent 45%), - radial-gradient(circle at 50% 95%, rgba(168, 213, 186, 0.15), transparent 50%); -} - -.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(45, 134, 89, 0.3), rgba(74, 157, 115, 0.2), transparent 70%); - top: -160px; - right: -160px; -} - -.hero::after { - width: 360px; - height: 360px; - background: radial-gradient(circle, rgba(107, 181, 145, 0.25), rgba(168, 213, 186, 0.2), 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; +/* Typography */ +h1, h2, h3, h4, h5, h6 { font-weight: 700; - letter-spacing: 0.12em; - text-transform: uppercase; - font-size: 0.95rem; - padding: 10px 14px; - border: 1px solid rgba(45, 134, 89, 0.2); - border-radius: 14px; - background: linear-gradient(135deg, rgba(45, 134, 89, 0.15), rgba(107, 181, 145, 0.2)); - color: var(--green-dark); - box-shadow: 0 2px 8px rgba(45, 134, 89, 0.1); + line-height: 1.2; + letter-spacing: -0.02em; + color: var(--primary); } -.nav-actions { - display: flex; - gap: 12px; - align-items: center; - flex-wrap: wrap; +h1 { + font-size: clamp(2.5rem, 5vw, 4rem); } -.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; +h2 { + font-size: clamp(2rem, 4vw, 2.5rem); + margin-bottom: 1rem; } -.nav-link:hover { - color: var(--primary-strong); - background: rgba(45, 134, 89, 0.12); +h3 { + font-size: 1.25rem; + margin-bottom: 0.5rem; } -.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; +p { + margin-bottom: 1rem; + color: var(--text-muted); } .eyebrow { - letter-spacing: 0.24em; text-transform: uppercase; + font-size: 0.75rem; 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; + letter-spacing: 0.1em; + color: var(--accent); /* Yellow accent */ + margin-bottom: 0.5rem; + display: block; } +/* Buttons */ .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); + 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: linear-gradient(120deg, var(--primary), var(--accent)); - color: #ffffff; - border: none; + 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: linear-gradient(135deg, rgba(45, 134, 89, 0.1), rgba(107, 181, 145, 0.15)); - color: var(--primary-strong); - border: 1px solid rgba(45, 134, 89, 0.25); + background-color: transparent; + color: var(--primary); + border: 2px solid var(--border-light); } .button.ghost:hover { - background: linear-gradient(135deg, rgba(45, 134, 89, 0.18), rgba(107, 181, 145, 0.25)); - border-color: rgba(45, 134, 89, 0.35); + border-color: var(--primary); + background-color: var(--bg-surface); } .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: linear-gradient(135deg, rgba(45, 134, 89, 0.12), rgba(107, 181, 145, 0.15)); - border-bottom: 1px solid var(--card-border); - font-weight: 700; - letter-spacing: 0.18em; - text-transform: uppercase; - font-size: 0.75rem; - color: var(--green-dark); -} - -.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; +/* Layout Utilities */ +.container { + max-width: var(--container-width); + margin: 0 auto; + padding: 0 1.5rem; } .section { - padding: 90px 7vw; - background: var(--bg); + 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-links { + display: none; /* Simple mobile hide for now, or burger later if needed */ + } +} + +.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; } -.section > * { +/* 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; -} - -.services { - background: linear-gradient(140deg, #fcf8f2, #efe6d8); -} - -.services::before { - content: ""; - position: absolute; - width: 280px; - height: 280px; - border-radius: 50%; - background: radial-gradient(circle, rgba(45, 134, 89, 0.2), rgba(107, 181, 145, 0.15), transparent 70%); - right: 8%; - top: -120px; - opacity: 0.7; -} - -.services::after { - content: ""; - position: absolute; - width: 220px; - height: 220px; - border-radius: 50%; - background: radial-gradient(circle, rgba(168, 213, 186, 0.25), transparent 70%); - left: 5%; - bottom: -100px; - opacity: 0.6; -} - -#galeria.section { - background: linear-gradient(145deg, #f8faf9, #eff5f1); - position: relative; -} - -#galeria::before { - content: ""; - position: absolute; - width: 350px; - height: 350px; - border-radius: 50%; - background: radial-gradient(circle, rgba(107, 181, 145, 0.2), rgba(168, 213, 186, 0.15), transparent 70%); - left: 10%; - top: -150px; - opacity: 0.7; -} - -#galeria::after { - content: ""; - position: absolute; - width: 280px; - height: 280px; - border-radius: 50%; - background: radial-gradient(circle, rgba(45, 134, 89, 0.18), transparent 70%); - right: 5%; - bottom: -120px; - opacity: 0.6; -} - -.section-heading { - max-width: 760px; + max-width: 800px; 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; +.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 { - 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; + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + gap: 1.5rem; } -.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); +.service-card { + background: var(--bg-surface); + padding: 2rem; + border-radius: var(--radius-md); box-shadow: var(--shadow-soft); - transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease; + border: 1px solid transparent; + transition: all 0.3s ease; + text-align: center; } -.feature-card:hover { - transform: translateY(-4px); - box-shadow: var(--shadow-green); - border-color: rgba(45, 134, 89, 0.2); - background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 245, 239, 0.5)); -} - -.feature-card p { - margin: 0; - color: #223028; - font-weight: 600; -} - -.feature-dot { - width: 12px; - height: 12px; - border-radius: 50%; - background: linear-gradient(135deg, var(--primary), var(--primary-lighter)); - box-shadow: 0 0 0 6px rgba(45, 134, 89, 0.12), 0 2px 8px rgba(45, 134, 89, 0.15); +.service-card:hover { + border-color: var(--secondary); + transform: translateY(-5px); + box-shadow: var(--shadow-hover); } +/* Gallery Section */ .gallery-grid { - margin-top: 32px; display: grid; - grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); - gap: 24px; - max-width: 1200px; - margin-left: auto; - margin-right: auto; + grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); + gap: 2rem; } -.gallery-card { - background: rgba(255, 255, 255, 0.92); - border: 1px solid var(--card-border); - border-radius: 20px; +.gallery-item { + background: var(--bg-surface); + border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); - display: flex; - flex-direction: column; - transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; -} - -.gallery-card:hover { - transform: translateY(-6px); - box-shadow: var(--shadow-green); - border-color: rgba(45, 134, 89, 0.25); -} - -.image-wrap { - background: linear-gradient(160deg, rgba(45, 134, 89, 0.1), rgba(107, 181, 145, 0.15), rgba(168, 213, 186, 0.12)); - padding: 18px; - display: grid; - place-items: center; - position: relative; - overflow: hidden; -} - -.image-wrap::before { - content: ""; - position: absolute; - top: -50%; - right: -50%; - width: 100%; - height: 100%; - background: radial-gradient(circle, rgba(107, 181, 145, 0.2), transparent 70%); - border-radius: 50%; -} - -.image-wrap img { - width: 100%; - height: 210px; - object-fit: cover; - border-radius: 16px; - filter: drop-shadow(0 12px 24px rgba(20, 28, 22, 0.18)); - position: relative; - z-index: 1; transition: transform 0.3s ease; } -.gallery-card:hover .image-wrap img { +.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-info { - padding: 18px; +.gallery-content { + padding: 1.5rem; } -.gallery-info h3 { - margin: 0 0 8px; - font-family: 'Fraunces', serif; - font-size: 1.2rem; -} - -.gallery-info p { - color: var(--muted); - margin: 0; +.gallery-content h3 { + font-size: 1.25rem; + margin-bottom: 0.5rem; + color: var(--primary); } +/* Map Section */ .map-section { - background: linear-gradient(160deg, #fbf7f1, #efe6d8); + background-color: var(--bg-alt); } -.map-section::before { - content: ""; - position: absolute; - width: 320px; - height: 320px; - border-radius: 50%; - background: radial-gradient(circle, rgba(107, 181, 145, 0.25), rgba(45, 134, 89, 0.15), transparent 70%); - left: 6%; - top: -140px; - opacity: 0.6; -} - -.map-section::after { - content: ""; - position: absolute; - width: 260px; - height: 260px; - border-radius: 50%; - background: radial-gradient(circle, rgba(168, 213, 186, 0.2), transparent 70%); - right: 8%; - bottom: -120px; - 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; +.map-container { + background: var(--bg-surface); + padding: 1rem; + border-radius: var(--radius-lg); + box-shadow: var(--shadow-soft); overflow: hidden; - box-shadow: var(--shadow); - max-width: 1100px; - margin-left: auto; - margin-right: auto; } -.map-card iframe { +.map-frame { 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(45, 134, 89, 0.12), rgba(107, 181, 145, 0.15), rgba(168, 213, 186, 0.18)); - position: relative; - overflow: hidden; -} - -.contact::before { - content: ""; - position: absolute; - width: 400px; height: 400px; - border-radius: 50%; - background: radial-gradient(circle, rgba(45, 134, 89, 0.2), transparent 70%); - right: -100px; - top: -200px; - opacity: 0.4; -} - -.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; -} - -.scroll-to-top { - position: fixed; - bottom: 30px; - right: 30px; - width: 48px; - height: 48px; - border-radius: 50%; - background: linear-gradient(135deg, var(--primary), var(--primary-light)); - color: #ffffff; border: none; - cursor: pointer; - display: flex; - align-items: center; - justify-content: center; - box-shadow: var(--shadow-green); - opacity: 0; - visibility: hidden; - transform: translateY(20px); - transition: all 0.3s ease; - z-index: 1000; + border-radius: var(--radius-md); + filter: grayscale(0.2); /* mute the map slightly */ } -.scroll-to-top.visible { - opacity: 1; - visibility: visible; - transform: translateY(0); +/* Contact/Footer */ +.footer { + background-color: var(--primary); + color: var(--text-light); + padding: 4rem 0 2rem; + text-align: center; } -.scroll-to-top:hover { - transform: translateY(-4px); - box-shadow: 0 16px 40px rgba(45, 134, 89, 0.25); - background: linear-gradient(135deg, var(--primary-strong), var(--primary)); +.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); } -.scroll-to-top:active { - transform: translateY(-2px); +.contact-box h2 { + color: var(--text-light); + margin-bottom: 1.5rem; } -.scroll-to-top svg { - transition: transform 0.3s ease; +.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); } -.scroll-to-top:hover svg { - transform: translateY(-2px); -} - -.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; - } +/* Utilities */ +.hidden { + display: none; } @media (max-width: 600px) { - .hero-buttons, - .map-actions { - flex-direction: column; - align-items: stretch; + h1 { + font-size: 2.5rem; } - - .hero-buttons .button, - .map-actions .button { + .hero-actions { + flex-direction: column; + } + .button { width: 100%; } - - .section { - padding: 70px 6vw; - } - - .map-card iframe { - height: 320px; - } - - .image-wrap img { - height: 180px; - } - - .contact-card { - padding: 22px; - } - - .scroll-to-top { - bottom: 20px; - right: 20px; - width: 44px; - height: 44px; - } - - .scroll-to-top svg { - width: 18px; - height: 18px; - } -} - -@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; - } } diff --git a/templates/index.html b/templates/index.html index 4ab0d91..eb183e7 100755 --- a/templates/index.html +++ b/templates/index.html @@ -3,144 +3,131 @@
-