/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body.start-page {
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
    background: #1a1a1a;
    color: #fff;
}

/* ===== ЛОГОТИП (ОБЩАЯ БАЗА) ===== */
.logo-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    padding: 20px 30px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    background: transparent;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.logo-subtitle {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* ===== СТАРТОВАЯ СТРАНИЦА: УВЕЛИЧЕННЫЙ ЛОГОТИП ===== */
.logo-large .logo-img {
    width: 120px;
    height: 120px;
}

.logo-large .logo-title {
    font-size: 48px;
}

.logo-large .logo-subtitle {
    font-size: 20px;
}

/* Уменьшенная версия логотипа при скролле */
.logo-large.scrolled {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 0 0 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.logo-large.scrolled .logo-img {
    width: 45px;
    height: 45px;
}

.logo-large.scrolled .logo-title {
    font-size: 18px;
}

.logo-large.scrolled .logo-subtitle {
    font-size: 11px;
}

/* ===== СТРАНИЦА ТУРА И КАТАЛОГА: УМЕНЬШЕННЫЙ ЛОГОТИП ===== */
.logo-tour {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 0 0 15px 0;
}

.logo-tour .logo-img {
    width: 35px;
    height: 35px;
}

.logo-tour .logo-title {
    font-size: 16px;
}

.logo-tour .logo-subtitle {
    font-size: 10px;
}

/* ===== ГЕРОЙ-СЕКЦИЯ ===== */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url('../assets/objects/exterior-wood.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #2c5f2d;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #1e3a1f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
}
/* ===== ПОДВАЛ (ФОН ТЕКСТУРА ДЕРЕВА + ПОЛУПРОЗРАЧНАЯ ПОДЛОЖКА) ===== */
.footer {
    background: url('../assets/textures/wood-dark.jpg') repeat;
    padding: 50px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.65);  /* полупрозрачный чёрный фон под текстом */
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(2px);
}

.mission-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #c9a03d;
}

.mission-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #f0f0f0;  /* чуть светлее, чем было */
    margin-bottom: 15px;
}

.mission-text a {
    color: #c9a03d;
    text-decoration: none;
}

.mission-text a:hover {
    text-decoration: underline;
}

.mission-small {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
}

/* ===== PANORAMA ===== */
#panorama {
    width: 100%;
    height: 100%;
}

/* Скрываем стандартные элементы Pannellum */
.pnlm-zoom-controls,
.pnlm-controls-container,
.pnlm-about-msg,
.pnlm-title-box,
.pnlm-panorama-info {
    display: none !important;
}

/* ===== НАВИГАЦИОННЫЕ КНОПКИ (ВНИЗУ ПО ЦЕНТРУ) ===== */
#hiwood-nav {
    position: fixed;
    bottom: 25px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10000;
}

#hiwood-nav button {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#hiwood-nav button:hover {
    transform: scale(1.05);
    background: rgba(0, 0, 0, 0.95);
}

#hiwood-title {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 24px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 0.5px;
}

/* ===== КНОПКИ МАСШТАБА (СЛЕВА ПО ЦЕНТРУ) ===== */
#hiwood-zoom {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10000;
}

#hiwood-zoom button {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

#hiwood-zoom button:hover {
    transform: scale(1.1);
    background: rgba(0, 0, 0, 0.95);
}

/* ===== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТОВ ===== */
@media (max-width: 1024px) {
    .logo-header .logo-text {
        display: none;
    }
    .logo-header {
        padding: 10px 15px;
    }
    .logo-header .logo-img {
        width: 40px;
        height: 40px;
    }
    #hiwood-zoom {
        left: 15px;
        gap: 10px;
    }
    #hiwood-zoom button {
        width: 42px;
        height: 42px;
        font-size: 24px;
    }
    #hiwood-nav button {
        padding: 8px 18px;
        font-size: 14px;
    }
    #hiwood-title {
        padding: 6px 16px;
        font-size: 12px;
    }
}

/* ===== АДАПТАЦИЯ ДЛЯ ТЕЛЕФОНОВ ===== */
@media (max-width: 768px) {
    .logo-header {
        padding: 8px 12px;
    }
    .logo-header .logo-img {
        width: 32px;
        height: 32px;
    }
    #hiwood-zoom {
        left: 10px;
        gap: 8px;
    }
    #hiwood-zoom button {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    #hiwood-nav {
        bottom: 15px;
        gap: 12px;
    }
    #hiwood-nav button {
        padding: 6px 14px;
        font-size: 12px;
    }
    #hiwood-title {
        padding: 4px 12px;
        font-size: 11px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-description {
        font-size: 16px;
    }
    .btn {
        padding: 10px 24px;
        font-size: 16px;
    }
    .footer {
        padding: 30px 20px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНО: на странице тура текст логотипа всегда скрыт ===== */
.logo-tour .logo-text {
    display: none;
}

/* ===== НОВЫЕ БЛОКИ В ПОДВАЛЕ ===== */
.tools-block, .contacts-block {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tools-block h3, .contacts-block h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #c9a03d;
}

.tools-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tool-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.tool-icon {
    font-size: 2rem;
    min-width: 50px;
    text-align: center;
}

.tool-content {
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.tool-content a {
    color: #c9a03d;
    word-break: break-all;
}

.tool-content strong {
    color: #fff;
}

.contacts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 10px;
}

.contact-item {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.contact-item a {
    color: #c9a03d;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .tool-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contacts-list {
        justify-content: center;
    }
}