/*
Theme Name: Tarsky Innovations
Theme URI: https://tarskyinnovations.com
Author: Tarsky
Author URI: https://tarskyinnovations.com
Description: Современная тема для сайта Tarsky Innovations
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tarskyinnovations
*/

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Темно-серый фон */
body {
    background-color: #2a2a2a;
    color: #b0b0b0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Контейнер для звездочек */
#stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Падающие звездочки */
.falling-star {
    position: absolute;
    top: -10px;
    border-radius: 50%;
    animation: fall linear infinite;
    opacity: 0.8;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh + 10px)) translateX(50px);
        opacity: 0;
    }
}

/* Контент должен быть поверх звездочек */
.site {
    position: relative;
    z-index: 10;
}

/* Шапка */
.site-header {
    background: linear-gradient(to right, rgba(58, 42, 26, 0.25) 0%, rgba(42, 42, 42, 0.25) 100%);
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-link:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6),
                0 0 30px rgba(255, 215, 0, 0.4),
                0 0 45px rgba(255, 215, 0, 0.2);
    border-radius: 50%;
}

.logo {
    height: 50px;
    width: 50px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.logo-link:hover .logo {
    filter: brightness(1.1);
}

.logo-placeholder {
    color: #b0b0b0;
    font-size: 24px;
    font-weight: 600;
}

.header-text {
    display: flex;
    align-items: center;
}

.brand-name {
    color: #ffd700;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
}

/* Стили для шапки на страницах AIdroid */
.aidroid-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aidroid-header-title {
    color: #ffd700;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
}

.aidroid-header-subtitle {
    color: #b0b0b0;
    font-size: 12px;
    font-style: italic;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.brand-uppercase {
    text-transform: uppercase;
}

.brand-lowercase {
    text-transform: lowercase;
}

/* Кнопка Sign In */
.header-actions {
    display: flex;
    align-items: center;
}

.btn-signin {
    background-color: #2a2a2a;
    color: #b0b0b0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background-color: #3a3a3a;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Модальное окно авторизации */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.auth-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    background-color: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    z-index: 10001;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.auth-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #b0b0b0;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.auth-modal-close:hover {
    opacity: 1;
}

.auth-modal-title {
    color: #b0b0b0;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 30px 0;
    text-align: center;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-form-group label {
    display: block;
    color: #b0b0b0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-form-group input {
    width: 100%;
    padding: 12px 16px;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #b0b0b0;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.auth-form-group input:focus {
    outline: none;
    border-color: #ffd700;
}

.auth-form-message {
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.auth-form-message.error {
    display: block;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
}

.auth-form-submit {
    width: 100%;
    padding: 14px;
    background-color: #ffd700;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-form-submit:hover {
    background-color: #ffed4e;
}

/* Скрываем footer */
.site-footer {
    display: none;
}

/* Основной контент */
.site-main {
    min-height: 100vh;
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

/* Текст под шапкой */
.hero-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    text-align: center;
}

.hero-quote {
    color: #b0b0b0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.6;
    max-width: 900px;
    margin: 0;
    font-style: italic;
}

/* Секция Biziso */
.biziso-link {
    text-decoration: none !important;
    display: block;
    max-width: 1200px;
    margin: 120px auto 0;
    position: relative;
    z-index: 100;
    -webkit-tap-highlight-color: rgba(255, 215, 0, 0.5);
    tap-highlight-color: rgba(255, 215, 0, 0.5);
    cursor: pointer !important;
    -webkit-user-select: none;
    user-select: none;
    pointer-events: auto !important;
    touch-action: manipulation;
}

.biziso-link:first-of-type {
    margin-top: 120px;
}

.biziso-link:not(:first-of-type) {
    margin-top: 160px;
}

.biziso-section {
    padding: 60px 40px;
    background: linear-gradient(to right, rgba(19, 14, 9, 0.25) 0%, rgba(14, 14, 14, 0.25) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    pointer-events: none !important;
    position: relative;
    width: 100%;
    height: 100%;
}

.biziso-section * {
    pointer-events: none !important;
}

.biziso-link:hover .biziso-section,
.biziso-link:active .biziso-section {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3),
                0 0 40px rgba(255, 215, 0, 0.2),
                0 0 60px rgba(255, 215, 0, 0.1);
}

.biziso-link:active {
    opacity: 0.9;
}

.biziso-title {
    text-align: center;
    text-transform: uppercase;
    font-size: 32px;
    font-weight: 600;
    color: #b0b0b0;
    margin: 0 0 50px 0;
    letter-spacing: 1px;
}

.biziso-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.biziso-content-wrapper.reverse-order {
    flex-direction: row-reverse;
}

.biziso-image-wrapper {
    flex: 0 0 300px;
    width: 300px;
}

.biziso-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.biziso-text-wrapper {
    flex: 0 0 300px;
    width: 300px;
}

.biziso-text {
    color: #b0b0b0;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.biziso-text-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.biziso-text-item {
    color: #b0b0b0;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.biziso-text-item strong {
    color: #b0b0b0;
    font-weight: 600;
}

.concept-title {
    text-transform: none;
}

.concept-highlight {
    color: #ffd700;
    font-weight: 700;
}

.social-project-label {
    color: #666666;
    font-size: 14px;
    font-style: italic;
    margin-top: 20px;
    text-align: right;
}

.current-project-label {
    color: #ffd700;
    font-size: 14px;
    font-style: italic;
    margin-top: 20px;
    text-align: right;
}

.city-subtitle {
    color: #d4af37;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
    letter-spacing: 0.5px;
}

/* Кнопка прокрутки наверх */
.scroll-to-top-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 120px;
    margin-bottom: 120px;
}

.scroll-to-top-btn {
    background: linear-gradient(to right, rgba(19, 14, 9, 0.25) 0%, rgba(14, 14, 14, 0.25) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: #b0b0b0;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-to-top-btn:hover {
    border-color: #ffd700;
    color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3),
                0 0 40px rgba(255, 215, 0, 0.2),
                0 0 60px rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.scroll-to-top-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .biziso-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .biziso-image-wrapper {
        text-align: center;
    }
    
    .biziso-image {
        max-width: 250px;
    }
    
    .biziso-title {
        font-size: 24px;
    }
    
    .biziso-text {
        font-size: 16px;
        text-align: center;
    }
}

/* Страница AIdroid */
.aidroid-main {
    padding-top: 80px;
}

.aidroid-hero {
    text-align: center;
    padding: 80px 40px 60px;
}

.aidroid-hero-title {
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 600;
    color: #b0b0b0;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.aidroid-hero-subtitle {
    font-size: 24px;
    color: #b0b0b0;
    font-style: italic;
    margin: 0;
}

.aidroid-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 60px;
}

.aidroid-nav-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.aidroid-nav-link:hover {
    color: #ffd700;
}

.aidroid-nav-separator {
    color: #b0b0b0;
    opacity: 0.5;
}

.aidroid-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 40px;
    scroll-margin-top: 100px;
}

.aidroid-section-title {
    text-transform: uppercase;
    font-size: 28px;
    font-weight: 600;
    color: #b0b0b0;
    margin: 0 0 30px 0;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.aidroid-section-content {
    color: #b0b0b0;
    font-size: 18px;
    line-height: 1.8;
}

.aidroid-section-content p {
    margin: 0 0 20px 0;
}

/* Вертикальный сайдбар AIdroid */
.aidroid-content-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.aidroid-content {
    flex: 1;
    min-width: 0;
    padding-right: 100px;
}

.aidroid-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 60px;
    pointer-events: none;
}

.aidroid-sidebar-nav {
    pointer-events: auto;
}

.aidroid-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    width: 100%;
}

