/* ==========================================================================
   1. Основни стилове и шрифтове за целия сайт
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: url('images/background.png') center/cover no-repeat fixed;
    background-color: #f4f1eb;
    color: #333;
    text-align: center;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

/* ==========================================================================
   2. Хедър (Заглавна лента) и Навигация (Меню)
   ========================================================================== */
header {
    /* Луксозен троен градиент - имитиращ блясъка на мазилка */
    background: linear-gradient(135deg, #51423c 0%, #6d5d57 50%, #88756e 100%);
    color: white;
    text-align: center;
    padding: 55px 20px; /* Малко повече пространство за дишане */
    font-size: 38px;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4); /* По-дълбока сянка на текста */
    position: relative;
    box-shadow: inset 0 -5px 15px rgba(0,0,0,0.1);
}

/* Добавяме изящна тънка златна линия най-отдолу на хедъра */
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #e0c4a3, transparent);
}

nav {
    text-align: center;
    padding: 15px;
    background-color: #6d5d57;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 17px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #e0c4a3;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

/* ==========================================================================
   3. Структурни контейнери (Красивите бели карти)
   ========================================================================== */
.container {
    width: 85%;
    max-width: 900px;
    padding: 40px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    box-sizing: border-box;
    text-align: center;
}

h2 {
    font-family: 'Playfair Display', serif;
    color: #6d5d57;
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

h2::after {
    content: '';
    display: block;
    width: 150px;
    height: 3px;
    background-color: #e0c4a3;
    margin: 8px auto 0 auto;
    border-radius: 2px;
}

p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    text-align: center;
    margin-bottom: 20px;
}

/* ==========================================================================
   4. Специфични стилове за секция "Услуги" (Поправен по-плътен шрифт)
   ========================================================================== */
ul.services {
    list-style-type: none;
    padding: 0;
    margin: 20px auto;
    max-width: 800px;
    display: grid;
    grid-template-columns: 1fr; /* 1 колона на мобилни */
    gap: 14px 40px; /* Малко повече разстояние между редовете */
    text-align: left;
}

@media (min-width: 768px) {
    ul.services {
        grid-template-columns: 1fr 1fr; /* 2 колони на компютър */
    }
}

ul.services li {
    font-family: 'Playfair Display', serif;
    font-size: 19px; /* Увеличен размер за по-добра четимост */
    font-weight: 600; /* Направен по-плътен (Bold), за да не бледнее */
    color: #000000; /* Напълно черен и ярък цвят */
    padding-left: 28px;
    position: relative;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Златистата звезда отпред остава същата, но я позиционираме по-добре спрямо по-големия текст */
ul.services li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: -1px;
    color: #e0c4a3;
    font-size: 18px;
}

/* Лек ефект, когато посочиш с мишката - текстът леко омеква към кафяво */
ul.services li:hover {
    color: #6d5d57;
}

/* ==========================================================================
   5. Специфични стилове за Слайдшоуто (Галерията)
   ========================================================================== */
.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 750px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    font-size: 22px;
    transition: 0.3s ease;
    border-radius: 50%;
    z-index: 10;
}

.prev { left: 15px; }
.next { right: 15px; }

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dot-container {
    text-align: center;
    padding-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: #6d5d57;
}

/* ==========================================================================
   6. Секция Контакти и Модерни Бутони
   ========================================================================== */
.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

@media (min-width: 600px) {
    .contact-buttons {
        flex-direction: row;
    }
}

.btn-contact {
    display: inline-block;
    padding: 12px 25px;
    background: #6d5d57;
    color: white !important;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-contact:hover {
    background: #8c7b75;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ==========================================================================
   7. Футър
   ========================================================================== */
footer {
    text-align: center;
    padding: 30px;
    background-color: #6d5d57;
    color: white;
    margin-top: 60px;
    font-size: 14px;
}
/* Позициониране на езиците в горния десен ъгъл на големия хедър */
.lang-switcher {
    position: absolute;
    right: 25px;
    top: 20px; /* Спуска ги малко от най-горния ръб на хедъра */
}

.lang-switcher a {
    color: white; /* Прави буквите EN, DE, RU бели, за да контрастират на хедъра */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 5px !important;
    font-family: 'Poppins', sans-serif; /* Изчистен шрифт за буквите */
    text-shadow: none; /* Махаме сянката, за да се четат лесно */
    transition: color 0.3s ease;
}

.lang-switcher a:hover {
    color: #e0c4a3; /* Златист цвят, когато минеш с мишката */
}

/* За мобилни телефони - за да не застъпят заглавието, ги центрираме малко по-надолу */
@media (max-width: 768px) {
    .lang-switcher {
        position: static;
        margin-top: 15px;
        display: block;
        text-align: center;
    }
}
/* Стилизиране на акордеона за мобилни устройства */
.accordion-arrow {
    display: none; /* Скрита на компютър */
    font-size: 18px;
    color: #e0c4a3;
    transition: transform 0.3s ease;
    vertical-align: middle;
    margin-left: 10px;
}

/* Прави заглавието да изглежда като бутон, когато е на телефон */
@media (max-width: 768px) {
    .accordion-toggle {
        cursor: pointer;
        padding: 10px 0;
        margin-bottom: 0 !important;
    }
    
    .accordion-arrow {
        display: inline-block; /* Показва се само на телефон */
    }

    .accordion-content {
        display: none; /* Крием съдържанието по подразбиране на телефон */
        margin-top: 20px;
    }

    /* Клас, който ще се добавя с JavaScript, когато секцията е отворена */
    .accordion-section.active .accordion-content {
        display: block;
    }

    .accordion-section.active .accordion-arrow {
        transform: rotate(180deg); /* Стрелката се върти нагоре при отваряне */
    }
}

