@font-face {
    font-family: 'Berlin Regular';
    src: url(../fonts/Berlin-Regular.woff2);
}

@font-face {
    font-family: 'Cakra';
    src: url(../fonts/Cakra-Normal.woff2);
}

body {
    font-family: 'Berlin Regular';
    padding: 0;
    margin: 0;
    background-color: #E8E3DD;
    overflow-x: hidden;
}
html {
    padding: 0;
    margin: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    width: 80%;
    max-width: 700px;
    margin: 0 auto;
    position: sticky;
    top: 20px;
    z-index: 4;
    background-color: #E8E3DD;
    border-radius: 50px;
}

h2, h3, p, a, li {
    color: #262022;
}

nav a {
    text-decoration: none;
    color: #4D4648;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #4D4648;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
}

.burger {
    cursor: pointer;
    font-size: 24px;
}

ul {
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0 auto;
    padding: 0;
}

.menu a {
    text-decoration: none;
}

  .menu {
    display: flex;
    align-items: center;
    list-style: none;
    flex: 1;
  }
  
  .menu li {
    margin: 0 15px;
  }

  .menu img {
    width: 100px;
  }
  
  .logo {
    margin: 0 20px;
  }
  
  .burger {
    display: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
  }

  .flex {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 0 auto;
  }

  .flex button {
    margin-top: 16px;
  }

  .hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .background-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: url('../img/image.png');
    background-size: cover;
    background-position: center;
    opacity: .5;
    z-index: 1;
  }
  
  .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: rgb(232, 227, 221);
    background: radial-gradient(circle, rgba(232, 227, 221, .4) 20%, rgba(232, 227, 221, 1) 100%); /* Градиент */
    z-index: 2;
  }
  
  .content {
    position: relative;
    z-index: 3;
    padding: 20px;
    max-width: 900px;
  }

.content p, h1 {
    color: #262022;
}

h1 {
    font-size: 4em;
    margin: 0;
}

h1, h2, h3 {
    font-family: 'Cakra';
    color: #262022;
}
  
p {
    margin: 10px 0 20px;
}

.time, .contact-item a, .contact-item span, p {
    font-size: 1.3rem;
  }
  
.signup-button {
    padding: 10px 20px;
    font-size: 1.4rem;
    background-color: #A78C7B;
    color: #E8E3DD;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: .3s ease-in-out;
    margin-top: 1em;
}

.signup-button:hover {
    background-color: #E8E3DD;
    color: #A78C7B;
}

.signup-button:hover {
    color: #A78C7B;
}

.signup-button, .call-button {
    text-decoration: none;
}

.call-button {
    margin-top: 20px;
    color: #A78C7B;
}

.about {
    padding: 40px;
    text-align: left;
}
  
.about h2, .services h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
  
.about-content {
    display: flex;
    flex-wrap: wrap;
}
  
.left, .right {
    flex: 1;
    padding: 20px;
}

.about-image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.right {
    order: 1;
}

.left {
    order: 2;
}

  
.services {
    padding: 40px;
    text-align: center;
}

.service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin: 20px 0;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 1em;
}
  
  .card {
    padding: 20px;
    background: #D9D9D9;
    border-radius: 16px;
    text-align: left;
    width: fit-content;
    max-width: 400px;
  }
  
  .card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  
  .price {
    display: flex;
    align-items: baseline;
    margin-bottom: 10px;
  }
  
  .amount {
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .duration {
    font-size: 0.9rem;
    color: #4D4648;
    margin-left: 5px;
  }
  
  .card p {
    margin: 0;
  }
  
  .arrow {
    margin: 40px;
    width: 30px;
  }
  
  .contacts {
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
  }
  
  .contacts h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .contact-info {
    margin-bottom: 20px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
  }
  
  .icon {
    margin-right: 10px;
  }
  
  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    color: #4D4648;
  }

  .buttons img {
    width: 300px;
    float: right;
  }

  .contact-item a, .contact-item {
    color: #4D4648;
  }

  .contact-item img {
    width: 24px;
  }
  
  .bot-button {
    background-color: #A78C7B;
    color: #E8E3DD;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 0 10px;
    font-size: 16px;
    margin-bottom: 10px;
  }
  
.call-button {
    background-color: rgba(255, 255, 255, 0.1);
    color: #A78C7B;
    border: 1px solid #A78C7B;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    margin: 20px 10px;
    font-size: 1.2rem;
    backdrop-filter: blur(12px);
    transition: .3s;
}

.call-button:hover {
    background-color: #262022;
    color: #E8E3DD;
}

.schedule, .about, .services, .contacts {
    margin-top: 2em;
}

.schedule {
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    margin-top: 200px;
}
  
.schedule h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.schedule-item {
    margin: 20px 0;
}

.day {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #4D4648;
}

.activity {
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}
  
.activity h3 {
    font-size: 1.4rem;
    margin: 0;
    color: #A78C7B;
}

.time {
    color: #4D4648;
}


.main-title {
    font-size: 3rem;
    text-align: center;
}

.mobile-break {
    display: none;
}

iframe {
    margin: 0 auto;
    max-width: 1200px;
    max-height: 400px;
    border-radius: 16px;
}

.modile {
    display: none;
}

.hidden-space {
    opacity: 0;
}

.hidden {
    display: none;
}

.left-arrow {
    width: 100px;
}


@media (max-width: 768px) {
    .modile {
        display: block;
    }

    .price {
        flex-direction: column;
    }

    .space {
        display: flex;
        flex-direction: row;
    }
    
    .menu {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 10px;
        border-radius: 8px;
        z-index: 1;
        width: 90%;
        margin: 0 auto;
        background-color: #E8E3DD;
    }


    .menu a {
        display: none;
    }

    .menu img {
        position:absolute;
        right: 0;
        top: -50px;
    }

    .menu.active img {
        position:relative;
        left: 0;
        top: 0;
    }

    .menu li {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .menu.active {
        display: flex;
        width: 100%;
        z-index: 4;
        margin-right: 0;
    }

    .menu.active li {
        opacity: 1;
        transform: translateY(0);
        padding: 10px 0;
    }

    .menu.active li a {
        font-size: 20px;
        display: block;
    }

    .menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .menu.active li:nth-child(4) { transition-delay: 0.4s; }

    .burger {
        display: block;
    }

    .service-card {
        flex-direction: column;
    }

    .service-card img {
        width: 180px;
    }

    .service-card .dis {
        display: none;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .mobile-break {
        display: inline;
        white-space: nowrap;
    }

    iframe {
        max-width: 280px;
        max-height: 280px;
    }

    .schedule, .about, .services, .contacts {
        margin-top: 60px;
    }

    .arrow {
        display: none;
      }
}
