@import url('normalize.css');

/* ===== СЕКЦИЯ АРХИТЕКТУРА ===== */
.architecture-section {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    position: relative;
    background: #1f1f1f;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.architecture-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.architecture-text-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 450px;
    height: auto;
    min-height: 350px;
    gap: 20px;
    background: hsla(0, 0%, 100%, .1);
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    border-radius: 30px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(22, 65, 98, .05), inset 0 1px 0 hsla(0, 0%, 100%, .2);
    padding: 40px;
    box-sizing: border-box;
}

.architecture-title {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.architecture-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.architecture-description {
    font-family: 'Manrope', sans-serif;
    font-size: 11pt;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0;
}

.architecture-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #17a2b8;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.architecture-btn:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.4);
}

/* Фоновое изображение */
.architecture-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .architecture-section {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }

    .architecture-content {
        display: flex;
        justify-content: center;
        padding: 0 20px;
    }

    .architecture-text-block {
        max-width: 600px;
        text-align: center;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .architecture-text-block {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .architecture-title {
        font-size: 24px;
    }

    .architecture-subtitle {
        font-size: 18px;
    }

    .architecture-description {
        font-size: 14px;
    }
}

/* --- Button Arrow --- */
.architecture-more-btn {
    margin-top: 20px;
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.3s ease;
    color: #fff;
    outline: none;
    padding: 10px;
    align-self: flex-end;
    /* Move to the right */
}

.architecture-more-btn:hover {
    color: #d4a373;
    /* Gold hover effect */
    transform: none;
}

.architecture-more-btn svg {
    width: 32px;
    /* Slightly larger since it's standalone */
    height: 32px;
    stroke-width: 1.5;
}

.architecture-divider {
    width: 60px;
    height: 2px;
    background: #fff;
    margin: 15px 0;
}

/* --- Modal Widget --- */
.arch-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.arch-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.arch-modal-content {
    background: #fff;
    color: #333;
    width: 100%;
    max-width: 800px;
    border-radius: 20px;
    padding: 50px;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.arch-modal-overlay.active .arch-modal-content {
    transform: translateY(0);
}

.arch-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    z-index: 10;
}

.arch-modal-close:hover {
    color: #000;
}

.arch-modal-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #000;
}

.arch-modal-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #555;
    margin-bottom: 30px;
}

.arch-modal-list-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #000;
}

.arch-modal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .arch-modal-list {
        grid-template-columns: 1fr 1fr;
    }
}

.arch-modal-list li {
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
    color: #444;
}

.arch-modal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4a373;
    /* Gold color */
    font-size: 24px;
    top: -5px;
}

.arch-modal-footer {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Responsive */
@media (max-width: 576px) {
    .arch-modal-content {
        padding: 30px 20px;
    }

    .arch-modal-title {
        font-size: 20px;
    }

    .arch-modal-list-title {
        font-size: 18px;
    }
}