@font-face{
    font-family: 'Comforter';
    src: url('fonts/Comforter-Regular.ttf');
}
body, html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}
header {
    color: white;
    height:100%;
    background-image: url('img/header_background.webp');
    background-repeat: no-repeat; /* предотвращает повторение */
    background-position: center; /* выравнивание */
    background-size: cover; /* масштабирование */
    padding-top: 15px;
    padding-bottom: 15px;
}
.header-logo {
    display: flex;
    justify-content: center;
    z-index: 3;
}
.header-company-menu {
    z-index: 3;
}
.header-company-logo {
    width: 270px;
    padding-left: 7px;
    padding-right: 7px;
}
.header-phone {
    width: 245px;
    margin-right: 210px;
    display: flex;
    align-items: center;
}
.phone-number {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 100;
    text-align: left;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-style: normal;
    letter-spacing: 0;
    text-transform: none;
}
.component-logo-img {
    margin-right: 7px;
}
.header-company-logo {
    margin-right: 210px;
}
.company-connect {
    display: flex;
    align-items: center;
    width: 245px;
    cursor: pointer;
}
.company-connect span {
    margin-right: 10px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Стили для навигации */
nav {
    font-family: Arial, sans-serif;
}

ul.menu {
    margin-top: 7px;
    list-style-type: none;
    display: flex;
    justify-content: center;
}

ul.menu > li {
    position: relative;
}

ul.menu > li > a {
    display: block;
    color: white;
    text-align: center;
    padding: 7px 10px;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.3s;
}

/* Стили для выпадающего меню */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 10px 15px;
    font-size: 13px;
    text-decoration: none;
    display: block;
    text-align: left;
}

ul.dropdown-content li {
    padding: 5px;
}

.dropdown-content a:hover {
    background-color: #ddd;
}
.open-modal-btn{
    cursor: pointer;
}
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropdown-arrow {
    transform: scaleY(-1);
}

.header-title {
    position: relative;
    width: fit-content;
    text-align: center;
    display: flex;
    flex-flow: row wrap;
    margin: 10% auto 0;
}

.lens {
    font-family: Comforter, Helvetica, Arial, sans-serif;
    font-size: 7.5rem;
    line-height: 1.37;
    font-weight: 300;
    text-align: center;
    position: absolute;
    top: 26%;
    width: 100%;
}
.lens em {
    --fontFamily: Comforter, Helvetica, Arial, sans-serif;

    color: #edbe00;
    z-index: 1;
}
.lens-rus {
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 7.5rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    z-index: 0;
    font-style: normal;
}
.company-description, .product-lens-section {
    /*background-color: #e8e5e5;*/
    background-color: rgba(232, 229, 229, 0.4);
    padding-bottom: 70px;
}
.company-description-main-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.company-name {
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin-top: 30px;
}
.company-description-style {
    color: #d8a95b;
    font-family: Comforter, Helvetica, Arial, sans-serif;
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}
.company-description-img {
    width: 1150px;
    display: flex;
    flex-direction: row;
}
.company-description-left {
    width: 550px;
    margin-left: 25px;
    margin-right: 25px;
}
.company-description-right {
    margin-left: 25px;
    margin-right: 25px;
    width: 550px;
}
.description-text {
    margin-top: 40px;
    margin-bottom: 35px;
}
.description-image {
    width: 550px;
    height: 336px;
    overflow: hidden; /* Обрезает все, что выходит за границы контейнера */
    position: relative;
}
.description-image img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* Сохраняет пропорции изображения */
    transition: transform 0.3s ease; /* Плавное увеличение */
}

