Тёплый люксовый лендинг: терракотовая архитектура во весь экран, засечный логотип, переход от дня к ночи со звёздами.
Промпт
Recreate the website "Sirocco — Luxury Desert Retreat" with high visual fidelity as a React/Vite site.
The result must match the supplied reference codebase exactly, preserving its specific structure, interactions, and aesthetic quirks.
### CRITICAL FIDELITY CONSTRAINTS
- **Grain Overlay**: Add a global film grain effect using `body::before` with a fixed position, 9999 z-index, and 0.035 opacity. Use the specific SVG filter `feTurbulence` with `baseFrequency='0.9'` and `numOctaves='4'`.
- **Nav State Transitions**: Nav must handle three distinct states: transparent (initial), scrolled (glassmorphism/light), and dark-scrolled (night mode trigger).
- **No Placeholders**: Use the exact URLs provided in the ASSET MAP. Do not use generic stock imagery.
- **Negative Constraint**: Do not add autoplay video or external audio. Do not modify the existing responsive breakpoint values (1024px, 768px, 480px).
### TECH STACK / DEPENDENCIES
- **Framework**: React 18.2.0 (Vite build)
- **Icon Library**: `iconify-icon` ^2.1.0 (Usage: `<iconify-icon icon="lucide:..."></iconify-icon>`)
- **Fonts**: 'Cormorant Garamond' (Display) and 'Inter' (Body) via Google Fonts.
- **Animation**: Native IntersectionObserver for reveals; `requestAnimationFrame` for parallax and counter increments.
### GLOBAL STYLE
- **Colors**:
- `--sand`: #F5EDE0; `--terracotta`: #C4572A; `--gold`: #D4A853; `--night`: #0A0F1E; `--cream`: #F0E6D6.
- **Typography**:
- Root `scroll-behavior: smooth`.
- Display font for headings; 300 weight for body text.
### ASSET MAP
- **Hero BG**: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/7b9a060d-112b-4bb3-aa79-79572cda559f_1600w.webp
- **Philosophy**: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/73bce808-f5c2-4189-ae6a-f18a1da1c369_1600w.webp
- **Suites**: Dune (`...11adc7f8...`), Oasis (`...a525c23d...`), Riad (`...be54afda...`)
- **Wellness**: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/5456b531-01fe-4da5-8be1-a0deca8b6f75_1600w.webp
- **Dining**: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/9f24c8ed-3c97-4161-8026-45c10fe6d2d0_1600w.webp
- **Excursions**: Caravan (`...16395f98...`), Stargazing (`...2ee2b945...`), Sandboarding (`...0d8211a4-26b5-4807-a318-341fc553887f/800w.png`)
- **Reserve BG**: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/2129efee-d6e5-40da-82f5-72efea83e763_1600w.jpg
### LAYER STACK / POSITIONING MAP
- **Section: Hero**
1. `hero-bg`: Absolute, `object-fit: cover`, `transform` driven by scroll (0.25 speed parallax).
2. `hero-overlay`: Absolute, gradient from `rgba(0,0,0,0.25)` to `#F5EDE0` at 100%.
3. `hero-content`: Z-index 2, flex-centered.
- **Section: Transition (Day to Night)**
1. **Background**: Complex linear-gradient from `--sand` to `--night` across 6 stops.
2. **Stars Layer**: Absolute container. Map 70 generated `div` elements with random `top` (35-95%), `left`, `dur`, and `del` for a CSS `twinkle` animation.
- **Section: Wellness/Dining**: `night-section` class. Background: `#0A0F1E`. Include a `night-glow` absolute radial-gradient overlay at `top: -200px; right: -100px`.
### COMPONENT / STATE CONTRACTS
- **Scroll Listener**: Use a `ticking` flag with `requestAnimationFrame` to manage `isScrolled` (threshold 60px) and `isNavDark` (threshold based on `transition` section offset minus 200px).
- **Counter Logic**: Animate any element with `data-count` using a cubic-bezier easing `1 - Math.pow(1 - progress, 3)` over 1800ms when it enters the viewport.
- **Hero CTA**: Implement the `@property --border-angle` CSS houdini animation for the spinning conic-gradient border.
### SECTION-SPECIFIC DETAILS
1. **Suites Grid**: 3-column layout. On hover, image scales 1.05 and card lifts `translateY(-4px)` with shadow `0 16px 48px rgba(44,24,16,0.08)`.
2. **Dining Bento**: 2x2 grid. `bento-large` spans rows 1/3. Overlay uses `linear-gradient(to top, rgba(10,15,30,0.8), transparent)`.
3. **Excursions List**: Flex column. Grid cards with `280px` fixed image column. Hover effect: `translateX(4px)`.
### COMMON MISTAKES TO AVOID
- Do not forget the `::after` gradient overlays on suite and philosophy images that provide the subtle "bottom-fade" into the background.
- Do not use Framer Motion; use the native CSS `.reveal.visible` class transitions triggered by IntersectionObserver.
- Do not miss the `hero-subtitle` negative margin (`margin-top: -4px`) which aligns the italic text with the display title.
- Ensure the `nav-hamburger` spans transform exactly: first rotates 45deg, second goes opacity 0, third rotates -45deg on active state.
Промпт на английском — ИИ-инструменты понимают его лучше
Лендинг люксового пустынного отеля. На первом экране фотография терракотового здания во весь экран с параллаксом, огромный логотип SIROCCO в тонком засечном шрифте и кнопка с вращающейся золотой рамкой. По мере прокрутки сайт плавно переходит из песочного дня в ночь: появляются 70 мерцающих звёзд, фон темнеет до глубокого синего, шапка меняется на тёмное стекло. Есть сетка номеров, блок «Wellness и Dining» с бенто-сеткой, список экскурсий и счётчики, которые считаются при появлении на экране. Подойдёт отелям, ретритам и любым премиальным сервисам с одной сильной фотографией.
Как получить такой же результат
Запускайте промпт в Claude. Он просит React и Vite, но для проверки достаточно одного HTML-файла: тогда добавьте в запрос «собери в одном index.html без сборки».
В ASSET MAP полные ссылки даны только для героя, философии, велнеса, ужина и финального блока. Для номеров и экскурсий часть адресов обрезана («...11adc7f8...»). Claude не сможет их восстановить: сгенерируйте три картинки номеров и три для экскурсий (например, «пустынный люкс, закат, пастельная палитра») и подставьте свои ссылки. У нас на их месте были градиенты в цветах палитры, и первый экран от этого не пострадал.
Эффект рамки у кнопки это @property --border-angle с вращающимся conic-градиентом: он работает в Chrome и Edge, в Safari рамка будет статичной.
Шапка имеет три состояния (прозрачная, светлая стеклянная, тёмная ночная). Если на вашей странице блок перехода выше или ниже, поправьте порог transition.offsetTop - 200.
Тексты, название отеля и цвета палитры лежат в :root: меняйте их там.