/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

::-webkit-scrollbar{
  width: 10px;
  position: relative;
  right: 0;
}
::-webkit-scrollbar-track{
  box-shadow: inset 0 0 14px 14px #fadbdb;
  border: solid 4px transparent;
}
::-webkit-scrollbar-thumb{
  box-shadow: inset 0 0 14px 14px #272727;
  border: solid 4px transparent;
  border-radius: 14px;
}
::-webkit-scrollbar-button {
  display: none;
}

/* Общие стили */
body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  font-family: "Bebas Neue", sans-serif;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 505;
}

nav {
  display: inline;
  z-index: 505;
}

nav > ul {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 65%), /* Верхний край с меньшей прозрачностью */ rgb(255 255 255 / 20%) /* Нижний край с большей прозрачностью */);
  backdrop-filter: blur(10px); /* Размытие для эффекта стекла */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Тонкая рамка для акцента */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), /* Тень для объема */ inset 0 0 10px rgba(255, 255, 255, 0.2);
  margin: 0;
  padding: 5px;

}

nav > ul > li > a {
  font-size: 24px;
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1pt;
  font-optical-sizing: auto;
  text-shadow: 0 1px 5px black;
}
nav > ul > li > a .mobile-icon{
  display: none;
}
nav > ul > li:hover{
  transition: 0.5s;
  transform: translateY(-2px);
}
nav > ul > li:hover a{
  transition: 0.5s;
  text-shadow: 0 2px 3px black;
}
.menu-link{
  border-color: rgba(255, 255, 255, 0);
  transition: 0.5s;
  padding: 0 15px;
}
.menu-link.active {
  background: radial-gradient(
      ellipse at center,
      rgb(70 98 122) 0%,
      rgb(98 116 135) 20%,
      rgb(54 71 118) 40%,
      rgb(0 0 0 / 0%) 70% /* Прозрачный к краям */);
    transition: 0.5s;
    padding: 7px 15px;
}

a {
  text-decoration: none;
  color: #fff;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: #fff;
  border-radius: 5px;
  margin-top: 10px;
}
#scrollTopBtn {
  display: none; /* Скрыта по умолчанию */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  padding: 10px 15px;
  background: #0a1d37;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.5s;
}

#scrollTopBtn:hover {
  opacity: 1;
  transition: 0.5s;
}

/* Hero Section */
#hero {
  background: url('/img/banner11.jpg') no-repeat center center/cover;
  color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  width: 90%;
}
.hero-content-back{
  width: 100%;
  height: 85vh;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  border-radius: 15px;
}
.hero-content-back .big-head{
  font-family: "Bebas Neue", sans-serif;
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.8)), url('/img/hero-big-head-back1.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 15px 0 0 15px;
  justify-content: space-around;
}
.hero-content-back .big-head h1{
  font-size: 60px;
  color: #2c3e50;
  text-shadow: 0 0 5px #a7ebff;
}
.hero-content-back .big-head h2{
  font-size: 28px;
  font-weight: normal;
  margin-top: 20px;
  text-shadow: 0 0 5px black;
}
.hero-content-back .fancy-link{
  align-self: center;
  justify-self: flex-end;
}
.big-head-text{
  min-height: 30%;
  width: 80%;
  text-align: left;
  align-self: center;
  font-family: "Open Sans", sans-serif;
  color: #0b0b0b;
  font-weight: normal;
  font-size: clamp(13px, 1vw, 22px);
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  padding: 15px 15px 15px 25px;
}
.big-some-info{
  display: flex;
  flex-flow: column;
  width: 70%;
}
.big-some-info-line{
  display: flex;
  flex-direction: column;
  padding: 40px 40px 20px 40px;
  align-items: center;
  justify-content: space-evenly;
}
.big-some-info-line-head{
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
}
.big-some-info-line h2{
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 400;
  color: #0b0b0b;
  min-width: 50%;
}
.big-some-info-line p{
  color: #0b0b0b;
  font-size: clamp(13px, 1vw, 22px);
  text-align: left;
}
.big-some-info-line .call-us{
  color: #314559;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 700;
  font-size: 25px;
  width: 100%;
  text-align: center;
}
/* О нас */
#about {
  padding: 50px 20px;
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    #0a1d37 0%,    /* белый */
    #d3d3d3 25%,   /* светло-серый */
    #4a4a4a 50%,   /* тёмно-серый */
    #1c2526 75%,   /* почти чёрный */
    #4a4a4a 100%   /* тёмно-синий */
  );
}

