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

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: "Roboto", sans-serif !important;
    background-color: #fdfef6;
}

body {
    display: flex;
    flex-direction: column;
}
h1,h2,h3,h4,h5{
    color: #8d9371 !important;
}
.subtitle{
    color: #8d9371 !important;    
}
/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5a9680;
    min-width: 150px;
}

.logo span {
    background: linear-gradient(135deg, #4a8a77, #6ba98e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: flex-start;
}

.nav-link {
    text-decoration: none;
    color: #8d9371;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.nav-link:hover {
    color: #5a9680;
}

.nav-link.active {
    color: #8d9371;
    background-color: #a3bebe87;
    border-radius: 20px;
}

.phone {
    font-weight: bold;
    color: #8d9371;
    min-width: 150px;
    text-align: right;
    text-decoration: none;
}
.phone:hover{
    transform: translateY(-5px);
}
/* Slider */
.slider-wrapper {
    flex: 1;
    overflow: hidden;
    margin: 70px 2rem 0;
    position: relative;
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.4, 0.0, 0.2, 1);
    width: 100%;
    will-change: transform;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mountain-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(/../theme/images/fon-1.png) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-position-y: -80px;
}

.content-overlay {
    position: relative;
    z-index: 10;
    text-align: left;
    width: 100%;
    padding: 4rem;
    padding-bottom: 5rem;
    overflow-y: auto;
    animation: slideInContent 0.8s ease-out;
}

.content-overlay::-webkit-scrollbar {
    width: 8px;
}

.content-overlay::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.content-overlay::-webkit-scrollbar-thumb {
    background: #5a9680;
    border-radius: 10px;
}

.content-overlay::-webkit-scrollbar-thumb:hover {
    background: #4a7a6d;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide:nth-child(1) .content-overlay {
    text-align: center;
}

/* Slide 1 - Главная */
.slide:nth-child(1) h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    color: #5a9680;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.slide:nth-child(1) .subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #7cb39e;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Slide 2 - Контакты */
h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #5a9680;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 10px;
}

.contact-item {
    padding: 1rem;
    background: rgb(253 254 246 / 70%);
    border-left: 4px solid #8d9371;
    border-radius: 5px;
    backdrop-filter: blur(10px); 
}

.contact-item h3 {
    color: #5a9680;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-item p {
    color: #8d9371;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 0.4rem;
}

.phone-desc {
    font-size: 0.9rem !important;
}

.contact-item a {
    color: #8d9371;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #8d9371;
    text-decoration: none;
    font-weight: 700;
}

/* Slide 3 - О компании */
.company-info {
    background: rgb(253 254 246 / 70%);
    padding: 10px 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-item {
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, rgba(90, 150, 128, 0.1), rgba(90, 150, 128, 0.05));
    border-radius: 8px;
    border-left: 4px solid #8d9371;
}

.stat-number {
    font-size: clamp(1.3rem, 3vw, 0.5rem);
    font-weight: 700;
    color: #8d9371;
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: #8d9371;
    line-height: 1.3;
}

.description {
    color: #8d9371;
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
}
.description-block{
    color: #8d9371;
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.description-img{
    display: flex;
    gap: 10px;
    width: 100%;
}
.description-img img{
    width: 40%;
    height: 100%;
    max-height: 100px;
    object-fit: contain;
}
.description p {
    margin-bottom: 0.8rem;
}

.description strong {
    color: #8d9371;
}

.description ul {
    list-style: none;
    padding-left: 1rem;
    margin: 1rem 0;
}

.description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.description li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #8d9371;
    font-weight: bold;
}
.description p{
    margin-bottom: 0.5rem;
}
.description-text p{
    margin-bottom: 0.5rem;
}
/* Slide 4 - Отчеты */
.reports-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.report-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.report-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.report-item h3 {
    color: #5a9680;
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
}
.report-item .pdf-block{
    text-align: left;
    color: rgb(141, 147, 113);
    text-decoration: none;
}
.report-item .pdf-block:hover{
    color:#5a9680;
    text-decoration: none;
}
.btn-download {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #5a9680, #7cb39e);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-download:hover {
    background: linear-gradient(135deg, #4a7a6d, #6ca38e);
    transform: scale(1.05);
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 500;
}

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

.indicator-dot.active {
    background: #5a9680;
    transform: scale(1.3);
}

/* Footer */
.footer {
    color: #8d9371;
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    z-index: 999;
}

.footer-content {
    display: flex;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
}
.footer-content .footer-text p{
    margin: 0;
}
/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }

    .header-container {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .logo {
        font-size: 1.2rem;
        min-width: auto;
    }

    .nav {
        flex-direction: row;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .nav-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
    }

    .phone {
        font-size: 0.85rem;
        min-width: auto;
    }

    .content-overlay {
        padding: 1rem;
        padding-bottom: 4rem;
        width: 100%;
    }

    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1rem;
    }

    .contact-item {
        padding: 0.8rem;
    }

    .contact-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }
    .slide.contact, .slide.company, .slide.otchet{
        height: auto;
    }
    .slide.contact .mountain-bg, .slide.company .mountain-bg, .slide.otchet .mountain-bg{
        background: none;
    }
    .slider-container{
        display: block;
        overflow: scroll;
    }
    
    .description-block{
        flex-direction: column;
    }
    .description-img{
        flex-direction: column;
        align-items: center;
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .stat-item {
        padding: 0.8rem;
    }

    .reports-list {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .report-item {
        padding: 1rem;
    }

    .scroll-indicator {
        bottom: 70px;
        gap: 0.7rem;
    }

    .indicator-dot {
        width: 10px;
        height: 10px;
    }

    .footer {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        gap: 0.3rem;
        padding: 0 0.5rem;
    }

    .nav {
        gap: 0.3rem;
    }

    .nav-link {
        padding: 0.2rem 0.3rem;
        font-size: 0.7rem;
    }

    .logo {
        font-size: 1rem;
    }

    .phone {
        font-size: 0.7rem;
    }

    .content-overlay {
        padding: 0.8rem;
        padding-bottom: 3.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
        padding: 0.8rem;
        gap: 0.8rem;
    }

    .contact-item {
        padding: 0.7rem;
    }

    .contact-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .contact-item p {
        font-size: 0.8rem;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .stat-item {
        padding: 0.6rem;
    }

    .stat-number {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .report-item {
        padding: 0.8rem;
    }

    .report-item h3 {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }

    .btn-download {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .scroll-indicator {
        bottom: 60px;
    }
}
