/*
 * SIMPLE FIXES - Dental Clinic Jurišić
 * Samo najnužnije male izmjene
 * Datum: 20.10.2025
 */

/* ============================================
   LOGO - Povećanje za bolju vidljivost
   ============================================ */

/* Navbar logo - desktop (+75% od originala) */
.logo img {
  max-height: 80px !important;
}

/* Fixed navbar logo - desktop (+75%) */
#site-header.fixed .logo img {
  max-height: 71px !important;
}

/* Footer logo - desktop (+75%) */
footer .footer_logo img {
  max-height: 80px !important;
}

/* Mobile responsive - logo (+56% od originala) */
@media (max-width: 991px) {
  .logo img {
    max-height: 75px !important;
  }

  #site-header.fixed .logo img {
    max-height: 60px !important;
  }

  footer .footer_logo img {
    max-height: 75px !important;
  }
}


/* ============================================
   MODERN NAVIGATION MENU STYLING
   ============================================ */

/* Main navigation container - Desktop menu u header-u */
header .header_bottom .menu nav ul,
.header_bottom .menu nav ul {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Navigation items */
header .header_bottom .menu nav ul>li,
.header_bottom .menu nav ul>li {
  position: relative !important;
  margin: 0 !important;
}

/* Navigation links - Modern style */
header .header_bottom .menu nav ul>li>a,
.header_bottom .menu nav ul>li>a {
  display: inline-block !important;
  padding: 12px 20px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #2c3e50 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  border-radius: 8px !important;
  background: transparent !important;
  white-space: nowrap !important;
}

/* Hover effect - gradient background */
header .header_bottom .menu nav ul>li>a:hover,
.header_bottom .menu nav ul>li>a:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #89081a 0%, #6d0615 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(137, 8, 26, 0.3) !important;
}

/* Active/Current page indicator */
header .header_bottom .menu nav ul>li.active>a,
header .header_bottom .menu nav ul>li.current>a,
.header_bottom .menu nav ul>li.active>a,
.header_bottom .menu nav ul>li.current>a {
  color: #ffffff !important;
  background: linear-gradient(135deg, #89081a 0%, #6d0615 100%) !important;
  box-shadow: 0 4px 12px rgba(137, 8, 26, 0.25) !important;
}

/* Underline animation effect */
header .header_bottom .menu nav ul>li>a::after,
.header_bottom .menu nav ul>li>a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 6px !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0) !important;
  width: 80% !important;
  height: 2px !important;
  background: #ffffff !important;
  transition: transform 0.3s ease !important;
}

header .header_bottom .menu nav ul>li>a:hover::after,
.header_bottom .menu nav ul>li>a:hover::after {
  transform: translateX(-50%) scaleX(1) !important;
}

/* Dropdown menu (submenu) styling */
header .header_bottom .menu nav ul li ul,
.header_bottom .menu nav ul li ul {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 260px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(20px) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 1000 !important;
  padding: 16px 0 !important;
  margin-top: 8px !important;
  border: 2px solid #f8f9fa !important;
  overflow: hidden !important;
  display: block !important;
  flex-direction: column !important;
}

/* Show dropdown on hover */
header .header_bottom .menu nav ul li:hover>ul,
.header_bottom .menu nav ul li:hover>ul {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Dropdown items */
header .header_bottom .menu nav ul li ul li,
.header_bottom .menu nav ul li ul li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
}

