/* ============================================================
   МУЗЕЙНЫЙ СТИЛЬ — ВСЕ СТИЛИ В ОДНОМ ФАЙЛЕ
   ============================================================ */
:root {
    --museum-bg: #e7e0d9;
    --museum-dark: #2c1810;
    --museum-gold: #8b7355;
    --museum-light: #d4c5b2;
    --museum-text: #3d2b1f;
    --museum-white: #faf8f6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--museum-bg);
    color: var(--museum-text);
    padding-top: 76px;
}

/* ============================================================
   ШАПКА (НАВИГАЦИЯ)
   ============================================================ */
.navbar-museum {
    background: linear-gradient(180deg, #2c1810 0%, #1a0f0a 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    padding: 12px 0;
    border-bottom: 3px solid var(--museum-gold);
}

.navbar-museum .navbar-brand {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: var(--museum-white) !important;
    letter-spacing: 3px;
}

.navbar-museum .navbar-brand small {
    display: block;
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 5px;
    color: var(--museum-gold);
    text-transform: uppercase;
}

.navbar-museum .nav-link {
    color: var(--museum-light) !important;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 18px !important;
    transition: all 0.3s;
    font-weight: 300;
}

.navbar-museum .nav-link:hover,
.navbar-museum .nav-link.active {
    color: var(--museum-white) !important;
    background: rgba(139, 115, 85, 0.2);
    border-radius: 4px;
}

.navbar-museum .navbar-toggler {
    border-color: var(--museum-gold);
    color: var(--museum-white);
}

.navbar-museum .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   ГЛАВНЫЙ БАННЕР (HERO)
   ============================================================ */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #2c1810 0%, #4a3228 50%, #2c1810 100%);
    overflow: hidden;
    border-bottom: 4px solid var(--museum-gold);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/core/img/bg.jpg') repeat-x fixed;
    opacity: 0.08;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
}

.hero-content h1 {
    font-family: 'Georgia', serif;
    font-size: 56px;
    color: var(--museum-white);
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h1 .gold {
    color: var(--museum-gold);
}

.hero-content p {
    font-size: 18px;
    color: var(--museum-light);
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin: 20px auto;
}

.hero-content .btn-museum {
    background: var(--museum-gold);
    color: #fff;
    border: none;
    padding: 14px 45px;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s;
}

.hero-content .btn-museum:hover {
    background: #a0886a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.4);
    color: #fff;
}

/* ============================================================
   КОЛЛАЖ ДЛЯ РАЗДЕЛА "О НАС"
   ============================================================ */
.collage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    aspect-ratio: 4 / 3;
}

.collage-item {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    background: #f0ebe6;
}

.collage-item:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.collage-item:nth-child(2) {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.collage-item:last-child {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
	aspect-ratio: 1/1;
}

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

.collage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto;
        aspect-ratio: auto;
    }
    .collage-item:first-child,
    .collage-item:nth-child(2),
    .collage-item:last-child {
        grid-column: auto;
        grid-row: auto;
    }
    .collage-item {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .collage-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .collage-item {
        aspect-ratio: 16 / 9;
    }
}

/* ============================================================
   О НАС (ТЕКСТОВЫЙ БЛОК)
   ============================================================ */
.about-section {
    background: var(--museum-white);
    padding: 30px 0;
    border-bottom: 1px solid var(--museum-light);
}

.about-section .section-title {
    font-family: 'Georgia', serif;
    font-size: 42px;
    color: var(--museum-dark);
    text-align: center;
    margin-bottom: 10px;
}

.about-section .section-subtitle {
    text-align: center;
    color: var(--museum-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 50px;
    font-weight: 300;
}

.about-section .section-divider {
    width: 240px;
    height: 2px;
    background: var(--museum-gold);
    /*margin: 0 auto 50px;*/
}

/* Дополнительные классы для инлайн-стилей */
.about-label {
    letter-spacing: 0.3em;
    color: var(--museum-gold) !important;
}

.about-title-main {
    font-size: 42px;
    margin-top: 0;
}

.divider-left {
    margin-left: 0;
    margin-right: 0;
}

.about-text-full {
    max-width: 100%;
}

.lead-gold-border {
    border-left-color: var(--museum-gold);
}

.gold-text {
    color: var(--museum-gold);
}

.stats-left {
    justify-content: flex-start;
}

.stats-mt {
    margin-top: 30px;
}

.stat-item-sm {
    min-width: 120px;
}

.about-text {
    font-size: 16px;
    line-height: 1.9;
    color: var(--museum-text);
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: var(--museum-dark);
    border-left: 4px solid var(--museum-gold);
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
}

.about-text strong {
    color: var(--museum-dark);
    font-weight: 700;
}

.about-text .highlight {
    color: var(--museum-gold);
    font-weight: 700;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin: 40px 0 20px;
}

.stats .stat-item {
    text-align: center;
    background: var(--museum-bg);
    padding: 20px 30px;
    border-radius: 4px;
    min-width: 150px;
    border-bottom: 3px solid var(--museum-gold);
}

.stats .stat-item .number {
    font-family: 'Georgia', serif;
    font-size: 32px;
    color: var(--museum-dark);
    display: block;
    line-height: 1.2;
}

.stats .stat-item .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #777;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        align-items: center;
    }
    .stats .stat-item {
        width: 100%;
        max-width: 250px;
    }
    .about-text .lead {
        font-size: 18px;
        padding-left: 15px;
    }
}

