/* Основные настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    color: #2c5530;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #4a9c5f;
    display: inline-block;
    width: 100%;
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style-position: inside;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.section {
    padding: 4rem 0;
}

.dark-section {
    background-color: #e9f5eb;
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem 0;
}

/* Шапка */
header {
    background: linear-gradient(rgba(44, 85, 48, 0.85), rgba(44, 85, 48, 0.9)), url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?ixlib=rb-4.0.3') center/cover no-repeat;
    /* Это Unsplash фото-заглушка. Вы его замените. */
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #ffd166;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ffd166;
}

.header-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 5rem;
}

.header-title h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.header-title p {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 2.5rem;
    color: #f0f0f0;
}

.btn {
    display: inline-block;
    background-color: #ffd166;
    color: #2c5530;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #ffd166;
}

.btn:hover {
    background-color: transparent;
    color: #ffd166;
}

/* Секция "О горе" */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-img {
    flex: 1;
    min-width: 300px;
}

/* Секция "Башня" */
.tower-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap-reverse;
}

.tower-text {
    flex: 1;
    min-width: 300px;
}

.tower-img {
    flex: 1;
    min-width: 300px;
}

/* Карточки достопримечательностей */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.attraction-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    padding-bottom: 1.5rem;
}

.attraction-card:hover {
    transform: translateY(-10px);
}

.card-img {
    height: 200px;
    width: 100%;
    background-color: #ddd;
    margin-bottom: 1rem;
}

/* Секция "Как добраться" */
.route-content {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.route-text {
    flex: 2;
    min-width: 300px;
}

.route-text h3 {
    color: #4a9c5f;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.route-text h3:first-child {
    margin-top: 0;
}

.route-map {
    flex: 1;
    min-width: 300px;
    align-self: center;
}

/* Галерея */
.gallery-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Заглушки для изображений */
.image-placeholder {
    background-color: #e0e0e0;
    border: 2px dashed #aaa;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #777;
    padding: 2rem;
    text-align: center;
    min-height: 300px;
    width: 100%;
}

.image-placeholder.small {
    min-height: 200px;
    padding: 1rem;
}

.image-placeholder.gallery {
    min-height: 200px;
    padding: 1rem;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #999;
}

.card-img .image-placeholder.small {
    min-height: 200px;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px dashed #aaa;
}

/* Подвал */
footer {
    background-color: #2c5530;
    color: #d0e6d6;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.8rem;
}

footer strong {
    color: white;
}

.footer-info {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 1.5rem;
}

.footer-links {
    margin-top: 2rem;
}

.footer-links a {
    color: #ffd166;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        align-items: flex-end;
    }
    .nav-menu li {
        margin: 0.5rem 0;
        margin-left: 0;
    }
    .header-title h1 {
        font-size: 2.5rem;
    }
    .about-content, .tower-content, .route-content {
        flex-direction: column;
    }
    h2 {
        font-size: 1.8rem;
    }
    .dark-section {
        padding: 2rem 1.5rem;
    }
}