

html{
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}


* {
  -webkit-box-sizing: border-box;
		  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "montserrat", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

#wpadminbar {
  position: relative!important;
}

p {
  font-size: 17px !important;
}



.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  overflow: visible;
}

@media screen and (max-width: 500px) {
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    overflow: hidden;
  }
}


/* Header Styles */

header.header {
    position: absolute;
    z-index: 111;
    display: flex
;
    flex-direction: column;
    width: 100%;
}


.header-top {
    background: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    background: linear-gradient(45deg, #007bff, #dc3545);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0 auto;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #007bff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.cta-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #0056b3;
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide[data-bg="airport.jpg"] {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23334155" width="1200" height="800"/><text x="600" y="400" text-anchor="middle" fill="white" font-size="48">Аэропорт</text></svg>');
}

.slide[data-bg="construction.jpg"] {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23475569" width="1200" height="800"/><text x="600" y="400" text-anchor="middle" fill="white" font-size="48">Строительство</text></svg>');
}

.slide[data-bg="bridge.jpg"] {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                      url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%2364748b" width="1200" height="800"/><text x="600" y="400" text-anchor="middle" fill="white" font-size="48">Мосты</text></svg>');
}

.slide-content {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    color: white;
    display: flex;
    flex-direction: column;
    width: 1320px;
}

.hero-category {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-title {
    font-size: 64px;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title .highlight {
    color: #007bff;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 10;
}

.slider-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .slider-nav .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description br {
        display: none;
    }
}