.aidroid-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background-color: #3a3a3a;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    color: #b0b0b0;
    transition: all 0.3s ease;
    width: 60px;
    min-width: 60px;
    max-width: 60px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.aidroid-sidebar-item:hover {
    width: 180px;
    max-width: 180px;
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
                0 0 40px rgba(255, 215, 0, 0.3);
    background-color: #3a3a3a;
    z-index: 10;
}

.aidroid-sidebar-item.active {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.aidroid-sidebar-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #3a3a3a;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.aidroid-sidebar-icon svg {
    width: 24px;
    height: 24px;
    stroke: #ffd700;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.aidroid-sidebar-item:hover .aidroid-sidebar-icon {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6),
                inset 0 0 10px rgba(255, 215, 0, 0.1);
}

.aidroid-sidebar-item:hover .aidroid-sidebar-icon svg {
    filter: drop-shadow(0 0 8px #ffd700) 
            drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.aidroid-sidebar-item.active .aidroid-sidebar-icon {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

.aidroid-sidebar-text {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 400;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #ffd700;
}

.aidroid-sidebar-item:hover .aidroid-sidebar-text {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1024px) {
    .aidroid-sidebar {
        position: static;
        transform: none;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 40px;
    }
    
    .aidroid-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .aidroid-sidebar-item {
        width: auto;
        min-width: 60px;
    }
    
    .aidroid-sidebar-item:hover {
        width: auto;
        padding-right: 20px;
    }
    
    .aidroid-content-wrapper {
        flex-direction: column;
    }
}

.aidroid-page-content {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.aidroid-nav {
    display: none;
}

/* Story Page Hero Section */
.story-hero-section {
    position: relative;
    min-height: 400px;
    max-width: 900px;
    margin: 60px auto;
    overflow: hidden;
    border-radius: 20px;
}

.story-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/wp-content/uploads/2025/12/photo_2025-01-07_19-08-19.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.3) contrast(1.1);
    z-index: 1;
}

.story-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 60px 50px;
}

.story-hero-heading {
    font-size: 32px;
    font-weight: 600;
    color: #b0b0b0;
    text-align: center;
    line-height: 1.4;
    max-width: 900px;
    margin: 0;
    transition: transform 0.05s linear, opacity 0.05s linear;
    text-transform: none;
    letter-spacing: 0.5px;
    will-change: transform, opacity;
}

/* Текстовый блок Story */
.story-text-block {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 50px;
    background: linear-gradient(to right, rgba(58, 42, 26, 0.25) 0%, rgba(42, 42, 42, 0.25) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-text-block p {
    color: #b0b0b0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    text-align: justify;
}

.story-text-block p:last-child {
    margin-bottom: 0;
}

/* Заголовки в текстовом блоке Story */
.story-text-heading {
    font-size: 28px;
    font-weight: 600;
    color: #ffd700;
    margin: 0 0 30px 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.story-text-subheading {
    font-size: 22px;
    font-weight: 600;
    color: #d4af37;
    margin: 40px 0 20px 0;
    text-align: left;
    letter-spacing: 0.3px;
}

.story-text-item-title {
    font-size: 20px;
    font-weight: 600;
    color: #e6c85c;
    margin: 30px 0 12px 0;
    text-align: left;
    letter-spacing: 0.2px;
}

.story-text-list {
    margin: 20px 0;
    padding-left: 30px;
    list-style: none;
}

.story-text-list li {
    color: #b0b0b0;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.story-text-list li:before {
    content: "•";
    color: #ffd700;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -2px;
}

.story-text-list li strong {
    color: #ffd700;
    font-weight: 600;
}

.story-text-quote {
    font-style: italic;
    color: #d4af37;
    font-size: 18px;
    line-height: 1.8;
    margin: 20px 0;
    padding: 20px 30px;
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #ffd700;
    border-radius: 5px;
}

.story-text-block-large {
    margin-top: 60px;
}

/* Выделенный текстовый блок */
.story-text-block-highlighted {
    background: linear-gradient(to right, rgba(58, 42, 26, 0.35) 0%, rgba(42, 42, 42, 0.35) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

/* Vision Hero Section */
.vision-hero-section {
    margin-top: 60px;
}

.vision-hero-background {
    background-image: url('/wp-content/uploads/2025/12/sporty-young-woman-stretching-in-pole-dance-studio.jpg');
    background-position: center;
    background-size: cover;
}

/* Innovation Hero Section */
.innovation-hero-section {
    margin-top: 60px;
}

.innovation-hero-background {
    background-image: url('/wp-content/uploads/2025/12/636f0d5b-0d3e-4198-8794-6aa82e24bb38.webp');
    background-position: center;
    background-size: cover;
}

/* Technical Structure Hero Section */
.technical-structure-hero-section {
    margin-top: 60px;
}

.technical-structure-hero-background {
    background-image: url('/wp-content/uploads/2025/12/39195225-8ffe-404f-a7a6-3a9886331e45-1.webp');
    background-position: center;
    background-size: cover;
}

/* Dimensions Hero Section */
.dimensions-hero-section {
    margin-top: 60px;
}

.dimensions-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00124-4205141875-1.png');
    background-position: left center;
    background-size: cover;
}

/* Other Systems Hero Section */
.other-systems-hero-section {
    margin-top: 60px;
}

.other-systems-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00125-3162842557-1.png');
    background-position: center;
    background-size: cover;
}

/* Power Hero Section */
.power-hero-section {
    margin-top: 60px;
}

.power-hero-background {
    background-image: url('/wp-content/uploads/2025/12/06299103-5699-45ed-a861-66fe3a0e73d1-1-1.webp');
    background-position: center;
    background-size: cover;
}

/* Battery Hero Section */
.battery-hero-section {
    margin-top: 60px;
}

.battery-hero-background {
    background-image: url('/wp-content/uploads/2025/12/a9cdfdf2-8c92-4d86-ad10-653ec2f670ed.webp');
    background-position: center;
    background-size: cover;
}

.story-hero-annotation {
    font-size: 12px;
    color: #888888;
    font-style: italic;
    margin-top: 15px;
    text-align: center;
    line-height: 1.5;
    max-width: 800px;
}

/* Backpack Hero Section */
.backpack-hero-section {
    margin-top: 60px;
}

.backpack-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00499-941534568.png');
    background-position: center;
    background-size: cover;
}

/* Working Times Hero Section */
.working-times-hero-section {
    margin-top: 60px;
}

.working-times-hero-background {
    background-image: url('/wp-content/uploads/2025/12/firemen-around-a-bonfire-caused-by-a-falla-valenciana-controlling-the-flames-of-the-fire-.jpg');
    background-position: center;
    background-size: cover;
}

.story-text-conclusion {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 18px;
    line-height: 1.8;
    color: #b0b0b0;
    font-style: italic;
}

.story-text-note {
    font-size: 14px;
    color: #888888;
    font-style: italic;
    margin: -10px 0 20px 0;
    text-align: center;
}

.story-text-annotation {
    font-size: 12px;
    color: #888888;
    font-style: italic;
    margin: 20px 0;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gallery Styles */
.gallery-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.gallery-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffd700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    background: linear-gradient(to right, rgba(58, 42, 26, 0.25) 0%, rgba(42, 42, 42, 0.25) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4),
                0 0 40px rgba(255, 215, 0, 0.2);
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Financial Page Styles */
.financial-content {
    max-width: 1000px;
}

.financial-content p {
    margin-bottom: 30px;
}

.financial-content .story-text-subheading {
    margin-top: 50px;
    margin-bottom: 25px;
}

.financial-content .story-text-list {
    margin: 25px 0;
}

.financial-content .story-text-list li {
    margin-bottom: 15px;
}

.financial-number {
    color: #ffd700;
    font-weight: 600;
    font-size: 1.1em;
}

.financial-number-large {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.5em;
}

.financial-total {
    text-align: center;
    font-size: 24px;
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.financial-summary {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.financial-goal {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    font-size: 18px;
    text-align: center;
    font-style: italic;
}

/* Team Member Block */
.team-member-block {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background: linear-gradient(to right, rgba(58, 42, 26, 0.25) 0%, rgba(42, 42, 42, 0.25) 100%);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

.team-member-image-wrapper {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.team-member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-member-name {
    font-size: 32px;
    font-weight: 600;
    color: #ffd700;
    margin: 0;
    letter-spacing: 1px;
}

.team-member-role {
    font-size: 20px;
    color: #d4af37;
    margin: 0;
    font-weight: 500;
}

.team-member-email {
    font-size: 18px;
    color: #b0b0b0;
    margin: 0;
}

.team-member-email a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.team-member-email a:hover {
    color: #d4af37;
}

@media (max-width: 768px) {
    .team-member-block {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .team-member-image-wrapper {
        flex: 0 0 auto;
        width: 250px;
        height: 250px;
    }
    
    .team-member-name {
        font-size: 28px;
        text-align: center;
    }
    
    .team-member-role,
    .team-member-email {
        text-align: center;
    }
}

/* AI Droid Hero Section */
.aidroid-hero-section {
    margin-top: 60px;
}

.aidroid-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00127-541972444.png');
    background-position: left center;
}

/* Dream Hero Section */
.dream-hero-section {
    margin-top: 60px;
}

.dream-hero-background {
    background-image: url('/wp-content/uploads/2025/12/Mask-group-2.png');
    background-position: center;
    background-size: cover;
}

/* Immigrants Hero Section */
.immigrants-hero-background {
    background-image: url('/wp-content/uploads/2025/12/fc6f9b79-ed08-4b58-9953-b735223649d4-1.webp');
    background-position: center;
    background-size: cover;
}

/* Passport Hero Section */
.passport-hero-background {
    background-image: url('/wp-content/uploads/2025/12/c5ddaae9-07ed-4449-a9d7-588531cada29.webp');
    background-position: center;
    background-size: cover;
}

/* Passport Mission Hero Section */
.passport-mission-hero-background {
    background-image: url('/wp-content/uploads/2025/12/wooden-cube-with-the-word-goal-plan-success.jpg');
    background-position: center;
    background-size: cover;
}

/* Passport Advantages Hero Section */
.passport-advantages-hero-background {
    background-image: url('/wp-content/uploads/2025/12/e15aa5c2-1733-411b-af1c-92b5810a9646.webp');
    background-position: center;
    background-size: cover;
}

/* Passport Contribution Hero Section */
.passport-contribution-hero-background {
    background-image: url('/wp-content/uploads/2025/12/c5ddaae9-07ed-4449-a9d7-588531cada29.webp');
    background-position: center top;
    background-size: cover;
}

.passport-contribution-hero-content {
    align-items: flex-start;
    padding-top: 40px;
}

/* Passport Conclusion Hero Section */
.passport-conclusion-hero-background {
    background-image: url('/wp-content/uploads/2025/12/happy-millennial-copywriter-smiling-during-remote-work-enjoying-digital-nomad-.jpg');
    background-position: center;
    background-size: cover;
}

/* City Concept Hero Section */
.city-concept-hero-background {
    background-image: url('/wp-content/uploads/2025/12/5d746c7f-eb09-4fc8-9f2e-f21257695266.webp');
    background-position: center;
    background-size: cover;
}

/* City Planning Hero Section */
.city-planning-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00019-3271581430.png');
    background-position: center;
    background-size: cover;
}

/* City Benefits Hero Section */
.city-benefits-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00689-3105626988.png');
    background-position: center;
    background-size: cover;
}

/* City Living Hero Section */
.city-living-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00672-4197421015.png');
    background-position: center;
    background-size: cover;
}

/* City Modular Hero Section */
.city-modular-hero-background {
    background-image: url('/wp-content/uploads/2025/12/6d931186-0614-41bd-b53c-fcd691c99053.webp');
    background-position: center;
    background-size: cover;
}

/* City Base Construction Hero Section */
.city-base-construction-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00679-2124183843.png');
    background-position: center;
    background-size: cover;
}

/* City Amenities Hero Section */
.city-amenities-hero-background {
    background-image: url('/wp-content/uploads/2025/12/d18d4d0a-115e-4c01-a6c8-349dda96f8a2.webp');
    background-position: center;
    background-size: cover;
}

/* City Courtyard Hero Section */
.city-courtyard-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00687-2150501126.png');
    background-position: center;
    background-size: cover;
}

/* City Residential Hero Section */
.city-residential-hero-background {
    background-image: url('/wp-content/uploads/2025/12/00675-744030144.png');
    background-position: center;
    background-size: cover;
}

/* City Top Level Hero Section */
.city-top-level-hero-background {
    background-image: url('/wp-content/uploads/2025/12/8c0a5f08-ce49-479d-aba3-1a6032e9bb7a.webp');
    background-position: center;
    background-size: cover;
}

/* City Conclusion Hero Section */
.city-conclusion-hero-section {
    margin-top: 120px;
    margin-bottom: 120px;
}

.city-conclusion-hero-background {
    background-image: url('/wp-content/uploads/2025/12/5d746c7f-eb09-4fc8-9f2e-f21257695266.webp');
    background-position: center;
    background-size: cover;
}

/* Кнопка "Далее" на странице Story */
.story-next-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 200px 40px;
    margin: 0 auto;
    max-width: 900px;
}

/* Страница Immigrants */
.immigrants-page-content {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #b0b0b0;
}

.story-next-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(to right, rgba(58, 42, 26, 0.25) 0%, rgba(42, 42, 42, 0.25) 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    color: #ffd700;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.story-next-button:hover {
    border-color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4),
                0 0 40px rgba(255, 215, 0, 0.2);
    background: linear-gradient(to right, rgba(58, 42, 26, 0.4) 0%, rgba(42, 42, 42, 0.4) 100%);
    transform: translateY(-2px);
}

.story-next-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .story-hero-heading {
        font-size: 24px;
    }
    
    .story-hero-section {
        min-height: 300px;
    }
    
    .story-hero-content {
        min-height: 300px;
        padding: 40px 20px;
    }
}

