* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #f5f3ee;
    color: #202020;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #f5f3ee;
    border-bottom: 1px solid #d8d5ce;
}

.logo {
    color: #202020;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #202020;
    text-decoration: none;
}

nav a:hover {
    color: #9b4e36;
}

.hero {
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 80px 8%;
    background-color: #f5f3ee;
}

.hero-content {
    max-width: 900px;
}

.hero-label {
    margin: 0 0 20px;
    color: #9b4e36;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin: 0 0 25px;
    font-size: 72px;
    font-weight: normal;
    line-height: 1.1;
}

.hero-text {
    max-width: 700px;
    margin: 0 0 35px;
    color: #555;
    font-size: 19px;
}

.main-button {
    display: inline-block;
    padding: 14px 25px;
    background-color: #1e2b26;
    color: white;
    text-decoration: none;
}

.main-button:hover {
    background-color: #34473f;
}

.places-section {
    padding: 80px 8%;
    background-color: white;
}

.section-heading {
    margin-bottom: 40px;
}

.section-heading p {
    margin: 0 0 8px;
    color: #9b4e36;
    font-size: 15px;
    font-weight: bold;
}

.section-heading h2 {
    margin: 0;
    font-size: 42px;
}

.places-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.place-card {
    overflow: hidden;
    background-color: #f5f3ee;
}

.place-card img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.place-card-content {
    padding: 22px;
}

.place-region {
    margin: 0 0 7px;
    color: #9b4e36;
    font-size: 14px;
    font-weight: bold;
}

.place-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.3;
}

.place-card h3 a {
    color: #202020;
    text-decoration: none;
}

.place-card h3 a:hover {
    color: #2468b4;
}

.place-card-content > p {
    margin: 0 0 18px;
    color: #555;
}

.place-link {
    color: #2468b4;
    font-weight: bold;
    text-decoration: none;
}

.place-link:hover {
    text-decoration: underline;
}

.categories-section {
    padding: 80px 8%;
    background-color: #1e2b26;
    color: white;
}

.categories-heading {
    margin-bottom: 40px;
}

.categories-heading p {
    margin: 0 0 8px;
    color: #d69b82;
    font-size: 15px;
    font-weight: bold;
}

.categories-heading h2 {
    margin: 0;
    font-size: 42px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #63716b;
    border-bottom: 1px solid #63716b;
}

.category-card {
    min-height: 270px;
    padding: 35px;
    border-right: 1px solid #63716b;
}

.category-card:last-child {
    border-right: none;
}

.category-card h3 {
    margin: 0 0 18px;
    font-size: 27px;
    line-height: 1.3;
}

.category-card p {
    margin: 0 0 25px;
    color: #d4d9d6;
}

.category-card a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.category-card a:hover {
    text-decoration: underline;
}

.about-section {
    padding: 80px 8%;
    background-color: #f5f3ee;
}

.about-content {
    max-width: 850px;
}

.about-label {
    margin: 0 0 8px;
    color: #9b4e36;
    font-size: 15px;
    font-weight: bold;
}

.about-content h2 {
    margin: 0 0 25px;
    font-size: 42px;
    line-height: 1.2;
}

.about-content p:not(.about-label) {
    margin: 0 0 18px;
    color: #555;
    font-size: 18px;
}

.main-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: #141d19;
    color: white;
}

.main-footer p {
    margin: 0;
}

.main-footer a {
    color: white;
    text-decoration: none;
}

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

@media (max-width: 900px) {
    .hero h1 {
        font-size: 55px;
    }

    .places-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-list {
        grid-template-columns: 1fr;
    }

    .category-card {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #63716b;
    }

    .category-card:last-child {
        border-bottom: none;
    }
}

@media (max-width: 650px) {
    .main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 18px 5%;
    }

    nav {
        flex-wrap: wrap;
        gap: 12px 18px;
        font-size: 14px;
    }

    .hero {
        min-height: 520px;
        padding: 60px 5%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-text {
        font-size: 17px;
    }

    .places-section,
    .categories-section,
    .about-section {
        padding: 60px 5%;
    }

    .places-list {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .categories-heading h2,
    .about-content h2 {
        font-size: 34px;
    }

    .main-footer {
        padding: 22px 5%;
    }
}