/* ============================================ */
/* СТИЛИ ТОЛЬКО ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (index.html) */
/* ============================================ */

/* --- ПАНОРАМА НА ВЕСЬ ЭКРАН --- */
.panorama-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.panorama-fullscreen iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.panorama-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: -1;
}

/* --- ГЛАВНЫЙ ЭКРАН (HERO) --- */
.hero-fullscreen {
    min-height: calc(100vh - 15px); /* --- высота под фрейм --- */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(0px);
}

.hero-fullscreen .hero-content {
    max-width: 800px;
    width: 100%;
    background: rgba(0, 0, 0, 0.0);
    padding: 48px 40px;
    border-radius: 32px;
    border: 1px solid rgba(150,150,150,0.0);
    box-sizing: border-box;
}

.hero-fullscreen .hero-content h1 {
    font-size: 4.0rem;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.4;
}

.hero-fullscreen .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 32px;
    opacity: 0.95;
}




/* --- БЛОК  карточек "Осебе" --- */

.card-index {
	font-size: 1.2rem; 
    margin: 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 32px 48px ;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}


.card-index:hover {
    transform: translateY(-5px);
	border-color: rgba(237, 102, 24, 0.5);
}

.card-index h3 {
    font-size: 1.4rem; 
	font-white:500; 
}
 

.card-w {  
    background: rgba(20, 30, 41,0.2); 
	backdrop-filter: blur(20px);
	color: var(--text-dark);
}

.card-w p {  
    
	//color: var(--text-dark);
}
 



/* --- БЛОК "МЫ ПРЕДЛАГАЕМ ВАМ!" --- */
.services-section {
    background: #0f172a;
    padding: 64px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
}




.service-card {
    background: rgba(255,255,255,0.05);
    border-radius: 24px;
    padding: 32px 32px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
    border-color: rgba(237, 102, 24, 0.5);
}

.service-icon {
    width: auto;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: auto;
    height: 64px;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-card p {
    font-size: 1.2rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* --- ФОН ПРИ ПРОКРУТКЕ (параллакс) --- */
.fon_scroll {
    background-image: url(images/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 0px 0px;
    opacity: 1;
    z-index: 1;
}

/* ============================================ */
/* АДАПТАВНОСТЬ */
/* ============================================ */
@media (max-width: 768px) {
    .hero-fullscreen .hero-content {
        padding: 32px 24px;
        margin: 0 16px;
    }
    
    .hero-fullscreen .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-fullscreen .hero-content p {
        font-size: 1rem;
    }
    
    .services-section {
        padding: 48px 0;
    }
    
    .services-grid {
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
    
    .service-card {
        padding: 24px 20px;
    }
    
    .service-icon {
        width: 64px;
        height: 64px;
    }
    
    .service-icon img {
        width: 48px;
        height: 48px;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-fullscreen .hero-content {
        padding: 24px 16px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card {
        padding: 20px 16px;
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-icon img {
        width: 42px;
        height: 42px;
    }
}