@import url('popups.css');
@import url('root.css');

/* ------ WELCOME PAGE ------ */

.welcome{
    height: 100vh;
    background-image: url("/assets/bg_plain.png");
    background-size: cover;
    position: relative;
    background-position: center;
}

.welcome .wrapper{
    display: flex;
    align-items: center;
    height: 100%;
}

.welcome__content{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}

h1{
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.welcome__text_content h2{
    color: white;
    font-weight: 500;
    font-size: 18px;
    margin-top: 20px;
}

.welcome__text_content p{
    color: white;
    font-weight: 500;
    font-size: 14px;
    margin-top: 36px;
}

.button_brown{
    display: inline-block;
    padding: 12px 30px;
    background-color: #C7B1AF;
    color: #1e1e1e;
    border-radius: 10px;
    transition: .3s;
    font-size: 12px;
}

.button_brown:hover{
    background-color: #ffffff;
}

.welcome__text_content .button_blue{
    margin-top: 20px;
}

.scroll_info{
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.scroll_info p{
    margin-top: 0;
    font-size: 10px;
    color: #C7C7C7;
}

.calculator {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    width: 280px;
}

#calcPrice{
    display: none;
    margin-top: 12px;
}

.calculator h2 {
    font-size: 16px;
    font-weight: bold;
    color: #1e1e1e;
    text-align: center;
    margin-bottom: 20px;
}

.calculator__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.radio-group {
    display: flex;
    justify-content: space-between;
}

.radio_btn {
    display: flex;
    align-items: center;
}

.radio_btn input {
    margin-right: 5px;
}

.radio_btn p {
    font-size: 12px;
    color: #1e1e1e;
}

.calculator__city {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calculator__city select {
    padding: 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: #E9E9E9;
    border-radius: 10px;
    color: #757473;
}

.calculator__city input {
    padding: 12px;
    font-size: 12px;
    font-weight: 500;
    background-color: #E9E9E9;
    border-radius: 10px;
    color: #757473;
}

.calculator__size {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 12px;
}

.calculator__size input {
    min-width: 100px;
    padding: 12px;
    font-size: 12px;
    background-color: #E9E9E9;
    border-radius: 10px;
    color: #757473;
}

.button_blue {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: .3s;
}

.button_blue:hover {
    background-color: #0056b3;
}


.calculator .button_blue{
    width: 100%;
}

/* ------ SERVICES ------ */

.services{
    margin-top: 64px;
}

.title{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.title h2{
    font-size: 36px;
    font-weight: 500;
    color: #1e1e1e;
}

.title span{
    width: 50px; 
    height: 4px; 
    border: 10px;
    background-color: #007bff;
}

.service__content{
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 36px;
    flex-wrap: wrap;
}

.service__card{
    width: 260px;
    border-radius: 10px;
    background-color: #ECF3F7;
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: .3s;
}

.tarif__more{
    color: #007bff;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    transition: .3s;
    margin-top: 12px;
    margin-bottom: 24px;
}

.tarif__more:hover{
    color: #0056b3;
}

.service__card:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.service__card img{
    height: 200px;
    width: 100%;
    border-radius: 10px 10px 0 0;
    object-fit: cover;
}

.service__card h3{
    text-align: center;
    color: #1e1e1e;
    font-size: 24px;
    margin-top: 16px;
}

.service__card p{
    color: #555555;
    font-size: 14px;
    margin-top: 16px;
    padding: 0 24px;
}

.service__card .button_blue{
    margin-top: 16px;
}

/* ------ WHYME ------ */

.whyme{
    margin-top: 64px;
}

.whyme__content{
    margin-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.why__points{
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.why__point{
    display: flex;
}

.why__point img{
    padding: 16px;
    background-color: #ECF3F7;
    border-radius: 10px;
}

.why_text{
    margin-left: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.why_text h3{
    font-size: 24px;
    color: #1e1e1e;
    font-weight: 500;
}

.why_text p{
    color: #555555;
}

/* -------------------- */


/* ------ FAQ ------ */

.faq{
    margin-top: 64px;
}

.faq__content{
    width: 100%;
}

.accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

details{
    background-color: #ECF3F7;
    border-radius: 10px;
    height: fit-content;
}

details p{
    padding: 0 16px 16px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #555555;
}

summary{
    padding: 20px;
    cursor: pointer;
}

/* ------ CONTACT ------ */

.contacts{
    margin-top: 64px;
}

.contact__content{
    margin-top: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px;
}

.con__left{
    text-align: left;
}

.con__left span{
    margin-top: 24px;
    margin-bottom: 24px;
    display: block;
    max-width: 374px;
    height: 2px;
    border-radius: 10px;
    background: #BCBCBC;
}

.con__text{
    padding-top: 16px;
}

.con__title{
    color: #1e1e1e;
    font-size: 24px;
    font-weight: 500;
}

.con__sub{
    color: #555555;
    font-size: 14px;
    font-weight: 500;
}

.con__time{
    display: flex;
    gap: 16px;
    align-items: center;
}

.con__time p {
    font-size: 14px;
    font-weight: 500;
}

.con__time img{
    width: 36px;
    height: 36px;
}

.map{
    width: 482px;
    height: 285px;
}

ymaps{
    border-radius: 10px;
}

/* MOBILE VERSION */

/* Адаптивные стили */
@media (max-width: 943px) {
    .scroll_info{
        display: none;
    }

    .service__content{
        gap: 36px
    }

    .truck{
        display: none;
    }

    h1{
        font-size: 36px;
    }
}

@media (max-width: 740px){
    h1{
        font-size: 24px;
    }
}