/*
______________________ШРИФТ__________________________
'Roboto' - основной шрифт из Google Fonts
Arial - запасной шрифт, если Roboto не загрузится
sans-serif - общий тип шрифта (без засечек)

background-image: url(../assets/images/arma_test.png);

<span></span> норм структура
*/

* { /*Выбирает все элементы на странице*/
    margin: 0; /* - внешний отступ элемента*/
    padding: 0; /* - внутренний отступ элемента*/
    box-sizing: border-box; /* - определяет, как рассчитываются размеры элемента*/
}

body { /*Применяет стили ко всей странице*/
    font-family: Arial, sans-serif;
    /*line-height: 1.8;  - межстрочный интервал*/
    color: #F9ECCC; /* - цвет букев*/
    background-color: #131217; /* - цвет фона*/
    
    /*правило 60-30-10
    темный фон - 131217, 1F1D24, 393743
    средний фон - 595D4B, 5C9977
    светлый фон - A4CCB3, F9ECCC*/
    
    padding: 0px;
    max-width: 100%;
    margin: 0 auto;
}

html {
    scroll-behavior: smooth;
}

@font-face {
  font-family: 'DOORS';
  src: url(assets/fonts/Doors_Regular.otf) format('opentype');
  font-weight: 600;
}


@font-face { 
  font-family: 'Westhorn';
  src: url(assets/fonts/Westhorn-Regular.otf) format('opentype');
}

/*___________________СНИЗУ - ШАПКА САЙТА___________________*/

.header {
    background-color: #131217;
    padding: 20px 0 0 0;
    position: relative;
    overflow: hidden;
}

.durak{
    display: flex;
    justify-content: space-between; /* Растягивает элементы по краям */
    align-items: center;  
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.header .log_name {
    display: flex;
}

.name {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    padding-top: 30px;
    max-width: 400px;
}

.name h1 {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

.name :nth-child(1) {
    margin-bottom: 2px;
    font-family: "Westhorn", "Arial", sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
}

.name :nth-child(2) {
    margin-bottom: 15px;
}

.name :nth-child(3) {
    margin-bottom: 15px;
    font-family: "Westhorn", "Arial", sans-serif;
    font-weight: 200;
    letter-spacing: 1.5px;
}

.log_name { /*LLI O K*/
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    flex-shrink: 0;
}

.img{
    width: 200px;
    height: 190px;
    border-radius: 20px;
    object-fit: cover;
}

.name .highlight {
    color: #EDC96E !important;
}

.slogan {
    font-size: 16px;
    color: #b0b0b0;
    position: relative;
    padding-left: 0px;
}

.header_contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-left: 20px;
    flex-shrink: 0;
}


.phone_info {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(30, 28, 36, 0.8);
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(230, 179, 37, 0.1);
}

.phone_info:hover {
    background-color: rgba(40, 38, 46, 0.9);
    border-color: rgba(230, 179, 37, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.phone_details {
    display: flex;
    flex-direction: column;
}

.phone_number {
    font-size: 22px;
    font-weight: 700;
    color: #F9ECCC;
    text-decoration: none;
    transition: color 0.34s ease;
    white-space: nowrap;
}

.phone_number:hover {
    color: #EDC96E;
}

.work_hours {
    display: grid;
    gap: 10px;
    font-size: 13px;
    color: #D9D9D9;
    line-height: 0.6;
    padding-top: 8px;
    font-style: italic;
}


.main_nav {
    background-color: rgba(25, 24, 31, 0.95);
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(230, 179, 37, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-top: 20px; /* Отступ от логотипа и названия */
}

.nav_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav_menu {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav_item {
    position: relative;
}

.nav_item a {
    display: block;
    padding: 20px 80px;
    color: #F9ECCC;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: all 0.34s ease;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
}

.nav_item a:hover {
    color: #F9ECCC;
    background-color: rgba(230, 179, 37, 0.1);
}

.nav_item a.active {
    color: #e6b325;
}

.nav_item a.active:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e6b325;
}

/*___________________СНИЗУ - МЕЙН САЙТА___________________*/

.main div{
    /*border: 1px solid green;*/
    max-width: 1200px;
    margin: 0 auto; 
    background-color: #202127;
}

.info{
    padding: 40px 20px;
}

.section_header{
    text-align: center;
}

.section_header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #F9ECCC;
    margin-bottom: 15px;
    text-transform: uppercase; /*caps*/
    letter-spacing: 1px;
}

.section_header .highlight {
    color: #EDC96E;
    font-weight: 700;
}

.section_header .subtitle {
    font-size: 17px;
    color: #b0b0b0;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 14px;
    padding-bottom: 40px;
    line-height: 1.6;
}

.divider { /*line under name*/
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #EDC96E, #EDC96E);
    /*margin: 20px auto;*/
    border-radius: 2px;
}

.content_container {
    padding: 0px 0px 30px 0px;
    display: grid;
    grid-template-columns: 1fr; /*two colums on page*/
    gap: 30px; /*distance between colums*/
    line-height: 1.6;
}

.info_card {
    border-radius: 12px;
    width: 100%;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.34s ease, box-shadow 0.34s ease;
    border-left: 4px solid #EDC96E;
}

.info_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.info_card h3 {
    color: #EDC96E;
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info_card h3 i { /*?*/
    font-size: 14px;
}

.info_card p {
    color: #F9ECCC;
    margin-bottom: 15px;
}

.expertise_list {
    list-style-type: none;
    margin-top: 15px;
}

.expertise_list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #F9ECCC;
}

.expertise_list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #EDC96E;
    font-weight: bold;
}

.quote_box {
    position: relative;
}

.quote_box:before {
    content: "“";
    position: absolute;
    top: -30px;
    right: -10px;
    font-size: 140px;
    color: rgba(230, 179, 37, 0.1);
    font-family: Georgia, serif;
}

.quote_text {
    font-size: 20px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 20px;
    margin-right: 50px;
    position: relative;
    z-index: 1;
}

.quote_author {
    color: #e6b325;
    font-weight: 540;
    text-align: right;
    font-size: 18px;
    position: relative;
    z-index: 1;
    bottom: -20px;
}

.stats_container {
    display: grid;
    gap: 80px;
    padding-bottom: 20px;
    width: 100%;
}

@media (max-width: 991px) {
    .stats_container {
        grid-template-columns: 1fr;
        max-width: 500px; 
        margin: 0 auto; 
    }
}

@media (min-width: 992px) {
    .stats_container {
        grid-template-columns: repeat(3, 1fr);
    }
}
.stat_item {
    text-align: center;
    padding: 25px 100px;
    border-radius: 12px;
    transition: transform 0.34s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    background-color: #25262D !important;
}

.stat_item:hover {
    transform: translateY(-5px);
}

.stat_number {
    font-size: 50px;
    font-weight: 800;
    color: #EDC96E;
    margin-bottom: 10px !important;
    background-color: #25262D !important;
}

.stat_label {
    font-size: 15px;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #25262D !important;
}

/*--------- СНИЗУ - НАШИ УСЛУГИ ------------------*/

.services_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /*grid-template-columns: 1fr 1fr 1fr;*/
    gap: 30px;
    margin-bottom: 60px;
    padding-bottom: 60px;
}

.service_card {
    background-color: #151b2b;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #EDC96E;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.service_icon {
    margin-bottom: 20px;
    text-align: center;
}

.service_title {
    color: #EDC96E;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.service_subtitle {
    color: #b0b0b0;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
    font-size: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #EDC96E;
}

.service_list {
    list-style-type: none;
    margin-top: 10px;
    flex-grow: 1;
}

.service_list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: #d0d0d0;
}

