Files
olimparena/assets/css/main.css
2026-04-23 18:01:48 +03:00

1025 lines
19 KiB
CSS

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: "";
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
:root {
color-scheme: dark;
}
* {
box-sizing: border-box;
}
html,
body {
background: #121212;
color: #ffffff;
font-family: "Segoe UI", "Segoe UI Variable", "Helvetica Neue", Arial, sans-serif;
}
body {
line-height: 1;
}
a {
color: inherit;
text-decoration: none;
}
img {
display: block;
max-width: 100%;
}
@keyframes fade-up {
from {
opacity: 0;
transform: translateY(24px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slide-down {
from {
opacity: 0;
transform: translateY(-16px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.container {
width: 100%;
max-width: 1400px;
margin: 0 auto;
padding: 0 24px;
}
.site {
position: relative;
overflow: hidden;
}
.scroll-reveal {
opacity: 0;
transform: translateY(26px);
transition: opacity 0.7s ease, transform 0.7s ease;
transition-delay: var(--reveal-delay, 0ms);
will-change: opacity, transform;
}
.scroll-reveal.is-visible {
opacity: 1;
transform: translateY(0);
}
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 18px 24px;
border-radius: 14px;
border: 0;
background: #cf1717;
color: #ffffff;
font-size: 16px;
font-weight: 700;
line-height: 24px;
box-shadow: 0 25px 50px rgba(231, 0, 11, 0.5);
cursor: pointer;
transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.btn:hover {
transform: translateY(-2px);
}
.btn:active {
transform: translateY(0);
}
.btn--small {
padding: 10px 24px;
font-size: 14px;
line-height: 20px;
box-shadow: 0 10px 15px rgba(231, 0, 11, 0.4), 0 4px 6px rgba(231, 0, 11, 0.4);
}
.btn--ghost {
border: 2px solid rgba(255, 255, 255, 0.2);
background: rgba(41, 49, 51, 0.6);
box-shadow: none;
}
.header {
position: fixed;
inset: 0 0 auto;
z-index: 20;
border-bottom: 1px solid rgba(207, 23, 23, 0.2);
background: rgba(18, 18, 18, 0.95);
animation: slide-down 0.65s ease both;
}
.header__inner {
display: flex;
align-items: center;
justify-content: space-between;
min-height: 72px;
}
.header__nav {
display: flex;
align-items: center;
gap: 32px;
margin-left: auto;
margin-right: 32px;
}
.header__nav a {
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
font-weight: 600;
line-height: 20px;
transition: color 0.2s ease;
}
.header__nav a:hover {
color: #ffffff;
}
.logo {
display: inline-flex;
width: 137px;
height: 30px;
}
.logo img {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero {
position: relative;
min-height: 852px;
padding-top: 72px;
}
.hero__bg {
position: absolute;
inset: 0;
background: linear-gradient(90deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.7) 50%, rgba(0, 0, 0, 0) 100%), url("https://www.figma.com/api/mcp/asset/e5a37fb1-e23a-4258-855e-e6951519202d") center/cover no-repeat;
}
.hero__bg::after {
content: "";
position: absolute;
inset: 0;
background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 8px), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 8px);
mix-blend-mode: soft-light;
}
.hero__content {
position: relative;
z-index: 1;
max-width: 816px;
margin-left: 528px;
padding-top: 104px;
}
.hero__content > * {
opacity: 0;
animation: fade-up 0.7s ease forwards;
}
.hero__content h1 {
animation-delay: 0.15s;
}
.hero__content p {
animation-delay: 0.28s;
}
.hero__content .hero__tags {
animation-delay: 0.4s;
}
.hero__content .hero__actions {
animation-delay: 0.52s;
}
.hero h1 {
max-width: 768px;
margin-bottom: 24px;
font-size: 72px;
font-weight: 800;
line-height: 90px;
}
.hero h1 span {
color: #cf1717;
}
.hero p {
max-width: 768px;
margin-bottom: 32px;
color: rgba(255, 255, 255, 0.8);
font-size: 20px;
line-height: 32px;
}
.hero__tags {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 28px;
}
.hero__tags li {
padding: 9px 17px;
border: 1px solid rgba(207, 23, 23, 0.3);
border-radius: 999px;
background: rgba(41, 49, 51, 0.6);
font-size: 14px;
font-weight: 600;
line-height: 20px;
white-space: nowrap;
transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
.hero__tags li:hover {
transform: translateY(-1px);
border-color: rgba(207, 23, 23, 0.55);
background: rgba(41, 49, 51, 0.9);
}
.hero__actions {
display: flex;
gap: 16px;
}
.highlights {
background: #293133;
padding: 96px 0;
}
.highlights__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 24px;
}
.info-card {
background: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
min-height: 178px;
padding: 33px;
transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.info-card:hover {
transform: translateY(-6px);
border-color: rgba(207, 23, 23, 0.45);
background: rgba(18, 18, 18, 0.62);
}
.info-card h3 {
margin-bottom: 8px;
font-size: 20px;
font-weight: 700;
line-height: 28px;
}
.info-card p {
color: rgba(255, 255, 255, 0.7);
font-size: 16px;
line-height: 24px;
}
.section {
position: relative;
padding: 96px 0;
}
.section > .container {
position: relative;
z-index: 1;
}
.section--pattern {
background: #1a2124;
}
.section--pattern::before {
content: "";
position: absolute;
inset: 0;
background-image: radial-gradient(circle at 80px 80px, rgba(207, 23, 23, 0.25) 0 2px, transparent 2px 70px), radial-gradient(circle at 120px 120px, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 48px);
background-size: 320px 320px;
opacity: 0.4;
pointer-events: none;
}
.section__head {
margin-bottom: 64px;
text-align: center;
}
.section__head h2 {
margin-bottom: 16px;
font-size: 48px;
font-weight: 700;
line-height: 1;
}
.section__head p {
color: rgba(255, 255, 255, 0.8);
font-size: 28px;
line-height: 1.15;
}
.advantages__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 24px;
}
.feature-card {
background: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
position: relative;
min-height: 162px;
padding: 25px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
transform: translateY(-5px);
border-color: rgba(207, 23, 23, 0.4);
}
.feature-card::before {
content: "";
display: block;
width: 48px;
height: 48px;
margin-bottom: 16px;
border: 1px solid rgba(207, 23, 23, 0.32);
border-radius: 14px;
background: rgba(207, 23, 23, 0.16);
}
.feature-card h3 {
margin-bottom: 8px;
font-size: 20px;
font-weight: 700;
line-height: 1.2;
}
.feature-card p {
color: rgba(255, 255, 255, 0.7);
font-size: 16px;
line-height: 1.4;
}
.objects .section__head {
margin-bottom: 64px;
}
.object-card {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 32px;
margin-bottom: 48px;
}
.object-card:last-child {
margin-bottom: 0;
}
.object-card--reverse .object-card__image {
order: 2;
}
.object-card--reverse .object-card__content {
order: 1;
}
.object-card__image {
min-height: 400px;
border-radius: 16px;
background-size: cover;
background-position: center;
transition: transform 0.5s ease;
}
.object-card__content {
background: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
align-self: center;
min-height: 338px;
padding: 33px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.object-card__content h3 {
margin-bottom: 16px;
font-size: 34px;
font-weight: 700;
line-height: 1.1;
}
.object-card__content p {
margin-bottom: 24px;
color: rgba(255, 255, 255, 0.7);
font-size: 18px;
line-height: 28px;
}
.object-card__content ul {
margin-bottom: 24px;
}
.object-card__content li {
position: relative;
padding-left: 14px;
color: rgba(255, 255, 255, 0.8);
font-size: 16px;
line-height: 28px;
}
.object-card__content li + li {
margin-top: 8px;
}
.object-card__content li::before {
content: "";
position: absolute;
left: 0;
top: 12px;
width: 6px;
height: 6px;
border-radius: 50%;
background: #cf1717;
}
.object-card:hover .object-card__image {
transform: scale(1.02);
}
.object-card:hover .object-card__content {
transform: translateY(-4px);
border-color: rgba(207, 23, 23, 0.4);
}
.services {
background: #293133;
}
.services__grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 24px;
}
.service-card {
background: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
min-height: 260px;
padding: 33px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.service-card:hover {
transform: translateY(-6px);
border-color: rgba(207, 23, 23, 0.45);
}
.service-card h3 {
margin-bottom: 12px;
font-size: 24px;
font-weight: 700;
line-height: 1.2;
}
.service-card p {
margin-bottom: auto;
color: rgba(255, 255, 255, 0.7);
font-size: 18px;
line-height: 28px;
}
.service-card a {
display: inline-flex;
width: fit-content;
margin-top: 20px;
padding: 10px 20px;
border-radius: 14px;
background: #cf1717;
font-size: 14px;
font-weight: 700;
line-height: 20px;
}
.gallery {
background: #1b2225;
}
.gallery__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 24px;
}
.gallery__item {
aspect-ratio: 16/10;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
background-size: cover;
background-position: center;
transition: transform 0.45s ease, border-color 0.3s ease, filter 0.3s ease;
}
.gallery__item:hover {
transform: scale(1.03);
border-color: rgba(207, 23, 23, 0.55);
filter: saturate(1.08);
}
.reviews {
background: #1a2023;
}
.reviews__grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 32px;
margin-bottom: 64px;
}
.review-card {
background: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
min-height: 206px;
padding: 33px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.review-card:hover {
transform: translateY(-5px);
border-color: rgba(207, 23, 23, 0.4);
}
.review-card p {
margin-bottom: 24px;
color: rgba(255, 255, 255, 0.8);
font-size: 16px;
line-height: 1.5;
}
.review-card strong {
display: block;
margin-bottom: 8px;
font-size: 16px;
font-weight: 700;
line-height: 1.2;
}
.review-card span {
color: rgba(255, 255, 255, 0.7);
font-size: 16px;
line-height: 1.2;
}
.stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 32px;
}
.stats article {
background: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
border: 0;
background: #cf1717;
min-height: 144px;
padding: 32px;
text-align: center;
transition: transform 0.3s ease;
}
.stats article:hover {
transform: translateY(-5px);
}
.stats strong {
display: block;
margin-bottom: 8px;
color: #ffffff;
font-size: 48px;
font-weight: 700;
line-height: 1;
}
.stats span {
color: #ffffff;
font-size: 16px;
line-height: 1.3;
}
.booking {
background: #1b2225;
}
.booking__wrap {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
}
.booking h2 {
margin-bottom: 24px;
font-size: 48px;
font-weight: 600;
line-height: 1.1;
}
.booking p {
margin-bottom: 32px;
color: rgba(255, 255, 255, 0.8);
font-size: 18px;
line-height: 1.45;
}
.booking form {
display: flex;
flex-direction: column;
gap: 16px;
}
.booking form .btn {
width: 100%;
height: 56px;
margin-top: 4px;
padding: 0 24px;
}
.booking input {
width: 100%;
height: 58px;
padding: 0 24px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 14px;
background: rgba(18, 18, 18, 0.35);
color: #ffffff;
font-size: 16px;
line-height: 18px;
}
.booking input::placeholder {
color: rgba(255, 255, 255, 0.75);
}
.contacts-card,
.hours-card {
background: rgba(18, 18, 18, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 16px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.1);
padding: 33px;
transition: transform 0.3s ease, border-color 0.3s ease;
}
.contacts-card:hover,
.hours-card:hover {
transform: translateY(-4px);
border-color: rgba(207, 23, 23, 0.4);
}
.contacts-card {
margin-bottom: 32px;
}
.contacts-card h3 {
margin-bottom: 24px;
font-size: 24px;
font-weight: 700;
line-height: 1.2;
}
.contacts-card ul {
display: flex;
flex-direction: column;
gap: 16px;
}
.contacts-card li strong {
display: block;
margin-bottom: 8px;
font-size: 16px;
font-weight: 700;
line-height: 1.2;
}
.contacts-card li span {
color: rgba(255, 255, 255, 0.8);
font-size: 16px;
line-height: 1.5;
}
.hours-card h4 {
margin-bottom: 16px;
font-size: 16px;
font-weight: 700;
line-height: 1.2;
}
.hours-card p {
margin: 0;
font-size: 16px;
line-height: 1.2;
}
.footer {
border-top: 1px solid rgba(207, 23, 23, 0.1);
background: #121212;
padding: 49px 0;
}
.footer__top {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 32px;
margin-bottom: 32px;
}
.footer__col h4 {
margin-bottom: 16px;
font-size: 16px;
font-weight: 700;
line-height: 1.2;
}
.footer__col p,
.footer__col span,
.footer__col a {
display: block;
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
line-height: 1.3;
}
.footer__col p {
margin-top: 16px;
line-height: 1.4;
}
.footer__col a + a,
.footer__col span + span {
margin-top: 8px;
}
.footer__socials {
display: flex;
gap: 12px;
}
.footer__socials a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
font-size: 14px;
font-weight: 700;
transition: transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}
.footer__socials a:hover {
transform: translateY(-2px);
border-color: rgba(207, 23, 23, 0.5);
background: rgba(207, 23, 23, 0.15);
}
.footer__bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
border-top: 1px solid rgba(255, 255, 255, 0.08);
padding-top: 24px;
}
.footer__bottom span,
.footer__bottom a {
color: rgba(255, 255, 255, 0.7);
font-size: 14px;
line-height: 1.3;
}
.footer__bottom div {
display: flex;
gap: 24px;
}
@media only screen and (max-width: 1600px) {
.hero__content {
margin-left: 420px;
}
.hero h1 {
font-size: 64px;
line-height: 1.15;
}
}
@media only screen and (max-width: 1280px) {
.container {
padding: 0 20px;
}
.header__nav {
gap: 20px;
margin-right: 20px;
}
.hero__content {
margin-left: 280px;
max-width: 700px;
}
.hero h1 {
font-size: 56px;
}
.hero p {
font-size: 18px;
line-height: 1.6;
}
.section__head h2 {
font-size: 40px;
}
.section__head p {
font-size: 24px;
}
.object-card__content h3 {
font-size: 30px;
}
.booking h2 {
font-size: 42px;
}
}
@media only screen and (max-width: 1024px) {
.header__inner {
min-height: 64px;
}
.header__nav {
display: none;
}
.hero {
min-height: auto;
padding: 120px 0 80px;
}
.hero__content {
margin-left: 0;
max-width: 100%;
padding-top: 0;
}
.hero h1 {
max-width: 640px;
font-size: 48px;
line-height: 1.15;
}
.hero p {
max-width: 640px;
}
.hero__actions {
flex-wrap: wrap;
}
.highlights__grid,
.advantages__grid,
.services__grid,
.gallery__grid,
.reviews__grid,
.stats,
.footer__top {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.object-card,
.booking__wrap {
grid-template-columns: 1fr;
gap: 24px;
}
.object-card--reverse .object-card__image,
.object-card--reverse .object-card__content {
order: initial;
}
.section {
padding: 72px 0;
}
.section__head {
margin-bottom: 40px;
}
.booking__contacts {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
.contacts-card {
margin-bottom: 0;
}
.footer__bottom {
flex-direction: column;
align-items: flex-start;
}
}
@media only screen and (max-width: 768px) {
.container {
padding: 0 16px;
}
.btn {
width: 100%;
}
.btn--small {
width: auto;
}
.hero {
padding-top: 108px;
}
.hero h1 {
max-width: 100%;
font-size: 40px;
}
.hero p {
max-width: 100%;
font-size: 16px;
line-height: 1.5;
}
.hero__tags li {
white-space: normal;
}
.hero__actions .btn--ghost {
width: 100%;
}
.section__head h2 {
font-size: 34px;
}
.section__head p {
font-size: 20px;
line-height: 1.3;
}
.highlights__grid,
.advantages__grid,
.services__grid,
.gallery__grid,
.reviews__grid,
.stats,
.footer__top,
.booking__contacts {
grid-template-columns: 1fr;
}
.feature-card h3,
.object-card__content h3,
.service-card h3,
.booking h2 {
font-size: 28px;
}
.stats strong {
font-size: 40px;
}
}
@media only screen and (max-width: 520px) {
.header__inner {
gap: 12px;
}
.logo {
width: 110px;
height: 24px;
}
.btn--small {
padding: 10px 16px;
font-size: 13px;
}
.hero {
padding-top: 100px;
}
.hero h1 {
font-size: 34px;
}
.hero__actions {
gap: 12px;
}
.section {
padding: 64px 0;
}
.section__head h2 {
font-size: 32px;
}
.section__head p {
font-size: 18px;
}
.info-card,
.feature-card,
.service-card,
.review-card,
.stats article,
.contacts-card,
.hours-card,
.object-card__content {
padding: 24px;
}
.object-card__image {
min-height: 260px;
}
.footer__bottom div {
flex-direction: column;
gap: 12px;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation: none !important;
transition: none !important;
scroll-behavior: auto !important;
}
.hero__content > * {
opacity: 1 !important;
}
.scroll-reveal {
opacity: 1 !important;
transform: none !important;
}
}