
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #8B4513;
    --secondary: #D2691E;
    --accent: #CD853F;
    --dark: #333;
    --light: #f8f8f8;
    --gray: #777;
}

body {
    background-color: #fff;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: var(--light);
    border-bottom: 1px solid #e0e0e0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 112px;
    height: 112px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 14px;
    color: var(--gray);
}

.header-contacts {
    text-align: right;
}

.header-contacts p {
    margin-bottom: 5px;
    font-size: 14px;
}

.phone {
    font-weight: bold;
    font-size: 18px;
    color: var(--primary);
}

/* Navigation */
nav {
    background-color: var(--primary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
}

.main-nav {
    display: flex;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    transition: background-color 0.3s;
    text-decoration: none;
}

.main-nav a:hover {
    background-color: var(--secondary);
}

.social-nav {
    display: flex;
}

.social-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    color: white;
    transition: background-color 0.3s;
}

.social-nav a:hover {
    background-color: var(--secondary);
}

/* Slider */
.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px;
}

.slide-content h2 {
    margin-bottom: 10px;
    font-size: 28px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.slide-content p {
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Sections */
.section-title {
    text-align: center;
    margin: 40px 0 30px;
    color: var(--primary);
    font-size: 32px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--accent);
    margin: 10px auto;
}

/* About Section */
.about {
    display: flex;
    margin-bottom: 50px;
    gap: 30px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    text-align: justify;
}

.about-image {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Exhibitions */
.expositions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.exposition-card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
}

.exposition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.exposition-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.exposition-info {
    padding: 20px;
}

.exposition-info h3 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 20px;
}

.exposition-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary);
    color: white;
    border-radius: 3px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--secondary);
}

/* News Section */
.news {
    margin-bottom: 50px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.news-item {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    background-color: white;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.news-date {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
}

.news-item h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s;
    text-decoration: none;
}

.footer-column a:hover {
    color: white;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 14px;
    color: #999;
}

/* Responsive */
@media (max-width: 992px) {
    .about {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .header-contacts {
        text-align: center;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }
    
    .main-nav li {
        flex: 1 0 50%;
        text-align: center;
    }
    
    .social-nav {
        justify-content: center;
        padding: 10px 0;
    }
    
    .slider {
        height: 300px;
    }
    
    .slide-content {
        padding: 15px;
    }
    
    .slide-content h2 {
        font-size: 22px;
    }
}

/* Музей */
.stats {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
}