/* Внос на елегантен шрифт */
@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;
}

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;
}

.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;
}

/* Оправени стилове за таблицата с цени - подравнена и красива */
.prices-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px auto;
    font-size: 16px;
    background: white;
}

.prices-table th {
    background-color: #6d5d57;
    color: white;
    padding: 15px;
    font-weight: 500;
    text-align: center;
}

.prices-table td {
    padding: 14px 15px;
    border-bottom: 1px solid #eaeaea;
    text-align: center; /* Центрира текстовете вътре в клетките */
    color: #444;
}

.prices-table tr:hover {
    background-color: #fcfbfa;
}

.price-tag {
    font-weight: 600;
    color: #6d5d57;
}

.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);
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #6d5d57;
    color: white;
    margin-top: 60px;
    font-size: 14px;
}
/* Перфектно позициониране на секциите в средата на екрана при клик от менюто */
.container {
    scroll-margin-top: 12vh; /* Оставя около 12% от височината на екрана празно място отгоре */
}
/* Позициониране на езиците в горния десен ъгъл на големия хедър */
.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;
    }
}
