body {
    font-family: 'Noto Sans Display', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Tinos', serif;
    font-weight: 700;
}

/* Hero секция */
.atlantis-promo-hero {
    background-color: #c8ec54 !important;
    color: #000;
}

.hero-title {
    font-family: 'Tinos', serif;
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.4rem;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
}

.feature-icon {
    color: #9bbf43;
    margin-right: 12px;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.stat-item {
    background: rgba(255, 255, 255, 0.55);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    font-size: 2rem;
    color: #000000;
    opacity: 0.8;
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.stat-number {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin: 0;
}

.stat-label {
    font-family: 'Noto Sans Display', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333333;
    text-transform: none;
    line-height: 1.2;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-container {
    position: relative;
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #9bbf43;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    z-index: 10;
}

/* Project карточки */
.project-image-wrapper {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    border-radius: 12px;
    background: #2d2d2d;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.project-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85%;
    background: linear-gradient(to top, rgba(26, 26, 26, 1) 0%, rgba(26, 26, 26, 0.95) 20%, rgba(26, 26, 26, 0.85) 40%, rgba(26, 26, 26, 0.6) 60%, rgba(26, 26, 26, 0.3) 80%, transparent 100%);
    z-index: 1;
}

.project-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem 2rem 1.5rem 2rem;
    z-index: 2;
}

.project-title {
    font-family: 'Tinos', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.5rem;
}

.project-description {
    color: #F4E4A6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 3px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
}

/* Форма */
.lead-form {
    padding: 2rem;
    border-radius: 12px;
    background: #2d2d2d;
}

.lead-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.lead-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #9bbf43;
    color: #ffffff;
}

/* Дополнительные стили */
.glass-card {
    background: rgba(45, 45, 45, 0.8);
    border-radius: 12px;
}

/* Карточки преимуществ с светлым фоном */
.feature-highlight-card {
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-highlight-icon {
    color: #1a1a1a;
}

.feature-highlight-title {
    color: #1a1a1a;
    font-weight: 600;
}

.feature-highlight-text {
    color: #666666;
}

.list-check {
    list-style: none;
    padding: 0;
}

.list-check li {
    position: relative;
    padding-left: 2rem;
}

.list-check li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #9bbf43;
}

.feature-card {
    background: #2d2d2d;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-6px);
}

/* Карточки отзывов */
.review-card {
    background: #2d2d2d;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.review-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.review-rating {
    display: flex;
    align-items: center;
}

.review-rating .bi-star-fill {
    font-size: 1.1rem;
    margin-right: 2px;
}

.review-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

/* FAQ Accordion */
.accordion-item {
    background: #2d2d2d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.accordion-button {
    background: #2d2d2d;
    color: #ffffff;
    font-weight: 600;
    border: none;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:hover {
    background: #353535;
    color: #9bbf43;
}

.accordion-button:not(.collapsed) {
    background: #2d2d2d;
    color: #9bbf43;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: rgba(155, 191, 67, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(155, 191, 67, 0.25);
}

.accordion-button::after {
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.accordion-button:hover::after {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(67%) sepia(45%) saturate(1234%) hue-rotate(45deg) brightness(95%) contrast(88%);
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    filter: brightness(0) saturate(100%) invert(67%) sepia(45%) saturate(1234%) hue-rotate(45deg) brightness(95%) contrast(88%);
    opacity: 1;
}

.accordion-body {
    background: #2d2d2d;
    color: #cccccc;
    padding: 1.5rem;
    line-height: 1.6;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    background: #2d2d2d;
}

/* Оранжевые блоки с иконками */
.feature-icon-block {
    background-color: #9bbf43 !important;
    color: #ffffff !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-icon-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.feature-icon-block i {
    color: #ffffff !important;
    font-size: 2.5rem;
}

.feature-icon-block .display-6 {
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 700;
}

.feature-icon-block p {
    color: #ffffff !important;
    font-size: 0.95rem;
}

.accordion-header{
    font-family: 'Noto Sans Display', sans-serif;
}

/* Переопределение Bootstrap warning цвета на акцентный */
:root {
    --bs-warning: #9bbf43;
    --bs-warning-rgb: 155, 191, 67;
}

.btn-warning {
    background-color: #9bbf43;
    border-color: #9bbf43;
    color: #000;
}

.btn-warning:hover {
    background-color: #8aad3a;
    border-color: #8aad3a;
    color: #000;
}

.btn-warning:focus {
    background-color: #8aad3a;
    border-color: #8aad3a;
    color: #000;
    box-shadow: 0 0 0 0.25rem rgba(155, 191, 67, 0.5);
}

.btn-outline-warning {
    color: #9bbf43;
    border-color: #9bbf43;
}

.btn-outline-warning:hover {
    background-color: #9bbf43;
    border-color: #9bbf43;
    color: #000;
}

.btn-outline-warning:focus {
    box-shadow: 0 0 0 0.25rem rgba(155, 191, 67, 0.5);
}

.bg-warning {
    background-color: #9bbf43 !important;
}

.text-warning {
    color: #9bbf43 !important;
}

.badge.bg-warning {
    background-color: #9bbf43 !important;
}

.alert-warning {
    background-color: rgba(155, 191, 67, 0.1);
    border-color: #9bbf43;
    color: #9bbf43;
}

/* Адаптивность */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        padding: 0.75rem 1.25rem;
        gap: 0.75rem;
    }

    .stat-icon {
        font-size: 1.75rem;
    }

    .stat-content {
        gap: 0.2rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .project-image-wrapper {
        padding-top: 70%;
    }

    .feature-icon-block {
        padding: 1.5rem !important;
    }

    .feature-icon-block i {
        font-size: 2rem;
    }

    .feature-icon-block .display-6 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 0.75rem;
        flex-direction: column;
    }

    .stat-item {
        padding: 0.75rem 1rem;
        width: 100%;
        gap: 0.75rem;
    }

    .stat-icon {
        font-size: 1.5rem;
    }

    .stat-content {
        gap: 0.15rem;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .project-image-wrapper {
        padding-top: 65%;
    }

    .project-content-overlay {
        padding: 0.5rem 1.5rem 1.25rem 1.5rem;
    }

    .project-title {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }

    .project-description {
        font-size: 0.9rem;
    }

    .review-card {
        padding: 1.25rem;
    }

    .review-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }

    .review-header h3 {
        font-size: 1.1rem;
    }

    .review-rating .bi-star-fill {
        font-size: 1rem;
    }

    .review-meta {
        font-size: 0.8rem;
    }

    .accordion-button {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }

    .accordion-body {
        padding: 1.25rem;
        font-size: 0.9rem;
    }

    .feature-icon-block {
        padding: 1rem !important;
    }

    .feature-icon-block i {
        font-size: 1.75rem;
    }

    .feature-icon-block .display-6 {
        font-size: 2rem;
    }

    .feature-icon-block p {
        font-size: 0.85rem;
    }
}

/* Карточки инфраструктуры */
.infrastructure-card {
    background: #2d2d2d;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.infrastructure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(155, 191, 67, 0.5);
}

.infrastructure-icon {
    font-size: 3rem;
    color: #9bbf43;
    margin-bottom: 1rem;
}

.infrastructure-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.infrastructure-label {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.infrastructure-details {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Галерея */
.gallery-item {
    transition: transform 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    transition: opacity 0.2s ease;
}

.gallery-item:hover img {
    opacity: 0.9;
}

/* Адаптивность для инфраструктуры */
@media (max-width: 991px) {
    .infrastructure-card {
        padding: 1.5rem 1rem;
    }

    .infrastructure-icon {
        font-size: 2.5rem;
    }

    .infrastructure-number {
        font-size: 2.5rem;
    }

    .infrastructure-label {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .infrastructure-card {
        padding: 1.25rem 0.75rem;
    }

    .infrastructure-icon {
        font-size: 2rem;
    }

    .infrastructure-number {
        font-size: 2rem;
    }

    .infrastructure-label {
        font-size: 0.9rem;
    }
}

/* Стили для карусели галереи */
#galleryCarousel {
    overflow: hidden;
}

#galleryCarousel .carousel-inner {
    border-radius: 12px;
    overflow: hidden;
}

#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(155, 191, 67, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#galleryCarousel .carousel-control-prev {
    left: 20px;
}

#galleryCarousel .carousel-control-next {
    right: 20px;
}