.head {
  display: flex;
  width: 80%;
  justify-content: center;
  margin: 40px auto;
  background: #b8d5eb4f;
  border-radius: 35px;
  border: 1px solid #32475b;
  box-shadow: 0 5px 12px rgb(131 200 241);
  transition: 0.5s;
}
.head:hover {
  box-shadow: 0 15px 30px rgb(131 200 241);
  transform: scale(1.02);
  transition: 0.5s;
  left: -2px;
  top: -2px;
}

.head-logo {
  width: 30%;
  min-width: 320px;
  height: 320px;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
}
.head-logo img{
	height: fit-content;
}

.head-text {
  width: 70%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.head-text h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 50px;
}
.head-text p {
  padding: 0 25px;
}

.more {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.more-item {
  width: 24%;
  min-width: 400px;
  min-height: 370px;
  display: flex;
  flex-wrap: wrap;
  height: 40vh;
  align-items: center;
  align-content: flex-start;
  background-color: #b4dbff;
  border-radius: 8px;
  box-shadow: 0 5px 12px rgb(131 200 241);
  transition: 0.5s;
  margin-bottom: 30px;
}

.more-item:hover {
  border-radius: 8px;
  box-shadow: 0 15px 30px rgb(131 200 241);
  background-color: #91caff;
  transform: scale(1.03);
  transition: 0.5s;
  left: -2px;
  top: -2px;
}
.more-item h2{
  width: 100%;
  font-size: 40px;
  margin-top: 20px;
  text-shadow: 0 0 5px white;
  min-height: 128px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
}
.more-item-icon{
  width: 25%;
}
.more-item-text{
  width: 75%;
  text-shadow: 0 0 5px white;
  font-weight: normal;
  font-size: 20px;
  text-align: justify;
  font-family: "Bebas Neue", sans-serif;
  color: #333;
}
.more-item-text p{
  padding-right: 20px;
  background-image: radial-gradient(ellipse at center, rgb(255 255 255 / 70%) 0%, rgb(255 255 255 / 50%) 20%, rgb(255 255 255 / 54%) 40%, rgb(0 0 0 / 0%) 70% /* Прозрачный к краям */);
}
.more-item-text p strong{
  font-weight: bold;
}
.metal-opt{
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8)), url('/img/metalkat3.jpg');
  background-size: cover;
  background-position: center;
}
.sec-item{
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8)), url('/img/metalkat5.jpg');
  background-size: cover;
  background-position: center;
}
.third-item{
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8)), url('/img/metalkat2.jpg');
  background-size: cover;
  background-position: center;
}
.fourth-item{
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.8)), url('/img/metalkat4.jpg');
  background-size: cover;
  background-position: center;
}

.more-item-text h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  padding-right: 20px;
}
.advantages-list{
  list-style: circle;
  text-align: left;
  padding-left: 10px;
}


/* Продукция */
#products {
  padding: 50px 20px;
  text-align: center;
  background: url('/img/banner2.jpg') no-repeat center center/cover;
  height: 95vh;
}
#products>h2{
  color: white;
  font-size: 34px;
}
.product-list {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  height: 90%;
}

