.duration-300 {
    transition-duration: 300ms;
}

a {cursor:pointer;}

.transition {
    transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-timing-function: 
cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}


.from-gradient {
--tw-gradient-from: #0a5b8c var(--tw-gradient-from-position);
    --tw-gradient-to: #1C3C6E var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
 
.to-gradient {
    --tw-gradient-to: #1C3C6E var(--tw-gradient-to-position);
}
 .nav_bg {
   background-color: rgb(0 0 0 / 0.85) !important;
}

@media (orientation: landscape) {
  .hero_media_img {
    display: none;
  }
   .hero_media_video {
    display: block;
  }
}

@media (orientation: portrait) {
  .hero_media_img {
    display: block;
  }
   .hero_media_video, .header_contacts, svg#go_to_top, .contact_modal_img, .cookies {
    display: none;
  }
}

#product-catalog div.group  {
	cursor:pointer;
}
#future-projects div.group  {
	cursor:pointer;
}


nav a.active { 
	--tw-text-opacity: 1;
	color: rgb(255 255 255 / var(--tw-text-opacity, 1));
 
}
 .cookies__button:focus, .cookies__button:hover {
    background-color: #0a5b8c;
	color:white;
}
.cookies__desc {
    margin: 0;
    font-size: 13px;
    line-height: 16px;
}
#products img {
	 zoom: 0.85;

}

.cookies__button {
    margin: 0;
    border: 0;
    color: white; 
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    background-color: #1C3C6E;
    cursor: pointer; 
}
.cookies {
    position: fixed;
    bottom: 24px;
    right: 135px;
    z-index: 100000001;
    display: grid;
    grid-gap: 35px;
    grid-template-columns: repeat(2, auto);
    align-items: center;
    width: calc(100% - 8px);
    max-width: 460px;
    padding: 16px;
    border-radius: 10px;
    color: #fff;
    background-color: #242424;
    box-shadow: 0 4px 4px rgba(0, 0, 0, .04), 0 4px 20px rgba(0, 0, 0, .1);
}

.cookies__desc a {
    color: #fff;
    text-decoration: underline;
}


section#hero video {
min-width:100vw;min-height:100%;
}


svg#go_to_top {
	cursor:pointer;
}



         .tab-content {
            display: none;
        }
        .tab-content.active {
            display: block;
        }
        .tab-button {
            border-bottom: 2px solid transparent;
        }
        .tab-button.active {
            border-bottom-color: #1C3C6E;
            color: #1C3C6E;
        }       
        .product-gallery {
            position: relative; 
        }
        .main-image {
            transition: opacity 0.3s ease;
            width: 100%;
            height: auto;
            min-height: 400px;
            object-fit: cover;
            cursor: zoom-in;
        }
        .thumbnails-container {
            display: flex;
            gap: 10px;
            margin-top: 15px;
            padding: 10px 0;
            overflow-x: auto;
        }
        .thumbnail {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 6px;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s ease;
        }
        .thumbnail:hover, .thumbnail.active {
            border-color: #F36C21;
            transform: scale(1.05);
        }
        .image-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: #1C3C6E;
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0.8;
            transition: all 0.2s ease;
            z-index: 10;
        }
        .image-nav:hover {
            background: #0a5b8c;
            opacity: 1;
        }
        .image-nav.prev {
			position:absolute;
            left: -50px; 
        }
        .image-nav.next {
            right: -50px; 
        }
        .image-counter {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 14px;
            z-index: 10;
        }
        .image-fade {
            animation: fadeIn 0.5s ease;
        }
        @keyframes fadeIn {
            from { opacity: 0.7; }
            to { opacity: 1; }
        }
        .spec-item {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #e5e7eb;
        }
        .spec-item:last-child {
            border-bottom: none;
        }
        .spec-label {
            color: #4b5563;
        }
        .spec-value {
            font-weight: 600;
            color: #1f2937;
        }
        .feature-icon {
            width: 24px;
            height: 24px;
            background-color: #1C3C6E;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            flex-shrink: 0;
        }
        .feature-icon svg {
            width: 14px;
            height: 14px;
            color: white;
        }
		
		  #mainProductImage {
			zoom:0.85;
		}
		
		/* Стили для модального окна полноэкранного просмотра */
        .image-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }
        
        .image-modal.active {
            display: flex;
        }
        
        .image-modal-content {
            max-width: 90%;
            max-height: 90%;
            position: relative;
        }
        
        .image-modal-img {
            width: 100%;
            height: auto;
            max-height: 80vh;
            object-fit: contain; 
        }
        
        .image-modal-close {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 24px;
            z-index: 1001;
            transition: background 0.3s ease;
        }
        
        .image-modal-close:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .image-modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.1);
            border: none;
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 24px;
            z-index: 1001;
            transition: background 0.3s ease;
        }
        
        .image-modal-nav:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .image-modal-nav.prev {
            left: 20px;
        }
        
        .image-modal-nav.next {
            right: 20px;
        }
        
        .image-modal-counter {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 14px;
        }
        
        .image-modal-caption {
            position: absolute;
            bottom: 45px;
            left: 50%;
            transform: translateX(-50%);
            color: white;
            text-align: center;
            max-width: 80%;
            font-size: 16px;
            background: rgba(0, 0, 0, 0.5);
            padding: 8px 16px;
            border-radius: 8px;
        }