@font-face {
    font-family: 'Khmer'; 
    src: url('../css/fonts/khmer-mn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-color: #fffbf8 !important;
    font-family: 'Minion Pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p {
    line-height: 1.5;
}

.sephirFont {
    font-family: 'Sephir', sans-serif;
}

.oliveraFont {
    font-family: 'Olivera', sans-serif;
}

.minionFont {
    font-family: 'Minion Pro', sans-serif;
}

.khmerFont {
    font-family: "Khmer";
}

.snellFont {
    font-family: "Snell Roundhand Script";
}

.baskervilleFont { 
    font-family: "Baskervville", serif;
}

.carattereFont {
  font-family: "Carattere", cursive;
  font-weight: 400;
  font-style: normal;
}

.muktaFont {
    font-family: 'Mukta Mahee', sans-serif;
}

.caslonFont {
    font-family: "Big Caslon Medium";
}

.lavaFont {
    font-family: "Lava";
}

.text-justify {
    text-align: justify;
}

.lineHeightBigger {
    line-height: 1.5;
}

/* -------------- SEKCJA NAV ----------------*/
#navBox {
    padding: 32px 0;
}

/* Tytuł */
#title {
    font-size: 24px;
    letter-spacing: 3px;
    font-weight: bold;
    color: #282829;
}

/* Pionowa linia oddzielająca pozycje */
.custom-border {
    border-right: 2px solid #777;
}

/* Linki – dziedziczą wygląd, brak podkreślenia */
a {
    color: inherit;
    text-decoration: none;
    font: inherit;
    font-weight: inherit;
}

/* NAVBAR – tło i rozmiar */
nav {
    background-color: #fffbf8;
    font-size: 14px !important;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Rozmiar tekstu w dropdownach */
.dropdown-item {
    font-size: 12px;
}

/* Kolory pozycji menu (podstawowe) */
nav .nav-link,
nav .dropdown-item {
    color: #777 !important;
}

/* Hover (najechanie) – czarny */
nav .nav-link:hover,
nav .dropdown-item:hover {
    color: #000 !important;
}

/* Active – czarny */
nav .nav-link.active,
nav .dropdown-item.active,
.navbar-nav .nav-item .dropdown-toggle.active {
    color: #000 !important;
}

/* Dropdown wygląd */
.nav-item.dropdown .dropdown-menu {
    border-radius: 0 !important;
}

/* Dropdown – wyłączamy tło po kliknięciu/focusie */
.dropdown-item:focus,
.dropdown-item.active {
    background-color: transparent !important;
}

/* Toggler bez obramowania/focusa */
.navbar-toggler,
.navbar-toggler:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

  .firstPhotoInRowMain {
    padding-right: 2px;
    padding-left: 4px;
  }

  .secondPhotoInRowMain {
    padding-left: 3px;
    padding-right: 3px;
  }

  .thirdPhotoInRowMain {
    padding-left: 2px;
    padding-right: 4px;
  }

@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    #navBox {
        padding: 16px 0;
    }

    .custom-border {
        border-right: 0;
    }

    li {
        padding: 10px 0;
    }

    /* Active bez tła */
    .nav-link.active {
        background-color: transparent !important;
        color: #000 !important;
    }

    .dropdown-item.active {
        background-color: transparent !important;
        color: #000 !important;
    }

    /* Dropdown menu bez obramowania */
    .nav-item.dropdown .dropdown-menu {
        border: 0;
        border-radius: 0 !important;
    }

    /* Hover/focus – bez tła, bez podkreślenia */
    .nav-link:hover,
    .nav-link:focus {
        text-decoration: none;
        border-bottom: none;
        background-color: transparent !important;
        color: #000 !important;
        box-shadow: none;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        text-decoration: none;
        background-color: transparent !important;
        color: #000 !important;
        box-shadow: none;
        border-bottom: none;
    }

    /* Dropdown toggle bez tła i bez obramowania */
    .dropdown-toggle,
    .dropdown-toggle:focus,
    .dropdown-toggle:hover,
    .dropdown.show > .dropdown-toggle {
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        color: #000 !important;
    }
}

/* -------------- KONEIC SEKCJA NAV ----------------*/

/* ----------- SEKCJA FOOTER -------------------*/
.firstFooterPhoto {
    padding-right: 4px;
}

.middleFooterPhoto {
    padding-left: 2px;
    padding-right: 2px;
}

.lastFooterPhoto {
    padding-left: 4px;
}

.customBTN {
    border-radius: 3px !important;
    border: none;
}

.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);
}

@media (min-width: 401px) and (max-width: 575px) {
  #title {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  #title {
    font-size: 14px;
    letter-spacing: 2px;
  }
}