.product-item {
  background-color: rgba(255, 255, 255, 0.85);
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px 0;
  width: 24%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  max-height: 95%;
  overflow: auto;
}
.product-item:hover{
  box-shadow: 0 15px 30px rgb(0 78 157);
  transform: scale(1.02);
  transition: 0.3s;
}
.product-item p{
  padding: 0 20px;
  text-align: justify;
  font-family: 'share_tech_cyrregular', sans-serif;
  font-size: 16px;
  letter-spacing: -0.5px;
  line-height: 18px;
}
.product-item h2{
  font-size: 34px;
}
.product-item h3{
  font-family: "Bebas Neue", sans-serif;
  text-align: left;
  padding-left: 25px;
  margin-top: 10px;
}
.product-item .specials{
  font-size: 24px;
}
.product-item ul{
  font-family: 'share_tech_cyrregular', sans-serif;
  text-align: left;
  margin: 0;
  padding-right: 20px;
}
.product-item .specials-list{
  font-weight: bold;
}
.serts{
  font-family: "Bebas Neue", sans-serif;
  font-size: 14px;
  margin-top: 15px;
}
.mini-h{
  font-family: 'share_tech_cyrregular', sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  padding-left: 25px;
  padding-right: 20px;
}
/* Контакты */
#contacts {
  padding: 50px 20px;
  text-align: center;
  background-color: #f9f9f9;
  height: 98vh;
  display: flex;
  justify-content: space-around;
  min-height: fit-content;
}
.text-info{
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 95%;
  min-height: 768px;
  justify-content: space-evenly;
  border-radius: 25px;
  background-color: #e3e3e3;
  box-shadow: 0 0 30px #a7a7a7;
  transition: 0.5s;
}
.text-info:hover{
  background-color: #91caff;
  box-shadow: 0 0 30px #91caff;
  transition: 0.5s;
}
.text-info a{
  transition: 0.5s;
  text-shadow: 0 0 0;
}
.text-info a:hover{
  color: #234c75;
  transition: 0.5s;
  text-shadow: 0 0 15px #3056a3;
}

.place-map {
  width: 45%;
  display: flex;
  flex-direction: column;
  height: 95%;
  min-height: 768px;
  justify-content: center;
  border-radius: 25px;
  background-color: #e3e3e3;
  box-shadow: 0 0 30px #a7a7a7;
  padding: 0 30px;
}
.place-map:hover {
  background-color: #91caff;
  box-shadow: 0 0 30px #91caff;
  transition: 0.5s;
}
.place-map h2{
  font-size: 60px;
}

#contacts ul {
  list-style: none;
  padding: 0;
}

#contacts ul li {
  margin: 10px 0;
}
#contacts .text-info h2{
  font-size: 60px;
}
#contacts .text-info p{
  font-family: "Bebas Neue", sans-serif;
  font-size: 30px;
  margin: 0;
}
#contacts .text-info>div{
  display: flex;
  justify-content: center;
  width: 80%;
  margin: 0 auto;
}
.contacts-icons{
  width: 25%;
  align-self: center;
}
.contacts-text{
  width: 75%;
  text-align: left;
  align-self: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 40px;
  color: #333;
}
.address .contacts-text{
  font-size: 30px;
}
.tels{
  width: 75%;
  text-align: left;
}
.tels .contacts-text{
  width: 100%;
}
/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

footer a {
  color: #007BFF;
}
.company-info{
  display: flex;
  justify-content: space-evenly;
  width: 90%;
  margin: 0 auto;
}
.company-info h3{
  font-size: 24px;
}
.important-info{
  width: 30%;
  text-align: left;
  font-family: 'share_tech_cyrregular', sans-serif;
  font-size: 18px;
}
.working-hours{
  width: 30%;
  text-align: left;
  font-family: 'share_tech_cyrregular', sans-serif;
  font-size: 18px;
}
.off-info{
   width: 30%;
  text-align: left;
  font-family: 'share_tech_cyrregular', sans-serif;
  font-size: 18px;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

.fancy-link {
    padding: 15px 30px;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* Эффект при наведении */
.fancy-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #34495e, #456789);
    color: #ecf0f1;
}

/* Эффект при нажатии */
.fancy-link:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Эффект "светового блика" */
.fancy-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.fancy-link:hover::before {
    left: 100%;
}

