:root {
    --primary: #2A5C82;
    --secondary: #FFFFFF;
    --dark: #5e4e43;
    --light: #F5F5F5;
}

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


@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    src: url('../icons/font-awesome/webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    src: url('../icons/font-awesome/webfonts/fa-brands-400.woff2') format('woff2');
}

.fas, .fa-solid {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    vertical-align: middle; /* ������������ �� ������ */
}

.fab, .fa-brands {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400;
    vertical-align: middle; /* ������������ �� ������ */
}


/* ������� ������ */
.fa-map-marker-alt::before { content: "\f3c5"; }
.fa-phone::before { content: "\f095"; }
.fa-envelope::before { content: "\f0e0"; }
.fa-vk::before { content: "\f189";    }
.fa-telegram::before { content: "\f2c6"; }
.fa-whatsapp::before { content: "\f232"; }
.fa-check::before { content: "\f00c"; }



@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/Roboto-Bold.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Oswald';
    src: url('../fonts/oswald/Oswald-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}


body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ����� � ���������� */
.header-contact {
    background: var(--dark);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
    z-index: 1001;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-name {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: auto;
}


.company-name span {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.contact-info span {
    margin-right: 25px;
    display: inline-block;
}

.contact-info i {
    margin-right: 8px;
    color: var(--secondary);
}

i {
    font-style: normal !important; /* ���������� ������ */
}

.contact-info.desktop-only a{
	color: white;
        text-decoration: none;
}

.social-links a {
    color: var(--dark);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
   color: #FF5722;
}

strong {
    color: #FFFACD;
}

/* ��������� */
.sticky-nav {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.sticky-nav a {
    color: var(--dark);
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    border-radius: 5px;
    margin: 0 5px;
}

.sticky-nav a:hover {
    background-color: #FF6B35;
    color: white;
}

.mobile-only {
  display: none; /* �������� �� �������� */
}

/* ���������-���� */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark);
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    transition: all 0.3s ease;
}

.no-scroll {
    overflow: hidden;
}


/* ������� ������  linear-gradient(rgba(1, 0, 0, 1.7), rgba(1, 0, 0, 0.7)), */
header {
    background: linear-gradient(to right,rgba(255, 255, 255, 1.0), rgba(255, 255, 255, 0.0), transparent), url('../images/1.0.jpg') no-repeat right center / cover ;
    height: 78vh;
   display: flex;
    justify-content: left;
    text-align: left;
    color: black;
    padding: 20px;
    overflow: hidden; /* �������� ��������� �� ������� ����� ���� */
 overflow-x: hidden


}

@supports (-webkit-appearance:none) {
    header {
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    }
}

.hero-content {
    max-width: 600px;
    flex-direction: column;
    height: 100%; /* �������� ��� ��������� ������ */
    display: flex;
    justify-content: space-between;
align-items: flex-start;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
color: var(--dark);
}

.hero-content h2 {
    font-size: 1.4rem;
    opacity: 1.9;
    color: var(--dark);
    max-width: 500px;

}
/* ������� ���������� */

.materials-list {
    margin: 25px;
    width: 100%;
    max-width: 600px;


}

.materials-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 0.4fr);
    gap: 12px 10px;
    padding: 0;

}

.materials-list li {
    color: var(--dark);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 4.9;
    font-weight:bold;
}

.materials-list .fa-check {
    color: var(--dark);
    font-size: 0.9rem;
    font-weight:bold;
}

.cta-button {

    display: inline-block;
    background: var(--dark);
    color: var(--secondary);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 30px;
    transition: 0.5s;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.cta-button.zakaz {
	    margin-bottom: 90px;
    display: inline-block;
    background: var(--dark);
    color: var(--secondary);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;

    transition: 0.5s;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}


.cta-button:hover {
    transform: translateY(-3px);
    background: #FF5722;
}

/* �����-������ */
.video-section {
    padding: 80px 20px;
    background: var(--light);
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.video-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.video-content {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* �������� ����� �����-���������� */
.video-wrapper {
    position: relative;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 9/16;
    max-width: 404px; /* ������������ ������ ����� */
    max-height: 720px; /* ������������ ������ ����� */
    width: 100%;

}


video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
}

/* ������� �������� */
.gallery {
    padding: 80px 0px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25vw, 2fr));
    gap: 40px;
    margin: 0, 10%;
    padding: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: 0.3s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}


