@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

html {
    scroll-behavior: smooth;
}
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    border: none;
}



:root {
    --heading-color: #000;
    --text-color: #333;
    --bg-light: #F6F7FF;
    --bg-dark: #282828;
    --orange-color: #d0511d;
    --head-size: 25px;
}

body {
	font-size: 16px;
	color: var(--text-color);
	font-family: Inter, sans-serif;
	margin: 0 auto;
	padding: 0;
}
p, span {
	line-height: 1.4;
	margin: 0;
}
a {
	color: inherit;
	text-decoration: none;
}
.container {
	width: 1200px;
	max-width: 1200px;
	margin: 0 auto;
}
h1,
h2,
h3 {
	color: var(--heading-color);
	margin: 0;
}
h1 {
	font-size: 45px;
	font-weight: 600;
}
h2 {
	font-size: 40px;
	font-weight: 600;
}
.d-flex {
	display: flex;
}
.d-grid {
	display: grid;
}
.align-center {
	text-align: center;
}
.pt {
	padding-top: 70px;
}
.pb {
	padding-bottom: 70px;
}
.pt-20 {
	padding-top: 20px;
}
.pb-20 {
	padding-bottom: 20px;
}
.link {
	color: var(--orange-color);
	font-weight: 600;
}





/* HEAD NAV */
.head-nav-wrapper {
	justify-content: space-between;
	align-items: center;
}
.phones {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}





/* NAVBAR */
nav {
	flex-direction: row;
	gap: 20px;
	background-color: var(--bg-dark);
	color: #fff;
	padding: 20px 0;
	justify-content: center;
	border-top: 5px solid var(--orange-color);
}



/* NAVBAR */
.main {
	background: url('../img/main-bg.jpg') center/cover no-repeat;
	min-height: 700px;
    border-bottom: 4px solid var(--orange-color);
    background-attachment: fixed;
}
.main-info {
	grid-template-columns: 1fr 1fr;
	padding-top: 90px;
	gap: 100px;
	justify-items: self-end;
}
.main h1 {
	color: #fff;
}
.main p {
	color: #fff;
}
.main span {
	color: var(--orange-color);
}
.main-text {
	font-size: 26px;
	font-weight: 600;
}

/* ABOUT */
.about-top {
	max-width: 1000px;
	margin: 0 auto;
}
.about-content-wrapper {
	grid-template-columns: 1fr 1fr;
}



/* GALLERY */
/* Галерея фото */

/* .photo-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 10px; /
}

.photo-gallery img {
  width: 100%;
  height: 300px;
  cursor: pointer;
  object-fit: cover;
  border-radius: 4px; 
  transition: transform 0.3s ease; /
}
*/
/* Модальне вікно */
.modal {
  display: none; 
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); 
  padding: 50px 0;
  align-items: center;
}

.modal-content {
  margin: auto;
  display: block;
  height: 90%;
  max-width: 800px;
  border-radius: 8px;
  vertical-align: middle;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: normal;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}

/* Кнопки для переключення */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  user-select: none;
  transition: 0.3s;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 0;
}

.next {
  right: 0;
}



/* GALLERY */
/* Текст внизу */
.gallery-text {
	font-size: 28px;
	margin-top: 20px;
}


/* TEXT TWO */
.text-two-columns {
	background-color: var(--bg-light);
}
.text-two-wrapper {
	grid-template-columns: 1fr 1fr;
}



/* RUKAVA */
.rukava {

}
.rukava-wrapper {
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.rukava-left,
.rukava-right {
  width: 100%; 
}
.rukava-left h2 {
	color: var(--orange-color);
}
.rukava-right img {
  width: 100%; /* Изображение на всю ширину блока */
  height: auto; /* Сохраняем пропорции */
  display: block;
  border-radius: 10px;
}


/* TEXT FULL WIDTH */
.text-full {

}
.text-full h2 {
	color: var(--orange-color);
}
.text-full-content {
	gap: 20px;
	flex-direction: column;
	max-width: 800px;
	margin: 0 auto;
}



/* COMPANY*/
.company {
	background-color: var(--bg-light);
}
.company-top {
	max-width: 700px;
	margin: 0 auto;
}
.company-top span {
	color: var(--orange-color);
}
.company-wrapper {
	grid-template-columns: 1fr 2fr;
}
.company-left,
.company-right {
	width: 100%;
}



/* DOCUMENTS*/
.documents {
	background-color: var(--bg-dark);
}
/* 
.doc-wrapper {
	flex-direction: row;
	gap: 20px;
	justify-content: space-between;
}
.doc-wrapper img {
  flex: 1; 
  max-width: 30%; 
  height: auto; 
  object-fit: cover; 
  display: block;
}
*/

/* FOOTER*/
.footer-wrap {
	justify-content: space-between;
	align-items: center;
}
.footer-btn {
	border-radius: 5px;
	border: 1px solid var(--orange-color);
	padding: 15px 20px;
	color: var(--orange-color);
}
.social img,
.mail img {
	width: 40px;
	height: 40px;
}
.mail {
	align-items: center;
	gap: 15px;
}
.footer-logo {
	width: 150px;
}


/* NAVBAR*/

.navbar-wrap {
	justify-content: space-between;
	align-items: center;
}
.navbar-btn {
	border-radius: 5px;
	border: 1px solid var(--orange-color);
	padding: 15px 20px;
	color: var(--orange-color);
}
.social img,
.mail img {
	width: 40px;
	height: 40px;
}
.mail {
	align-items: center;
	gap: 15px;
}
.navbar-logo {
	width: 150px;
}










