/* Стили только для главной страницы */

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
    top: 0;
}

.header {
    position: absolute;
    z-index: 10;
    width: 100%;
    background-color: transparent !important;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.main-content {
    font-family: "Philosopher", sans-serif;
    z-index: 10;
    text-align: center;
    color: white;
}

.main-title {
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-outline-light {
    border-width: 2px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: white;
    text-decoration: none;
    animation: bounce 2s infinite;
}

.scroll-down-arrow {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hcenter__logo-text {
    color: #fff;
    border: 1px solid #fff !important;
}

.menu-h__item a{
    color: #fff !important;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Адаптив для мобильных устройств */
@media screen and (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
        line-height: 2.8rem;
        word-break: break-word;
        margin: 10px;
    }
    
    .main-content {
        width: 90%;
    }
}

/* Стили для подчеркивания меню при наведении */
.menu-h__item a {
    position: relative;
    transition: all 0.3s ease;
}

.menu-h__item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: all 0.5s ease;
}

.menu-h__item a:hover::after {
    width: 100%;
}

.menu-h__item a:hover {
    color: var(--color-primary, #007bff);
}

.hero-section .main-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.caption-main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: #b98a56;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    text-align: center;
}

.caption-main::before,
.caption-main::after {
    content: '';
    flex: 1 1 2em;
    min-width: 30px;
    max-width: 60px;
    height: 2px;
    background: #b98a56;
    display: block;
    border-radius: 1px;
}

.caption-main::before {
    margin-right: 0.7em;
}

.caption-main::after {
    margin-left: 0.7em;
}

.caption-main span {
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .caption-main {
        font-size: 1.5rem;
    }
    .caption-main::before,
    .caption-main::after {
        height: 1px;
    }
    .main-description {
        width: 95%;
        font-size: 1.05rem;
        line-height: 1.3rem;
        margin-top: 10px;
    }
}

.main-description {
    width: 60%;
    font-size: 1.7rem;
    line-height: 2rem;
    color: #b98a56;
    font-family: 'Montserrat', sans-serif;
    margin-top: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Мобильная адаптация main-description (в самом конце файла) --- */
@media screen and (max-width: 768px) {
    .main-description {
        width: 95%;
        font-size: 1.5rem;
        line-height: 1.9rem;
        margin-top: 30px;
    }
}

@media screen and (max-width: 900px) {
    .hcenter__logo-text {
        position: absolute;
        top: 40px;
    }
} 

#exclusive {
    padding: 70px 0;
    background-image: url(../img/back-koja.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    background-blend-mode: multiply;
    background-opacity: 0.5;
    color: #fff;
}

.exclusive-section p {
    padding: 15px 0;
}
.features-section {
    background-color: #f8f9fa;
}

.econom-section {
    padding: 70px 0;
}

.hcenter__menu svg,
.hcenter__contacts-item svg {
    stroke: #FFFFFF;
}

.wrapper{
margin-top: 0;
}
