@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FBFBFF;
    color: #272727;
}
/* header start */

.top-bar {
    background-color: #272727;
    color: #fff;
    padding: 10px 0;
}
/* ===== ЯЗЫКОВОЙ СЕЛЕКТОР ===== */
.lang {
    display: flex;
    align-items: center;
}

.lang a {
    color: var(--text-light);
    text-decoration: none;
    padding: 5px 8px;
    margin: 0 2px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lang a:hover,
.lang a.active {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Добавляем более заметное выделение для активного языка */
.lang a.active {
    background-color: var(--text-light);
    color: var(--primary-color);
    font-weight: bold;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Стили для селекта языка */
select#languageSelect {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    appearance: none; /* Убираем стандартный стиль */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

select#languageSelect:hover {
    border-color: var(--text-light);
}

select#languageSelect:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(214, 47, 47, 0.2);
}

select#languageSelect option {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 8px;
}
.top-bar .container {
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    padding: 8px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    text-transform: uppercase;
}

.main-header .logo img {
    max-width: 90px;
}

.main-header nav {
    border-radius: 20px;
}

.main-header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-header nav ul li {
    position: relative;
}

.main-header nav ul li a {
    color: #232323;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
}

.main-header nav ul li .dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.main-header nav ul li .dropdown-menu li {
    width: 200px;
}

.main-header nav ul li .dropdown-menu li a {
    padding: 10px 20px;
    display: block;
}

.main-header nav ul li:hover .dropdown-menu {
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right .make-appointment-btn {
    background-color: rgb(214, 47, 47);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 15px;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}


.popup-content {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    position: relative;
}
#appointment-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
}
.container2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 20px;
}

.contact-us {
    text-align: center;
    /* padding: 50px 0; */
}

.contact-us h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.contact-us p {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: grey;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 50px;
}


.info-box {
    width: 37%;
    height: 350px;
    background-color: #fff;
    padding: 60px;
    text-align: center;
}

.info-box i {
    font-size: 4em;
    color: #d62f2f;
    margin-bottom: 10px;
}

.info-box h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form .form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
}

.contact-form .form-group textarea {
    resize: none;
}

.contact-form .btn {
    background-color: white;
    color: grey;
    padding: 12px 30px;
    border: 1px #d62f2f solid;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-form .btn i {
    margin-left: 10px;
}

.opening{
    width: 100%;
    height: 200px;
    color: white;
    padding: 30px 0;
    background-image: url(/img/Dent1.jpg);
    background-size: cover;
    background-position: center; /* Центровка изображения */
    background-repeat: no-repeat; /* Убираем повторение изображения */
}

/* HR */

.hrBox{
    display: flex;
    justify-content: center;
    margin: 12px ;
}

.styled-hr {
    border: none;
    height: 3px;
    background: #ff0000; /* Desired color */
    /* margin: 20px auto; */
    position: relative;
    width: 50%; /* Adjust the width to make the line shorter */
}

.styled-hr::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -6px; /* Adjust this value to position the circle */
    width: 12px;
    height: 12px;
    background: #ff0000; /* Desired color */
    border-radius: 50%;
    z-index: 1;
}

.styled-hr-next {
    border: none;
    height: 3px;
    background: #ff0000;
    /* margin: 20px auto; */
    margin-left: 5px;
    position: relative;
    width: 8px;
}

.styled-hr-next::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -6px; /* Adjust this value to position the circle */
    width: 12px;
    height: 12px;
    background: #ff0000; /* Desired color */
    border-radius: 50%;
    z-index: 1;
}




/* footer */

footer {
    background-color: #333;
    color: #fff;
    padding-top: 10px;
}

.NumButton {
    width: 234px;
    height: 70px;
    font-size: 20px;
    color: white;
    background: #d62f2f;
    border: #d62f2f 1px solid;
    border-radius: 10px;
    margin: 15px 0px 8px 0px;
    padding: 10px 10px;
    cursor: pointer;
}

footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px;
}

footer .footer-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

footer .footer-info div {
    max-width: 300px;
    margin-bottom: 20px;
}

footer .footer-info h3 {
    margin-top: 6px;
    margin-bottom: 0px;
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
}

footer .footer-info p,
footer .footer-info ul {
    font-size: 16px;
}

footer .footer-info ul {
    list-style: none;
}

footer .footer-info ul li, a {
    margin-bottom: 10px;
    color: white;
    text-decoration: none;
}

footer .footer-info ul li:last-child {
    margin-bottom: 0;
}

.social {
    width: 100%;
    text-align: center;
    margin-top: 16px;
}

.media {
    display: flex;
    justify-content: space-around;
}

.media a {
    color: #baa9a9;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
    background-color: #d62f2f;
    height: 60px;
}

.footer-section a {
    text-decoration: none;
    color: #a38b8b;
    display: flex;
    align-items: center;
}

.footer-section a i {
    margin-right: 10px;
}

.opening-hours-section {
    background-color: #333;
    color: #fff;
    text-align: center;
}

.opening-hours-section h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    margin-left: 25px;
    text-transform: uppercase;
}

.opening-hours-list {
    list-style: none;
    padding: 0;
}

.opening-hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.opening-hours-list li span {
    font-size: 1em;
}

.opening-hours-list li .closed {
    background-color: #d62f2f;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
}
