/*
Theme Name: ARMADA Construction
Author: ARMADA Team
Description: Профессиональная тема для строительной компании. Чистый код, высокая производительность.
Version: 1.0
*/

:root {
    --dark-bg: #1c1c1c;       /* Глубокий антрацит */
    --gold: #d4af37;          /* Классическое золото */
    --gold-hover: #f1c40f;    /* Яркое золото при наведении */
    --light-text: #e0e0e0;    /* Светло-серый текст */
    --white: #ffffff;
    --container: 1200px;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
}

h1, h2, h3, .logo {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 15px;
}

/* Глобальный отступ для всех секций */
.section-padding {
    padding: 100px 0;
}

/* На мобильных устройствах отступ можно немного уменьшить, чтобы не было гигантских дыр */
@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* Шапка */
.main-header {
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: rgba(28, 28, 28, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    letter-spacing: 2px;
}

.gold { color: var(--gold); }

.nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    color: var(--white);
    font-size: 14px;
    transition: 0.3s;
}

.nav-list a:hover { color: var(--gold); }

.btn-gold {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-gold:hover {
    background: var(--gold);
    color: var(--dark-bg);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.lang-switcher {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 12px;
    text-transform: uppercase;
}

.lang-switcher li a {
    text-decoration: none;
    color: var(--light-text);
    opacity: 0.6;
}

.lang-switcher li.current-lang a {
    color: var(--gold);
    opacity: 1;
    font-weight: bold;
}

.phone {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
    height: 85vh; /* Высота на 85% экрана */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(28,28,28,0.9) 0%, rgba(28,28,28,0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 35px;
    color: var(--light-text);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-bg);
}

.btn-gold {
    text-decoration: none;
    display: inline-block;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero-title { font-size: 32px; }
    .hero-actions { flex-direction: column; }
}

/* ==========================================================================
   SERVICES SECTION (Блок услуг)
   ========================================================================== */
.services {
    background-color: #151515; /* Чуть темнее основного фона для контраста */
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-bg);
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--white);
}

.service-card p {
    font-size: 14px;
    color: #999;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 5px;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-icon i {
    font-size: 30px;
    color: var(--gold);
}

/* ==========================================================================
   SECTION: ADVANTAGES (Premium Style)
   ========================================================================== */
.advantages {
    background-color: #0d0d0d; /* Глубокий черный */
    position: relative;
}

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