.service_list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #EDC96E;
    font-size: 18px;
    line-height: 1;
}

.service_tag {
    display: inline-block;
    background-color: rgba(230, 179, 37, 0.1);
    color: #EDC96E;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
    margin-top: 20px;
    align-self: flex-start;
}

/*---------------------- СНИЗУ - ПОРТФОЛИО -----------------------*/

.portfolio_container {
    padding-left: 20px;
    padding-right: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding-bottom: 60px;
}

.portfolio_item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.34s ease, box-shadow 0.34s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.portfolio_image {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-bottom: 3px solid #EDC96E;
}

.portfolio_content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.portfolio_category {
    color: #EDC96E;
    font-size: 0.9rem;
    font-weight: 550;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px !important;
}

.portfolio_description {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/*___________________СНИЗУ - ФУТЕР САЙТА___________________*/

.footer {
    background-color: #202127;
    color: #F9ECCC;
    box-shadow: 0 -5px 20px 0px rgba(0, 0, 0, 0.4);     
    max-width: 100%;     
    margin: 0 auto;
}

.footer_container {
    max-width: 90%;
    margin: 0 auto;
    padding: 30px 70px;
    display: grid;
    gap: 40px;
    position: relative;
}

.ispr{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(580px, 1fr));
    
}

.logo_container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.brand_text{
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    flex-grow: 1;
}

.brand_text .highlight {
    color: #EDC96E;
}

.brand_text h1{
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
    line-height: 1;
}

.brand_text :nth-child(1){
    margin-bottom: 2px;
    font-family: "Westhorn", "Arial", sans-serif;
    font-weight: 400;
    letter-spacing: 3px;
}

.brand_text :nth-child(2){
    margin-bottom: 15px;
}

.brand_text :nth-child(3){
    margin-bottom: 15px;
    font-family: "Westhorn", "Arial", sans-serif;
    font-weight: 200;
    letter-spacing: 1.5px;
}

