/**
 * Theme Name:  LRG 
 * Text Domain: lrg_style 
 * Version:     1.0
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 100;
    background-color: #000;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}    
.logo span{
    margin-left: 10px;}		

.contact-phone {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: #ff3d3d; 
}

.contact-phone i {
    margin-right: 8px;
}



/* Навигация */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #000;
    display: flex;
    justify-content: center;
    padding: 25px 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
    
}

.nav-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-list a:hover {
    color: #fff;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff3d3d; /* Красный вместо фиолетового */
    transition: width 0.3s ease;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Центральная полоса */
.center-line {
    position: fixed;            
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(255,255,255,0.1) 0%, 
                rgba(255,61,61,0.8) 50%, /* Красный акцент */
                rgba(255,255,255,0.1) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

/* Заголовок */
.header {
    text-align: center;
    margin-bottom: 80px;
    padding-top: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.header p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    font-size: 1.1rem;
}

/* Контейнер для блоков */
.blocks-container {
    position: relative;
    z-index: 2;
    padding: 20px 0;
}

/* Стили блоков */
.block {
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    padding: 35px;
    margin: 70px 0;
    opacity: 0;
    transform: translateX(0);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-width: 500px;
    position: relative;
    backdrop-filter: blur(5px);
}

/* Блоки слева */
.block.left {
    transform: translateX(-80px);
    margin-right: auto;
    border-left: 1px solid rgba(247, 3, 3, 0.3);
}

/* Блоки справа */
.block.right {
    transform: translateX(80px);
    margin-left: auto;
    border-right: 1px solid rgba(247, 3, 3, 0.3);
}

/* Видимый блок */
.block.visible {
    opacity: 1;
    transform: translateX(0);
}

.block h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 400;
    display: flex;
    align-items: center;
}

.block h2 i {
    margin-right: 12px;
    color: #ff3d3d; /* Красный вместо фиолетового */
}

.block p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 20px;
}

/* Контейнер для изображений */
.image-container {
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
    margin: 20px 0;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-container:hover img {
    transform: scale(1.03);
}

/* Подпись к изображению */
.image-caption {
    padding: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Подвал */
.footer {
    margin-top: 120px;
    padding: 60px 0 30px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    z-index: 10;
    position: relative;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #ff3d3d; /* Красный вместо фиолетового */
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #ff3d3d; /* Красный вместо фиолетового */
}

.footer-links i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}
.link-to-go {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 9px;
    float: right;
    cursor: pointer;}
    
.link-container {
    width: 100%;
    height: 25px;}

/* Адаптивность */
@media (max-width: 768px) {
    .center-line {
        left: 20px;
    }
    
    .top-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .block {
        max-width: calc(100% - 50px);
        margin-left: 50px !important;
        margin-right: 0 !important;
        padding: 25px;
    }
    
    .block::after {
        left: -35px !important;
        right: auto !important;
    }
    
    .block.left,
    .block.right {
        transform: translateX(-50px);
    }
    
    .header h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}