.hero {
    background: linear-gradient(135deg, #d7d0b4 0%, #d8d5b4 100%);
    color: white;
    padding: 120px 0 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><path d="M0,60 Q250,10 500,60 T1000,60 L1000,100 L0,100 Z"/></svg>');
    background-size: cover;
}


.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8e1522 0%, #690c16 100%);
    border-radius: 2px;
}




.btn {
    background: linear-gradient(135deg, #8e1522 0%, #a72936 100%);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
    width: fit-content;
    margin-top: auto;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 84, 0, 0.4);
    color: white;
}



/* Основные стили из оригинального HTML */
.carousel-item {
    height: 70vh;
    min-height: 400px;
    /*margin-top: 30px;*/
    
}

.carousel-caption {
    border-radius: 25px;
    padding: 15px;
}

.carousel-caption h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.btn-custom {
    margin-top: 10px;
    padding: 10px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
}

.navbar-brand {
    font-weight: bold;
}

.nav-link:hover {
    color: #f39c12 !important;
    font-size: 1.4rem;
}

.nav-link.active {
    color: #f39c12 !important;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Exhibits section */
.exhibits-title {
    margin-top: 5px;
}

.exhibits {
    padding: 60px 0;
    background-color: #1861aa;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: #343a40;
    position: relative;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #969902;
}

.exhibit-card {
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    background-color: #332f0863;
    color: rgb(243, 229, 242);
}

.exhibit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(160, 35, 35, 0.1);
}

.exhibit-image {
    height: 250px;
    overflow: hidden;
}

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

.exhibit-card:hover .exhibit-image img {
    transform: scale(1.05);
}

.exhibit-info {
    padding: 20px;
}

.exhibit-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.exhibit-info p {
    color: #ffffff;
    line-height: 1.6;
}

/* BG */
.exhibits-bg {
    background-color: #ada02963;
    color: rgb(243, 229, 242);
}

/* visits */
.visit-bg {
    background-color: #ada02963;
    color: rgb(243, 229, 242);
}

.visit-content h3 {
    color: #ce0000;
    line-height: 1.6;
}

.visit-content p {
    color: #180808;
    line-height: 1.6;
}

.visit-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* карта */
.map-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

/* Адаптация для мобильных */
@media (max-width: 576px) {
    .col-sm-5 {
        width: 100% !important;
    }
}

/* booking */
.visit-info, .visit-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item h3 {
    color: #c9a66b;
    margin-bottom: 5px;
}

form {
    display: grid;
    gap: 15px;
}

form input, form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
}

form textarea {
    height: 120px;
    resize: vertical;
}

/* Дополнительные стили для админ-панели */
.admin-card {
    transition: transform 0.2s;
}

.admin-card:hover {
    transform: translateY(-2px);
}

.table-responsive {
    border-radius: 8px;
    overflow: hidden;
}

.img-thumbnail {
    border-radius: 8px;
}

/* Стили для форм */
.form-control:focus {
    border-color: #f39c12;
    box-shadow: 0 0 0 0.2rem rgba(243, 156, 18, 0.25);
}

.btn-primary {
    background-color: #f39c12;
    border-color: #f39c12;
}

.btn-primary:hover {
    background-color: #e67e22;
    border-color: #e67e22;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption h3 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .exhibit-card {
        margin-bottom: 20px;
    }
}


