generated from koldovsky/htmx-template-autocheck
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.our-facilities.partial.html
More file actions
158 lines (127 loc) · 5.46 KB
/
index.our-facilities.partial.html
File metadata and controls
158 lines (127 loc) · 5.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!--
Partial: index.our-facilities.partial.html
Author: Герей Владислав
-->
<section class="our-facilities" aria-label="Our facilities block">
<!-- HERO -->
<div class="our-facilities__hero" role="region" aria-label="Hero: get full answer">
<div class="our-facilities__hero-inner container">
<p class="our-facilities__meta">5. index.our-facilities.partial.html</p>
<h1 class="our-facilities__hero-title">Get full answer for your questionss</h1>
<div class="our-facilities__hero-buttons">
<a class="btn btn--primary" href="tel:+12345678900">CALL US</a>
<!--<a class="btn btn--outline" href="reservation.html" rel="noopener noreferrer">RESERVATION</a> -->
<a class="btn btn--outline" href="#reservation_form">RESERVATION</a>
</div>
</div>
</div>
<!-- SVG хвиля -->
</div>
<!-- FACILITIES CONTENT -->
<div class="our-facilities__content">
<h2 class="our-facilities__title">Our Facilities</h2>
<div class="our-facilities__media container">
<figure class="our-facilities__figure">
<img
src="img/index.our-facilities.partial/1018-1600x900.jpg"
alt="View of a forest lake, part of our recreation facilities"
class="our-facilities__image"
width="1600" height="900"
loading="lazy"
/>
<figcaption class="our-facilities__caption">Peaceful lake among evergreen forest</figcaption>
</figure>
</div>
</section>
<style >
/* ==========================
Styles for index.our-facilities.partial.html
Mobile-first, BEM, variables in :root
========================== */
:root{
--color-bg: #ffffff;
--color-text: #0f1724; /* темний відтінок для тексту */
--color-primary: #ff6b3d; /* помаранчевий кнопок */
--color-accent: #064e3b; /* зелений "brush" */
--color-muted: #6b7280;
--radius-md: 12px;
--container-max: 1100px;
--gap-xs: 8px;
--gap-sm: 16px;
--gap-md: 32px;
--ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
/* Reset / base */
*,*::before,*::after{box-sizing:border-box}
:where(html,body){height:100%}
html,body{margin:0;padding:0;font-family:var(--ff-sans);background:var(--color-bg);color:var(--color-text);}
/* Utility container (optional) */
.container{max-width:var(--container-max);margin-inline:auto;padding-inline:20px}
/* Our Facilities block */
.our-facilities{position:relative;overflow:visible}
/* ---------- HERO ---------- */
.our-facilities__hero {
position: relative;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 56px 20px;
min-height: 54vh;
/* НОВИЙ ФОН */
background-image:
linear-gradient(180deg, rgba(0,0, 0, 0.05), rgba(0, 0, 0, 0.06)),
url('img/index.our-facilities.partial/hero-bg.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
color: var(--color-bg);
}
.our-facilities__hero-inner{z-index:2;max-width:900px}
.our-facilities__meta{font-size:.75rem;color:rgba(255,255,255,0.85);margin-bottom:10px}
.our-facilities__hero-title{font-size:1.6rem;line-height:1.05;margin:0 0 18px;font-weight:700}
.our-facilities__hero-buttons{display:inline-flex;gap:var(--gap-sm);flex-wrap:wrap;justify-content:center}
/* Button base */
.btn{display:inline-block;padding:10px 20px;border-radius:999px;text-decoration:none;font-weight:700;font-size:.95rem;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.btn:focus{outline:3px solid rgba(255,107,61,0.16);outline-offset:3px}
.btn:hover{transform:translateY(-3px)}
.btn--primary{background:var(--color-primary);color:#fff;border:0;box-shadow:0 6px 18px rgba(255,107,61,0.12)}
.btn--outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,0.85)}
/* SVG brush divider styles */
.our-facilities__brush{display:block;width:100%;height:56px;position:relative;z-index:3}
.our-facilities__brush--white{margin-top:-6px} /* трохи перекриває біле тло нижче */
.our-facilities__brush--accent{margin-top:28px}
/* ---------- CONTENT / Facilities ---------- */
.our-facilities__content {
background: url('img/about.about-yosemite/background-yosemite.jpeg') no-repeat center center;
background-size: cover;
text-align: center;
padding: 48px 20px 64px;
position: relative;
}
.our-facilities__title{
font-size: 2.5rem;
font-weight: 800;
}
.our-facilities__media{max-width:1100px;margin-inline:auto}
.our-facilities__figure{margin:0;border-radius:var(--radius-md);overflow:hidden}
.our-facilities__image{display:block;width:100%;height:320px;object-fit:cover}
.our-facilities__caption{font-size:1,25 rem;color:var(--color-muted);padding:12px 0}
/* ------------------ Responsive ------------------ */
@media(min-width:480px){
.our-facilities__hero{padding:80px 20px;min-height:60vh}
.our-facilities__hero-title{font-size:2rem}
.our-facilities__image{height:380px}
}
@media(min-width:768px){
.our-facilities__hero{padding:100px 20px;min-height:72vh}
.our-facilities__hero-title{font-size:2.6rem}
.our-facilities__meta{font-size:.9rem}
.our-facilities__image{height:480px}
}
@media(min-width:1024px){
.our-facilities__hero{padding:120px 20px}
.our-facilities__hero-inner{padding-inline:20px}
.our-facilities__hero-title{font-size:3rem}
}
</style>