/* ============================================================
   СЛАЙДЕР (Bootstrap Carousel)
   ============================================================ */
.slider-section {
    background: var(--museum-white);
    padding: 60px 0;
}

.slider-section .carousel {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--museum-light);
    border-radius: 4px;
    overflow: hidden;
}

.slider-section .carousel-item img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.slider-section .carousel-caption {
    background: linear-gradient(0deg, rgba(44,24,16,0.85) 0%, transparent 100%);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 20px 30px;
}

.slider-section .carousel-caption h5 {
    font-family: 'Georgia', serif;
    font-size: 28px;
    letter-spacing: 2px;
}

.slider-section .carousel-caption p {
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 1px;
}

.slider-section .carousel-control-prev,
.slider-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44,24,16,0.6);
    border-radius: 50%;
    margin: 0 20px;
}

.slider-section .carousel-control-prev:hover,
.slider-section .carousel-control-next:hover {
    background: rgba(44,24,16,0.9);
}

.slider-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--museum-gold);
    background: transparent;
}

.slider-section .carousel-indicators button.active {
    background: var(--museum-gold);
}

/* ============================================================
   ГАЛЕРЕЯ С РАЗДЕЛАМИ (Tabs + Filter)
   ============================================================ */
.gallery-section {
    background: var(--museum-bg);
    padding: 30px 0;
}

.gallery-section .nav-tabs {
    border-bottom: 2px solid var(--museum-light);
    justify-content: center;
    margin-bottom: 40px;
}

.gallery-section .nav-tabs .nav-link {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--museum-text);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    padding: 12px 24px;
    border-radius: 0;
    background: transparent;
    transition: all 0.3s;
    font-weight: 300;
}

.gallery-section .nav-tabs .nav-link:hover {
    color: var(--museum-gold);
    background: rgba(139,115,85,0.1);
}

.gallery-section .nav-tabs .nav-link.active {
    color: var(--museum-dark);
    background: transparent;
    border-bottom: 3px solid var(--museum-gold);
    font-weight: 700;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.4s;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

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

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(44,24,16,0.85) 0%, transparent 100%);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

.gallery-item .overlay h5 {
    font-family: 'Georgia', serif;
    font-size: 16px;
    margin: 0;
}

.gallery-item .overlay p {
    font-size: 12px;
    opacity: 0.8;
    margin: 5px 0 0;
}

.gallery-item .overlay i {
    color: var(--museum-gold);
    margin-right: 5px;
}

.gallery-item .zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(44,24,16,0.7);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
}

.gallery-item:hover .zoom-icon {
    opacity: 1;
}