.block {
    background: var(--dark);
    font-size: 1.2rem;
    min-height: 8vh;
    color: white;
    text-transform: uppercase;
    border-radius: 30px;
    text-align: center;
display: grid;
align-content: center;

}
.block h3{
	align-items: center;
    justify-content: center;

}

/* ����� �������� ����� */

.form-container h2 {
    color: var(--dark);
}

.contact-form {
    padding: 80px 20px;
    color: black;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

form {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

input, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(163, 160, 169);
    border-radius: 8px;
    background: transparent;
    color: var(--dark);
    font-size: 16px;
    transition: 0.3s;
}

input::placeholder, 
textarea::placeholder {
    color: rgba(163, 160, 169);
}

input:focus, 
textarea:focus {
    border-color: var(--dark);
    background: rgba(255,255,255,0.1);
}


.error-message {
    color: #F44336;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}




/* �������� */
/* ����� ��� ����� �������� */
.consent-group {
    margin: 25px 0;
    text-align: left;
}

.consent-checkbox {
    display: flex;
    align-items: baseline; /* ������������ �� ������� ����� */
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    line-height: 1.5; /* ��������� � ������� ������ ������������� */
}

.consent-checkbox input {
    position: relative;
    top: 2px; /* ������ ��������� ���������������� */
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex-shrink: 0; /* ������������� ������ */
}

.consent-checkbox a {
    color: var(--dark);
    text-decoration: underline;
}

.consent-checkbox a:hover {
    color: #FF5722;
}

/* ����� ��� Toast-����������� */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: toastSlide 0.3s ease-out;
    opacity: 0.95;
}

.toast.success {
    background: #4CAF50;
}

.toast.error {
    background: #F44336;
}

@keyframes toastSlide {
    from { bottom: -50px; opacity: 0; }
    to { bottom: 30px; opacity: 0.95; }
}

/* ����� */
footer {
    background: var(--dark);
    color: white;
    padding: 20px 20px;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
}




/* ����� ��� ���������� ���� */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    position: relative;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.modal-icon {
    font-size: 50px;
    text-align: center;
    margin: 20px 0;
    display: none;
}

.modal-icon.success { color: #4CAF50; }
.modal-icon.error { color: #F44336; }

.modal-title {
    text-align: center;
    margin-bottom: 15px;
    font-family: 'Oswald', sans-serif;
}

.modal-text {
    text-align: center;
    margin-bottom: 25px;
}

.modal-close-btn {
    width: 100%;
    margin-top: 15px;
}




/* ����� ����� ��� ������ */
.mobile-contacts {
    display: none; /* �� ��������� ����� */
    margin-bottom: 20px;
}

.contact-item {
    margin: 10px 0;
    font-size: 1rem;
}

.contact-item i {
    margin-right: 10px;
}


/* ������������ */
@media (max-width: 992px) {
    .company-name span {
        font-size: 1.2rem;
    }

    header {
	height: 100vh;
	}
    html{ 
	scroll-padding-top: 180px; /* ������ ���� */
     }

	
    .contact-container {
	gap: 50px;
    }

    
    .form-container {
        margin: 0 auto;
    }
    .gallery-grid {
	align-items: center;
	}
section[id] {
    scroll-margin-top: -120px;
}

}



@media (min-width: 769px) {
    .video-wrapper {
        width: 45vw;
        height: 80vh;
    }
    
    video {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {


    .company-name span {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 2.0rem;
	margin-right: 50px;

    }
    h2 {
        font-size: 1.0rem;

    }
    .hero-content  h2{
        font-size: 1.0rem;
	opacity: 2;
	text-shadow: 
	0 0 30px #FFFFFF,
	0 0 30px #FFFFFF,
	0 0 90px #FFFFFF;
	margin-right: 170px;

    }


    .desktop-only {
        display: none !important;
    }

    .mobile-contacts {
        display: block;
    }

     .video-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 9/16;
    }
    
    video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

    .footer-content {
        text-align: left;
        padding: 0 15px;
    }

    .social-links {
        margin-top: 5px;
margin-bottom: 15px;
    }

  .mobile-only {
    display: block; /* ���������� ������ �� ��������� */
    margin-top: auto; /* ������ � ���� ���� */
    padding: 15px 0;
    border-top: 1px solid #eee;
  }

    section[id] {
    scroll-margin-top: -170px;
    }

    html{ 
	scroll-padding-top: 180px; /* ������ ���� */
     }
    .materials-list {
        margin-top: 30px;
        padding: 15px;
    }

    .materials-list ul {
        grid-template-columns: 1fr;
    }
    
    .materials-list li {
        font-size: 0.9rem;
	margin-left: -45px; 
    }

    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-info span {
        display: block;
        margin: 10px 0;
    }


	
   .hamburger {
        display: block;
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        position: fixed;
        left: -100%;
  	z-index: 1003;
        top: 48px; /* ������� ��� ����������� */
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        width: 100%;
        height: calc(100vh);
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.5s ease;
        overflow-y: auto;


    }

    .nav-links.active {
        left: 0;
    }
      .sticky-nav {
	height: 50px;
	text-align: center;
	z-index: 1002;
	}
    .sticky-nav a {
        width: 80%;
        margin: 10px auto;
        padding: 15px;
        background: var(--light);
    }
    .contact-item a{
	color: white;
	text-decoration: none;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    header {
        background-size: auto 100%; /* ��������� ������ 100% */
        background-position: center;
	height: 93vh;
    }
    .form-group {
        margin-bottom: 10px; /* ���� ������ �� �������� */
    }

    input, textarea {
        padding: 6px 8px;
    }

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
	align-items: center;
}

     input, textarea{
	font-size: 12px; 
	}
}

@media (max-width: 576px) {



  .video-wrapper .vjs-playback-rate {
    display: none !important;
  }
  
  /* ��������� ������ ��������� ��������� */
  .video-wrapper .vjs-control-bar {
    padding: 5px !important;
  }
  
  /* ��������� ������ */
  .video-wrapper .vjs-button > .vjs-icon-placeholder:before {
    font-size: 12px !important;
  }


/* ��������� */
    .hamburger {
        left: 10px;
        padding: 5px;
    }

    .bar {
        width: 20px;
        height: 2px;
    }

    /* ������ ���� */

    .sticky-nav a {
        width: 90%;
        font-size: 0.9rem;
        padding: 10px;
    }
      .sticky-nav {
	height: 52px;
	text-align: center;
	z-index: 1002;
	}
     .nav-links {
        height: calc(101vh);
	z-index: 1003;
        top: -1px; /* ������� ��� ����������� */


     }



	.gallery-item img {
    	width: 100%;
    	height: 400px;
    	object-fit: cover;
    	display: block;
	align-items: center;
	}

	.overlay {
	width: 100%;	
        }

    .gallery-grid  {
	align-items: center;
	}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
}
	
    
	input, textarea{
		font-size: 12px;
}

}
@media (max-width: 320px){



.video-wrapper {
    width: 56%;
 margin: auto;
min-height: 200px;
}


/* ��������� */
    .hamburger {
        left: 5px;
	font-weight: 5px;
    }
      .sticky-nav {
	height: 50px;
	text-align: center;
	z-index: 1002;
	}
     .nav-links {
        height: calc(100vh);
	z-index: 1003;
        top: 48px; /* ������� ��� ����������� */
    }


.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
	width: 100%;
	}


	.gallery-item img {
    	width: 100%;
    	height: 400px;
    	object-fit: cover;
    	display: block;
	align-items: center;
	}

	.overlay {
	width: 100%;	
        }

	.zakaz {
	margin-top: 10%;
	font-weight: 500;
	padding: 5px 5px;
	}

	input, textarea{
		font-size: 12px;
		}
.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(25vw, 2fr));
}

}