* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: white;
    color: #111;
}


.header {
    text-align: center;
    padding: 30px 20px 20px;
}

.header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.5;
}


main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Слайдер */

.meeting-slider {
    display: flex;
    justify-content: center;
}


.card {
    width: 420px;
    min-height: 550px;
    text-align: center;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}


.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    background: #eee;
}


.card h2 {
    margin: 20px 0 10px;
}


.card p {
    font-size: 17px;
    line-height: 1.5;
    min-height: 80px;
}


/* Кнопки перелистывания */

.slide-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
}

.past {
    background: #6c9cff;
}


.future {
    background: #ff9f43;
}


.side-button:hover {
    opacity: 0.8;
}

/* Все кнопки */

.side-button,
.booking {
    border: none;
    cursor: pointer;
    border-radius: 35px;
    color: white;
    font-weight: bold;
    transition: opacity 0.2s;
}


/* Перелистывание */

.side-button {
    padding: 12px 25px;
    font-size: 16px;
}


.past {
    background: #6c9cff;
}


.future {
    background: #ff9f43;
}


/* Бронирование */

.booking {
    display: block;
    margin: 20px auto;
    padding: 18px 70px;
    font-size: 24px;
    background: #4caf50;
}


.side-button:hover,
.booking:hover {
    opacity: 0.8;
}

/* Бронь */

.booking:hover {
    opacity: 0.85;
}

/* Соцсети */

.social {

    display: flex;

    justify-content: center;

    gap: 15px;

    margin-bottom: 20px;
}


.social a {

    padding: 10px 20px;

    border-radius: 10px;

    text-decoration: none;

    color: white;

    background: #333;
}



.footer-info {

    text-align: center;

    font-size: 14px;

    color: #555;

    padding-bottom: 30px;
}



/* Мобильная версия */

@media (max-width: 700px) {


    .header h1 {
        font-size: 28px;
    }

    .card {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .slide-buttons {
    flex-direction: column;
    width: 100%;
    align-items: center;
	}


	.side-button {
    width: 90%;
	}

}

.navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.navigation a {
    text-decoration: none;
    color: black;
    padding: 8px 15px;
    border-radius: 20px;
    background: #f1f1f1;
}

.navigation a:hover {
    background: #ffd966;
}

.agreement {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    line-height: 1.6;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.agreement h2 {
    text-align: center;
    margin-bottom: 25px;
}

.agreement h3 {
    margin-top: 25px;
}