* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}
header {
    background: url('/img/coffee.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding:180px 20px;
}
header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.logo-container {
    position: absolute;
    top: 10px; /* Расстояние от верхнего края */
    left: 10px; /* Расстояние от левого края */
}

.logo-container img {
    max-height: 100px; /* Установите максимальную высоту для логотипа */
    height: auto; /* Сохраняйте пропорции логотипа */
    width: auto;
    border-radius: 5px;
}

.admin-btn {
    position: absolute;
    top: 10px;
    right: 200px;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    background: none;
    transition: 0.3s;
}
.admin-btn:hover {
    background: #302a37;
    border-color: #302a37;
}
.reg-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: #8165a5;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.reg-btn:hover {
    background: #302a37;
    border-color: #302a37;
}

.btn {
    display: inline-block;
    background: #8165a5;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}
.btn:hover {
    background: #302a37;
}
section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    color: #454f7a;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature p {
    font-size: 1rem;
}
.cta {
    background: #454f7a;
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin: 50px 0;
}
.cta h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.pricing {
    background: #f9f9f9;
    padding: 50px 20px;
}

.pricing h2 {
    text-align: center;
    color: #454f7a;
    margin-bottom: 30px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.plan {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}

.plan:hover {
    transition: 0.6s;
    scale: 105%;
}

.plan img {
    width: 100%;
    border-radius: 10px;
}

.plan h3 {
    color: #8165a5;
    font-size: 1.5rem;
    padding-bottom: 15px;
}

.plan p {
    margin: 10px 0;
}

.plan .btn {
    background: #8165a5;
}

.plan .btn:hover{
    background: #302a37;
}

.contact {
    background: #454f7a;
    color: white;
    padding: 50px 20px;
    text-align: center;
}
.contact form {
    max-width: 600px;
    margin: 0 auto;
}
.contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
}
.contact button {
    padding: 10px 20px;
    background: #8165a5;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}
.contact button:hover {
    background: #302a37;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}
footer .social-links {
    margin: 10px 0;
}
footer .social-links a {
    color: white;
    margin: 0 10px;
    font-size: 1.2rem;
    text-decoration: none;
}
footer .social-links a:hover {
    color: #d1b8ee;
}


.business-types {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}
.business-types h2 {
    color: #454f7a;
    font-size: 2rem;
    margin-bottom: 30px;
}
.business-type {
    display: inline-block;
    margin: 20px;
    width: 250px;
}
.business-type h3 {
    color: #454f7a;
    margin-bottom: 10px;
}
.business-type p {
    color: #555;
}


.carousel-section {
    background: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
}
.carousel-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}
.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    display: flex;
    align-items: center;
    min-width: 100%;
    justify-content: space-between;
    padding: 10px;
}
.carousel-slide img {
    width: 20%;
    min-width: 200px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-left: 80px;
    border-radius: 10px;
}
.carousel-text {
    width: 50%;
    text-align: left;
    min-width: 300px;
    padding-right: 100px;
}
.carousel-text h3 {
    font-size: 2rem;
    color: #454f7a;
    margin-bottom: 10px;
}
.carousel-text p {
    font-size: 1rem;
    color: #555;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 50%;
}
.carousel-control.left {
    left: 10px;
}
.carousel-control.right {
    right: 10px;
}

@media (max-width: 767px) {
    .admin-btn {
        position: absolute;
        top: 63px;
        right: 20px;
    }
    .reg-btn {
        position: absolute;
        top: 10px;
        right: 20px;
    }

    .carousel-slide {
        flex-direction: column; /* Размещаем элементы вертикально */
        align-items: center; /* Выравниваем элементы по центру */
    }

    .carousel-text {
        width: 100%; /* Текст занимает всю ширину */
        padding-right: 0; /* Убираем правый отступ */
        text-align: center; /* Выравниваем текст по центру */
        margin-top: 10px; /* Добавляем небольшой отступ сверху */
    }

    .carousel-slide img {
        margin-bottom: 10px; /* Отступ снизу для изображения */
        margin-left: 0;
    }
}