.gallery-item.hidden {
    display: none;
}
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10) !important;
}
.album-card {
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.text-gold {
    color: var(--museum-gold, #8b7355);
}
.album-card-img{
	height: 200px;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
}
.album-card{
	border-radius: 0 0 12px 12px;
}
/* ============================================================
   УСЛУГИ
   ============================================================ */
.services-section {
    background: var(--museum-white);
    padding: 30px 0;
}

.service-card {
    background: var(--museum-bg);
    padding: 40px 30px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.4s;
    border-bottom: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-bottom-color: var(--museum-gold);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.service-card:hover .icon-wrapper {
    background: rgba(139, 115, 85, 0.2);
}

.service-card .icon-wrapper i {
    font-size: 36px;
    color: var(--museum-gold);
}

.service-card h5 {
    font-family: 'Georgia', serif;
    color: var(--museum-dark);
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    font-size: 14px;
    color: #3d3c3c;
    line-height: 1.8;
    flex-grow: 1;
}

.service-card .btn-service {
    margin-top: 20px;
    background: transparent;
    border: 1px solid var(--museum-gold);
    color: var(--museum-gold);
    border-radius: 0;
    padding: 8px 30px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.service-card .btn-service:hover {
    background: var(--museum-gold);
    color: #fff;
}

/* ============================================================
   ПРОВЕРКА СТАТУСА ЗАКАЗА
   ============================================================ */
.status-section {
    background: var(--museum-bg);
    padding: 30px 0;
    border-top: 1px solid var(--museum-light);
    border-bottom: 1px solid var(--museum-light);
}

.status-section .status-box {
    background: var(--museum-white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.status-section .status-box h4 {
    font-family: 'Georgia', serif;
    color: var(--museum-dark);
    margin-bottom: 20px;
}

.status-section .status-box .input-group {
    border-radius: 0;
}

.status-section .status-box .form-control {
    border-radius: 0;
    border: 1px solid var(--museum-light);
    padding: 12px 20px;
    font-size: 14px;
}

.status-section .status-box .btn-status {
    background: var(--museum-gold);
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 12px 30px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.status-section .status-box .btn-status:hover {
    background: #a0886a;
}

.status-section .status-result {
    margin-top: 25px;
    padding: 15px;
    background: var(--museum-bg);
    border-left: 4px solid var(--museum-gold);
    font-size: 16px;
    display: none;
}

.status-section .status-result .order-number {
    font-weight: 700;
    color: var(--museum-dark);
}

.status-section .status-result .status-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--museum-gold);
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ============================================================
   КОНТАКТЫ
   ============================================================ */
.contacts-section {
    background: var(--museum-dark);
    color: var(--museum-white);
    padding: 30px 0;
}

.contacts-section .section-title {
    color: var(--museum-white);
}

.contacts-section .section-subtitle {
    color: var(--museum-gold);
}

.contacts-section .section-divider {
    background: var(--museum-gold);
}

.contact-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(139, 115, 85, 0.2);
}

.contact-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--museum-gold);
}

.contact-card i {
    font-size: 32px;
    color: var(--museum-gold);
    margin-bottom: 15px;
}

.contact-card h6 {
    font-family: 'Georgia', serif;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

.contact-card a {
    color: var(--museum-white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--museum-gold);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--museum-light);
    font-size: 20px;
    transition: all 0.3s;
    border: 1px solid rgba(139, 115, 85, 0.2);
}

.social-links a:hover {
    background: var(--museum-gold);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--museum-gold);
}

.map-container iframe{
	width:100%;
	height:100%;
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer {
    background: #0d0806;
    color: rgba(255,255,255,0.5);
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
    letter-spacing: 1px;
    border-top: 1px solid rgba(139, 115, 85, 0.2);
}

.footer a {
    color: var(--museum-gold);
    text-decoration: none;
}

.footer a:hover {
    color: var(--museum-white);
}

/* ============================================================
   КНОПКА "НАВЕРХ" (SCROLL TO TOP)
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--museum-gold);
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.scroll-top:hover {
    background: #a0886a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 115, 85, 0.5);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top i {
    pointer-events: none;
}

/* Адаптив для мобильных */
@media (max-width: 576px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
/* ============================================================
   COOKIE CONSENT (уведомление о куки)
   ============================================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 24, 16, 0.95);
    backdrop-filter: blur(8px);
    color: var(--museum-light);
    padding: 15px 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    border-top: 3px solid var(--museum-gold);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: var(--museum-light);
}

.cookie-link {
    color: var(--museum-gold);
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-link:hover {
    color: #a0886a;
}

.cookie-btn {
    background: var(--museum-gold);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #a0886a;
    transform: scale(1.03);
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .cookie-text {
        flex: 1;
        margin-right: 20px;
    }
    .cookie-btn {
        flex-shrink: 0;
    }
}

@media (max-width: 576px) {
    .cookie-consent {
        padding: 12px 15px;
    }
    .cookie-text {
        font-size: 13px;
    }
    .cookie-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 40px;
    }
    .slider-section .carousel-item img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 62px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 15px;
    }
    .section-title {
        font-size: 30px;
    }
    .slider-section .carousel-item img {
        height: 250px;
    }
    .slider-section .carousel-caption h5 {
        font-size: 18px;
    }
    .slider-section .carousel-control-prev,
    .slider-section .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }
    .gallery-section .nav-tabs .nav-link {
        padding: 8px 12px;
        font-size: 12px;
    }
    .status-section .status-box {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .hero-content .btn-museum {
        padding: 10px 30px;
        font-size: 12px;
    }
    .slider-section .carousel-item img {
        height: 200px;
    }
    .gallery-item {
        aspect-ratio: 3/2;
    }
    .contact-card {
        padding: 20px;
    }
}