@font-face {
    font-family: 'Khmer'; 
    src: url('../css/fonts/khmer-mn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* === Czcionka dla całego menu === */
nav, nav .nav-link, nav .dropdown-item, .navbar-brand {
    font-family: 'Mukta Mahee', sans-serif;
}

p.intro.sephirFont {
    font-weight: 600;
    /* półpogrubione, eleganckie */
    /* lub font-weight: bold; dla pełnego pogrubienia */
}

body {
    background-color: rgb(245, 245, 245) !important;
    font-family: 'Minion Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}

.nav-link {
    border-bottom: 2px solid transparent;
}

.sephirFont {
    font-family: 'Sephir', sans-serif;
}

.oliveraFont {
    font-family: 'Olivera', sans-serif;
}

.minionFont {
    font-family: 'Minion Pro', sans-serif;
}

.snellFont {
    font-family: "Snell Roundhand Script";
}

.khmerFont {
    font-family: "Khmer";
}

#navBox {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#logo {
    height: 20px;
}

#logoAboutUs {
    height: 15px;
}

.text-justify {
    text-align: justify;
}

nav {
    background-color: whitesmoke;
    font-size: 13px !important;
}

a {
    color: inherit;
    text-decoration: none;
    font: inherit;
    font-weight: inherit;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

nav .nav-item .nav-link, nav .dropdown-item {
    color: #282829 !important;
}

.navbar-nav .nav-item .dropdown-toggle.active {
    color: #282829 !important;
    border-bottom: 2px solid #282829;
    background-color: transparent !important;
}

.dropdown-item:focus,
.dropdown-item.active {
    background-color: transparent !important;
    color: inherit !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 24px;
}

.dropdown-item {
    font-size: 12px;
}

.nav-item.dropdown .dropdown-menu {
    border-radius: 0 !important; 
}

.nav-link.active, .nav-link:hover, .nav-item.dropdown:hover > .nav-link {
    color: #282829 !important;
    border-bottom: #282829 2px solid;
}

@media (max-width: 991px) {
    .nav-link.active {
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-decoration-color: #282829;
        border-bottom: none;
        background-color: transparent;
        color: inherit;
    }

    .nav-link:hover,
    .nav-link:focus {
        text-decoration: none;
        border-bottom: none;
        background-color: transparent;
        color: inherit;
        box-shadow: none;
    }

    .dropdown-item.active {
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-decoration-color: #282829;
        background-color: transparent;
        color: inherit;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        text-decoration: none;
        background-color: transparent;
        color: inherit;
        box-shadow: none;
        border-bottom: none;
    }

    .dropdown-toggle,
    .dropdown-toggle:focus,
    .dropdown-toggle:hover,
    .dropdown.show > .dropdown-toggle {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: inherit !important;
    }

    .dropdown-toggle.active {
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-decoration-color: #282829;
    }
}

#lastText {
  font-family: 'Mukta Mahee', sans-serif; /* zmień na wybraną czcionkę */
  font-size: 11px; /* zmień wielkość tekstu */
  font-weight: 100; /* grubość: 400-normal, 700-bold */
  color: #525252; /* zmień na wybrany kolor, np. pomarańczowy */
}

.customBTN {
    border-radius: 0 !important;
    border: none;
}

.form-control, .form-control:focus, .form-select, .form-select:focus {
    border-radius: 0 !important;
    box-shadow: none !important;
    border-color: #ccc;
}

.zoom-container {
  position: relative;
}

.image-wrapper {
  overflow: hidden;
  display: block;
  position: relative;
}

.zoom-image {
  transition: transform 0.5s ease-in-out;
  display: block;
  width: 100%;
  height: auto;
}

.image-wrapper:hover .zoom-image {
  transform: scale(1.05);
}

/* Lista rozwijana  */
@media (max-width: 991px) {
    .nav-item.dropdown .dropdown-menu {
        border: 0;
        border-radius: 0 !important;
    }
}

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .nav-item.dropdown .dropdown-menu {
        background-color: #222; 
    }

    .nav-item.dropdown .dropdown-item {
        color: #dddddd !important
    }

    .nav-item.dropdown .dropdown-item:hover,
    .nav-item.dropdown .dropdown-item:focus {
        background-color: #222;
        color: #cccccc !important;
    }
}


@media (min-width: 576px) and (max-width: 767px) {
    #logo {
        height: 18px;
    }

    #lastText {
        font-size: 11px;
    }
}

@media (min-width: 401px) and (max-width: 575px) {
    #logo {
        height: 15px;
    }

    #lastText {
        font-size: 10px;
    }
}

@media (min-width: 281px) and (max-width: 400px) {
    #logo {
        height: 12px;
    }

    #navBox {
        padding-left: 0;
        padding-right: 0;
    }

    #lastText {
        font-size: 9px;
    }

    .customBTN {
        font-size: 14px !important;
    }
}

@media (max-width: 280px) {
    #logo {
        height: 10px;
    }

    #navBox {
        padding-left: 0;
        padding-right: 0;
    }

    #lastText {
        font-size: 9px;
    }

    .customBTN {
        font-size: 14px !important;
    }
}

#wwwBtn {
    transition: all 0.3s ease;
}

#wwwBtn:hover {
    background-color: #b29e7c;
    /* kolor po najechaniu */
    color: #fff;
    /* kolor tekstu */
    border-color: #b29e7c;
    /* kolor obramowania */
}

/* Dropdown działa na hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Usunięcie przesunięcia */
.nav-item.dropdown .dropdown-menu {
    margin-top: 0;
}

/* Dodanie strzałki z Bootstrapa */
.nav-item.dropdown>a.dropdown-toggle::after {
    display: inline-block;
    margin-left: .3em;
    vertical-align: middle;
    content: "";
    border-top: .3em solid;
    border-right: .3em solid transparent;
    border-left: .3em solid transparent;
}

@media (max-width: 991px) {

    /* Wycentrowanie elementów w dropdownie na mobile */
    .nav-item.dropdown:hover .dropdown-menu {
        text-align: center;
        display: block;
        /* opcjonalnie jeśli dropdown nie otwiera się poprawnie */
    }

    .nav-item.dropdown .dropdown-item {
        text-align: center;
        justify-content: center;
        /* dla pewności przy flexbox */
    }
    
        .nav-item.dropdown .dropdown-item {
        text-align: center;
        justify-content: center;
        padding: 10px 1rem; /* pionowy padding zwiększa odstęp między elementami */
    }
    
}


/* Dropdown wyświetla się po najechaniu
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

Zapobiega przesuwaniu dropdownu 
.nav-item.dropdown .dropdown-menu {
    margin-top: 0;
} */