
/********** GLOBAL STYLING ***************/
/* Titles Font*/
@import url('https://fonts.googleapis.com/css2?family=Sofia+Sans:ital,wght@0,1..1000;1,1..1000&family=Viaoda+Libre&display=swap');

:root {
  --main-theme-color: #bb7761;
  --main-dark-color: #efebe5;
  --heading-font-family: "Viaoda Libre", serif;
  --body-font-family: "Sofia Sans", sans-serif;
}

body {
  font-family: var(--body-font-family);
  font-optical-sizing: auto;
  font-style: normal;
}

.text-box h2,
.note-box h2,
.contact-box h6,
.blog-post .content-box h3,
.blog-post .entry-title h2 {
  font-family: var(--heading-font-family);
}

.text-box h2 {
  font-size: 2em;
}
@media only screen and (max-width: 767px) {
   .text-box h2 {
    font-size: 1.4em;
  }
}


.preloader svg,
.page-transition svg {
  fill: var(--main-dark-color);
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
    .page-transition {
        background: var(--main-dark-color);
    }
}

.progress-bar {
  color: var(--main-theme-color);
}
.side-widget .inner .widget-title {
  color: var(--main-theme-color);
}
.preloader .inner small {
 color: var(--main-theme-color);
 font-family: var(--heading-font-family);
}

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

.text-quote {
    background-color: var(--main-dark-color);
    padding: 1em 2em;
    border-left: 4px solid var(--main-theme-color);
    font-style: italic;
    border-radius: 5px;
    margin: 1.2em 0;
}

.side-widget svg {
  fill: var(--main-dark-color);
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .preloader {
      background: var(--main-dark-color);
  }
}

.overflow-x-hidden {
    overflow-x: hidden;
}



/************ ASIDE *****************/
body.lock-scroll {
  overflow: hidden;
  position: fixed;   /* prevents iOS scroll bleed */
  width: 100%;       /* prevents layout shift */
}


aside.side-widget {
  padding: 0;
  padding-left: 15px;
}
.side-widget .logo img {
  height: auto;
}
aside.side-widget::-webkit-scrollbar {
  display: none;
}

.aside-wrapper {
    width: 89%;
    overflow-y: scroll;
    height: 100%;
    padding-right: 15px;
    padding-top: 15px;
}

.side-widget .display-mobile {
  height: auto;
}

.side-widget.active .display-mobile {
  flex-direction: column;
}

/*** Lang menu ***/
aside .lang-menu ul {
  display: flex;
  padding-left: 0;
  justify-content: end;
}
aside .lang-menu ul li {
  list-style: none;
  margin-left: 20px;
}

/***** END ASIDE **********/

/************ Navbar ***************/

.custom-translate-menu li a {
  border: 0;
  background: none !important;
}
.custom-translate-menu li a.active {
  opacity: 1;
}
.custom-translate-menu li a:not(.active) {
  opacity: 0.5;
}

.navbar .custom-menu ul li a:hover::before,
.navbar .custom-menu ul li a::after,
.navbar .site-menu ul li a:hover:before,
.navbar .site-menu ul li a:after,
.image-icon-box .content-box a:hover:before,
.image-icon-box .content-box a:after {
  background: var(--main-dark-color);
}
.navbar .navbar-button a {
  background-color: var(--main-theme-color);
  color: var(--main-dark-color);
}
.navbar .logo {
  max-width: 70%;
}
.navbar .site-menu {
  margin: 0 auto;
}
@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .navbar .logo a img {
      height: auto;
  }
}

.navbar-button.rim-navbar-button a {
    background: rgba(255, 255, 255, 0.5);
    color: var(--bs-dark);
    border: 2px solid var(--bs-dark);
}

.navbar .navbar-button a:hover {
    color: var(--main-dark-color);
    text-decoration: none;
    background: var(--main-theme-color);
    border-color: var(--main-theme-color);
}


/********** Sidebar on Mobile ***********/
.side-widget .display-mobile .site-menu ul li a {
  color: #000;
  font-family: var(--heading-font-family);
}


@media only screen and (max-width: 991px), only screen and (max-device-width: 991px) {
    .side-widget.active .display-mobile {
        margin-top: 0;
    }
}