.description-image img:hover{
    transform: scale(1.1); /* Увеличиваем изображение на 10% */
}
.description-text {
    font-family: Montserrat, sans-serif;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: inherit;
}
.company-description-right {
    font-family: Montserrat, sans-serif;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: left;
}
.detail-description {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.detail-description-section-head {
    margin-top: 75px;
    margin-bottom: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.detail-description-company-name {
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    font-style: normal;
}
.detail-description-company-logo-text {
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 4.125rem;
    line-height: 1;
}
.detail-description-content-image {
    margin-bottom: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}
.detail-description-content-image-image {
    margin-left: 30px;
    overflow: hidden; /* Обрезает все, что выходит за границы контейнера */
    position: relative;
    height: 350px;
    width: 700px;
}
.detail-description-content-image-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Сохраняет пропорции изображения */
    transition: transform 0.3s ease; /* Плавное увеличение */
}
.detail-description-content-image-image img:hover {
    transform: scale(1.1); /* Увеличиваем изображение на 10% */
}
.detail-description-content-image-text {
    width: 400px;
    margin-left: 50px;
    margin-right: 25px;
}
.detail-content-text {
    font-family: Montserrat, sans-serif;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: left;
}
.circle-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid #d8a95b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    /* padding: 10px; */
    box-sizing: border-box;
}

.description-first-elements {
    height: 100px;
    position: relative;
}
.description-second-elements {
    height: 100px;
}

.circle-label {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    margin-top: 5px;             /* Отступ от числа */
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
}
.element-1 {
    position: absolute;
    top: 40%;
    left: 15%;
    z-index: 1;
}
.element-2 {
    position: absolute;
    top: 10%;
    right: 13%;
    z-index: 1;
}
.element-3 {
    position: absolute;
    z-index: 2;
    left: 38%;
}
.element-4 {
    position: absolute;
    z-index: 2;
    left: 74%;
}
.circle-number {
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.2;
}
.detail-about {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.detail-about-name span {
    font-weight: 400;
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    font-size: 1.125rem;
    line-height: 1.5;
}
.detail-about-title {
    font-weight: 500;
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    font-size: 4.125rem;
    line-height: 1;
}
.detail-about-description {
    margin-top: 5px;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    width: 1150px;
}
.detail-about-description {
    display: flex;
    flex-direction: column;
    align-content: stretch;
    justify-content: space-evenly;
    align-items: center;
}
.about-products {
    margin-top: 50px;
    padding-top: 10px;
}
.about-products {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-products .product {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.products-table {
    width: 1150px;
}
.products-table td {
    border-bottom: 1px solid #CDCDCD;
}
.products-table tr:last-child td {
    border-bottom: none;
}
.product-title {
    column-width: 299px;
}
.products-table tbody tr td {
    padding: 20px;
}
.product-title {
    font-weight: 700;
}
.product-description {
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 400;
}
.product-link {
    display: flex;
    color: #d3a35a;
}
.product-link:hover {
    cursor: pointer;
    color: rgb(243, 72, 94);
}

.product-link:hover svg path {
    stroke: rgb(243, 72, 94);
}

.section-detail-about {
    margin-bottom: 70px;
}
.product-list-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}
.list-items {
    overflow: hidden;
}
.list-items .product-img {
    padding: 30px;
    width: 575px;
    height: 350px;
}
.product-list-wrapper .list-items {
    display: flex;
    justify-content: space-between;
    width: 1150px;
    height: 350px;
    background-color: white;
    margin-top: 10px;
    margin-bottom: 10px;
}
.list-items .product-img {
    transition: transform 0.3s ease; /* Плавность анимации */
}
.list-items .product-img:hover {
    transform: scale(1.05); /* Увеличение на 5% */
}
.list-items .product-description {
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.order-price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 40px;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.37;
}
.price {
    font-size: 16px;
    line-height: 1.5;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}
.item-name {
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 700;
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
}
.item-description {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    font-family: Montserrat, Helvetica, Arial, sans-serif;
}
.item-list ul, ol{
    margin: 0;
    padding-inline-start: 2ch;
}
.element-text {
    font-size: .75rem;
    line-height: 1.5;
    font-weight: 400;
}
.crystal-m-img-wrapper img {
    width: 500px;
    margin-top: -75px;
}
.quality-lens-section {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-bottom: 70px;
}
.quality-title {
    margin-top: 10px;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: inherit;
    font-family: "Cormorant Garamond",Helvetica,Arial,sans-serif;
}
.first-quality-item {
    border-radius: 50%;
    border: 1px solid #d8a95b;
    display: flex  ;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 70px;
    box-sizing: border-box;
    width: 400px;
    height: 400px;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 400;
}
.first-quality-item .first-quality-item-title {
    font-weight: 400;
    font-size: 6.25rem;
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    text-align: center;
}
.quality-description-wrapper {
    display: flex;
    position: relative;
}
.second-item {
    z-index: 2;
    position: relative;
    right: 25px
}
.first-item, .third-item {
    z-index: 1;
}
.third-item {
    position: relative;
    right: 50px;
}
.footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: black;
}
.footer-map {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 35px;
}
.footer-map-text {
    font-family: Montserrat, Helvetica, Arial, sans-serif;
    margin-bottom: 20px;
    color: white;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    text-align: left;
}
.footer-contacts {
    margin-left: 25px;
    margin-right: 25px;
    color: white;
}
.contact-menu-list {
    list-style-type: none;
    font-size: 1rem;
    line-height: 1.37;
    row-gap: 3px;
}
.contact-menu-list li {
    margin-bottom: 10px;
}
.footer-form {
    width: 500px;
    height: 342px;
    padding: 25px;
    border: 1px solid white;
    display: flex;
    flex-flow: column nowrap;
    position: relative;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
    color: white;
    margin-left: 25px;
    margin-right: 25px;
}
.footer-social-menu {
    margin-top: 20px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
}
.footer-wrapper {
    display: flex;
}
.form-title {
    font-weight: 700;
    font-size: 1.875rem;
    line-height: 1.2;
    text-align: inherit;
}
.form-description {
    font-size: .875rem;
    line-height: 1.37;
    font-weight: 400;
    text-align: inherit;
}
.input-wrapper {
    display: flex;
    gap: 15px;
    align-items: baseline;
}
.user-box {
    width: 130px;
    position: relative;
}
.user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
}
.user-box label {
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .3s ease;
}
.user-box input:focus ~ label,
.user-box input:valid ~ label {
    top: -15px;
    left: 0;
    color: grey;
}

