/* Plant Nursery Styles - Golden Hour Theme */

/* Новая цветовая палитра - Golden Hour System */
:root {
    /* Основные цвета */
    --color-sky: #2B4D9C;          /* Основной цвет (заголовки, акценты, кнопки) */
    --color-olive: #B8C76A;        /* Акцентный цвет (декор, выделения, иконки) */
    --color-olive-hover: #A8B85A;  /* Ховер-акцент */
    --color-light-sky: #E6F0FF;     /* Фон страницы / светлых секций */
    --color-white: #FFFFFF;        /* Чистый белый (карточки, модалки, меню) */
    --color-dark-gray: #333333;     /* Основной текст (параграфы, мета) */
    --color-forest: #1E3D32;       /* Глубокий лесной (Тени, заголовки в карточках) */
    --color-cream: #F4F3EE;        /* Кремовый фон (основной фон страниц) */
    
    /* Настройки скруглений */
    --radius-pill: 16px;            /* Кнопки */
    --radius-card: 12px;            /* Карточки */
    --radius-lg: 16px;              /* Большие скругления */
    
    /* Тени */
    --shadow-button: 0 4px 8px rgba(43, 77, 156, 0.1);
    --shadow-card: 0 8px 20px -4px rgba(43, 77, 156, 0.1);
    
    /* Дополнительные цвета */
    --text-color: #333333;             /* Основной текст */
    --light-text: #FFFFFF;             /* Белый - текст на темном фоне */
    --text-muted: #6c757d;             /* Приглушенный текст */
    --background-color: #E6F0FF;       /* Основной фон */
    --light-bg: #ffffff;               /* Светлый фон для секций */
    --color-bg-body: var(--color-cream); /* Фон body - кремовый */
    --border-color: #e9ecef;           /* Границы */
    --shadow-color: rgba(0, 0, 0, 0.08); /* Тень */
    --success-color: #28a745;          /* Зеленый - для успеха */
    --warning-color: #ffc107;          /* Желтый - для предупреждений */
    --danger-color: #dc3545;           /* Красный - для опасности */
    --info-color: #17a2b8;            /* Голубой - для информации */
    
    /* Старые переменные - закомментированы для совместимости */
    /* --color-forest: #1E3D32; */
    --color-gold: #D4AF37;
    /* --color-gold-hover: #B5952F; */
    /* --color-text: #2B2B2B; */
    /* --shadow-gold: 0 15px 40px -10px rgba(212, 175, 55, 0.25); */
    /* --shadow-forest: 0 20px 40px -10px rgba(30, 61, 50, 0.2); */
}

/* Глобальные стили - Golden Hour System */
body {
    font-family: 'Outfit', sans-serif; /* Геометричный гротеск */
    color: var(--color-dark-gray);
    background-color: var(--color-cream); /* Кремовый фон для всех страниц */
    line-height: 1.6;
}

/* Заголовки с Playfair Display */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif; /* Премиальный сериф */
    color: var(--color-sky);
    line-height: 1.2;
}

/* Увеличенные отступы для "воздуха" в дизайне */
.container {
    padding: 1rem 0;
}

.section-padding {
    padding: 5rem 0;
}

/* Улучшенные тени */
.shadow-soft {
    box-shadow: var(--shadow-card);
}

/* Дополнительные классы для чистки inline-стилей */
.btn-primary-custom {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.btn-primary-custom:hover {
    background-color: var(--color-accent) !important;
    border-color: var(--color-accent) !important;
}

.bg-custom-primary {
    background-color: var(--color-primary) !important;
}

.text-custom-primary {
    color: var(--color-primary) !important;
}

.border-custom-primary {
    border-color: var(--color-primary) !important;
}

/* Стили для email шаблонов */
.email-plant-list {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
}

.email-auto-message {
    margin-top: 15px;
}

/* Стили для карты */
.map-container {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-lg);
}

