html {
    scroll-behavior: smooth;
    font-size: 14px;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-margin-top: 30px;
}

/* ====== General styles ====== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5rem;
    color: rgb(0, 203, 203);
}

.btn {
    display: inline-block;
    background-color: #00cccc;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 160, 160, 0.25);
    transition: 0.3s ease;
}

.btn:hover {
    background-color: #009999;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 160, 160, 0.3);
    cursor: pointer;
}

/* ====== Header ====== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.4s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #009f9f;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 35px;
}

.nav.active {
    position: fixed;
    top: -60px;
    right: 0;
    flex-direction: column;
    background-color: #2d4052;
    margin-top: 60px;
    padding: 60px 10px 20px 10px;
    border: 1px solid gray;
    border-radius: 12px 0 0 12px;
    transition: 0.2s ease;
}

.nav__link {
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav__link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #00cccc;
    left: 0;
    bottom: -5px;
    transition: 0.3s ease;
}

.nav__link:hover {
    color: #00cccc;
}

.nav__link:hover::after {
    width: 100%;
}

.header.scrolled .nav__link {
    color: #333;
}

.burger {
    display: none;
    position: relative;
    width: 35px;
    height: 25px;
    border: none;
    background: none;
}

.burger::before,
.burger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 12px;
    background-color: #009999;
    transition: 0.2s ease;
}

.burger::before {
    top: 0;
}

.burger::after {
    bottom: 0;
}

.burger.active::before {
    transform: rotate(-45deg);
    top: 11px;
}

.burger.active::after {
    transform: rotate(45deg);
    bottom: 10px;
}

.burger span {
    display: block;
    width: 100%;
    height: 4px;
    border-radius: 12px;
    background-color: #009999;
    transition: 0.2s ease;
}

.burger.active span {
    transform: scale(0);
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: -60px;
        right: 0;
        flex-direction: column;
        background-color: #2d4052;
        padding: 60px 10px 20px 10px;
        border: 1px solid gray;
        border-radius: 12px 0 0 12px;
        transform: translateX(100%);
        transition: 0.2s ease;
    }

    .nav.active {
        transform: translateX(0);
    }

    .burger {
        display: block;
    }
}

/* ====== Intro ====== */
.intro {
    position: relative;
    height: 100vh;
    background-image: url('img/background/intro.JPG');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.intro__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.intro__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.intro__title {
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.intro__subtitle {
    font-size: 1.4rem;
    margin-bottom: 45px;
    line-height: 1.6;
    color: #f0f0f0;
}

.registration__btn {
    padding: 14px 34px;
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .intro__title {
        font-size: 2.2rem;
    }

    .intro__subtitle {
        font-size: 1.1rem;
    }
}

/* ====== About ====== */
.about {
    padding: 65px 0 80px 0;
    background: linear-gradient(180deg, #f8ffff 0%, #e7fdfd 100%);
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: #00b3b3;
    margin-bottom: 50px;
}

.about__wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
}

.about__photo-block {
    max-width: 500px;
    background: #ffffff;
    border-radius: 16px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.about__photo {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #00b3b3;
}

.about__name {
    font-size: 2rem;
    font-weight: 700;
    color: #009999;
    margin-bottom: 20px;
}

.about__badges {
    list-style: none;
    padding: 0;
}

.about__badges li {
    background: #e7fdfd;
    padding: 8px 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: #007777;
    border-left: 4px solid #00b3b3;
    text-align: left;
}

.about__diploma {
    margin-top: 15px;
    padding: 12px 28px;
    font-size: 1.1rem;
}

.about__content {
    display: grid;
}

.about__slider {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 25px 0;
    background: #ffffff;
    border: 1px solid rgba(0, 160, 160, 0.12);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.about__slides {
    display: flex;
    transition: transform 0.45s ease;
}

.about__item {
    min-width: 100%;
    padding: 0 50px;
    margin: auto 0;
    background: #f9ffff;
}

.about__item h3 {
    text-align: center;
    margin-bottom: 14px;
    font-size: 1.8rem;
    font-weight: 600;
    color: #009999;
}

.about__item h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.about__item p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}

.about__item ul {
    padding-left: 20px;
}

.about__item li {
    margin-bottom: 10px;
    color: #444;
    font-size: 1.15rem;
    line-height: 1.6;
}

.slide-arrow {
    width: 40px;
    height: 100%;
    position: absolute;
    top: 0;
    background-color: rgba(0, 160, 160, 0.15);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    background-size: 22px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 10;
    transition: 0.25s ease;
}

.slide-arrow:hover {
    background-color: rgba(0, 160, 160, 0.28);
}

.slide-arrow.left {
    left: 0;
    background-image: url("img/arrow-left.png");
}

.slide-arrow.right {
    right: 0;
    background-image: url("img/arrow-right.png");
}

.about__details {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    padding: 20px 25px;
    border-radius: 12px;
    color: #fff;
    line-height: 1.55;
}

.about__details h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #009999;
    text-align: center;
}

.about__details p {
    margin-bottom: 12px;
    font-size: 1.2rem;
    color: #000000;
    text-align: justify;
}

.about__details strong {
    color: #1f3b57;
    font-weight: 600;
}

@media (max-width: 970px) {
    .about__wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .slide-arrow {
        background-size: 18px;
    }
}

@media (max-width: 550px) {
    .slide-arrow {
        width: 30px;
    }
}


/* ====== Gallery ====== */
.gallery {
    padding: 60px 20px;
    background: #f6f9fc;
}

.gallery .section-title {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.gallery__img {
    max-width: 100%;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
    transition: 0.4s ease;
}

.splide {
    max-width: 1100px;
    margin: 0 auto;
}

/* ====== Booking ====== */
.booking {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.booking .section-title {
    text-align: center;
    font-size: 2.6rem;
    color: #00b3b3;
    margin-bottom: 45px;
}

.prices {
    margin-bottom: 50px;
}

.prices__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.prices__card {
    min-width: 250px;
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
    border: 1px solid rgba(0, 160, 160, 0.12);
}

.prices__season-title {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 25px;
    font-weight: 600;
    color: #009999;
}

.prices__group {
    margin-bottom: 25px;
}

.prices__group h4 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.prices__group ul {
    list-style: none;
    padding-left: 0;
}

.prices__group li {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.15);
    color: #444;
}

.prices__group span {
    font-weight: 500;
    color: #000;
}

.prices__note {
    margin-top: 35px;
    text-align: center;
    font-size: 1.25rem;
    color: #333;
    background: #e9ffff;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 160, 160, 0.25);
}

@media (max-width: 600px) {
    .prices__card {
        padding: 20px;
    }

    .prices__group li {
        font-size: 1.15rem;
    }
}

.info-section {
    padding: 50px 0;
    background: #f8fbff;
}

.info-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1f3b57;
}

.info-extra {
    font-size: 1.5rem;
    text-align: justify;
    line-height: 1.5;
    padding: 15px 30px;
    margin-bottom: 20px;
    background-color: rgba(255, 230, 0, 0.35);
    border-radius: 12px;
    border: 1px solid rgba(136, 127, 0, 0.426)
}

.info-extra a {
    text-decoration: none;
}

.info-card {
    max-width: 900px;
    background: white;
    padding: 35px 40px;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.info-card legend {
    font-size: 1.8rem;
    color: #1f3b57;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    font-size: 1.3rem;
    text-align: justify;
    line-height: 1.55;
    color: #2d4052;
}

.info-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: #4ea3ff;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .info-card {
        padding: 25px 22px;
    }

    .info-card li {
        padding-left: 22px;
    }

    .info-title {
        font-size: 1.8rem;
    }
}

.registration__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.registration__links a {
    width: 303px;
    padding: 14px 34px;
    background: linear-gradient(135deg, #00cccc, #00a3a3);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 150, 150, 0.25);
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.registration__links a:hover {
    background: linear-gradient(135deg, #00dede, #009999);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 20px rgba(0, 150, 150, 0.35);
}

.registration__links a:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 4px 8px rgba(0, 150, 150, 0.2);
}

@media (max-width: 500px) {
    .registration__links a {
        width: 100%;
        text-align: center;
    }
}