.form-sender {
    display: flex;
}
.form-sender:hover{
    color: rgb(243, 72, 94);
    cursor: pointer;
}
.form-sender span {
    text-decoration: underline;
}

/* Подложка (оверлей) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Само модальное окно */
.modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    padding: 40px;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

/* Кнопка закрытия */
.close-modal-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #777;
}

.close-modal-btn:hover {
    color: #333;
}

/* Стили формы внутри модалки */
.modal h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #45a049;
}

.modal-user-box {
    width: auto;
    position: relative;
}
.modal-user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #000;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #000;
    outline: none;
    background: transparent;
}
.modal-user-box label {
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #000;
    pointer-events: none;
    transition: .3s ease;
}
.modal-user-box input:focus ~ label,
.modal-user-box input:valid ~ label {
    top: -15px;
    left: 0;
    color: grey;
}
.modal-form {
    width: 320px;
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.modal-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.875rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: inherit;
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    margin-top: 10px;
    margin-bottom: 10px;
}
.form-button {
    height: 46px;
    background-color: black;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    line-height: 1.37;
    letter-spacing: 0;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.5s ease;
}
.form-button:hover {
    background-color: #414141;
}
.bottom-arrow {
    display: block;
    position: absolute;
    top: 50%;
    right: 15px;
    width: .6666em;
    height: .4em;
    margin-top: -.2em;
    transition: all .3s ease;
}
.select {
    height: 70px;
    margin-bottom: 20px;
}

.form-select {
    height: 46px;
    width: 320px;
    padding-top: 11px;
    padding-bottom: 11px;
    border: none;
    border-bottom: 1px solid black;
}
.form-select:focus-visible {
    box-shadow: none;
    border-bottom: 1px solid black;
    outline: none;
}
.company-description-text {
    width: 440px;
    display: flex;
    font-size: .875rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: left;
}
.company-description-year {
    font-family: "Cormorant Garamond", Helvetica, Arial, sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}
.company-circle-container {
    display: flex;
    right: -20%;
    top: 44px;
    position: relative;
    border: 1px solid #d8a95b;
    border-radius: 50%;
    padding: 32px;
    z-index: 4;
    flex-direction: column;
}
.company-year-create {
    white-space: nowrap;
}
.video-description {
    margin-top: 20px;
}




