.map-link {
    position: absolute;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.map-link:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-link-first {
    top: 10px;
}

.map-link-second {
    top: 44px;
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Хедер - Glassmorphism стиль */
.main-nav-header {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.main-nav-header:hover {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.main-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

/* Навигационное меню */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: var(--color-sky);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu li a:hover {
    color: var(--color-olive);
    background: rgba(184, 199, 106, 0.1);
    transform: scale(1.02);
}

.nav-menu li a.active {
    color: var(--color-olive);
    background: rgba(184, 199, 106, 0.15);
}

/* Брендинг */
.nav-brand {
    display: flex;
    align-items: center;
}

.nav-brand .logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-brand .logo-img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Иконки навигации */
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon-btn {
    color: var(--color-text-main);
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-icon-btn:hover {
    color: var(--color-accent);
    background: rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

/* Поиск */
.search-form-container {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-card);
    z-index: 1001;
    min-width: 300px;
    margin-top: 0.5rem;
}

.search-form-container .form-control {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    font-family: 'Manrope', sans-serif;
}

.search-form-container .form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

/* Общие стили */
body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    color: var(--color-text-main);
    background-color: var(--color-cream);
    line-height: 1.6;
}

.logo-font {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--color-primary);
}


/* Карточки */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: var(--radius-card);
    overflow: hidden;
    background-color: var(--color-white);
}

.card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-card);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Кнопки - Golden Hour System */
.btn-primary {
    background-color: var(--color-sky);
    border-color: var(--color-sky);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 14px 36px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
}

.btn-primary:hover {
    background-color: var(--color-sky);
    border-color: var(--color-sky);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-button);
}

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--color-sky);
    color: var(--color-sky);
    border-radius: var(--radius-pill);
    padding: 12px 34px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--color-sky);
    color: var(--color-white);
}

