/* ===== Общие стили ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #222;
    background: #fff;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    z-index: 100;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    gap: 6px;
}
.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav a {
    color: #222;
    text-decoration: none;
    transition: 0.3s;
}
.nav a:hover, .nav a.active {
    color: #a26a2b;
}
.phone {
    color: #000;
    font-weight: 600;
}
.burger {
    display: none;
    cursor: pointer;
    font-size: 22px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background: url('gabions.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: left;
    padding: 0 20px;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}
.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 20px;
}
.btn {
    background: #a26a2b;
    color: #fff;
    border: none;
    padding: 12px 26px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover {
    background: #8a541c;
}
.btn-dark {
    background: #000;
}
.btn-dark:hover {
    background: #222;
}

/* ===== ABOUT ===== */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px 0;
}
.about__inner img {
    width: 100%;
    border-radius: 8px;
}
.about__text h2 {
    margin-bottom: 16px;
}
.about__text p {
    margin-bottom: 20px;
}

/* ===== WHY ===== */
.why {
    padding: 80px 0;
    text-align: center;
}
.why h2 {
    margin-bottom: 40px;
}
.why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.why__item h3 {
    color: #a26a2b;
    margin-bottom: 10px;
}

/* ===== SERVICES ===== */
.services {
    background: #f8f8f8;
    padding: 80px 0;
    text-align: center;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}
.service__item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.service__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.service__item span {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: 600;
    color: #fff;
    font-size: 20px;
}
.service__item:hover img {
    transform: scale(1.05);
}

/* ===== CONTACT ===== */
.contact {
    background: #111;
    color: #fff;
    padding: 80px 0;
}
.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact__form textarea,
.contact__form input {
    padding: 12px;
    border-radius: 4px;
    border: none;
    background: #222;
    color: #fff;
    font-size: 16px;
}
.contact__form textarea {
    resize: vertical;
    height: 120px;
}

/* ===== FOOTER ===== */
.footer {
    background: #000;
    color: #bbb;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 960px) {
    .about__inner, .contact__inner {
        grid-template-columns: 1fr;
    }
    .why__grid {
        grid-template-columns: 1fr 1fr;
    }
    .services__grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 700px) {
    .burger { display: block; }
    .nav {
        position: absolute;
        top: 70px; right: 0;
        background: #fff;
        flex-direction: column;
        width: 200px;
        display: none;
        border-left: 1px solid #eee;
    }
    .nav.open { display: flex; }
}
/* ===== PROJECTS ===== */
.projects {
    padding: 80px 0;
    background: #fff;
}
.projects h2 {
    text-align: center;
    margin-bottom: 40px;
}
.projects__scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}
.projects__scroll::-webkit-scrollbar {
    height: 8px;
}
.projects__scroll::-webkit-scrollbar-thumb {
    background: #a26a2b;
    border-radius: 4px;
}
.project__card {
    flex: 0 0 340px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.project__card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: 0.4s;
}
.project__card:hover img {
    transform: scale(1.05);
}
.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 10px 14px;
    font-weight: 500;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-btn img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}
@media (max-width: 600px) {
    .whatsapp-btn {
        width: 75px;
        height: 75px;
        bottom: 38px;
        right: 18px;
    }
}