/****************** Slider *******************/
.slider .slider-nav .button-prev,
.slider .slider-nav .button-next,
.custom-button,
.image-icon-box .icon,
.recent-news .content-box small,
input[type="submit"] {
  background: var(--main-theme-color);
}

.slider .slider-texts .svg-morph path,
.page-header .inner .svg-morph path {
  fill: var(--main-theme-color);
}

.slider .slider-nav .button-prev,
.slider .slider-nav .button-next {
  color: var(--main-dark-color);
}

.slider .slider-nav .button-prev:hover,
.slider .slider-nav .button-next:hover {
  color: var(--main-theme-color);
}



/*************** Headings Font *********************/
.slider .slider-texts .swiper-slide h1,
.side-icon-list ul li .content h5,
.section-title h2,
.exhibition-box .content-box h4,
.text-content h6,
.recent-news .content-box h3,
.art-slider .titles h2,
.art-slider-content .swiper-slide h3,
.page-header .inner h1,
.cta-box h2  {
  font-family: "Viaoda Libre", serif;
}



/**************** OTher **********************/
.exhibition-box figure .info span {
  background: var(--main-theme-color);
  color: var(--main-dark-color);
}
.custom-button {
  color: var(--main-dark-color);
}
.custom-button:hover {
  color: var(--main-dark-color);
}
.custom-button:hover:before {
  border-color:  var(--main-dark-color);

}




/******************** Title ****************/
.section-title figure img { 
 height: 140px;
}

.page-header .inner h1 {
    /* font-size: 82px;  */
}
@media only screen and (min-width: 1200px) {
    .page-header .inner h1 {
        font-size: 42px;
    }
}

@media only screen and (max-width: 1199px) {
      .page-header .inner h1 {
        font-size: 36px;
    }
}

/********************* END GLOBAL **************/









/************* HEADER SECTION *****************/

/* Slider Settings */
.slider .slider-texts .swiper-slide h1 {
  font-weight: 400;
  font-style: normal;
  font-size: 86px;
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
  .slider .slider-texts .swiper-slide h1 {
      font-size: 42px;
  }
}

/** Slider KEN BURNS effect **/
.slider-images .swiper-slide {
  transform: scale(1);
}
.slider-images .swiper-slide.swiper-slide-active {
  transition: 8.5s ease-out;
  transform: scale(1.08);
}


/********* Navigation Submenu *********/
/* Base style */
.nav-item.has-dropdown {
  position: relative;
}
.navbar .site-menu > ul > li.nav-item.has-dropdown:after {
  content: "\f078";
  margin-left: 5px;
  font-family: 'Font Awesome 5 Pro';
  font-size: 11px;
}

/** Level 2 submenu styling **/
.has-dropdown .has-dropdown a.dropdown-menu-item {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

.dropdown-menu-item[aria-expanded=true] i {
  transform: rotate(180deg);
}

i.dropdown-level-2-arrow {
  transition: all 0.2s ease-out;
}

/* keep it hidden by default */
.navbar .site-menu ul li ul.dropdown-menu-level-2 { 
  display: none; 
}

/* when AOS marks it as "visible", make it flex */
.navbar .site-menu ul li ul.dropdown-menu-level-2.aos-animate { 
  display: flex;           /* or inline-flex if you prefer */
  flex-direction: column;  /* tweak as needed */
}

/* Dropdown hidden by default */
.navbar .site-menu ul.dropdown-menu {
  position: absolute;
  top: 100%; /* directly below the parent */
  left: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  width: 350px;
}
/* Show dropdown when hovering the parent OR the dropdown itself */
.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item .dropdown-menu:hover {
  max-height: 500px; /* enough for your menu */
  opacity: 1;
  pointer-events: auto;
}

/* Styling for the unordered list (ul) inside the dropdown */
.dropdown-menu {
  list-style-type: none; /* Removes default bullet points from the dropdown */
  padding: 0; /* Removes default padding */
  margin: 0; /* Removes default margin */
}

/* Styling for each list item (li) inside the dropdown */
.navbar .site-menu ul.dropdown-menu li {
  margin: 0;
  padding: 0 15px;
  border-bottom: 1px solid var(--main-dark-color);
}

.navbar .site-menu ul.dropdown-menu li:hover {
  color: var(--main-theme-color);
  /* background-color: var(--main-dark-color); */
}

/* Styling for the anchor (a) inside dropdown items */
.navbar .site-menu ul.dropdown-menu li a {
  text-decoration: none; /* Removes the underline from the links */
  color: black; /* Sets the text color to black */
  padding: 12px 16px; /* Adds padding for a larger clickable area */
  display: block; /* Makes the link block-level so it takes up the full width */
  font-size: 16px; /* Sets the font size for the links */
  width: 100%; /* Makes the link fill the width of the list item */
}





/**** BREADCRUMBS ****/
ol#breadcrumbs {
  display: flex;
  font-size: 14px;
  padding-left: 0;
  flex-wrap: wrap;
}
ol#breadcrumbs li {
  list-style: none;
}
ol#breadcrumbs li span {
  color: #333;
  font-size: 13px;
}
ol#breadcrumbs li.active span {
    color: #555;
}
span.breadcrumb-delimeter {
  margin: 0 8px;
}