.btn-olive {
    background-color: var(--color-olive);
    border-color: var(--color-olive);
    color: var(--color-dark-gray);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.btn-olive:hover {
    background-color: var(--color-olive-hover);
    border-color: var(--color-olive-hover);
    color: var(--color-dark-gray);
    transform: scale(1.02);
}

/* Бейджи категорий */
.category-badge {
    display: inline-block;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Белый текст в блоках с не-белым фоном */
.text-white-on-non-white {
    color: var(--light-text) !important;
}

/* Применяем белый текст для конкретных блоков */
.card-header.bg-primary,
.promo-banner,
footer,
.main-nav-header,
.btn-primary {
    color: var(--light-text) !important;
}

.card-header.bg-primary .card-title,
.promo-banner h1,
.promo-banner p,
footer h5,
footer h6,
footer p,
footer a,
.main-nav-header .nav-brand a,
.main-nav-header .nav-menu li a,
.btn-primary {
    color: var(--light-text) !important;
}

/* Исключаем некоторые элементы, где нужен другой цвет */
.card-header.bg-primary .text-muted,
footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Изменение цвета при наведении на интерактивные кнопки */
.btn-primary:hover,
.nav-menu li a:hover,
.nav-link:hover {
    color: var(--info-bg-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Стили для логотипа в круге */
.nav-brand {
    overflow: visible;  /* Позволяем логотипу выходить за пределы контейнера */
}

.nav-brand .logo-img {
    width: 160px;  /* Уменьшаем размер логотипа в 1.5 раза (240 / 1.5 = 160) */
    height: 160px;  /* Уменьшаем размер логотипа в 1.5 раза */
    border-radius: 50%;  /* Делаем идеально круглым */
    object-fit: cover;  /* Обрезаем изображение по форме */
    border: 6px solid var(--light-text);  /* Увеличиваем толщину рамки */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    position: relative;  /* Для корректного позиционирования */
    z-index: 10;  /* Убедимся, что логотип поверх других элементов */
}

.nav-brand img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Убираем скругления с кнопок, так как они должны быть как карточки */
.btn-primary {
    border-radius: 12px !important;
}

/* Убедимся, что навигационная панель не обрезает логотип */
.main-nav {
    overflow: visible;
}

.main-nav-header {
    overflow: visible;
}

/* Добавляем плавные переходы только для нужных элементов */
.btn-primary,
.nav-menu li a,
.nav-brand img {
    transition: all 0.3s ease;
}

.category-badge:hover {
    transform: scale(1.05);
}

/* Сортировка */
.sort-select-wrapper {
    position: relative;
}

.custom-select {
    background-color: var(--background-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

/* Футер */
footer {
    background-color: var(--color-sky);
    padding: 60px 0 20px;
    margin-top: 0;
}

footer h5, footer h6 {
    color: var(--color-white);
}

footer .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer .btn-black {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-sky);
    border: none;
    transition: all 0.3s ease;
}

footer .btn-black:hover {
    background-color: white;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-icons a {
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: var(--color-olive) !important;
}

.border-light {
    border-color: rgba(255, 255, 255, 0.3) !important;
}


/* Специальные эффекты при наведении */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Адаптивные улучшения */
@media (max-width: 768px) {
    header .container {
        padding: 15px 0;
    }
    
    .logo-font {
        font-size: 28px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}


/* Специальные эффекты для растений */
.plant-container .card {
    background: white;
}

.plant-container .card:hover {
    background: linear-gradient(180deg, #e8f5e9, #c8e6c9);
}

/* Эффекты для блога - перенесены в blog.css */

/* Эффекты для контактов */
.contact-info {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Стили для страницы контактов - унификация шрифтов */
.contact-section .card {
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-section .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.contact-section .card-body {
    padding: 2rem;
}

.contact-section h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-sky);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-section h6 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-sky);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.contact-section p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark-gray);
    margin-bottom: 0.5rem;
}

.contact-section .text-muted {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

.contact-section ul {
    font-family: 'Outfit', sans-serif;
    padding-left: 1.5rem;
}

.contact-section ul li {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-dark-gray);
    margin-bottom: 0.25rem;
}

.contact-section ul li strong {
    color: var(--color-sky);
    font-weight: 600;
}

/* Стили для карты */
.contact-section .map-container {
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.contact-section .map-iframe {
    border-radius: var(--radius-card);
}

/* Стили для кнопки коммерческого предложения */
.contact-section .btn-primary {
    background-color: var(--color-sky);
    border-color: var(--color-sky);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
}

.contact-section .btn-primary:hover {
    background-color: var(--color-sky);
    border-color: var(--color-sky);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 77, 156, 0.2);
}

/* Стили для дополнительной секции "О питомнике" */
.contact-section .card.border-primary {
    border: 2px solid var(--color-olive);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    background-color: var(--color-white);
}

.contact-section .card.border-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.contact-section .card.border-primary .card-header {
    background-color: var(--color-white);
    color: var(--color-sky);
    border: none;
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    padding: 1.5rem;
    border-bottom: 3px solid var(--color-olive);
}

.contact-section .card.border-primary .card-header h5 {
    color: var(--color-sky);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.contact-section .card.border-primary .card-body {
    padding: 2.5rem;
    background-color: var(--color-white);
}

.contact-section .card.border-primary .card-body p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-dark-gray);
    margin-bottom: 1.5rem;
}

.contact-section .card.border-primary .card-body p:last-child {
    margin-bottom: 0;
}

.contact-section .card.border-primary .card-body p strong {
    color: var(--color-sky);
    font-weight: 600;
}

/* Кнопки действий */
.btn-primary, .btn-danger {
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
}

/* Переопределяем для кнопок в карточках */
.card .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
    color: var(--light-text);
}

/* Тени и эффекты */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.shadow {
    box-shadow: 0 4px 8px rgba(0,0,0,0.12) !important;
}

.shadow-lg {
    box-shadow: 0 12px 24px rgba(0,0,0,0.18) !important;
}

/* ============================================================= */
/* === СТИЛИ ДЛЯ СЛАЙДЕРА-БАННЕРА =============================== */
/* ============================================================= */

.slider-container {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#mainSlider {
    margin-bottom: 2rem;
}

#mainSlider .carousel-item {
    height: 400px;
    background-size: cover;
    background-position: center;
}

#mainSlider .carousel-item img {
    height: 400px;
    object-fit: cover;
    filter: brightness(0.9);
}

#mainSlider .carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    border-radius: 10px;
    padding: 2rem;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    text-align: left;
}

#mainSlider .carousel-caption h5 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

#mainSlider .carousel-caption p {
    color: var(--secondary-color);
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Индикаторы слайдера */
#mainSlider .carousel-indicators {
    bottom: 1rem;
    margin-bottom: 0;
}

