/* ==========================================================================
   Публичная часть сайта: главная, о компании, продукты, лендинг.
   ========================================================================== */

.site-page,
.landing-page {
    padding-top: var(--app-navbar-height);
}

/* --- Обычные публичные страницы ----------------------------------------- */
.site-page {
    background: url("../img/wallpaper.jpg") no-repeat center top fixed;
    background-size: cover;
}

.site-page--about {
    background-image: url("../img/wallpaper_about.jpg");
}

.site-page .card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform .3s, background-color .3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.site-page .card:hover {
    transform: translateY(-2px);
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .3);
}

/* О компании */
.site-page--about .avatar {
    padding-top: 10px;
    padding-bottom: 10px;
    max-width: 350px;
    width: 100%;
    border-radius: 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.site-page--about .greeting {
    text-align: center;
    color: #333;
}

.site-page--about .introduction p {
    text-align: justify;
    margin-bottom: 15px;
}

.site-page--about .link {
    color: #0a58ca;
    text-decoration: none;
}

.site-page--about .link:hover {
    text-decoration: underline;
    color: #084298;
}

@media (max-width: 768px) {
    .site-page--about .avatar {
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .site-page--about .avatar {
        max-width: 150px;
    }
}

/* Главная */
.site-main-offset {
    margin-top: -46px;
}

#carouselExampleIndicators .carousel-caption {
    max-width: 400px;
}

/* Карусель на главной */
@media (max-width: 576px) {
    #carouselExampleIndicators .carousel-caption h6 {
        font-size: 14px;
    }

    #carouselExampleIndicators .carousel-caption p {
        font-size: 12px;
    }

    #carouselExampleIndicators .carousel-caption {
        padding: 4px;
        max-width: 70%;
    }
}

/* --- Временный лендинг ---------------------------------------------------- */
.landing-page {
    background: url("../img/wallpaper_tmp.jpg") no-repeat center center fixed;
    background-size: contain;
    background-color: #fff;
    margin: 0;
    min-height: 100vh;
}

.landing-page .landing-navbar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-bottom: 3px solid #f39c12;
}

.landing-page .navbar-brand {
    background: linear-gradient(45deg, #f39c12, #e74c3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform .3s ease;
}

.landing-page .navbar-brand:hover {
    transform: scale(1.05);
}

.landing-page .nav-link {
    transition: background-color .3s ease, transform .3s ease;
    border-radius: 20px;
    margin: 0 2px;
}

.landing-page .nav-link:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

.landing-page .dropdown-menu {
    border: none;
    border-radius: 15px;
}

.landing-page .btn-outline-warning {
    border-width: 2px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.landing-page .btn-outline-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, .3);
}

.landing-page .btn-outline-light:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-2px);
}

/* --- Cookie-баннер -------------------------------------------------------- */
.cookie-consent {
    z-index: 1100;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, .15);
    border-top: 1px solid rgba(255, 255, 255, .1);
    animation: slideUp .5s ease-out;
}

.cookie-consent a {
    color: #ffc107;
}

.cookie-consent a:hover {
    color: #fff;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Пустые списки городов */
.empty-city-note {
    margin-top: 12px;
    color: #4e555b;
    font-weight: 700;
    text-align: center;
}

/* Контрастные кнопки на странице «О нас» */
.site-page--about .btn-outline-primary {
    color: #0a58ca;
    border-color: #0a58ca;
}

.site-page--about .btn-outline-primary:hover {
    color: #fff;
    background-color: #0a58ca;
    border-color: #0a58ca;
}