/***** TITLE BAR *******/
.page-header {
  height: 360px;
}
.page-header .inner {
  z-index: 10;
  width: auto;
  /* overflow: hidden; */
}

.title-bar-cover {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: 8.5s ease-out;
  transform: scale(1); 
}
.page-loaded .title-bar-cover {
  transition: 8.5s ease-out;
  transform: translate(-15px, -10px) scale(1.08); 
  background-position: right !important;
  background-size: inherit !important;
}

.page-loaded .page-header {
  overflow: hidden;
}
/************* END HEADER SECTION ***************/



/*** HOME PAGE ****/
.video-bg:after {
  opacity: 0.6;
}


/*** WORK HOURS ****/
.work-hours-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  	margin-bottom: 20px;
}
.work-hours {
    display: flex;
    flex-direction: column;
}

.dark-background .section-description {
  color: var(--main-dark-color);
}

section.light-background .image-icon-box .content-box {
  background-color: var(--main-dark-color);
}

.side-icon-list ul li {
    display: flex;
    padding-bottom: 20px;
}

@media only screen and (max-width: 767px), only screen and (max-device-width: 767px) {
    .side-icon-list ul li figure {
        width: auto;
        padding-right: 20px;
    }
}



/****** Obekti Section ******/

.exhibition-box figure .info:hover span
 {
    max-width: 350px;
}

section.dark-background h3, section.dark-background h2, section.dark-background h6, section.dark-background .art-slider-content .swiper-slide span {
  color: #fff;
}
section.dark-background .art-slider-content .swiper-slide span {
  border-color: #fff;
}

.exhibition-box figure {
  margin-bottom: 10px;
}
.dark-background .exhibition-box h4 a {
  color: var(--main-dark-color);
}
.dark-background .exhibition-box .content-box h4 a {
  background-image: linear-gradient(rgba(255, 255, 255, 0) calc(99% - 2px), #ffffff 2px);
}
.dark-background .exhibition-box p {
  color: var(--main-dark-color);
}
.exhibition-box figure img {
  opacity: 100%;
}
/*************** NEWS SECTION ******************/
.blog-post .content-box h3.news-single-title a:hover {
  text-decoration: none;
}
.recent-news .content-box small {
  color: #fff;
}

.custom-link:hover::before,
.custom-link::after  {
    background: var(--main-theme-color);
}

.recent-news .content-box h3:before,
header.page-header div.inner:before,
.navbar .site-menu:before
{
    content: '';
    position: absolute;
    top: -4px;
    bottom: -4px;
    left: -8px;
    right: -8px;
    background: rgb(255 255 255 / 93%);
    filter: blur(24px);
    z-index: -1;
    border-radius: 40px;
}
.navbar .site-menu:before {
 	background: rgb(255 255 255 / 73%);	
  	width: 80%;
}

/**** Welcome to RIM Section ****/
.image-icon-box .icon img {
  filter: invert(100%);
}
/***** OBEKTI SECTION *****/
h2.slide-mobile-title {
  padding: 7px;
  font-size: 20px;
}
@media (min-width: 768px) {
  h2.slide-mobile-title {
    display: none;

  }
}

/************** SLOGAN SECTION **************/
.newsletter-box {
  background: var(--main-theme-color); 
}
.newsletter-box .form .titles h2 {
  color: #fff;
}
.newsletter-box .form .titles h6 {
  color: var(--main-dark-color);
}
figure.newsletter-image  {
  opacity: .3;
}



/*************** BLOG POSTS *******************/
.blog-post {
  margin-bottom: 70px;
}

.blog-post .content-box h3 {
  font-size: 28px;
}
.news-list-wrapper .blog-post figure img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}


