/* app.css */
body {
    margin: 0;
    padding: 0;
    background-color: #f5f2eb; /* приглушённый фон страницы */
    color: #2e2b28;
    font-family: 'Georgia', 'Times New Roman', serif; /* более «литературный» шрифт */
}

.nav-pills .nav-link {
    color: #3b3733;
}

.nav-pills .nav-link.active {
    color: #2e2b28;
    background-color: #d9d0c1; 
}

/* Главная */
.container_main {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#ireland {
    width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0.9) saturate(0.8); /* лёгкая дымка тоски */
}

.flex_colum_box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 400px;
}

.images_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 190px;
    gap: 15px;
}

.images_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0.9) saturate(0.7);
}

.text_box p {
    margin: 0;
    font-style: italic;
    color: #4a423c;
    line-height: 1.6;
    text-align: center;
}

.text_box hr {
    border-color: #c6baad;
    opacity: 0.6;
}

.country_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#countryTitle {
    color: #5a524a;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 2px;
}

#countryName {
    color: #4b4239;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.grid_country {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 15px;
}

.grid_country img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    filter: brightness(0.85) saturate(0.6);
}

.button_box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.button_box button {
    width: 150px;
    height: 50px;
    border-radius: 8px;
    background-color: #e3dbcf;
    border: 1px solid #b9ad9b;
    color: #3b3733;
    cursor: pointer;
    transition: 0.3s ease;
}

.button_box button:hover {
    background-color: #cdbfaa;
    color: #1f1c19;
}

/* Направления — ЭКЗИСТЕНЦИАЛЬНАЯ ТОСКА */
.directions-title {
    color: #4a4038;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 30px;
    border-bottom: 1px solid #cbbcaa;
    padding-bottom: 8px;
    text-align: center;
}

.container_visit {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
    padding: 10px 20px 40px;
}

.visit_box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #e7e0d5;
    color: #2c2824;
    width: 320px;
    padding: 30px 20px 25px;
    border-radius: 2px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid #cbbfa9;
    transition: 0.25s ease;
    position: relative;
}

.visit_box:hover {
    background-color: #ddcfb5;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    border-color: #b9a584;
}

.visit_box h5 {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #3f3830;
    margin: 0;
    border-bottom: 1px dashed #b6a48b;
    padding-bottom: 12px;
    width: 100%;
    text-align: center;
}

.visit_box .about {
    flex: 1;
    width: 100%;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #3a3430;
}

.visit_box .about ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.visit_box .about ul li {
    padding: 4px 0;
    border-bottom: 1px dotted #cfc0a9;
}

.visit_box .about ul li::before {
    content: "— ";
    color: #9b8b75;
    font-weight: 300;
}

.visit_box p {
    font-size: 0.8rem;
    color: #6b6257;
    font-style: italic;
    margin: 5px 0 0;
    text-align: center;
    opacity: 0.8;
}

.price_visit {
    width: 180px;
    height: 44px;
    border-style: none;
    background-color: #3a322b;
    color: #e7dfd1;
    font-weight: 400;
    letter-spacing: 1px;
    border-radius: 2px;
    cursor: pointer;
    margin-top: 8px;
    font-size: 0.95rem;
    transition: 0.2s ease;
    border: 1px solid #5f5547;
}

.price_visit:hover {
    background-color: #2b241f;
    color: #d8cdb7;
    border-color: #7a6e5b;
}

/* --- Часто задаваемые вопросы --- */
.faq-title {
    text-align: center;
    color: #4a4038;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.8;
    margin: 50px 0 30px;
    border-bottom: 1px solid #cbbcaa;
    padding-bottom: 8px;
}

.faq_container {
    max-width: 750px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.faq_item {
    border-bottom: 1px solid #d9cfbd;
    margin-bottom: 5px;
}

.faq_question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10px;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.25s ease;
    color: #3b3733;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

.faq_question:hover {
    background-color: #e7e0d5;
}

.faq_icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: #9b8b75;
    transition: transform 0.3s ease;
}

.faq_answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 10px;
    background-color: #faf8f4;
    border-left: 3px solid #b9a584;
    margin-left: 10px;
}

/* Класс, который добавляется через JS для открытия */
.faq_item.active .faq_answer {
    max-height: 200px;
    padding: 15px 20px;
}

.faq_item.active .faq_icon {
    transform: rotate(45deg);
}

.faq_answer p {
    margin: 0;
    color: #4a4038;
    font-style: italic;
    line-height: 1.7;
    font-size: 0.95rem;
}