/*
Theme Name: Материалы и технологии
Theme URI: https://mt-tek.kz
Author: Azamat
Author URI: https://mt-tek.kz
Description: Тема для компании Материалы и технологии
Version: 1.0
License: GNU
Text Domain: mt-road
*/
:root {
  --sidebar-width: 300px;
  --header-height: 82px;

  --blue: #0d2c63;
  --blue-dark: #081f45;
  --red: #e31d24;
  --white: #fff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #111;
  background: #ffffff;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 100px;
  padding: 0 20px;
}

/* ===========================
   HEADER
=========================== */

.header {
  top: 0;
  left: 0;
  right: var(--sidebar-width);

  height: var(--header-height);

  background: #fff;

  z-index: 1000;

  display: flex;
  align-items: center;

  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header__container {
  width: 100%;

  max-width: 1200px;

  margin: 0 100px;

  /* padding: 0 55px; */

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.header__logo {
  display: flex;

  align-items: center;
}

.header__logo img {
  width: 120px;

  height: auto;

  display: block;
}

.header__menu {
  display: flex;

  gap: 35px;

  margin-left: auto;
}

.header__menu a {
  font-size: 15px;

  color: #222;

  transition: 0.3s;
}

.header__menu a:hover {
  color: #d60000;
}

.header__contacts {
  text-align: right;
}

.header__phone {
  font-size: 23px;

  font-weight: 700;

  color: #111;
}

.header__time {
  margin-top: 8px;

  color: #666;

  font-size: 18px;
}

.header__button {
  padding: 14px 28px;

  background: #d60000;

  color: white;

  border-radius: 6px;

  font-weight: 600;

  transition: 0.3s;
}

.header__button:hover {
  background: #b70000;
}
.menu {
  display: flex;

  align-items: center;

  gap: 20px;

  list-style: none;

  margin: 0;

  padding: 0;
}

.menu li {
  list-style: none;
}

.menu a {
  color: #111;

  text-decoration: none;

  font-weight: 500;

  transition: 0.3s;
}

.menu a:hover {
  color: #d50000;
}

.sidebar {
  position: fixed;

  top: 0;

  right: 0;

  width: var(--sidebar-width);

  height: 100vh;

  background: linear-gradient(180deg, #0d2c63, #081f45);

  z-index: 1200;

  display: flex;

  flex-direction: column;
}

.sidebar__header {
  height: 110px;

  display: flex;

  align-items: center;

  padding: 0 35px;

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar__toggle {
  display: flex;

  align-items: center;

  gap: 20px;

  background: none;

  border: none;

  color: #fff;

  font-size: 22px;

  font-weight: 700;

  cursor: pointer;
}
.sidebar__burger {
  font-size: 34px;
}

.sidebar__menu {
  list-style: none;

  margin: 0;

  padding: 0;
}

.sidebar__menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.sidebar__menu a {
  height: 96px;

  display: flex;

  align-items: center;

  gap: 22px;

  padding: 0 34px;

  color: #fff;

  text-decoration: none;

  font-size: 18px;

  font-weight: 600;
}
.sidebar__menu a:hover {
  background: rgba(255, 255, 255, 0.05);
}
.current-menu-item > a {
  color: #fff;

  background: rgba(255, 255, 255, 0.06);
}

.sidebar__button {
  background: #e31d24;

  color: #fff;

  text-decoration: none;

  border-radius: 5px;

  font-size: 16px;

  font-weight: 700;
  padding: 18px 20px;
}
.site-content {
  margin-right: var(--sidebar-width);

  padding-top: var(--header-height);

  min-height: 100vh;
}

.sidebar__menu a::before {
  content: "";

  width: 40px;

  height: 40px;

  flex-shrink: 0;

  background-repeat: no-repeat;

  background-position: center;

  background-size: contain;
}

.icon-home > a::before {
  background-image: url("../images/menu/home.svg");
}
.icon-service > a::before {
  background-image: url("../images/menu/service.svg");
}
.icon-briefcase > a::before {
  background-image: url("../images/menu/briefcase.svg");
}
.icon-box > a::before {
  background-image: url("../images/menu/box.svg");
}
.icon-news > a::before {
  background-image: url("../images/menu/news.svg");
}
.icon-phone > a::before {
  background-image: url("../images/menu/phone.svg");
}
.sidebar__button > a::before {
  background-image: url("../images/menu/document.svg");
}
.icon-company > a::before {
  background-image: url("../images/menu/company.svg");
}

/*==================================
            HERO
==================================*/

.hero {
  position: relative;

  overflow: hidden;

  background: #f4f7fb;

  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  background-image: url(../images/bg_hero.png);
  background-size: cover;
  background-position: center;
}

.hero__bg {
  position: absolute;

  right: -200px;

  top: -120px;

  width: 900px;

  height: 900px;

  background: #0f5fa8;

  transform: rotate(45deg);

  border-radius: 80px;
}

.hero__container {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;

  justify-content: space-between;
  flex: 1;
}

.hero__left {
  width: 48%;
}

.hero__tag {
  display: inline-block;

  padding: 10px 18px;

  background: #d60000;

  color: #fff;

  border-radius: 50px;

  margin-bottom: 30px;

  font-size: 14px;

  font-weight: 600;
}

.hero h1 {
  font-size: 64px;

  line-height: 1.1;

  margin-bottom: 25px;

  color: #222;
}

.hero p {
  font-size: 20px;

  color: #666;

  line-height: 1.7;

  margin-bottom: 45px;
}

.hero__buttons {
  display: flex;

  gap: 20px;
}

.btn-red {
  background: #d60000;

  color: #fff;

  padding: 18px 34px;

  border-radius: 6px;
}

.btn-white {
  border: 2px solid #0f5fa8;

  color: #0f5fa8;

  padding: 18px 34px;

  border-radius: 6px;
}

.hero__right {
  width: 50%;

  display: flex;

  justify-content: flex-end;
}

.hero__right img {
  width: 700px;
}

.hero-bottom {
  background: #1b1b1b;
  color: #fff;
  padding: 40px 0;
}

.hero-bottom__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.hero-bottom__item {
  text-align: center;
}

.hero-bottom__item span {
  display: block;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-bottom__item p {
  color: #cfcfcf;
  font-size: 16px;
}
.hero-features {
  display: flex;
  background: #07121f;
  color: #fff;
}

.hero-features__item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 34px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-features__item:last-child {
  border-right: none;
}

.hero-features__item img {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.hero-features__item h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.hero-features__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

/*==========================
ABOUT
==========================*/

.about {
  padding: 50px 0;
}

.about__container {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 80px;
}

.about__left {
  width: 45%;
}

.about__right {
  width: 55%;

  position: relative;
}

.section-line {
  display: block;

  width: 55px;

  height: 4px;

  background: #d50000;

  margin-bottom: 20px;
}

.section-title {
  font-size: 48px;

  margin-bottom: 25px;

  color: #202020;
}

.section-text {
  font-size: 18px;

  color: #666;

  line-height: 1.8;

  margin-bottom: 45px;
}

.about__advantages {
  display: flex;

  flex-direction: column;

  gap: 28px;
}

.about-item {
  display: flex;

  align-items: flex-start;

  gap: 18px;
}

.about-item__icon {
  width: 48px;

  height: 48px;

  border-radius: 50%;

  background: #0f5fa8;

  color: white;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 22px;

  flex-shrink: 0;
}

.about-item h4 {
  font-size: 20px;

  margin-bottom: 8px;
}

.about-item p {
  color: #777;

  line-height: 1.6;
}

.about__image {
  border-radius: 18px;

  overflow: hidden;

  position: relative;
}

.about__image img {
  width: 100%;

  display: block;
}

/*==========================
PRODUCTS
==========================*/

.products {
  padding: 50px 0;

  background: #fafafa;
}

.products__grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
}

.product-card {
  position: relative;

  overflow: hidden;

  border-radius: 18px;

  min-height: 360px;

  display: flex;

  justify-content: space-between;

  transition: 0.3s;

  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-card--blue {
  background: #0f5fa8;

  color: white;
}

.product-card--dark {
  background: #181818;

  color: white;
}

.product-card__content {
  padding: 45px;

  width: 50%;
}

.product-card h3 {
  font-size: 34px;

  margin-bottom: 20px;
}

.product-card p {
  line-height: 1.8;

  margin-bottom: 30px;
}

.product-card a {
  color: white;

  font-weight: 600;
}

.product-card img {
  width: 260px;

  align-self: flex-end;

  margin-right: 25px;
}

/*==========================
SERVICES
==========================*/

.services {
  padding: 50px 0;
}

.services__container {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 80px;
}

.services__left {
  width: 42%;
}

.services__right {
  width: 58%;
}

.services-list {
  display: flex;

  flex-direction: column;

  gap: 28px;
}

.service-item {
  display: flex;

  gap: 20px;

  align-items: flex-start;
}

.service-icon {
  width: 60px;

  height: 60px;

  border-radius: 50%;

  background: #0f5fa8;

  display: flex;

  justify-content: center;

  align-items: center;

  flex-shrink: 0;
}

.service-icon img {
  width: 26px;
}

.service-item h4 {
  margin-bottom: 8px;

  font-size: 20px;
}

.service-item p {
  color: #666;

  line-height: 1.7;
}

.services-image {
  border-radius: 18px;

  overflow: hidden;
}

.services-image img {
  width: 100%;

  display: block;
}

/*================================
            PROJECTS
================================*/

.projects {
  padding: 50px 0;

  background: #fafafa;
}

.projects__grid {
  margin-top: 50px;

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.project-card {
  display: block;

  border-radius: 14px;

  overflow: hidden;

  background: white;

  transition: 0.35s;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card img {
  width: 100%;

  height: 220px;

  object-fit: cover;
}

.project-card__title {
  padding: 18px;

  font-weight: 600;

  font-size: 18px;
}

.projects-more {
  display: flex;

  justify-content: center;

  align-items: center;
}

.btn-projects {
  display: flex;

  justify-content: center;

  align-items: center;

  width: 100%;

  height: 100%;

  min-height: 280px;

  background: #0f5fa8;

  color: white;

  border-radius: 14px;

  font-size: 20px;

  font-weight: 600;

  transition: 0.3s;
}

.btn-projects:hover {
  background: #0b4f8e;
}

/*==========================
NEWS
==========================*/

.news {
  padding: 50px 0;
  height: 100vh;
}

.news__header {
  display: flex;

  justify-content: space-between;

  align-items: flex-end;

  margin-bottom: 50px;
}

.news__all {
  color: #d50000;

  font-weight: 600;
}

.news__grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.news-card {
  background: white;

  border-radius: 18px;

  overflow: hidden;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-8px);
}

.news-card img {
  width: 100%;

  height: 240px;

  object-fit: cover;
}

.news-card__content {
  padding: 28px;
}

.news-date {
  color: #d50000;

  font-size: 14px;

  font-weight: 600;
}

.news-card h3 {
  margin: 18px 0;

  font-size: 24px;

  line-height: 1.4;
}

.news-card p {
  color: #666;

  line-height: 1.7;
}

/*==========================
CONTACTS
==========================*/

.contact__block{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.contacts {
  padding: 50px 0;

  background: #f8f8f8;
  height: 100vh;
}

.contacts__wrapper {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;
}

.contact-item {
  margin-top: 30px;
}

.contact-item h4 {
  margin-bottom: 8px;

  font-size: 18px;
}

.contact-item a,
.contact-item p {
  color: #666;

  line-height: 1.7;
}

.contacts__form {
  background: white;

  padding: 40px;

  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contacts__form form {
  display: flex;

  flex-direction: column;

  gap: 18px;
}

.contacts__form input,
.contacts__form textarea {
  width: 100%;

  padding: 16px;

  border: 1px solid #ddd;

  border-radius: 8px;

  font-size: 16px;

  outline: none;
}

.contacts__form textarea {
  min-height: 160px;

  resize: vertical;
}

.contacts__form button {
  background: #d50000;

  color: white;

  border: none;

  padding: 16px;

  border-radius: 8px;

  cursor: pointer;

  font-size: 16px;

  font-weight: 600;
}
