/*
 Theme Name:  Divi Child Theme SoftUni 2026
 Theme URI:    https://www.facebook.com/alex.alexi1
 Description:  Child Theme for Divi
 Author:       Alex Alexi
 Author URI:   https://www.facebook.com/alex.alexi1
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/

/* HEADER SECTION Стилизиране на логото в Header-а */

/* --- ПРИЛАГА СЕ САМО ЗА ДЕСКТОП (над 981px) --- */
@media (min-width: 981px) {
    
    .lovable-header-row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 95% !important; /* Дава въздух отстрани */
        max-width: 1400px !important;
        margin: 0 auto !important;
    }

    /* Настройваме дясната колона да групира Менюто и Бутона */
    .lovable-header-row .et_pb_column_3_4 {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important; /* Бута всичко вдясно */
        gap: 30px; /* Разстояние между менюто и бутона */
    }

}
/* Header Section - Скриване на текста и показване на Font Awesome FB икона */
@media (min-width: 981px) {
.menu-fb-icon a {
    font-size: 0 !important; /* Скрива текста "Facebook" */
    display: flex !important;
    align-items: center;
    text-decoration: none;
}

.menu-fb-icon a::before {
    /* Кодът \f39e е за facebook-f, \f082 е за facebook-square */
    content: "\f39e"; 
    font-family: "Font Awesome 6 Brands" !important; /* Увери се, че името съвпада с версията ти */
    font-weight: 400;
    font-size: 22px !important; /* Размер като в Lovable дизайна */
    color: #1877F2 !important; /* Официалният син цвят */
    transition: all 0.3s ease;
    visibility: visible;
}
}
/* -------------------------------------------------- */

/* Настройки за мобилната версия на Divi Menu */
@media (max-width: 980px) {
    .menu-fb-icon a {
        font-size: 18px !important; /* Връщаме текста в мобилното падащо меню за по-добра четимост */
    }
    
    .menu-fb-icon a::before {
        margin-right: 12px;
        font-size: 18px !important;
        display: inline-block;
        align-items: center !important;
    }
}

/* --------------------------------- */

/* 1. Center the list item in the mobile dropdown */
    .et_mobile_menu li.menu-fb-icon {
        text-align: center !important;
        display: block !important;
    }

    /* 2. Hide the "Facebook" text */
    .et_mobile_menu li.menu-fb-icon a {
        font-size: 0 !important;
        line-height: 0 !important;
        padding: 15px 0 !important;
    }

    /* 3. Add and center the Facebook icon using Divi's icon font */
    .et_mobile_menu li.menu-fb-icon a::before {
        content: "\f39e"; 
        font-family: "Font Awesome 6 Brands" !important; /* Увери се, че името съвпада с версията ти */
        font-weight: 400;
        font-size: 22px !important; /* Размер като в Lovable дизайна */
        color: #1877F2 !important; /* Официалният син цвят */
        transition: all 0.3s ease;
        visibility: visible;
    }

    /* Align Logo and Menu on the same line for Mobile */
@media only screen and (max-width: 980px) {
    /* 1. Force the row to use Flexbox */
    .lovable-header-row {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* 2. Set the Logo column width */
    .lovable-header-row .et_pb_column_1_4 {
        width: 50% !important; /* Adjust if the logo needs more space */
        margin-bottom: 0 !important;
    }

    /* 3. Set the Menu/Button column width */
    .lovable-header-row .et_pb_column_3_4 {
        width: 50% !important;
        margin-bottom: 0 !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
    }

    /* 4. Ensure the burger icon doesn't have extra margins */
    .lovable-header-row .et_pb_menu_0_tb_header .et_mobile_nav_menu {
        margin: 0 !important;
    }
}

/* 2. Break the menu out of the right column to stop the 'right-scroll' */
.lovable-header-row .et_pb_menu_0_tb_header .et_mobile_nav_menu {
    position: static !important; /* This is the key fix */
}
/* --------------------------------- */


/* Header Section - Burger menu */ 

/* X icon in expanded mobile menu */
.mobile_nav.opened .mobile_menu_bar:before {
content: '\4d';
color: #29303D;
}

/* Remove the top line in the mobile menu*/
.et_mobile_menu {
border-top:0;
width: 100% !important;
}

/* Center-align moble menu items */
.et_mobile_menu li {
text-align:center !important;
}  
.et_mobile_menu li li, .et_mobile_menu li ul {
padding-left:0 !important;
}





/* Services Section - Стилизиране на заглавието на категорията Column 1  */

.service-category-title {
    text-align: center;
    font-family: 'Playfair Display', serif; /* Използвай твоя Serif шрифт */
    margin-bottom: 25px !important;
    font-size: 22px;
    color: #29303D;
}

/* Flexbox за подравняване на услуга и цена */
.service-row {
    display: flex;
    justify-content: space-between; /* Бута името вляво, цената вдясно */
    margin-bottom: 12px;
    font-size: 16px;
    color: #4a4a4a;
}

/* Services Text */
.service-name {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #676F7E;
}
/* Services Price */
.service-price  {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #29303D !important;
    font-weight: 600;
}

/* Services Section - Стилизиране на заглавието на категорията Column 2  */

.service-category-title2 {
    text-align: center;
    font-family: 'Playfair Display', serif; /* Използвай твоя Serif шрифт */
    margin-bottom: 25px !important;
    font-size: 22px;
    color: #29303D;
}

/* Flexbox за подравняване на услуга и цена */
.service-row2 {
    display: flex;
    justify-content: space-between; /* Бута името вляво, цената вдясно */
    margin-bottom: 12px;
    font-size: 16px;
    color: #4a4a4a;
}

/* Services Text */
.service-name2 {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #676F7E;
}
/* Services Price */
.service-price2  {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #29303D !important;
    font-weight: 600;
}

/* Services Section - Стилизиране на заглавието на категорията Column 3  */

.service-category-title3 {
    text-align: center;
    font-family: 'Playfair Display', serif; /* Използвай твоя Serif шрифт */
    margin-bottom: 25px !important;
    font-size: 22px;
    color: #29303D;
}

/* Flexbox за подравняване на услуга и цена */
.service-row3 {
    display: flex;
    justify-content: space-between; /* Бута името вляво, цената вдясно */
    margin-bottom: 12px;
    font-size: 16px;
    color: #4a4a4a;
}

/* Services Text */
.service-name3 {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #676F7E;
}
/* Services Price */
.service-price3  {
    font-family: Inter, sans-serif;
    font-size: 16px;
    color: #29303D !important;
    font-weight: 600;
}

/* Footer Section */

/* Икони и текст в контактната секция */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    font-family: 'ETmodules'; /* Библиотеката на Divi */
    color: #e58a94; /* Розовият цвят от дизайна */
    font-size: 24px;
    margin-right: 15px;
}

.contact-text strong {
    color: #1a1a1a;
    font-size: 16px;
}

/* Google maps CSS */

/* Контейнер за картата */

/* Изпълнява се само на екрани под 980px (Таблет и Телефон) */
@media only screen and (max-width: 980px) {
    
    /* 1. Стилизиране на контейнера на картата */
    .lovable-map-container {
        width: 100% !important;
        border-radius: 20px !important;
    }

    /* 2. Подсигуряване, че самата карта запълва мобилния контейнер */
    .lovable-map-container iframe {
        width: 100% !important;
        height: 100% !important;
        border: 0 !important;
    }
}
