/* public/css/app.css */

/* корневые переменные */
:root {
    --promo-height: 56px;
    --navbar-height: 56px;
}

/* promo-bar */
.promo-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--promo-height);
    line-height: var(--promo-height);
    z-index: 1050;
    text-align: center;
    font-size: 1rem;
}

.navbar {
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.04),
        0 8px 20px rgba(0, 0, 0, 0.06);
}




/* navbar под акцией */
.promo-navbar {
    position: fixed;
    top: var(--promo-height);
    width: 100%;
    z-index: 1040;
}

/* чтобы контент не уезжал под fixed */
body {
    padding-top: calc(var(--promo-height) + var(--navbar-height));
}

/* -------------------- */
/* Мобильная адаптация  */
@media (max-width: 768px) {
    :root {
        --promo-height: 50px;
        --navbar-height: 56px;
    }

    .promo-bar {
        font-size: 0.9rem;
        padding: 0 0.5rem;
        line-height: 1.4;
    }

    .promo-navbar {
        top: var(--promo-height);
    }

    body {
        padding-top: calc(var(--promo-height) + var(--navbar-height));
    }
}

/* hero-section остаётся full-width */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh; /* можно изменить для мобилки */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel внутри Hero */
.hero-section .carousel {
    width: 40%; /* ограничиваем ширину */
    max-width: 600px; /* по желанию */
    height: auto;
}

/* Carousel item — картинка адаптивная */
.hero-section .carousel-item img {
    width: 100%; /* подгоняем под контейнер 50% */
    height: auto;
    object-fit: contain; /* сохраняет пропорции */
}

/* Caption поверх картинки */
.hero-section .carousel-caption {
    position: absolute;
    bottom: 10%; /* или другой отступ */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.4);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    max-width: 90%;
    text-align: center;
    color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
    .hero-section .carousel {
        width: 80%; /* на мобилке шире */
    }

    .hero-section .carousel-caption {
        font-size: 0.9rem;
    }
}


.services-section {
    background-color: #f8f8f8;
}

.service-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.service-image {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 1.5rem;
    text-align: center;
}

.service-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.service-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.service-link {
    font-weight: 500;
    color: #a67c52; /* SPA-цвет */
}
.service-divider {
    width: 80%;
    height: 4px;
    background-color: #c8a97e; /* spa-золото */
    margin: 30px auto;
    opacity: 0.7;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}



