.montserrat-<uniquifier> {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


body {
  /* Твоя же заливка + делаем её анимированной */
  background: linear-gradient(
    135deg,
    rgba(118, 196, 234, 0.2) 16%,
    rgba(134, 132, 170, 0.2) 49%,
    rgba(41, 55, 150, 0.2) 100%
  ), #36657D;
font-family: "Montserrat", sans-serif;
}

a{
  text-decoration: none;
  color: white;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between; /* логотип слева, меню справа */
  padding: 0 20px;
  flex-direction: row;
}
nav {
  color: white;
  font-size: 25px;
  font-family: Montserrat, sans-serif;
  font-weight: 300;
  display: flex;
  gap: 30px; /* чуть больше расстояния */
  box-sizing: border-box;
  margin-top: 31px;
  margin-left: 35%;
  user-select: none; /* чтобы текст не выделялся случайно */
}

/* Стили для ссылок внутри навигации */
nav a {
  color: white;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
  cursor: pointer;
  font-weight: 500;
}

/* Подчеркивание при наведении */
nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -6px;
  background: white;
  transition: width 0.3s ease;
}

/* При ховере подчеркивание растягивается и цвет меняется */
nav a:hover {
  color: #aaddff;
}

nav a:hover::after {
  width: 100%;
}

/* Для активного пункта меню */
nav a.active {
  color: #aaddff;
}

nav a.active::after {
  width: 100%;
}

.apply-button {
  width: 293px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0px 4px 12px rgba(255, 255, 255, 0.2) inset;
  border-radius: 99px;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  margin-top: 31px;

  color: #fff;
  font-size: 25px;
  font-weight: 900;

  cursor: pointer;

  /* Анимации для hover */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.apply-button:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow:
    0px 4px 20px rgba(255, 255, 255, 0.3),
    0px 0px 30px rgba(255, 255, 255, 0.15) inset;
  transform: translateY(-3px) scale(1.03);
}


.logo{
  color: white; 
    flex-shrink: 0; /* чтобы лого не сжимался */
display: flex;
  font-size: 36px; 
  font-family: Montserrat; 
  font-weight: 700; 
  word-wrap: break-word;
  margin-left: 15px;
  margin-top: 21px;
}

.photo-gallery {
  position: relative;
  margin: 100px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1602px; 
  height: 1394px; 
  background: linear-gradient(137deg, rgba(255, 255, 255, 0.40) 0%, rgba(255, 255, 255, 0.10) 100%);
  border-radius: 28px;
  backdrop-filter: blur(20px);
  box-shadow: 0px 4px 24px -1px rgba(0, 0, 0, 0.20);
}

.photo-gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;

  background: linear-gradient(
    137deg,
    #ffffff 0%,
    #c7c7c7 27%,
    #686869 72%,
    #2e2f30 100%
  );
  
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;

  pointer-events: none;
}
.gallery-photo {
  width: 1200px;
  height: 750px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: opacity 0.5s ease;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 30px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1), inset 0 0 10px rgba(255,255,255,0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 6px 25px rgba(255, 255, 255, 0.3),
    inset 0 0 12px rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.05);
}

.left-btn {
  left: 40px;
}

.right-btn {
  right: 40px;
}

.footertext{
  color: white; 
  font-size: 22px; 
  font-weight: 600; 
  word-wrap: break-word;
       margin: 95px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
}
.footertext2{
 color: white; 
 font-size: 28px; 
 font-weight: 300; 
 word-wrap: break-word;
        margin: 105px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}

.footerlinkwebify{
   color: white; 
 font-size: 18px; 
 font-weight: 300; 
 word-wrap: break-word;
        margin: 105px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}

.photo-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photo-label {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 32px;
  font-weight: 700;
  font-family: Montserrat, sans-serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2;
  animation: fadeInTop 1s ease;
}

@keyframes fadeInTop {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.footertext{
  color: white; 
  font-size: 22px; 
  font-weight: 600; 
  word-wrap: break-word;
       margin: 95px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
}
.footertext2{
 color: white; 
 font-size: 28px; 
 font-weight: 300; 
 word-wrap: break-word;
        margin: 105px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}

.footerlinkwebify{
   color: white; 
 font-size: 18px; 
 font-weight: 300; 
 word-wrap: break-word;
        margin: 105px auto 0 auto; /* сверху 50px отступ, слева и справа авто для центрирования */
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 50px;
}