.company_tagline{
    font-size: 16px;
    color: #b0b0b0;
    position: relative;
    padding-left: 0px;
}

.company_description {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #D9D9D9;
    font-size: 15px;
    width: 70%;
}

.footer_contacts .contacts_title {
    font-family: Arial, sans-serif;
    font-size: 28px;
    color: #F9ECCC;
    margin-bottom: 20px; /*Внешний отступ*/
    position: relative;
    padding-bottom: 10px; /*Внутренний отступ*/
    padding-top: 36px;
}

.contacts_title::after { /*Черта злоебучая*/
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 3px;
    background-color: #393743;
}

.contact_info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact_item {
    display: flex;
    align-items: flex-start;
    background-color: #393743;
    padding: 16px;
    border-radius: 12px;
    transition: all 0.34s ease;
}

.contact_item:hover { /*При наведении курсора*/
    background-color: #35323D;
    transform: translateY(-5px);
}

.contact_icon {
    background-color: #35323D;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.img_mini{
    width: 30px;
    height: 30px;
}

.contact_details{
    flex: 1;
}

.contact_details h4 {
    font-family: Arial, sans-serif;
    font-size: 22px;
    color: #D9D9D9;
    margin-bottom: 6px;
}

.contact_link {
    display: block;
    color: #F9ECCC;
    text-decoration: none;
    font-size: 16px;
    width: auto;
    margin-bottom: 8px;
    transition: color 0.34s ease;
    word-break: break-all;
}

.contact_link:hover {
    color: white;
    text-decoration: underline;
}

.contact_note {
    font-size: 13.5px;
    color: #b0b0b0;
    font-style: italic;
    margin-top: 6px;
}

.footer_bottom {
    text-align: center;
    color: #b0b0b0;
    font-size: 15px;
    padding-top: 20px;
    border-top: 3px solid #35323D;
    width: 80%;
    margin: 0 auto;
}


@media (max-width: 1024px) {
    .durak {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
            
    .header_contacts {
        align-items: flex-start;
        margin-left: 0;
        width: 100%;
    }
            
    .phone_info {
        width: 100%;
        justify-content: flex-start;
    }
            
    .nav_item a {
        padding: 18px 30px;
        font-size: 16px;
    }




    .footer_container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 40px;
    }
    
    .footer_contacts .contacts_title {
        padding-top: 0;
    }

    .footer_bottom {
        padding: 20px 40px 0;
    }
}

@media (max-width: 768px) {
    .name h1 {
        font-size: 36px;
    }
            
    .slogan {
        font-size: 14px;
    }
            
    .phone_number {
        font-size: 20px;
    }
            
    .work_hours {
        font-size: 12px;
    }
            
    .img {
        width: 180px;
        height: 170px;
    }
            
    .nav_menu {
        justify-content: space-around;
    }
            
    .nav_item a {
        padding: 15px 20px;
        font-size: 15px;
    }



    .footer_container {
        padding: 25px 20px;
        gap: 25px;
    }
    
    .company_description {
        width: 100%;
    }

    .footer_bottom {
        padding: 20px 20px 0;
    }
}


        
@media (max-width: 576px) {
    .durak {
        padding: 0 15px;
    }
            
    .log_name {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
            
    .name {
        margin-left: 0;
        margin-top: 15px;
        align-items: center;
    }
            
    .name h1 {
        font-size: 28px;
        text-align: center;
    }
            
    .name :nth-child(1) {
        letter-spacing: 2px;
    }
            
    .slogan {
        text-align: center;
        font-size: 13px;
    }
            
    .img {
        width: 180px;
        height: 170px;
    }
            
    .header_contacts {
        align-items: center;
        width: 100%;
    }
            
    .phone_info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
        width: 100%;
    }
            
    .phone_details {
        align-items: center;
    }
            
    .phone_number {
        font-size: 20px;
        text-align: center;
    }
            
    .work_hours {
        text-align: center;
    }
            
    .nav_container {
        padding: 0 10px;
    }
            
    .nav_menu {
        flex-direction: column;
        align-items: center;
    }
            
    .nav_item {
        width: 100%;
    }
            
    .nav_item a {
        width: 100%;
        padding: 15px;
        font-size: 16px;
    }
    .logo_container{
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }


}

@media (max-width: 480px) {
    .footer_container {
        padding: 20px 15px;
        gap: 20px;
    }

    .footer_bottom {
        padding: 15px 15px 0;
    }

    .logo_container{
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 10px 0 0 0;
    }
            
    .img {
        width: 140px;
        height: 130px;
    }
            
    .name h1 {
        font-size: 24px;
    }
            
    .nav_item a {
        padding: 10px 20px;
    }
            
    .main_nav {
        margin-top: 10px;
    }


}