#mainSlider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid white;
    margin: 0 4px;
    transition: all 0.3s ease;
}

#mainSlider .carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/* Кнопки навигации */
#mainSlider .carousel-control-prev,
#mainSlider .carousel-control-next {
    width: 5%;
    background: linear-gradient(to right, rgba(46,125,50,0.8) 0%, transparent 50%);
    transition: all 0.3s ease;
}

#mainSlider .carousel-control-next {
    background: linear-gradient(to left, rgba(46,125,50,0.8) 0%, transparent 50%);
}

#mainSlider .carousel-control-prev:hover,
#mainSlider .carousel-control-next:hover {
    background: linear-gradient(to right, rgba(46,125,50,1) 0%, transparent 50%);
}

#mainSlider .carousel-control-prev-icon,
#mainSlider .carousel-control-next-icon {
    background-image: none;
    filter: brightness(0) invert(1);
}

#mainSlider .carousel-control-prev-icon::after {
    content: '‹';
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#mainSlider .carousel-control-next-icon::after {
    content: '›';
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Эффект при наведении - остановка автопрокрутки */
#mainSlider.carousel:hover {
    .carousel-control-prev,
    .carousel-control-next {
        opacity: 1;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    #mainSlider .carousel-item {
        height: 250px;
    }
    
    #mainSlider .carousel-item img {
        height: 250px;
    }
    
    #mainSlider .carousel-caption {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    
    #mainSlider .carousel-caption h5 {
        font-size: 1.5rem;
    }
    
    #mainSlider .carousel-caption p {
        font-size: 1rem;
    }
    
    #mainSlider .carousel-control-prev-icon::after,
    #mainSlider .carousel-control-next-icon::after {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    #mainSlider .carousel-item {
        height: 200px;
    }
    
    #mainSlider .carousel-item img {
        height: 200px;
    }
    
    #mainSlider .carousel-caption {
        padding: 0.5rem;
    }
    
    #mainSlider .carousel-caption h5 {
        font-size: 1.2rem;
    }
    
    #mainSlider .carousel-caption p {
        font-size: 0.9rem;
        display: none; /* Скрываем текст на очень маленьких экранах */
    }
}

/* Стили для главной страницы - Сине-оливковая система */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    margin-top: -80px; /* Компенсация хедера */
    overflow: hidden;
    /* Синяя линия снизу */
    border-bottom: 5px solid var(--color-sky);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    /* Основной баннер - Многолетники */
    background-image: url('/static/Многолетники.jpg');
    /* Анимация масштабирования */
    animation: breathe 18s infinite alternate ease-in-out;
}

/* Убираем градиентную маску */
.hero-overlay {
    display: none;
}

@keyframes breathe {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* Navigation Cards - Visual Cards Style */
.navigation-cards .nav-card {
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.navigation-cards .nav-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.shop-card {
    background: url('/static/images/garden-shop.jpg') center/cover;
}

/* Стили для навигационных карточек - перенесены в blog.css */

.contact-card {
    background: url('/static/images/garden-contact.jpg') center/cover;
}

.navigation-cards .nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.4) 50%,
        transparent 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.navigation-cards .nav-card:hover::before {
    background: linear-gradient(to top,
        rgba(27, 77, 62, 0.9) 0%,
        rgba(27, 77, 62, 0.6) 50%,
        transparent 100%);
}

.nav-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem 2rem;
    z-index: 2;
    color: white;
    text-align: center;
}