/* Dropdown links */
header .header_bottom .menu nav ul li ul li a,
.header_bottom .menu nav ul li ul li a {
  display: block !important;
  padding: 14px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #495057 !important;
  transition: all 0.3s ease !important;
  border-left: 3px solid transparent !important;
  background: transparent !important;
  white-space: nowrap !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Dropdown link hover */
header .header_bottom .menu nav ul li ul li a:hover,
.header_bottom .menu nav ul li ul li a:hover {
  color: #89081a !important;
  background: linear-gradient(90deg, rgba(137, 8, 26, 0.08) 0%, transparent 100%) !important;
  border-left-color: #89081a !important;
  padding-left: 28px !important;
}

/* Dropdown arrow indicator */
header .header_bottom .menu nav ul li.ul_sub>a::before,
.header_bottom .menu nav ul li.ul_sub>a::before {
  content: '\f107' !important;
  font-family: 'FontAwesome' !important;
  margin-left: 6px !important;
  font-size: 12px !important;
  transition: transform 0.3s ease !important;
  display: inline-block !important;
}

header .header_bottom .menu nav ul li.ul_sub:hover>a::before,
.header_bottom .menu nav ul li.ul_sub:hover>a::before {
  transform: rotate(180deg) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 1500px) {

  header .header_bottom .menu nav ul,
  .header_bottom .menu nav ul {
    gap: 6px !important;
  }

  header .header_bottom .menu nav ul>li>a,
  .header_bottom .menu nav ul>li>a {
    padding: 12px 18px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 1400px) {

  header .header_bottom .menu nav ul,
  .header_bottom .menu nav ul {
    gap: 4px !important;
  }

  header .header_bottom .menu nav ul>li>a,
  .header_bottom .menu nav ul>li>a {
    padding: 10px 15px !important;
    font-size: 13.5px !important;
  }
}

@media (max-width: 1300px) {

  header .header_bottom .menu nav ul,
  .header_bottom .menu nav ul {
    gap: 3px !important;
  }

  header .header_bottom .menu nav ul>li>a,
  .header_bottom .menu nav ul>li>a {
    padding: 10px 14px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 1200px) {

  header .header_bottom .menu nav ul,
  .header_bottom .menu nav ul {
    gap: 4px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  header .header_bottom .menu nav ul>li>a,
  .header_bottom .menu nav ul>li>a {
    padding: 10px 16px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 1100px) {

  header .header_bottom .menu nav ul,
  .header_bottom .menu nav ul {
    gap: 2px !important;
  }

  header .header_bottom .menu nav ul>li>a,
  .header_bottom .menu nav ul>li>a {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }
}

/* Za mobilne - potpuno isključi custom styling */
@media (max-width: 991px) {
  /* NE primjenjuj NIŠTA od custom stilova na mobilni meni */
  /* Mobilni koristi #menu_right_sidebar sa .dl-menu klasom */

  header .header_bottom .menu,
  .header_bottom .menu {
    display: none !important;
  }
}

/* ============================================
   TYPOGRAPHY - Malo smanji prored
   ============================================ */

/* Paragrafi - malo manji line-height */
p {
  line-height: 1.6 !important;
}

/* Naslovi */
h1 {
  line-height: 1.25 !important;
}

h2 {
  line-height: 1.3 !important;
}

h3,
h4 {
  line-height: 1.35 !important;
}


/* ============================================
   SLIDESHOW - Bolja vidljivost na mobile
   ============================================ */

/* Slideshow slike - popravi z-index za vidljivost */
.slideshow .slideshow-image {
  z-index: 0 !important;
  opacity: 1 !important;
}

/* Povećaj z-index teksta da bude iznad slike - samo tekst, ne container */
.slideshow h4 {
  position: relative;
  z-index: 11 !important;
  color: #ffffff !important;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.7),
    0 0 20px rgba(0, 0, 0, 0.5) !important;
}

.slideshow_info_block {
  position: relative;
  z-index: 11 !important;
  color: #ffffff !important;
  font-weight: bold !important;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.9),
    0 0 10px rgba(0, 0, 0, 0.7) !important;
}

/* Tamni overlay na mobile za bolju čitljivost teksta */
@media (max-width: 991px) {
  .slideshow .slideshow-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35) !important;
    z-index: 1;
  }

  .slideshow h4,
  .slideshow .slideshow_info_block {
    text-shadow:
      3px 3px 6px rgba(0, 0, 0, 1),
      0 0 15px rgba(0, 0, 0, 0.9),
      0 0 25px rgba(0, 0, 0, 0.7) !important;
  }

  /* Slide 1 - Pomakni fokus lijevo */
  #slide1 {
    background-position: 90% center !important;
  }

  /* Slide 2 - Pomakni fokus desno */
  #slide2 {
    background-position: 85% center !important;
  }

  /* Slide 3 - Pomakni fokus lijevo da se vidi lice */
  #slide3 {
    background-position: 70% center !important;
  }

  /* Slide 4 - Pomakni fokus lijevo da se vidi lice */
  #slide4 {
    background-position: 85% center !important;
  }

  /* Slide 6 - Pomakni fokus desno da se vidi lice */
  #slide6 {
    background-position: 65% center !important;
  }

  #slide5 {
    background-position: 75% center !important;
  }
}


