/* --- Сброс базовых стилей и шрифты --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* --- Шапка (Hero-блок) --- */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('https://unsplash.com') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* Кнопка */
.btn {
    display: inline-block;
    background-color: #ff4757;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn:hover {
    background-color: #e84118;
}

/* --- Основной контейнер --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Раздел "О городе" */
.about {
    text-align: center;
    margin-bottom: 50px;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    position: relative;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #ff4757;
    margin: 10px auto 0;
}

.about p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* --- Сетка карточек (Grid) --- */
.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Карточки мест */
.card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

/* Временные фоновые изображения для карточек */
.img-shibuya {
    background-image: url('https://unsplash.com');
}

.img-sensoji {
    background-image: url('https://unsplash.com');
}

.img-fuji {
    background-image: url('https://unsplash.com');
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.card-body p {
    font-size: 0.95rem;
    color: #555;
}

/* --- Подвал страницы --- */
footer {
    background-color: #2f3640;
    color: #f5f6fa;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
}