#galleryCarousel .carousel-control-prev:hover,
#galleryCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(155, 191, 67, 1);
}

#galleryCarousel .carousel-control-prev-icon,
#galleryCarousel .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

#galleryCarousel .carousel-indicators {
    margin-bottom: 20px;
}

#galleryCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

#galleryCarousel .carousel-indicators button.active {
    background-color: #9bbf43;
    border-color: #9bbf43;
}

/* Адаптивность для карусели */
@media (max-width: 768px) {
    #galleryCarousel .carousel-item img {
        height: 350px !important;
    }

    #galleryCarousel .carousel-control-prev,
    #galleryCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #galleryCarousel .carousel-control-prev {
        left: 10px;
    }

    #galleryCarousel .carousel-control-next {
        right: 10px;
    }
}

/* Pop-up уведомление об успешной отправке */
.success-notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.success-notification.show {
    opacity: 1;
    visibility: visible;
}

.success-notification-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
}

.success-notification.show .success-notification-content {
    transform: scale(1);
}

.success-notification-icon {
    font-size: 4rem;
    color: #9bbf43;
    margin-bottom: 1rem;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-notification-message h5 {
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.success-notification-message p {
    color: #666666;
    margin-bottom: 0;
    font-size: 1rem;
}

.success-notification-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #999999;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.success-notification-close:hover {
    color: #1a1a1a;
}

/* Адаптивность для pop-up */
@media (max-width: 576px) {
    .success-notification-content {
        padding: 1.5rem;
        max-width: 90%;
    }

    .success-notification-icon {
        font-size: 3rem;
    }

    .success-notification-message h5 {
        font-size: 1.25rem;
    }
}
