/***************DEFAULT-SETTINGS***************/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
*{
    box-sizing: border-box;
}
body{
    font-family: "Montserrat", sans-serif;
    /*font-size: calc(1.8em - 0.3vw);*/
    /*font-size: 1.5vw;*/
    font-size: calc(1.5vw + 0.2em);
    font-weight: bold;
    color: #333238;
    margin: 0;
    padding: 0;
    background-image: url(img/bg-vector.png);
    background-position: right;
    background-repeat: no-repeat;
    background-size: 60% 100%;
    height: 100%;
}
html{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
h1{
    font-size: calc(2em + 0.3vw);
    margin: 1em 0;
}
p{
    margin: 0.5em 0;
}
a:link{
    color: inherit;
    text-decoration: none;
    font-style: normal;
}
a:visited{
    color: inherit;
    text-decoration: none;
    font-style: normal;
}
a:active{
    color: inherit;
    text-decoration: none;
    font-style: normal;
}
.select{
    display: inline-block;
    background-color: #11b1fb;
    color: #fff;
    border-radius: 0.4em;
    padding: 0.2em 0.6em;
}
main{
    width: 100%;
    padding: 0 4em;
}

/***************LOGO AND NAVIGATION***************/
header{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1;
    background-color: #ffffff7e;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
header .logo{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
header .nav-list{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.nav-list{
    list-style-type: none;
}
.nav-list li{
    margin: 0em 0.5em;
}
.logo .logo-img{
    width: 2em;
    margin-right: 0.5em;
}
.logo-text{
    font-size: calc(1.3em + 0.3vw);
}

/***************CONTENT-BLOCK-1***************/
.banner{
    margin-top: 4em;

}
.numerous{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 50%;
    margin: 0.5em 0;
}
.numerous .num-info{
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 0em 0.5em;
}
.numerous .num-info .num{
    font-size: calc(2em + 0.3vw);
}
.main-info{
    margin: 25vh 0;
}
.main-info .select{
    font-size: calc(1.9em - 0.3vw);
}
.zdorovenko-main-photo{
    height: 87vh;
    display: block;
    position: absolute;
    z-index: 0;
    bottom: 0;
    right: 6em;
}
/***************CONTENT-BLOCK-2***************/
.list-services{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 0;
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: block;
    
}

.service-item h2 {
    margin-top: 10px;
    font-size: 1.5em;
}

.service-item p {
    font-size: 1em;
    color: #555;
    margin: 0.5em;
}
.prices {
    background-color: #fff;
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.prices h2 {
    color: #11b1fb;
    font-size: 28px;
    margin-bottom: 30px;
}

.price-item {
    margin-bottom: 20px;
}

.price-item h3 {
    font-size: 22px;
    color: #333238;
    margin-bottom: 10px;
}

.price-item p {
    font-size: 18px;
    color: #333238;
}

.price {
    font-weight: 600;
    font-size: 20px;
    color: #11b1fb;
}
.education {
    background-color: #fff;
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.education h2 {
    color: #11b1fb;
    font-size: 28px;
    margin-bottom: 30px;
}

.education-item {
    margin-bottom: 20px;
}

.education-item h3 {
    font-size: 22px;
    color: #333238;
    margin-bottom: 10px;
}

.education-item p {
    font-size: 16px;
    color: #333238;
}

/* Стилі для блоку відгуків */
.reviews {
    background-color: #fff;
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.reviews h2 {
    color: #11b1fb;
    font-size: 28px;
    margin-bottom: 30px;
}

.review-item {
    margin-bottom: 20px;
}

.review-item p {
    font-size: 18px;
    color: #333238;
    font-style: italic;
}

.review-item p:first-child {
    font-weight: 600;
}

form {
    background-color: #fff;
    padding: 30px;
    margin: 40px auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    font-size: 18px;
    color: #333238;
    margin-bottom: 10px;
}

form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #11b1fb;
    border-radius: 5px;
    font-size: 16px;
    color: #333238;
    font-family: "Montserrat", sans-serif;
}

form input[type="text"], form input[type="email"], form input[type="tel"], form input[type="datetime-local"], form select {
    font-family: "Montserrat", sans-serif;
}
textarea{
    resize: vertical;
}
form button {
    background-color: #11b1fb;
    color: white;
    font-size: 18px;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0999d4;
}

@media (max-width: 1110px) {
    .main-info{
        margin: 30vh 0;
    }
}
/* Добавляем бургер-меню */
.menu-toggle {
    display: none;
    cursor: pointer;
    color: #0999d4;
    background: none;
    border: none;
    font-size: 30px;
    position: absolute;
    top: 15px;
    right: 20px;
}

@media (max-width: 925px) {
    body{
        background-size: 50% 100%;
        background-attachment: fixed;
        
    }
    .service-item{
        font-size: 1.5em;
    }
    .about-me{
        font-size: 1.3em;
    }
    .menu-toggle {
        display: block; /* Показываем кнопку на мобильных */
    }
    nav {
        position: fixed;
        top: 0;
        left: -100%; /* Прячем за экраном */
        width: 70%;
        height: 100%;
        background: #11b1fb;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
        transition: left 0.3s ease-in-out; /* Анимация появления */
        z-index: 1000;
        padding-top: 50px;
        color: #fff;
    }
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .nav-list li {
        margin-top: 2em;
        font-size: 1.5em;
    }
    nav.active {
        left: 0;
    }
    .logo-text {
    
        text-align: center;
        flex-grow: 1; /* Позволяет логотипу занять центр */
        font-size: 1.4em; /* Можно уменьшить для мобильной версии */
    }
    .logo{
        margin-top: 2em;
        font-size: 1.4em;
    }
    .main-info{
        margin: 15em auto;
        width: 100%;
        text-align: center;
    }
    .main-info p{
        font-size: 1.5em;
    }
    .numerous{
        width: 100%;
    }
    .zdorovenko-main-photo{
        display: none;
    }
    .service-item {
        width: 90%;
    }
    .services-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
    }
}