/*** Blog Single Post Sidebar **/
.sidebar .widget .widget-title {
  font-family: var(--heading-font-family);
}
.widget-recent-posts .post {
  margin-bottom: 20px;
}

.widget-recent-posts .post .post-meta .blog-post-date {
  background: var(--main-theme-color);
  color: var(--main-dark-color);
  font-size: 12px;
  padding: 2px 7px;
}
.widget-recent-posts .post .post-title {
  font-size: 14px;
}

/******************* NEWS ********************/
.blog-post .content-box small {
  background: var(--main-theme-color);
  color: var(--main-dark-color);
}
.blog-post .content-box small a {
  color: var(--main-dark-color);
}

/* Share block */
.entry-share {
  background-color: var(--main-dark-color);
  padding: 15px 30px 25px;
  border-radius: 8px;
  box-shadow: 1px 3px 3px #dddddd;
  margin: 50px 0 0 0;
  display: flex;
  flex-direction: column;
}
.entry-share .share-title {
  margin-bottom: 10px;
}
.entry-share a.facebook-bg, .entry-share a.twitter-bg, .entry-share a.instagram-bg {
  padding: 4px 22px;
  margin: 7px 15px 0 0;
  background-color: var(--main-dark-color);
}
#spinner {
  font-size: 40px;
  color: var(--main-theme-color);
}
#spinner i {
  animation: spin 1s linear infinite;
}

/* Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/****************** INNER PAGES ***************/

/*** Za Nas ***/
.note-box {
  background: var(--main-dark-color);
  height: 100%;
  align-items: start;
}
.note-box h2 {
  font-size: 38px;
}
.note-box p {
    font-size: 17px;
}
/********** OBEKTI PAGES **************/
.accordion dt a:before {
  background: var(--main-dark-color);
}


/************** CONTACT PAGE ******************/
.google-maps iframe {
  filter: grayscale(0);
}


.google-maps { 
  background: var(--main-dark-color);
}

.contact-box a {
  text-decoration: none;
}
.contact-box a:hover {
  text-decoration: underline;
}

button[type="submit"] {
  background: var(--main-theme-color);
  color: var(--main-dark-color);
  transition: all 0.4s ease-in-out;
  font-weight: bold;
}

.contact-form-submit:hover {
    background-color: var(--main-dark-color);
    color: var(--main-theme-color);
}

/************** FOOTER SECTION **************/
.footer .widget-title {
  font-family: var(--heading-font-family);
}


.footer-contact-options {
  display: flex;
  flex-direction: column;
}

.footer-contact-options a {
  margin-bottom: 7px;
}

.footer-contact-options i.far.fa-phone {
  transform: scaleX(-1);
}

/************ Video CTA Section *************/
.cta-box h2, .cta-box h6 {
    color: var(--main-dark-color);
}
/**************** END Section ********************/



/***** YouTube Embeds *****/
/* Responsive 16:9 wrapper with rounded corners and a soft shadow */
.yt-wrap {
  position: relative;
  background: #000;
  max-width: 960px;   /* optional: constrain width */
  margin: 0 auto;     /* optional: center it */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* Modern browsers */
@supports (aspect-ratio: 16 / 9) {
  .yt-wrap { aspect-ratio: 16 / 9; }
  .yt-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }
}

/* Fallback for older browsers without aspect-ratio */
@supports not (aspect-ratio: 16 / 9) {
  .yt-wrap::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 ratio */
  }
  .yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}