Тёплый лендинг эко-лоджа: фото с бассейном на весь экран, курсивные засечки, оливковая палитра, карусель номеров и фауна.
Промпт
Recreate the website "Cabaña La Martina" with high visual fidelity using Tailwind CSS and native JavaScript. The site is a luxury hospitality landing page for an eco-lodge in Sabanagrande, Atlántico, featuring a sophisticated organic aesthetic.
Preserve source quirks:
- The z-index stacking: The header is fixed at `z-50`, while sections like Amenities and Hero use `z-10` with overflow-hidden for floating decorative elements.
- The custom parallax script: Instead of a library, it uses a manual `requestAnimationFrame` loop to update the `--parallax-y` CSS variable on elements with the `.parallax-y` class.
- The scrollbar for the Fauna carousel is hidden via specific CSS: `scrollbar-width: none` and `::-webkit-scrollbar { display: none; }`.
CRITICAL FIDELITY CONSTRAINTS
- Color Palette: Primary `#555b00` (Olive), Secondary `#be7f00` (Gold), Canvas `#f6efe5` (Off-white background), Darkbase `#282828`, Surface `#1e1e1e`, Muted `#ada89a`.
- Exact Typography: Headings must use "Playfair Display" (Serif, Italic, Light/Normal). Body text must use "Public Sans" (Sans-serif).
- Asset Preservation: You must use the exact Unsplash and CDN URLs provided in the ASSET MAP. Do not substitute images.
- Navigation: Header must have `backdrop-blur-md` and transition color/background on scroll.
TECH STACK / DEPENDENCIES
- Tailwind CSS (Config: primary #555b00, secondary #be7f00, canvas #f6efe5, darkbase #282828, surface #1e1e1e, muted #ada89a).
- Fonts: Google Fonts (Playfair Display, Public Sans).
- Icons: Iconify (`iconify-icon` element).
GLOBAL STYLE
- Body: `bg-[#f6efe5]`, `text-[#282828]`, `antialiased`.
- Selection: `selection:bg-primary selection:text-white`.
- Animations:
- `animate-slow-zoom`: Scale 1 to 1.1 over 20s (alternate).
- `animate-float`: 6s Y-axis translation loop.
- `animate-pulse-soft`: Opacity and scale pulse for background glows.
- `.reveal`: CSS transition (`opacity 0.9s`, `transform 0.9s`) triggered by `IntersectionObserver` adding the `.active` class.
ASSET MAP
- Hero BG: `https://cdn.prod.website-files.com/6710d1b2bc82a2f6d06f926d/67287418d258ac034b0468b9_Lodge.webp`
- Amenities:
- Recreación: `https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7`
- Confort: `https://images.unsplash.com/photo-1449844908441-8829872d2607`
- Servicios: `https://images.unsplash.com/photo-1563396983906-f3715f1f2e11`
- Rooms Carousel:
- Slide 1: `https://cdn.prod.website-files.com/6710d1b2bc82a2f6d06f926d/672874bd3b68ae7b587f264d_Lodge%202.webp`
- Slide 2: `https://images.unsplash.com/photo-1598928506311-c55d430bfc23`
- Slide 3: `https://images.unsplash.com/photo-1560067174-c5a3a8f37060`
- Fauna Gallery:
- Avestruces: `https://images.unsplash.com/photo-1563396983906-f3715f1f2e11`
- Llamas: `https://images.unsplash.com/photo-1568160455018-09cd34bb4859`
- Venados: `https://images.unsplash.com/photo-1502422791888-29bf42907409`
- Caballos: `https://images.unsplash.com/photo-1555529733-0e670560f7e1`
- Pavos: `https://images.unsplash.com/photo-1515594854536-cb7db353b3f4`
- Granja: `https://images.unsplash.com/photo-1484557985045-edf25e08da73`
- Rules Section BG: `https://cdn.prod.website-files.com/6710d1b2bc82a2f6d06f926d/6731d7c63fc5a7e0fdf13552_Starry%20Background.webp`
- Tour 360: `https://images.unsplash.com/photo-1497366216548-37526070297c`
LAYER STACK / POSITIONING MAP
- Header: `fixed z-50`, height `80px`, `backdrop-blur-md`.
- Floating Accents: Multiple `absolute` layers inside sections with `.parallax-y` and `pointer-events-none`. Use `blur-[80px]` or `blur-[100px]` for background color glows (bg-primary/10 or bg-secondary/10).
- Micro-dots: Small `6px` absolute circles with `animate-drift-x` and `animate-drift-x-rev`.
- Overlays: Hero uses `.dark-overlay` (rgba(0,0,0,0.36)). Cards in Fauna gallery use `bg-gradient-to-t from-black/90 via-black/30 to-transparent`.
SECTION 1 - HERO
- Full-screen height (`h-screen`), `min-h-[600px]`.
- Layout: Relative container for `animate-slow-zoom` image and `dark-overlay`.
- Foreground: `relative z-10` text centered. Heading: Serif, Italic, 8xl on desktop. Two buttons: Primary and Transparent-bordered.
- Floating Icons: `solar:stars-minimalistic-bold-duotone` top-left and `solar:leaf-bold-duotone` bottom-right.
SECTION 2 - AMENITIES
- White/Canvas background with pulsed glow accents.
- Grid: 1-col mobile, 3-col desktop.
- Cards: Image with `aspect-video`, `hover:scale-[1.02]` transition. Iconify icons use `text-secondary` color.
SECTION 3 - ROOMS DISTRIBUTION
- Dark background (`bg-surface`).
- Layout: 2-column grid (Carousel Left, Text Right).
- Carousel Logic: Fade transition (`opacity-0` to `opacity-100`) controlled by JS. Includes directional arrows (visible on hover) and dot indicators.
- Text: List of rooms with border-b separators and Iconify amenity icons (Bath, Wind, TV).
SECTION 4 - FAUNA GALLERY
- Horizontal scrollable container (`overflow-x-auto`). Cards are `90vw` (mobile) / `70vw` (desktop).
- Image interaction: `group-hover:scale-105`.
SECTION 5 - PRICING
- Canvas background. Two large cards (Pasadía: White, Alojamiento: Darkbase).
- Pricing UI: Large font for price ($1.2M), small text for currency (COP).
- Corner Accent: Absolute `w-32 h-32` rounded-bl-full decorative shape that scales on group-hover.
SECTION 6 - RULES & CONVIVENCIA
- Dark section with "Starry Background" overlay at `opacity-20`.
- Two-column detail grid. Icons: `solar:volume-cross-linear`, `solar:danger-circle-linear`, `solar:forbidden-circle-linear`.
SECTION 7 - BOOKING UX (3-Step Form)
- Implementation Requirement: Multi-step interactive state machine in JS.
- Step 1: Plan selection buttons (Pasadía vs Alojamiento).
- Step 2: Form fields (Name, Date, People) with validation against max capacity (20 for Pasadía, 14 for Alojamiento).
- Step 3: Summary display and "Confirmar y Enviar a WhatsApp" button that builds a `wa.me` URL with encoded message.
GLOBAL ANIMATION / INTERACTION RULES
- Parallax: Manual script updating `--parallax-y` on scroll.
- Reveals: `IntersectionObserver` for all major section headings and cards.
- Carousel: `setInterval` (5000ms) auto-play with manual override functions.
COMMON MISTAKES TO AVOID
- Do not use a generic carousel library; use the absolute-positioned opacity-fade method described.
- Do not miss the `backdrop-blur-md` on the header.
- Do not change the pricing logic ($1.2M and $3.0M are flat rates).
- Ensure the map iframe has the `filter: grayscale` and `contrast-125` classes applied.
Промпт на английском — ИИ-инструменты понимают его лучше
Лендинг загородного эко-лоджа в Колумбии. На первом экране фотография двора с бассейном и кострами, медленный зум, огромный курсивный заголовок Playfair Display и две кнопки: оливковая и прозрачная с рамкой. Дальше идут блоки удобств, тёмная секция с каруселью номеров (плавное затухание, стрелки, точки), горизонтальная галерея животных, два тарифа, правила и форма бронирования с отправкой в WhatsApp. Подойдёт базам отдыха, глэмпингам, небольшим отелям и всем, у кого одно сильное фото и тёплый органичный стиль.
Как получить такой же результат
Запускайте промпт в Claude и просите «одним файлом index.html, Tailwind и Iconify через CDN». Промпт задаёт Tailwind и обычный JavaScript, сборка не нужна.
Часть ссылок Unsplash в ASSET MAP больше не открывается (ошибка 404): это Servicios и Avestruces (одно и то же фото), Llamas, Venados, Pavos и второй слайд номеров. Фото героя и оригинальные слайды на CDN Webflow работают. Мы оставили на месте битых фото градиент в цветах палитры; вы можете сгенерировать свои снимки (например, «колумбийская ферма, закат, лама в траве») и подставить ссылки.
Текстов в промпте почти нет, только названия секций и цены. Claude придумает испанские подписи сам; напишите в запросе, на каком языке нужен сайт и что за заведение.
Форму бронирования из трёх шагов Claude собирает по описанию (выбор тарифа, поля, проверка лимита гостей, сообщение в WhatsApp). Это самая хрупкая часть: проверьте, что номер в ссылке wa.me ваш.
Цвета лежат в конфиге Tailwind (primary, secondary, canvas): меняйте их там, названия и цены ($1.2M и $3.0M) правятся в тексте секции тарифов.