.adv-card {
    background: #161616;
    padding: 45px 30px;
    border: 1px solid #222;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Эффект свечения при наведении */
.adv-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.adv-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.adv-card:hover::before {
    opacity: 1;
}

/* Иконки */
.adv-card i {
    font-size: 48px;
    color: var(--gold);
    display: block;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.adv-card:hover i {
    transform: scale(1.1);
}

/* Заголовки и текст */
.adv-card h4 {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.adv-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #999; /* Приглушенный цвет для баланса */
    margin-bottom: 0;
}

/* Маленькая золотая полоска снизу */
.adv-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.adv-card:hover::after {
    width: 100%;
}

/* Адаптивность */
@media (max-width: 768px) {
    .adv-card {
        padding: 30px 20px;
        text-align: center;
    }
}


/* ==========================================================================
   SECTION: CASE STUDIES (Portfolio)
   ========================================================================== */


.projects-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.4s;
}

.case-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.case-image {
    position: relative;
    height: 250px;
}

.case-image img { width: 100%; height: 100%; object-fit: cover; }

.case-badge {
    position: absolute; top: 20px; right: 20px;
    background: var(--gold); color: #000;
    padding: 5px 15px; font-weight: bold; font-size: 12px;
    text-transform: uppercase; border-radius: 4px;
}

.case-body { padding: 30px; }

.case-body h3 { 
    font-size: 22px; color: #fff; margin-bottom: 20px; 
    font-family: 'Montserrat', sans-serif;
}

.case-meta {
    display: flex; flex-wrap: wrap; gap: 15px;
    border-bottom: 1px solid #222; padding-bottom: 20px; margin-bottom: 20px;
}

.meta-item {
    display: flex; align-items: center; color: #999; font-size: 13px;
}

.meta-item i { color: var(--gold); margin-right: 8px; font-size: 16px; }

.case-footer {
    display: flex; justify-content: space-between; align-items: center;
}

.case-price {
    font-size: 18px; font-weight: bold; color: var(--gold);
}

.case-link {
    color: #fff; text-decoration: none; font-size: 14px; 
    border-bottom: 1px solid transparent; transition: 0.3s;
}

.case-link:hover { border-color: var(--gold); color: var(--gold); }

.mt-50 { margin-top: 50px; }

/* Single Project Page */
.project-single { padding: 60px 0; }
.project-header { margin-bottom: 40px; border-bottom: 1px solid #333; padding-bottom: 20px; }
.project-meta-grid { 
    display: flex; 
    gap: 40px; 
    margin-top: 20px; 
    color: var(--light-text);
    font-size: 16px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* По 2 фото в ряд */
    gap: 20px;
    margin-top: 50px;
}

.gallery-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 1px solid #333;
}

@media (max-width: 768px) {
    .project-gallery-grid { grid-template-columns: 1fr; }
    .project-meta-grid { flex-direction: column; gap: 10px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background: #111;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about p { font-size: 14px; color: #777; max-width: 300px; }
.footer-contacts h4, .footer-social h4 { color: var(--gold); margin-bottom: 20px; font-size: 16px; }
.footer-contacts p { font-size: 14px; margin-bottom: 10px; }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #222;
    font-size: 12px;
    color: #555;
}


/* ==========================================================================
   CONTACTS & FORMS
   ========================================================================== */
.contact-section { padding: 80px 0; }
.wpcf7-form {
    background: #1c1c1c;
    padding: 40px;
    border: 1px solid var(--gold);
}
.wpcf7-form input, .wpcf7-form textarea {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
    margin-bottom: 20px;
    font-family: inherit;
}
.wpcf7-submit {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 15px 40px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}
.wpcf7-submit:hover {
    background: #fff;
}

/* ==========================================================================
   CONTACT PAGE STYLES
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.info-box {
    margin-bottom: 30px;
    background: #1c1c1c;
    padding: 25px;
    border-left: 3px solid var(--gold);
}

.info-box h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.info-box p, .info-box a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   RESPONSIVENESS & MOBILE MENU
   ========================================================================== */

/* Стили кнопки бургер */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s linear;
}

@media (max-width: 992px) {
    .mobile-menu-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 250px;
        background: #111;
        flex-direction: column;
        align-items: center;
        padding-top: 100px;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-menu.active { right: 0; }
    
    .nav-menu li { margin: 20px 0; }

    /* Сетки на мобилках */
    .services-grid, .projects-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SINGLE SERVICE STYLES
   ========================================================================= */
.service-hero {
    height: 400px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin-bottom: 60px;
}

.service-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    padding-bottom: 100px;
}

.service-content {
    line-height: 1.8;
    color: #ccc;
}

.service-sidebar .cta-box {
    background: #1c1c1c;
    padding: 30px;
    border: 1px solid var(--gold);
    text-align: center;
}

.service-sidebar h3 { margin-bottom: 15px; color: var(--gold); }

.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: #000;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .service-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION: STEPS
   ========================================================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

.step-item {
    position: relative;
    padding-left: 20px;
}

/* Номер шага */
.step-number {
    font-size: 60px;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.1); /* Прозрачное золото на фоне */
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    position: absolute;
    top: -20px;
    left: 0;
    z-index: 0;
    transition: 0.3s;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-item h4 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-text {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

/* Эффект при наведении */
.step-item:hover .step-number {
    color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .step-number {
        font-size: 50px;
    }
}



/* ==========================================================================
   SECTION: FAQ
   ========================================================================== */
.faq-container { max-width: 800px; margin: 50px auto 0; }

.faq-item {
    background: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 15px;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.faq-question h4 { margin: 0; font-size: 18px; color: #fff; }

.faq-icon {
    color: var(--gold);
    font-size: 24px;
    font-weight: 300;
    transition: 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: #111;
}

.faq-answer-content { padding: 0 30px 25px; color: #ccc; line-height: 1.6; }

/* Состояние при открытии */
.faq-item.active .faq-answer { max-height: 1000px; transition: max-height 1s ease-in-out; }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-item.active .faq-question { background: #222; }

/* Статистика на странице про компанию */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-number { display: block; font-size: 48px; color: var(--gold); font-weight: bold; }
.stat-label { color: #fff; text-transform: uppercase; letter-spacing: 1px; }

/* Стили для отзывов */
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.guarantee-item { display: flex; gap: 20px; margin-bottom: 30px; }
.guarantee-item i { color: var(--gold); font-size: 32px; }
.guarantee-item h4 { color: #fff; margin-bottom: 5px; }

.review-card { background: #1a1a1a; padding: 30px; border-radius: 8px; margin-bottom: 20px; border-left: 3px solid var(--gold); }
.review-text { font-style: italic; color: #ccc; margin-bottom: 15px; }
.review-author { display: flex; justify-content: space-between; align-items: center; }
.rating { color: var(--gold); }

@media (max-width: 992px) { .reviews-grid { grid-template-columns: 1fr; } }