.nav-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.nav-card-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.6;
}

.nav-card-content .btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.nav-card-content .btn:hover {
    background: white;
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Добавляем иконки поверх карточек */
.nav-card .card-icon {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    transition: all 0.3s ease;
}

.nav-card:hover .card-icon {
    color: var(--color-gold);
    transform: scale(1.1) rotate(5deg);
}

/* Features Section */
.features-section {
    background-color: var(--color-cream);
}

/* Фич-карточки в стиле центральных карточек */
.card-layered.feature-card {
    height: 450px;
}

.card-layered.feature-card .card-img {
    height: 65%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.card-layered.feature-card .card-body-custom {
    height: 35%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-layered.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    color: var(--color-forest);
    line-height: 1.3;
}

.card-layered.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    opacity: 0.9;
}

.card-layered.feature-card .card-link {
    color: var(--color-olive);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.3s;
    font-family: 'Inter', sans-serif;
}

/* Hover эффекты для фич-карточек */
.card-layered.feature-card:hover .card-inner {
    transform: scale(1.02);
}

.card-layered.feature-card:hover::before {
    transform: translate(5px, 5px);
    background-color: var(--color-sky);
    opacity: 1;
}

.card-layered.feature-card:hover .card-link {
    gap: 15px;
    color: var(--color-sky);
}

/* --- LAYERED CARDS (Слоистые карточки V2) --- */
.card-layered {
    display: block;
    position: relative;
    height: 450px;
    text-decoration: none;
    z-index: 1;
}

/* ОЛИВКОВАЯ подложка (Layer) */
.card-layered::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    background-color: var(--color-olive); /* Оливковый слой */
    border-radius: var(--radius-card);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.6;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.card-img {
    height: 65%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.card-body-custom {
    height: 35%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-layered h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    color: var(--color-forest);
}
        
.card-link {
    color: var(--color-olive);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    transition: gap 0.3s;
    font-family: 'Outfit', sans-serif;
}

/* Hover эффекты */
.card-layered:hover .card-inner {
    transform: scale(1.02);
}
.card-layered:hover::before {
    transform: translate(5px, 5px);
    background-color: var(--color-sky); /* Подложка становится синей */
    opacity: 1;
}
.card-layered:hover .card-link {
    gap: 15px;
    color: var(--color-sky);
}

/* Popular Plants */
.popular-plants {
    background-color: var(--color-bg-body);
}

/* Карточки растений в стиле центральных карточек */
.card-layered.plant-card {
    height: 450px;
}

.card-layered.plant-card .card-img {
    height: 65%;
    width: 100%;
    background-size: cover;
    background-position: center;
}

.card-layered.plant-card .card-body-custom {
    height: 35%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-layered.plant-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    color: var(--color-sky);
    line-height: 1.3;
}

.card-layered.plant-card .plant-price {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.card-layered.plant-card .old-price {
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.card-layered.plant-card .new-price {
    color: var(--color-olive);
    font-weight: 700;
}

.card-layered.plant-card .card-link {
    color: var(--color-olive);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    transition: gap 0.3s;
    font-family: 'Inter', sans-serif;
}

/* Hover эффекты для карточек растений */
.card-layered.plant-card:hover .card-inner {
    transform: scale(1.02);
}

.card-layered.plant-card:hover::before {
    transform: translate(5px, 5px);
    background-color: var(--color-sky);
    opacity: 1;
}

.card-layered.plant-card:hover .card-link {
    gap: 15px;
    color: var(--color-sky);
}

/* B2B Offer - Premium Banner Style */
.b2b-offer {
    background: var(--color-primary);
    color: white;
    border: none;
    box-shadow: var(--shadow-card);
}

.b2b-content h2 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.b2b-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.b2b-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.b2b-features li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.b2b-features li i {
    color: var(--color-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.b2b-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.b2b-form h4 {
    color: white;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    text-align: center;
}

.b2b-form .form-control {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-text-main);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.b2b-form .form-control:focus {
    background: white;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    color: var(--color-text-main);
}

.b2b-offer .btn-gold {
    background-color: white;
    border-color: white;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.b2b-offer .btn-gold:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* --- B2B SECTION (Бизнес Цветок) --- */
.b2b-section {
    background-color: var(--color-sky);
    color: var(--color-white);
    border-radius: 60px 60px 0 0; /* Возвращаем красивые скругления */
    padding: 6rem 0; /* Возвращаем оригинальные отступы */
    margin-top: 6rem; /* Возвращаем отступ сверху */
    border-top: 4px solid var(--color-olive); /* Возвращаем границу */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1); /* Добавляем тень снизу */
}

.b2b-section .display-4 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; /* Возвращаем оригинальный размер */
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.b2b-section .lead {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem; /* Возвращаем оригинальный размер */
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.b2b-section .fa-2x {
    color: var(--color-olive);
    margin-right: 1rem;
}

.b2b-section .d-flex.gap-4 {
    margin-bottom: 2rem;
}

.b2b-section .btn-organic {
    background-color: var(--color-olive);
    border-color: var(--color-olive);
    color: var(--color-dark-gray);
    padding: 18px 45px; /* Возвращаем оригинальные отступы */
    font-weight: 600;
    font-size: 1.1rem; /* Возвращаем оригинальный размер */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(184, 199, 106, 0.2); /* Добавляем тень */
}

.b2b-section .btn-organic:hover {
    background-color: var(--color-olive-hover);
    border-color: var(--color-olive-hover);
    color: var(--color-dark-gray);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(184, 199, 106, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* Промо-баннер */
.promo-banner {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 0;
}

.promo-banner .promo-title {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.promo-banner .promo-subtitle {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.promo-banner .promo-info {
    color: var(--info-bg-color);
}

.promo-banner .promo-info i {
    margin-right: 0.5rem;
}

/* Стили для корзины */
.cart-image {
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
}

.cart-quantity-input {
    width: 80px;
}

/* Стили для кнопок в шаблонах */
.btn-newsletter {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--light-text);
    border-radius: 0;
    text-transform: uppercase;
    float: right;
}

.btn-newsletter:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--light-text);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-card-content {
        padding: 1.5rem;
    }
    
    .nav-card-content h3 {
        font-size: 1.5rem;
    }
    
    .b2b-form {
        margin-top: 2rem;
    }
}

/* Стили для футера */
.footer-links {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: underline;
}

/* Адаптивность для футера на мобильных устройствах */
@media (max-width: 768px) {
    .footer-links {
        margin-bottom: 0.3rem;
    }
    
    .footer-links a {
        display: block;
        margin-bottom: 0.2rem;
    }
}

/* Стили для плавающей капсулы */
.header-floating {
    margin-top: 0;
    padding-top: 0;
}

.header-floating .container {
    margin-top: 0;
    padding-top: 0;
}

/* Стили для навигационной капсулы с кружком логотипом */
.nav-capsule {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100px;
    border-radius: 50px; /* Радиус = высота/2 для полных скруглений */
    padding: 0 10px; /* Минимальные зазоры по краям */
}

.nav-capsule:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Стили для кружка с логотипом */
.nav-logo-circle {
    display: flex;
    align-items: center;
    margin-left: 5px; /* Минимальный зазор слева */
}

.logo-circle {
    width: 85px; /* Увеличенный размер */
    height: 85px; /* Увеличенный размер */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 3px solid var(--color-sky); /* Синяя рамка вместо градиента */
}

.logo-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.logo-circle-img {
    width: 75px; /* Увеличенный размер */
    height: 75px; /* Увеличенный размер */
    object-fit: cover;
    border-radius: 50%;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .nav-capsule {
        height: 80px;
        border-radius: 40px; /* Радиус = высота/2 */
        padding: 0 8px;
    }
    
    .logo-circle {
        width: 65px;
        height: 65px;
    }
    
    .logo-circle-img {
        width: 55px;
        height: 55px;
    }
    
    .nav-logo-circle {
        margin-left: 3px;
    }
    
    /* Адаптивность для центральных карточек */
    .card-layered {
        height: 380px;
    }
    
    .card-layered .card-img {
        height: 60%;
    }
    
    .card-layered .card-body-custom {
        height: 40%;
        padding: 20px;
    }
    
    .card-layered h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .card-layered .card-link {
        font-size: 0.8rem;
    }
    
    /* Адаптивность для карточек растений */
    .card-layered.plant-card .card-body-custom {
        padding: 15px;
    }
    
    .card-layered.plant-card h3 {
        font-size: 1.1rem;
    }
    
    .card-layered.plant-card .plant-price {
        font-size: 1rem;
    }
    
    /* Адаптивность для фич-карточек */
    .card-layered.feature-card h3 {
        font-size: 1.3rem;
    }
    
    .card-layered.feature-card p {
        font-size: 0.9rem;
    }
}

/* Адаптивность для планшетов */
@media (max-width: 991px) {
    .card-layered {
        height: 420px;
    }
    
    .card-layered .card-img {
        height: 62%;
    }
    
    .card-layered .card-body-custom {
        height: 38%;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 576px) {
    .card-layered {
        height: 320px;
    }
    
    .card-layered .card-img {
        height: 55%;
    }
    
    .card-layered .card-body-custom {
        height: 45%;
        padding: 15px;
    }
    
    .card-layered h3 {
        font-size: 1rem;
    }
    
    .card-layered .card-link {
        font-size: 0.75rem;
    }
}

/* Hero Section - Glassmorphism Effects */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    margin-top: -80px;
    overflow: hidden;
    border-bottom: 5px solid var(--color-sky);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    background-image: url('/static/Многолетники.jpg');
    animation: breathe 18s infinite alternate ease-in-out;
}

.hero-overlay {
    display: none;
}

/* Полупрозрачные матовые фоны для элементов hero-секции */
.hero-title {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 25px;
    padding: 25px 40px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.hero-title .display-1 {
    margin: 0;
    background: transparent;
}

.hero-lead {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 18px;
    padding: 20px 30px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    transition: all 0.3s ease;
}

.hero-buttons {
    /* Убираем фон под кнопкой */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 30px;
    padding: 0;
    border: none;
    box-shadow: none;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    /* Стандартная кнопка как на других страницах */
    background: var(--color-sky);
    border-color: var(--color-sky);
    color: var(--color-white);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-button);
}

.hero-buttons .btn-primary:hover {
    background: var(--color-sky);
    border-color: var(--color-sky);
    color: var(--color-white);
    transform: scale(1.02);
    box-shadow: var(--shadow-button);
}

/* Эффекты при наведении для интерактивности */
.hero-title:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-lead:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .hero-title {
        padding: 20px 30px;
        border-radius: 20px;
    }
    
    .hero-title .display-1 {
        font-size: 2rem;
    }
    
    .hero-lead {
        padding: 15px 20px;
        border-radius: 15px;
        max-width: 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn-primary {
        width: 100%;
        padding: 12px 25px;
    }
}

/* Адаптивность для очень маленьких экранов */
@media (max-width: 576px) {
    .hero-title {
        padding: 15px 20px;
    }
    
    .hero-title .display-1 {
        font-size: 1.8rem;
    }
    
    .hero-lead {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

/* Стили для кнопок с полным скруглением */
.btn-full-rounded {
    border-radius: 9999px !important;
    padding: 12px 30px !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-full-rounded:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(184, 199, 106, 0.3);
}

/* Применяем полный радиус к оливковым кнопкам на главной странице */
.hero-buttons .btn-full-rounded,
.btn-primary[style*="var(--color-olive)"] {
    border-radius: 9999px !important;
}

/* Адаптивность для кнопок с полным скруглением */
@media (max-width: 768px) {
    .btn-full-rounded {
        padding: 12px 25px !important;
        font-size: 16px;
    }
    
    .hero-buttons .btn-full-rounded {
        width: 100%;
    }
}