privet/style.css

144 lines
2.3 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
background: #0f1218;
color: #f4f4f5;
line-height: 1.6;
}
.hero {
text-align: center;
padding: 8vh 4vw;
background: linear-gradient(135deg, #1a1f2e 0%, #0f1218 100%);
border-bottom: 1px solid #2a2f3e;
}
.hero h1 {
font-size: clamp(48px, 10vw, 96px);
margin-bottom: 16px;
background: linear-gradient(90deg, #00b8cc, #00d4aa);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero p {
font-size: clamp(18px, 3vw, 24px);
color: #8a8a92;
}
.categories {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
padding: 32px 4vw;
position: sticky;
top: 0;
background: rgba(15, 18, 24, 0.95);
backdrop-filter: blur(8px);
z-index: 100;
border-bottom: 1px solid #2a2f3e;
}
.cat-btn {
padding: 10px 20px;
border: 1px solid #333;
background: #171719;
color: #f4f4f5;
border-radius: 24px;
cursor: pointer;
font-size: 15px;
transition: all 0.2s;
}
.cat-btn:hover {
border-color: #00b8cc;
transform: translateY(-2px);
}
.cat-btn.active {
background: #00b8cc;
border-color: #00b8cc;
color: #0f1218;
}
.places {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
padding: 48px 4vw;
max-width: 1400px;
margin: 0 auto;
}
.place-card {
background: #1a1f2e;
border-radius: 16px;
overflow: hidden;
border: 1px solid #2a2f3e;
transition: all 0.3s;
cursor: pointer;
}
.place-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(0, 184, 204, 0.15);
border-color: #00b8cc;
}
.place-img {
width: 100%;
height: 220px;
object-fit: cover;
background: #2a2f3e;
}
.place-info {
padding: 20px;
}
.place-cat {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 1px;
color: #00b8cc;
margin-bottom: 8px;
}
.place-title {
font-size: 22px;
margin-bottom: 12px;
color: #f4f4f5;
}
.place-desc {
font-size: 15px;
color: #8a8a92;
line-height: 1.7;
}
footer {
text-align: center;
padding: 48px 4vw;
color: #555;
border-top: 1px solid #2a2f3e;
}
@media (max-width: 600px) {
.categories {
overflow-x: auto;
justify-content: flex-start;
padding-bottom: 16px;
}
.cat-btn {
white-space: nowrap;
}
}