:root {
    --bs-primary: #2c3e50;
    --bs-secondary: #e74c3c;
    --bs-accent: #3498db;
}

/* Герой-секция */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Добавлено для фиксированного фона */
    margin-top: -56px;
    padding-top: 56px;
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    z-index:100000;
}
body {
    font-family: 'Montserrat', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Анимации */
.animate__card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.animate__card.show {
    opacity: 1;
    transform: translateY(0);
}

/* Прогресс-бар */
.progress-bar-custom {
    height: 10px;
    border-radius: 5px;
}

/* Карточки объектов */
.object-card {
    transition: transform 0.3s;
}

.object-card:hover {
    transform: translateY(-5px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
}

/* Стили для форм авторизации */
.auth-section {
    background-color: #f8f9fa;
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    z-index:10000;
}

.auth-section .card {
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.auth-section .card-body {
    z-index:100;
    padding: 2.5rem;
}

.auth-section .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
}

.auth-section .btn {
    border-radius: 8px;
    font-weight: 500;
}

.auth-section .invalid-feedback {
    margin-top: 0.25rem;
}

.auth-section .alert {
    border-radius: 8px;
}

/* Тёмная тема */
.dark-theme {
    background-color: #121212;
    color: #e0e0e0;
    min-height: calc(100vh - 56px);
}

.dark-input {
    background-color: #1e1e1e;
    border-color: #333;
    color: #fff;
}

.dark-input:focus {
    background-color: #1e1e1e;
    color: #fff;
    border-color: #ffc107;
    box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

.bg-dark-gray {
    background-color: #1e1e1e;
}

.text-yellow {
    color: #ffc107;
}

.btn-yellow {
    background-color: #ffc107;
    color: #121212;
    border-color: #ffc107;
}

.btn-outline-yellow {
    color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-yellow:hover {
    background-color: #ffc107;
    color: #121212;
}

.border-yellow {
    border-color: #ffc107 !important;
}

.bg-yellow {
    background-color: #ffc107 !important;
}

/* Сайдбар с объектами */
.objects-sidebar {
    background-color: #121212;
    height: calc(100vh - 56px);
    overflow-y: auto;
}

.objects-sidebar::-webkit-scrollbar {
    width: 8px;
}

.objects-sidebar::-webkit-scrollbar-track {
    background: #1e1e1e;
}

.objects-sidebar::-webkit-scrollbar-thumb {
    background-color: #ffc107;
    border-radius: 4px;
}

/* Карта */
.map-container {
    height: calc(100vh - 56px);
    width: 100%;
}

.dark-map {
    height: 100%;
    width: 100%;
}


/* Стили для ценника */
.price-tag {
    border: 1px solid #ffc107;
    min-width: 100px;
    text-align: center;
}

/* Адаптация карточки */
.object-card .card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.object-card .card-text {
    flex-grow: 1;
}

/* Попап на карте */
.map-popup {
    max-width: 250px;
}

.map-popup img {
    border-radius: 5px;
    margin-bottom: 10px;
}

.map-popup h5 {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Кастомизация Leaflet для тёмной темы */
.leaflet-container {
    background-color: #121212 !important;
}

.leaflet-control {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
}

.leaflet-control-attribution {
    background-color: rgba(30, 30, 30, 0.7) !important;
    color: #e0e0e0 !important;
}

.leaflet-control-attribution a {
    color: #ffc107 !important;
}

/* Адаптивность */
@media (max-width: 992px) {
    .objects-sidebar {
        height: auto;
        max-height: 50vh;
    }
    
    .map-container {
        height: 50vh;
    }
}

#cookieConsent {
    animation: slideUp 0.5s ease-out;
    z-index: 9999;
}

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


 /* Общие стили */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    section {
        padding: 10px 0;
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    section.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    .container {
        margin-top: 0 auto;
        padding: 0 20px;
    }
    
   
    
    .btn {
        display: inline-block;
        padding: 8px 30px;
        background: transparent;
        color: #fff;
        border: 2px solid #fff;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }
    
    .btn:hover {
        background: #fff;
        color: #000;
    }
    
    /* Прелоадер */
    .preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
    }
    
    .preloader.hide {
        transform: translateY(-100%);
    }
    
    .gg-logo {
        position: relative;
        font-size: 100px;
        font-weight: 700;
        color: white;
        margin-bottom: 20px;
        overflow: hidden;
    }
    
    .gg-logo::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
        animation: shine 2s infinite;
    }
    
    @keyframes shine {
        0% { left: -100%; }
        20% { left: 100%; }
        100% { left: 100%; }
    }
    
    .global-group-text {
        color: #FFF;
        font-size: 24px;
        font-weight: 500;
        opacity: 0;
        animation: fadeIn 1s ease-out 1s forwards;
    }
    
    @keyframes fadeIn {
        to { opacity: 1; }
    }
    
    
    /* Hero */
    .hero {
        height: 100vh;
        display: flex;
        align-items: center;
        background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://rus-septik.ru/wp-content/uploads/2024/08/septiki_dlya_doma.jpg');
        background-size: cover;
        background-position: center;
        text-align: center;
    }
    
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    /* О компании */
    .about {
        text-align: center;
    }
    
    .stats {
        display: flex;
        justify-content: space-around;
        margin-top: 50px;
    }
    
    .stat-item {
        text-align: center;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .stat-item.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    .stat-number {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #FFD700;
    }
    
    /* Проекты */
    .projects {
        background: #111;
    }
    
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
    
    .project-card {
        position: relative;
        height: 350px;
        overflow: hidden;
        border-radius: 10px;
        cursor: pointer;
        transition: transform 0.3s ease;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .project-card.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    .project-card:hover {
        transform: translateY(-10px);
    }
    
    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .project-card:hover img {
        transform: scale(1.05);
    }
    
    .project-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        padding: 25px;
        color: white;
    }
    
    .project-overlay h3 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    
    
    /* Преимущества */
    .benefits {
        text-align: center;
    }
    
    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .benefit-item {
        padding: 20px;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .benefit-item.show {
        opacity: 1;
        transform: translateY(0);
    }
    
    .benefit-icon {
        font-size: 40px;
        margin-bottom: 20px;
        color: #FFD700;
    }
    
    /* Контакты */
   .contact {
    background: #111; /* или тёмный градиент, если нужно */
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: "GG";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05); /* матовый белый с низкой прозрачностью */
    z-index: 0;
    pointer-events: none;
    letter-spacing: -1.5vw;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3), 
        0 0 30px rgba(0, 0, 0, 0.5); /* мягкое свечение */
    filter: blur(0.5px); /* лёгкое размытие для матовости */
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1; /* контент над фоном */
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #fff;
}

.contact-info p {
    margin-bottom: 10px;
    color: #ccc;
}

.projects {
    background: #111; /* или тёмный градиент, если нужно */
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: "GG";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05); /* матовый белый с низкой прозрачностью */
    z-index: 0;
    pointer-events: none;
    letter-spacing: -1.5vw;
    text-shadow: 
        0 0 15px rgba(255, 255, 255, 0.3), 
        0 0 30px rgba(0, 0, 0, 0.5); /* мягкое свечение */
    filter: blur(0.5px); /* лёгкое размытие для матовости */
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1; /* контент над фоном */
}

.projects-info h3 {
    margin-bottom: 20px;
    color: #fff;
}

.projects-info p {
    margin-bottom: 10px;
    color: #ccc;
}
    
    .social-links {
        margin-top: 20px;
    }
    
    .social-links a {
        display: inline-block;
        margin-right: 15px;
        color: #fff;
        font-size: 20px;
        transition: color 0.3s ease;
    }
    
    .social-links a:hover {
        color: #FFD700;
    }
    
    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 12px;
        margin-bottom: 20px;
        background: #222;
        border: none;
        color: #fff;
    }
    
    .contact-form button {
        width: 100%;
        padding: 12px;
        background: #FFD700;
        border: none;
        color: #000;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.3s ease;
    }
    
    .contact-form button:hover {
        background: #fff;
    }
    
    /* Футер */
    footer {
        text-align: center;
        padding: 30px 0;
        background: #000;
    }
    
    .footer-logo {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 20px;
    }


       /* Стили для навбара */
        .navbar {
            padding: 0.8rem 1rem;
            background-color: #000 !important;
            transition: all 0.3s ease;
        }
        
        .navbar-brand.logo {
            font-family: 'rockwell';
            font-size: 1.8rem;
            font-weight: 700;
            color: #ffd700 !important;
            margin-right: 2rem;
        }
        
        /* Стили для кнопки бургера */
        .navbar-toggler {
            border: none;
            padding: 0.5rem;
            transition: all 0.3s ease;
        }
        
        .navbar-toggler:focus {
            box-shadow: none;
        }
        
        /* Анимация иконки бургера */
        .navbar-toggler-icon {
            background-image: none;
            position: relative;
            height: 2px;
            width: 24px;
            background-color: white;
            transition: all 0.3s ease;
        }
        
        .navbar-toggler-icon::before,
        .navbar-toggler-icon::after {
            content: '';
            position: absolute;
            height: 2px;
            width: 24px;
            background-color: white;
            left: 0;
            transition: all 0.3s ease;
        }
        
        .navbar-toggler-icon::before {
            top: -8px;
        }
        
        .navbar-toggler-icon::after {
            top: 8px;
        }
        
        /* Состояние "крестик" при открытом меню */
        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
            background-color: transparent;
        }
        
        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
            transform: rotate(45deg);
            top: 0;
        }
        
        .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
            transform: rotate(-45deg);
            top: 0;
        }
        
        .navbar-nav {
            margin-right: auto;
        }
        
        .nav-link {
            padding: 0.5rem 1rem;
            font-weight: 500;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: #ffd700 !important;
        }
        
        /* Стили для мобильного меню */
        @media (max-width: 991.98px) {
            .navbar-collapse {
                background-color: rgba(0, 0, 0, 0.95);
                padding: 1rem;
                margin-top: 0.5rem;
                border-radius: 8px;
                max-height: 80vh;
                overflow-y: auto;
            }
            
            .nav-item {
                margin-bottom: 0.5rem;
            }
            
            .auth-buttons {
                margin-top: 1rem;
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .auth-buttons .btn {
                width: 100%;
            }
        }
        
        /* Отступ для контента под фиксированным header */
        .main-content {
            padding-top: 80px;
        }
        
        @media (max-width: 767.98px) {
            .main-content {
                padding-top: 80px;
            }
        }
    /* Стили для блока с фоновой картой */
    .map-background-section {
        position: relative;
        height: 600px;
        color: #fff;
        overflow: hidden;
    }
    
    .map-bg-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    
    .map-dark-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }
    
    .map-content {
        position: relative;
        z-index: 2;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .map-content h2 {
        color: #FFD700;
        font-size: 36px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .address-card {
        background: rgba(0, 0, 0, 0.8);
        padding: 30px;
        border-radius: 10px;
        border: 1px solid #FFD700;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .address-card h3 {
        color: #FFD700;
        margin-bottom: 20px;
        font-size: 24px;
    }
    
    .address-card p {
        margin: 15px 0;
        display: flex;
        align-items: center;
    }
    
    .address-card i {
        color: #FFD700;
        margin-right: 10px;
        width: 20px;
        text-align: center;
    }
    
    .address-card a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }
    
    .address-card a:hover {
        color: #FFD700;
    }
    
    .route-btn {
        background: #FFD700;
        color: #000;
        border: none;
        margin-top: 20px;
        width: 100%;
        font-weight: 600;
        transition: all 0.3s;
    }
    
    .route-btn:hover {
        background: #fff;
        transform: translateY(-3px);
    }
    
    @media (max-width: 768px) {
        .map-background-section {
            height: 500px;
        }
        
        .address-card {
            padding: 20px;
            max-width: 300px;
        }
        
        .map-content h2 {
            font-size: 28px;
        }
    }

/* Основные стили для модального окна */
.modal-email {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    font-family: Arial, sans-serif;
}

/* Стили для диалогового окна */
.modal-email .modal-dialog {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

/* Стили для содержимого модального окна */
.modal-email .modal-content {
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* Стили для заголовка модального окна */
.modal-email .modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem 0.5rem 0 0;
}

.modal-email .modal-title {
    margin: 0;
    font-size: 1.25rem;
    color: #495057;
}

/* Стили для кнопки закрытия */
.modal-email .btn-close {
    color: #495057;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Стили для тела модального окна */
.modal-email .modal-body {
    padding: 1rem;
}
.modal-body P{
    color:#000;
}

/* Стили для сообщений об ошибках */
.modal-email .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}

.modal-email .alert-danger ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

/* Стили для формы */
.modal-email form {
    margin-top: 1rem;
}

.modal-email .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.modal-email .form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.modal-email .form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Стили для кнопок */
.modal-email .btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.modal-email .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

.modal-email .btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.modal-email .btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.modal-email .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

/* Стили для контейнера кнопок */
.modal-email .d-grid {
    display: grid;
    gap: 0.5rem;
}

.modal-email .gap-2 {
    gap: 0.5rem;
}

.modal-email .mt-4 {
    margin-top: 1.5rem;
}

.badges-container {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 5;
}

.mortgage-badge {
    background-color: #28a745;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.exclusive-badge {
    background-color: #ffd700;
    color: #000;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.mortgage-badge i,
.exclusive-badge i {
    font-size: 16px;
    text-align: center;
}

.mortgage-badge:hover,
.exclusive-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .mortgage-badge,
    .exclusive-badge {
        font-size: 12px;
        padding: 5px 8px;
    }
    
    .badges-container {
        gap: 5px;
    }
}



    