/*
Theme Name: My Starter Theme
Description: Стартовая тема для доработки
Author: Ваше имя
Version: 1.0
*/

/*
#621d36 - тёмный
#e49e01 - светлый
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'MuseoSansCyrl';
    text-decoration: none;
    /*list-style-type: none;*/
}

/* Light / 300 */
@font-face {
    font-family: 'MuseoSansCyrl';
    src: url('../font/MuseoSansCyrl-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
    /* опционально, для улучшения рендеринга */
}

/* Medium / 500 */
@font-face {
    font-family: 'MuseoSansCyrl';
    src: url('../font/MuseoSansCyrl-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Bold / 700 */
@font-face {
    font-family: 'MuseoSansCyrl';
    src: url('../font/MuseoSansCyrl-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Heavy / 900 */
@font-face {
    font-family: 'MuseoSansCyrl';
    src: url('../font/MuseoSansCyrl-900.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

.no-scroll {
    overflow: hidden;
}

.main-title {
    color: #e49e01;
    font-size: 100px;
    font-weight: 100;
}

h2 {
    font-size: 40px;
    text-align: center;
    padding: 50px 0;
    color: #e49e01;
}

p {
    color: #621d36;
}

.btn {
    padding: 20px;
    margin: 50px auto;
    font-size: 20px;
    border: none;
    background: #e49e01;
    color: #fff;
    box-shadow: 3px 3px 0 #00000075;
    cursor: pointer;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    transition: 0.3s ease;
    /* плавный переход */
    z-index: 1000;
}

.header.scrolled {
    background: #ffffff9d;
    backdrop-filter: blur(10px);
    /* размытие фона позади */
    -webkit-backdrop-filter: blur(10px);
    /* для Safari */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    margin-right: 50px;
}

.navigation,
nav {
    display: flex;
    list-style-type: none;
    align-items: center;
}

.filter-list, .navigation-mobile {
    list-style-type: none;
}

.navigation li {
    margin-right: 20px;
}

.navigation li a {
    font-size: 16px;
    color: #000;
}

.navigation li a:hover {
    color: #e49e01;
}

nav {
    padding: 25px 150px;
    justify-content: space-between;
}

.header-mobile {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    display: flex;
    justify-content: flex-end;
    transition: right 1s, background 1.5s;
}

.header-mobile.active {
    right: 0;
    background: #00000099;
}

.close-mobile {
    position: relative;
    /* для позиционирования линий внутри */
    width: 30px;
    /* размер кнопки */
    height: 30px;
    border: none;
    background: transparent;
    cursor: pointer;
    /* можно добавить отступы, чтобы линии центрировались */
}

.close-mobile {
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-mobile .line1,
.close-mobile .line2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    /* длина линии */
    height: 2px;
    /* толщина линии */
    background-color: #ffffff;
    /* цвет */
    transform-origin: center;
}

.close-mobile .line1 {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-mobile .line2 {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.navigation-mobile {
    padding: 50px;
    width: 400px;
    height: 100%;
    background: #0b0b0bcc;
}

.navigation-mobile li {
    margin-bottom: 15px;
}

.navigation-mobile li a {
    font-size: 25px;
    color: #fff;
}

.navigation-mobile li a:hover {
    font-size: 25px;
    color: #e49e01;
}

section {
    padding: 0 150px;
}

.open-mobile {
    cursor: pointer;
    margin-left: 100px;
    margin-right: 0;
}

.open-mobile span {
    display: block;
    width: 25px;
    height: 3px;
    background: #e49e01;
    box-shadow: 3px 3px 0 #00000075;
    margin-bottom: 5px;
}

.screen {
    width: 100%;
    height: 700px;
    height: 100vh;
    padding-top: 300px;
    text-align: center;
}



.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease-in-out;
}

.slider-item {
    position: relative;
    flex: 0 0 calc(100% / 3);
    height: 500px;
    background: #7f8081;
    justify-content: center;
}

.team-name {
    font-weight: 600;
    font-size: 25px;
    color: #e49e01;
}

.team-line {
    width: 50%;
    height: 3px;
    margin: 5px 0;
    background: #e49e01;
}

.team-work {
    font-weight: 100;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #e49e01;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
}

.slider-btn.prev {
    left: 0px;
}

.slider-btn.next {
    right: 0px;
}

.objekti {
    text-align: center;
}

.objekti-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;   
}

.objekti-item {
    position: relative;
    height: 300px;
    background: #7f8081;
    flex: 0 0 32%;
}

.objekti-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;    
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 10px;
    color: #fff;
    background: #000000cc;
}

.objekti-info .btn {
    padding: 5px;
    margin: 0;
    margin-top: 10px;
    font-size: 15px;
}

/* ===== Footer ===== */
.footer {
    margin-top: 50px;
    background-color: #621d36;
    color: #fff;
    padding: 0;
}

.footer-container {
    margin: 0 auto;
    padding: 50px 150px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    color: #e49e01;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #e49e01;
}

.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    line-height: 1.5;
}

.footer-contacts li span {
    font-size: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: #e49e01;
    margin-bottom: 20px;
}

.footer-description {
    color: #ddd;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s;
    font-weight: 500;
}

.social-links a:hover {
    background-color: #e49e01;
    color: #621d36;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ddd;
    font-size: 14px;
}


.about-wrap {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    padding: 50px 0;
}

.contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info .item {
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 2px;
}

.modal__content {
    margin: 0;
    width: 100%;
    padding: 20px;
    border: 2px solid #e49e01;
    border-radius: 2px;
}

.modal__content p {
    font-size: 25px;
    text-align: center;
    margin-bottom: 20px;
}

.modal__submit.btn {
    margin: 0;
}

.telegram-form input {
    width: 100%;
    outline: none;
    padding: 10px;
    margin-bottom: 10px;
}

.contact-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 10px;
}

#agree-main {
    width: auto;
}

.main-form {
    width: 100%;
}

.filter-list {
    display: flex;
    gap: 20px;
    margin: 25px 0;
}

.filter-item a {
    font-size: 20px;
    color: #000;
}

.filter-item.active a {
    color: #e49e01 !important;
}

.team-single {
    padding: 150px;
    display: flex;
    gap: 50px;
}

.team-single .team-name {
    font-size: 40px;
    color: #e49e01;
}

.team-position {
    margin: 10px 0;
    font-size: 25px;
    text-transform: uppercase;
}

.team-description {
    margin-bottom: 25px;
}

.card-info .btn {
    display: inline-block;
    margin: 0
}

.team-sdelki {
    font-size: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sdelki-num {
    color: #e59d02;
    background: #621d36;
    padding: 10px;
    font-size: 30px;
    border-radius: 100px;
}

.description-title {
    padding: 25px 0;
    text-align: left;
    font-size: 25px;
}

.team-photo {
    min-width: 50%;
    min-height: 100%;
}

.doki-wrap {
    display: flex;
    justify-content: space-between;
}

.doki-item {
    width: 30%;
    height: 400px;
}

.slogan {
    font-size: 40px;
    font-weight: 900;
    font-family: "Pacifico";
}

/* Адаптивность */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 50px 50px;
    }
}

@media (max-width: 800px) {
    .post-thumbnail img {
        height: 300px;
    }
    
    .slogan {
        font-size: 25px;
    }
    
    .doki-item {
        height: 200px;
    }
    
    .team-photo {
        height: 200px;
    }
    
    .team-single {
        padding: 50px 20px;
        gap: 20px;
        flex-direction: column;
    }
    
    .about-wrap {
        gap: 0;
        justify-content: space-between;
        padding: 50px 0;
        flex-wrap: wrap;
    }
    
    .contact-info .item {
        margin-bottom: 20px;
    }

    section {
        padding: 0 20px;
    }

    .main-title {
        font-size: 40px;
    }

    h2 {
        text-align: left;
    }

    .navigation-mobile {
        width: 100%;
    }

    nav {
        padding: 20px;
    }

    .navigation {
        display: none;
    }

    .objekti-item {
        flex: 0 0 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 30px;
    }
    .footer-col {
        text-align: center;
    }
    .footer-contacts li {
        justify-content: center;
    }
    .social-links {
        justify-content: center;
    }

    .slider-track {
        gap: 0;
    }
    .slider-item {
        flex: 0 0 100%;
    }
}