/* ============================================
   SLIDESHOW NAVIGACIJA - Jače konture strelica
   ============================================ */

/* Strelice - podebljane bez sjene */
.slideshow .owl-nav .owl-prev i,
.slideshow .owl-nav .owl-next i {
  font-weight: 500 !important;
  -webkit-text-stroke: 1px currentColor !important;
}


/* ============================================
   FAQ STRANICA - Moderan dizajn
   ============================================ */

/* FAQ Container */
.faq-page .accordion {
  max-width: 900px;
  margin: 0 auto;
}

/* FAQ Naslov */
.faq-page h4 {
  font-size: 24px !important;
  color: #89081a !important;
  margin-bottom: 30px !important;
  text-align: center !important;
  font-weight: 600 !important;
}

/* Accordion Item - Moderne kartice */
.faq-page .accordion-item {
  background: #ffffff !important;
  border: 2px solid #e8e8e8 !important;
  border-radius: 12px !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.faq-page .accordion-item:hover {
  border-color: #89081a !important;
  box-shadow: 0 4px 16px rgba(137, 8, 26, 0.12) !important;
  transform: translateY(-2px) !important;
}

/* Accordion Header - Stiliziran */
.faq-page .accordion-header {
  background: linear-gradient(135deg, #89081a 0%, #6d0615 100%) !important;
  color: #ffffff !important;
  padding: 20px 24px !important;
  cursor: pointer !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-page .accordion-header:hover {
  background: linear-gradient(135deg, #6d0615 0%, #89081a 100%) !important;
}

/* Accordion Icon - Animirani plus/minus */
.faq-page .accordion-icon {
  font-size: 28px !important;
  font-weight: 300 !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  transition: all 0.3s ease !important;
  margin-left: 16px !important;
  pointer-events: none !important;
  flex-shrink: 0 !important;
}

.faq-page .accordion-header:hover .accordion-icon {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: rotate(90deg) !important;
}

.faq-page .accordion-item.show .accordion-icon {
  transform: rotate(45deg) !important;
}

/* Accordion Body - Čitljiv sadržaj */
.faq-page .accordion-body {
  padding: 0 !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  background: #fafafa !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.3s ease !important;
  box-shadow: none !important;
}

.faq-page .accordion-item.show .accordion-body {
  padding: 24px !important;
  padding-bottom: 28px !important;
  background: #fafafa !important;
  border-top: 2px solid #e8e8e8 !important;
  max-height: 3000px !important;
  opacity: 1 !important;
}

.faq-page .accordion-body p,
.faq-page .accordion-body {
  color: #555555 !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.faq-page .accordion-body a {
  color: #89081a !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.3s ease !important;
}

.faq-page .accordion-body a:hover {
  color: #6d0615 !important;
  text-decoration: underline !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .faq-page .accordion-header {
    padding: 16px 18px !important;
    font-size: 15px !important;
  }

  .faq-page .accordion-icon {
    font-size: 24px !important;
    width: 28px !important;
    height: 28px !important;
    margin-left: 12px !important;
  }

  .faq-page .accordion-item.show .accordion-body {
    padding: 20px 18px 24px !important;
  }

  .faq-page .accordion-body {
    font-size: 14px !important;
  }
}

/* ========================================
   TESTIMONIALS PAGE MODERN STYLING
   ======================================== */

/* Rating Cards Section */
.make_us_row {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  padding: 60px 0 !important;
  margin-bottom: 0 !important;
}

.make_us_row h1 {
  color: #89081a !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 50px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.make_us_item {
  margin-bottom: 30px !important;
}

.make_us_item_vn {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-radius: 16px !important;
  padding: 30px 20px !important;
  box-shadow: 0 8px 24px rgba(137, 8, 26, 0.12) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 2px solid transparent !important;
  height: 100% !important;
}

.make_us_item_vn:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 40px rgba(137, 8, 26, 0.2) !important;
  border-color: #89081a !important;
}

.make_us_item_rating {
  text-align: center !important;
  margin-bottom: 20px !important;
}

.make_us_item_rating span {
  font-size: 48px !important;
  font-weight: 800 !important;
  color: #89081a !important;
  display: block !important;
  margin-bottom: 12px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.make_us_star {
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}

.make_us_star i {
  color: #ffc107 !important;
  font-size: 20px !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2) !important;
}

.make_us_star i.deactivate {
  color: #dee2e6 !important;
}

.make_us_item_name {
  text-align: center !important;
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 2px solid #e9ecef !important;
}

.make_us_item_name_title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #495057 !important;
  margin-bottom: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.make_us_item_name a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #89081a 0%, #6d0615 100%) !important;
  color: #ffffff !important;
  font-size: 24px !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(137, 8, 26, 0.3) !important;
}

.make_us_item_name a:hover {
  transform: scale(1.15) rotate(5deg) !important;
  box-shadow: 0 6px 20px rgba(137, 8, 26, 0.5) !important;
}

/* Leave Feedback Section */
.leave_feedback {
  background: linear-gradient(135deg, #89081a 0%, #6d0615 100%) !important;
  padding: 60px 0 !important;
  margin: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

.leave_feedback::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  right: -10% !important;
  width: 400px !important;
  height: 400px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 50% !important;
  z-index: 0 !important;
}

.leave_feedback .container {
  position: relative !important;
  z-index: 1 !important;
  text-align: center !important;
  color: #ffffff !important;
  max-width: 800px !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  padding: 0 20px !important;
}

.leave_feedback .btn {
  background: #ffffff !important;
  color: #89081a !important;
  padding: 16px 48px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  border-radius: 50px !important;
  margin-top: 30px !important;
  display: inline-block !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}

.leave_feedback .btn:hover {
  background: #f8f9fa !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3) !important;
}

/* Recent Testimonials Section */
.recent_testimonials {
  background: #ffffff !important;
  padding: 80px 0 !important;
}

.recent_testimonials h4 {
  color: #89081a !important;
  font-size: 38px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 60px !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.recent_testimonials_item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-radius: 16px !important;
  padding: 32px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 2px solid transparent !important;
}

.recent_testimonials_item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(137, 8, 26, 0.15) !important;
  border-color: #89081a !important;
}

.recent_testimonials_title {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 20px !important;
}

.recent_testimonials_title img {
  border-radius: 50% !important;
  border: 3px solid #89081a !important;
  box-shadow: 0 4px 12px rgba(137, 8, 26, 0.3) !important;
}

.recent_testimonials_name {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #89081a !important;
}

.recent_testimonials_desk {
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #495057 !important;
  margin-bottom: 16px !important;
  font-style: italic !important;
}

.rating_date {
  font-size: 14px !important;
  color: #6c757d !important;
  margin-top: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.rating_date i {
  color: #89081a !important;
  font-size: 16px !important;
}

.recent_testimonials_item_r {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.recent_testimonials_item_r .make_us_item_rating {
  background: linear-gradient(135deg, #89081a 0%, #6d0615 100%) !important;
  padding: 24px !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(137, 8, 26, 0.3) !important;
}

.recent_testimonials_item_r .make_us_item_rating span {
  color: #ffffff !important;
  font-size: 36px !important;
}

.recent_testimonials_item_r .make_us_star i {
  color: #ffc107 !important;
  font-size: 18px !important;
}

/* Mobile Responsive for Testimonials */
@media (max-width: 768px) {
  .make_us_row h1 {
    font-size: 32px !important;
    margin-bottom: 35px !important;
  }

  .recent_testimonials h4 {
    font-size: 28px !important;
    margin-bottom: 40px !important;
  }

  .recent_testimonials_item {
    padding: 24px !important;
  }

  .leave_feedback .container {
    font-size: 16px !important;
  }

  .leave_feedback .btn {
    padding: 14px 36px !important;
    font-size: 16px !important;
  }
}