/*
Theme Name: Авторская тема
Description: Тема сайта для Wordpress
Author: Dmitry Kosterin
Author URI: https://dkosterin.ru
License URI: https://dkosterin.ru
Version: 5.1
License: Dmitry Kosterin
Tags: black, white
*/

:root {
  --c: #577086;
  --cl: #4bb2ff;
  --cs: #848484;
  --cw: #ffffff;
  --cb: #05090f;
}

html {
  background: var(--color-w);
  font-size: 17px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

* {
  font-family: "Jost", serif;
}

p {
  color: var(--color-b);
  margin: 10px 0;
}

p a {
  color: var(--color-b);
  text-decoration: none;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  display: inline-block;
  cursor: pointer;
}

p a:hover {
  color: var(--color-b);
  text-decoration: none;
}

p a:after {
  display: block;
  content: "";
  height: 3px;
  width: 0%;
  background-color: var(--color-b);
  transition: width 0.4s ease-in-out;
}

p a:hover:after,
p a:focus:after {
  width: 100%;
}

h1,
h2,
h3 {
  font-family: "Bona Nova SC", serif;
  text-transform: uppercase;
  margin: var(--my) 0;
}

h1 {
  font-size: 3.2rem;
  font-weight: bold;
}

h2 {
  font-size: 2rem;
  text-align: center;
  font-weight: bold;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

hr {
  margin: 1em auto;
  width: 100px;
  color: var(--color-b);
}

iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  margin: 0.5em 0;
}

a {
  color: var(--color-s);
}

/* header */

header {
  color: var(--cw);
  height: 100vh;
  align-items: start;
}

header > section {
  padding-left: var(--mx);
  padding-right: var(--mx);
  margin-bottom: var(--my);
}

.site-title {
  font-size: 2.3rem;
  filter: drop-shadow(1px 1px 1px var(--cb));
  margin: 0;
}

.title-header {
  margin-top: 20px;
  z-index: 5;
}

.title-header div span {
  font-family: "Bona Nova SC", serif;
  text-transform: uppercase;
  filter: drop-shadow(1px 1px 1px var(--cb));
}

.slider-header {
  width: 100vw;
  height: 100vh;
  position: absolute;
  padding: 0 !important;
}

.slider-header img {
  width: 100%;
  height: 100vh;
}

.slider-text {
  position: relative;
  z-index: 5;
  top: -50vh;
  display: block;
  padding: 20px;
  overflow: hidden;
}

.slider-text hr {
  margin: 0 !important;
}

.slider-text p {
  font-size: 1.5rem;
  filter: drop-shadow(1px 1px 1px var(--cb));
}

.slider-text h3 {
  font-size: 3rem;
  color: var(--cw);
  filter: drop-shadow(5px 1px 1px var(--c));
}

.swiper-pagination-progressbar-fill {
  background: var(--c) !important;
}

.custom-logo-link {
  display: flex;
  align-items: center;
  padding-right: 10px;
}

.custom-logo-link img {
  height: 55px;
  width: auto;
  margin-top: 5px;
}

.title-header {
  display: flex;
  align-items: center;
}

.info-header {
  display: flex;
  align-items: center;
  justify-content: right;
  flex-wrap: wrap;
  z-index: 5;
  filter: drop-shadow(1px 1px 1px var(--cb));
}

.info-header p {
  font-size: 1.1rem;
}

.info-header > div {
  display: flex;
  align-items: center;
  justify-content: right;
  margin-left: 20px;
}

.info-header i {
  font-size: 1.5rem;
  padding-right: 10px;
}

.zakaz {
  padding: 20px !important;
  border: 2px solid var(--c);
  display: flex !important;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  font-size: 1.4rem;
  flex-wrap: wrap;
max-width: 300px;
    width: auto !important;
  text-align: center;
	color: var(--cb);
}

/* main */

main {
  margin: 2em 0;
}

blockquote {
  background: var(--color);
  max-width: 500px;
  padding: 5px 20px;
  max-width: fit-content;
  border-radius: 7px;
  margin: auto;
}

blockquote p {
  font-size: 1.4rem;
  list-style: none;
  padding-left: 40px;
  padding-right: 10px;
  background-size: 30px;
  text-transform: uppercase;
}

.advantages div {
  display: flex;
  align-items: center;
}

.advantages strong {
  font-size: 1.3rem;
  line-height: 1.1;
}

.advantages i {
  font-size: 3.2rem;
  color: var(--c);
  padding-right: 20px;
}

.advantages li {
  margin-bottom: 20px;
}

/* breadcrumbs */

.breadcrumbs span {
  color: var(--color);
  margin: 0 15px;
}

/* price */

.slider-photo {
    height: 400px;
	width: 100%;
}

.slider-photo img {
	height: 100%;
}


.swiper-pagination {
  margin-top: 0 !important;
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  background: var(--c) !important;
  width: 12px !important;
  height: 12px !important;
}

.price {
  height: 350px;
}

.price-background {
  background: url(https://top44.ru/wp-content/uploads/2025/03/interer.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
  height: 100%;
  width: 100%;
  position: relative;
  opacity: 0.2;
}

.price-content {
  height: 350px;
  margin-top: -350px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.price strong {
  font-size: 2rem;
  font-family: "Bona Nova SC", serif;
}

.price-text h2 {
  text-align: left;
}

.price button {
  border-radius: 7px;
  font-size: 1.1rem;
  background: none;
  transition: 0.5s all ease;
}

.price button:hover {
  background: var(--cw);
}

.price-button {
  align-items: center;
  display: flex;
  justify-content: right;
}

/* footer */

footer {
  background: var(--cw);
  color: var(--cb);
}

.footer-site {
  text-align: center;
}

footer p {
  color: var(--color-b);
}

footer a {
  color: var(--color-b);
}

.social {
  display: flex;
  justify-content: left;
}

.social a {
  width: 40px;
  height: 40px;
  display: flex;
  font-size: 1.5rem;
  margin: 0.2em;
}

/* menu */

nav {
  align-items: center;
  justify-content: right;
  display: flex;
  z-index: 5;
}

.menu {
  overflow: hidden;
}

.menu li {
  float: left;
  display: block;
  font-weight: bold;
  color: var(--cw);
  text-transform: uppercase;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 17px;
  transition: 0.5s all ease;
}

.menu li:hover {
  background-color: var(--cw);
  color: var(--c);
}

.menu li a.active {
  background-color: var(--c);
  color: var(--cw);
}

nav .hamburger {
  display: none;
}

/* cf7 */

.modal-body {
  background: var(--c);
  padding: 25px;
  border-radius: 10px;
  border: 2px solid var(--cw);
}

.heading {
  color: var(--cw);
}

.card label {
  color: var(--cw);
}

.card input {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    border: none !important;
}

.close svg {
  top: -3px;
  position: relative;
}

.card path {
  fill: var(--cw);
}

.wpcf7-text {
    font-size: 1rem;
    padding: 5px 15px;
    text-transform: none;
}

.wpcf7-textarea {
    font-size: 1rem;
    padding: 10px;
    border-radius: 5px;
}

/* mobile */

@media (max-width: 1400px) {
  .site-title {
    font-size: 1.9rem;
  }

  .info-header p {
    font-size: 1rem;
  }
}

@media (max-width: 1200px) {
  .menu li {
    padding: 8px 7px;
  }
}

@media (max-width: 992px) {
  .title-header {
    text-align: center;
    justify-content: center;
  }

  .info-header {
    text-align: center;
    justify-content: center;
    padding-top: 20px;
  }
 
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }

  .slider-text p {
    font-size: 1.2rem;
  }

  a.pulse {
    right: 40px !important;
    width: 65px !important;
    height: 65px !important;
    bottom: 30px !important;
  }

  a.pulse i {
    font-size: 1.7em !important;
  }

  .price strong {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .price-button {
    text-align: center;
    justify-content: center;
  }

  .price {
    height: 450px;
    text-align: center;
  }

  .price-text h2 {
    text-align: center;
  }

  .price-content {
    height: 450px;
    margin-top: -450px;
  }

  .card input {
    width: 100%;
    padding: 5px;
  }

  .modal-body {
    padding: 15px;
  }

  .menu {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: var(--cb);
    overflow-x: hidden;
    transition: 0.5s;
  }

  .menu.open {
    width: 100%;
  }

  .menu li:not(:first-child) {
    display: none;
  }

  .menu.open {
    position: relative;
  }

  .menu.open li {
    float: none;
    display: block;
    text-align: left;
  }

  .menu.open .hamburger {
    position: absolute;
    right: 0;
    top: 0;
  }

  nav .hamburger {
    float: right;
    display: block;
    position: absolute;
    top: var(--mx);
    right: var(--mx);
  }

  #nav-icon {
    width: 60px;
    height: 45px;
    position: relative;
    transition-duration: 1s;
    margin: 48px auto 12px auto;
    cursor: pointer;
  }

  #nav-icon span {
    height: 6px;
    width: 60px;
    background-color: var(--c);
    border-radius: 20px;
    position: absolute;
    transition-duration: 0.25s;
    transition-delay: 0.25s;
  }

  #nav-icon span:before {
    left: 0;
    position: absolute;
    top: -18px;
    height: 6px;
    width: 60px;
    background-color: var(--c);
    content: "";
    border-radius: 20px;
    transition-duration: 0.25s;
    transition: transform 0.25s, top 0.25s 0.25s;
  }

  #nav-icon span:after {
    left: 0;
    position: absolute;
    top: 18px;
    height: 6px;
    width: 60px;
    background-color: var(--c);
    content: "";
    border-radius: 20px;
    transition-duration: 0.25s;
    transition: transform 0.25s, top 0.25s 0.25s;
  }

  .menu.open #nav-icon span {
    transition-duration: 0.1s;
    transition-delay: 0.25s;
    background: transparent;
  }

  .menu.open #nav-icon span:before {
    transition: top 0.25s, transform 0.25s 0.25s;
    top: 0px;
    transform: rotateZ(-45deg);
  }

  .menu.open #nav-icon span:after {
    transition: top 0.4s, transform 0.25s 0.25s;
    top: 0px;
    transform: rotateZ(45deg);
  }
}

@media (max-width: 576px) {
  .hamb {
    top: 0px;
  }

  .title-header {
    flex-wrap: wrap;
  }

  .custom-logo-link {
    padding-right: 0;
    width: 100% !important;
    margin: auto;
    justify-content: center;
  }

  .slider-text h3 {
    font-size: 2rem;
  }

  .slider-text p {
    font-size: 1rem;
  }
.slider-photo {
	width: 100% !important;
}
	.zakaz {
		    max-width: revert !important;
    margin: 0 40px !important;
    width: calc(100% - 80px) !important;
	}

}
