/* ========================================
   custom.css - ყველა გვერდის სტილები
   ======================================== */

/* ---------- სათაურები ---------- */
.page-title h1,
.category-title h2 {
    color: #fbcb46 !important;
    font-size: 28px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #fbcb46 !important;
    display: inline-block !important;
    padding-bottom: 10px !important;
}

/* ---------- PAGE გვერდი (იგივე რაც ნიუსების) ---------- */
.bd-article-79 {
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 15px !important;
    padding: 25px !important;
    margin-bottom: 30px !important;
}

.bd-article-79 .page-title h1 {
    color: #fbcb46 !important;
    font-size: 28px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #fbcb46 !important;
    display: inline-block !important;
    padding-bottom: 10px !important;
}

.bd-article-79 .image img {
    border-radius: 10px !important;
    border: 2px solid #fbcb46 !important;
}

.bd-article-79 ._col3-set {
    color: #fff !important;
    line-height: 1.6 !important;
}

.bd-article-79 ._col3-set a {
    color: #fbcb46 !important;
}

.bd-article-79 ._col3-set a:hover {
    color: #e6b422 !important;
}

/* ---------- საკონტაქტო გვერდი ---------- */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    padding: 20px;
}

.contact-map {
    flex: 2;
    min-width: 260px;
}

.info-title {
    color: #fbcb46;
    border-bottom: 2px solid #fbcb46;
    font-family: 'Comfortaa', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.info-icon {
    color: #fbcb46;
    font-size: 1.6rem;
}

.info-text {
    color: #fff;
}

.info-text strong {
    color: #fbcb46;
}

.email-link {
    color: #fbcb46 !important;
}

.work-hours {
    background: rgba(251, 203, 70, 0.15);
    color: #fbcb46;
}

.badge-safe {
    background: rgba(251, 203, 70, 0.15);
    color: #ccc;
}

/* ---------- რუკა ---------- */
.map-wrapper {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
}

/* ---------- რესპონსივი ---------- */
@media (max-width: 768px) {
    .page-title h1,
    .category-title h2,
    .bd-article-79 .page-title h1 {
        font-size: 24px !important;
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .bd-article-79 {
        padding: 15px !important;
    }
    
    .bd-article-79 .image {
        float: none !important;
        text-align: center !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 480px) {
    .page-title h1,
    .category-title h2,
    .bd-article-79 .page-title h1 {
        font-size: 22px !important;
    }
    
    .contact-info {
        padding: 15px;
    }
    
    .map-wrapper iframe {
        height: 250px;
    }
    
    .bd-article-79 {
        padding: 12px !important;
    }
}

/* ========================================
   ღილაკები
   ======================================== */
.bd-button,
.button,
.btn-primary,
.bd-layoutbox-81 .bd-button,
.bd-postcontent-13 .bd-button,
.products-list .bd-button {
    background-color: #fbcb46 !important;
    border-color: #fbcb46 !important;
    color: #000 !important;
}

.bd-button:hover,
.button:hover,
.btn-primary:hover,
.bd-layoutbox-81 .bd-button:hover {
    background-color: #e6b422 !important;
    border-color: #e6b422 !important;
    color: #000 !important;
}

/* ========================================
   Header-ის ფონი (გამჭვირვალე)
   ======================================== */
.bd-headerarea-1, .bd-layoutbox-1 {
    background: transparent !important;
}

/* ========================================
   ლოგოს კონტეინერი - ღია ფონი (კრემისფერი)
   ======================================== */
.bd-headline-1,
.bd-boxcontrol-1 .bd-headline-1 {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 10px !important;
    padding: 2px 8px !important;
    display: inline-block !important;
    margin: 2px 0 !important;
    box-shadow: none !important;
    width: 176px !important;
    height: 100px !important;
}

/* ========================================
   მენიუს კონტეინერი
   ======================================== */

/* Desktop - navbar-collapse ჩანს */
@media (min-width: 769px) {
    .bd-hmenu-1 .navbar-collapse {
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 10px !important;
        padding: 2px 8px !important;
        margin: 5px 0 !important;
        box-shadow: none !important;
        display: inline-flex !important;
    }
}

.bd-hmenu-1 .bd-horizontalmenu {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
}

.bd-menu-42 li a:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-radius: 6px !important;
}

/* ========================================
   მენიუს ბრენდის ფერები
   ======================================== */
.menu-color-schomburg { color: #e3000f !important; }
.menu-color-lyksor    { color: #4fda09 !important; }
.menu-color-kalekim   { color: #12110e !important; }
.menu-color-liya      { color: #e90202 !important; }

/* ========================================
   მენიუს ლინკები
   ======================================== */
.bd-menu-42 li a,
.bd-menuitem-42 a {
    background: transparent !important;
    font-weight: bold !important;
}

.bd-menu-42 li a:hover .menu-color-schomburg,
.bd-menu-42 li a:hover .menu-color-lyksor,
.bd-menu-42 li a:hover .menu-color-kalekim,
.bd-menu-42 li a:hover .menu-color-liya {
    color: #fbcb46 !important;
}

.bd-menu-42 li a img {
    filter: none !important;
    opacity: 1 !important;
}

/* ========================================
   ლოგოს ბოქსსა და ნავიგაციის ზოლს შორის დაშორება
   ======================================== */
.bd-layoutbox-2 {
    margin-top: 1px !important;
}

/* ========================================
   ლოგოსა და ძიებას შორის დაშორება
   ======================================== */
.bd-boxcontrol-1 + .bd-boxcontrol-1 {
    margin-left: 25px !important;
}

/* ========================================
   საძიებო ველი - ღია ფონი, მუქი ტექსტი
   ======================================== */
#country,
.search-autocomplete .form-control,
.ik .form-control {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 25px !important;
    box-shadow: none !important;
}

#country::placeholder,
.search-autocomplete .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#country:focus,
.search-autocomplete .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================
   საძიებო სია (dropdown) - ღია ფონი
   ======================================== */
#countryList {
    position: absolute;
    width: 460px;
    z-index: 9999;
    background: #fff5e0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 12px;
    margin-top: 5px;
    border: 1px solid #ffd768 !important;
    overflow: hidden;
}

#countryList li {
    color: #333 !important;
    background: #fff5e0 !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid rgba(255, 216, 109, 0.3) !important;
    cursor: pointer !important;
}

#countryList li:last-child {
    border-bottom: none !important;
}

#countryList li:hover {
    background: rgba(251, 203, 70, 0.4) !important;
    color: #a1a1a1 !important;
}
/* ========================================
   მობილური - Header (max 768px)
   ======================================== */
@media (max-width: 768px) {

    /* clearfix გათიშვა */
    .bd-layoutbox-1.clearfix::after,
    .bd-layoutbox-1.clearfix::before {
        display: none !important;
    }

    /* header კონტეინერი - ვერტიკალური */
    .bd-layoutbox-1 .bd-container-inner {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        float: none !important;
        padding: 10px 0 !important;
        box-sizing: border-box !important;
    }

    /* ყველა boxcontrol - ბლოკი, ცენტრში */
    .bd-layoutbox-1 .bd-boxcontrol-1 {
        display: block !important;
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        padding-top: 0 !important;
    }

    /* ლოგო */
    .bd-headline-1,
    .bd-boxcontrol-1 .bd-headline-1 {
        display: inline-block !important;
        margin: 0 auto !important;
        float: none !important;
    }

    /* ძიება */
    .ik,
    .search-autocomplete {
        display: block !important;
        width: 85% !important;
        margin: 0 auto !important;
    }

    .search-autocomplete .container,
    .ik .container {
        width: 100% !important;
        padding: 0 !important;
    }

    #country,
    .search-autocomplete .form-control {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #countryList {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }

    /* მენიუ (hamburger ღილაკი) ცენტრში */
    .bd-hmenu-1 {
        display: block !important;
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .bd-responsivemenu-1 .bd-container-inner {
        display: flex !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    /* გახსნილი მენიუ - Bootstrap collapse-ს არ ვეხებით display-ში */
    .bd-hmenu-1 .navbar-collapse.in,
    .bd-hmenu-1 .navbar-collapse.collapse.in {
        width: 90% !important;
        margin: 5px auto !important;
        box-sizing: border-box !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 10px !important;
    }

    /* გახსნილი მენიუს ელემენტები ვერტიკალურად */
    .bd-hmenu-1 .bd-menu-42 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 5px !important;
        padding: 8px 0 !important;
    }

    /* margin-left ახლა 0 მობილურზე */
    .bd-boxcontrol-1 + .bd-boxcontrol-1 {
        margin-left: 0 !important;
    }
}
@media (max-width: 768px) {
    /* ... აქ უკვე გაქვს ყველა mobile სტილი ... */

    /* ლოგოსა და MENU შორის დაშორება */
    .bd-layoutbox-1 .bd-headline-1,
    .bd-boxcontrol-1 .bd-headline-1 {
        margin-bottom: 20px !important;
    }

    .bd-hmenu-1 {
        margin-top: 10px !important;
    }
}

