/* ==========================================================================
   Betonrez — modern restyle layer
   Loaded after style.css; overrides the Constra template for a more
   contemporary, industrial-but-clean look. Single brand blue + amber accent.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

:root {
  --brand: #1565C0;
  --brand-dark: #0D47A1;
  --brand-soft: #e8f0fb;
  --accent: #F59E0B;
  --accent-dark: #d6870b;
  --ink: #161b22;
  --muted: #5b6573;
  --line: #e7eaee;
  --radius: 14px;
  --shadow-sm: 0 4px 16px rgba(16, 33, 58, 0.07);
  --shadow-md: 0 14px 40px rgba(16, 33, 58, 0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", "Open Sans", sans-serif;
  color: #2b3340;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.btn, .navbar-nav .nav-link,
.section-title, .section-sub-title, .column-title,
.box-slide-sub-title, .ts-facts-num, .widget-title {
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
}

h1, h2, h3, h4, h5, h6, .section-sub-title, .column-title {
  letter-spacing: -0.01em;
}

::selection { background: var(--brand); color: #fff; }

a { transition: color .2s ease; }

/* Accessible focus rings */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(21, 101, 192, 0.45);
  outline-offset: 2px;
}

/* --------------------------------------------------------------- Buttons */
.btn-primary,
.btn-dark,
.btn-accent {
  border: 0;
  border-radius: 999px;
  padding: 13px 28px 12px;
  font-family: "Plus Jakarta Sans", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.22);
  transition: transform .2s ease, box-shadow .2s ease, background .25s ease;
}
@media (max-width: 767px) {
  .btn-primary,
  .btn-dark,
  .btn-accent { font-size: 13px; }
}
.btn-primary:hover,
.btn-dark:hover,
.btn-white.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(13, 71, 161, 0.32);
}
.btn-primary:hover:active, .btn-primary:hover:focus,
.btn-dark:hover:active, .btn-dark:hover:focus {
  background-color: var(--brand-dark) !important;
}

/* Amber accent CTA — used for the most important call-to-action */
.btn-accent {
  background: var(--accent);
  color: #1c1300 !important;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}
.btn-accent:hover {
  background: var(--accent-dark);
  color: #1c1300 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(214, 135, 11, 0.4);
}

/* ------------------------------------------------------------ Top bar */
.top-bar {
  background: var(--brand-dark);
  padding: 9px 0;
  font-size: 14px;
}
.top-bar a, .top-bar .info-text, .top-bar i { color: #eaf1fb; }
.top-bar .social-icon {
  width: 30px; height: 30px; line-height: 30px;
  display: inline-block; text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: background .2s ease, transform .2s ease;
}
.top-bar .social-icon:hover { background: var(--accent); transform: translateY(-2px); }

/* ------------------------------------------------------------ Header / nav */
.header-two,
.header-two .site-navigation {
  position: relative;
  z-index: 1010;
}
.header-two .site-navigation {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  box-shadow: 0 2px 18px rgba(16, 33, 58, 0.06);
}
/* Keep the Usluge dropdown above the hero/carousel */
.site-navigation .dropdown-menu { z-index: 1100; }
.navbar-fixed { box-shadow: 0 6px 24px rgba(16, 33, 58, 0.12) !important; }
.site-navigation .navbar-nav .nav-link {
  font-weight: 600;
  position: relative;
}
.site-navigation .navbar-nav > .nav-item > .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.site-navigation .navbar-nav > .nav-item > .nav-link:hover::after { width: 100%; }
.logo img { max-height: 56px; width: auto; }

.header-get-a-quote .btn-primary {
  background: var(--accent);
  color: #1c1300 !important;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}
.header-get-a-quote .btn-primary:hover { background: var(--accent-dark) !important; }

/* ------------------------------------------------------------ Hero */
.banner-carousel .banner-carousel-item { height: 640px; position: relative; }
.banner-carousel .banner-carousel-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(13, 30, 56, 0.86) 0%, rgba(13, 30, 56, 0.55) 45%, rgba(13, 30, 56, 0.15) 100%);
}
.box-slider-content { z-index: 2; }
.box-slider-text {
  background: transparent;
  padding: 0;
  max-width: 720px;
}
.box-slide-title {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  background: var(--accent);
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}
.box-slide-sub-title {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 18px;
}
.box-slide-description {
  font-size: 18px;
  line-height: 1.6;
  max-width: 600px;
  opacity: .92;
}
.box-slider-text .btn { margin-top: 12px; }
@media (max-width: 767px) {
  .banner-carousel .banner-carousel-item { height: 560px; }
  .box-slide-sub-title { font-size: 34px; }
  .box-slider-text { background: rgba(13,30,56,.45); padding: 22px; border-radius: var(--radius); }
}
@media (max-width: 575px) {
  .box-slider-text .btn { display: block; width: 100%; text-align: center; }
  .box-slider-text .btn.ml-2 { margin-left: 0 !important; }
}

/* Inner-page banner */
.banner-area { position: relative; }
.banner-area::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, rgba(13,30,56,.88), rgba(13,30,56,.55));
}
/* Keep the template's absolute centering; just sit above the overlay */
.banner-area .banner-text { z-index: 2; }
.banner-title { font-weight: 800; }
.breadcrumb { background: transparent; }
.breadcrumb-item a { color: var(--accent); }

/* ------------------------------------------------------------ Section titles */
.section-title { color: var(--brand); font-weight: 700; letter-spacing: .14em; }
.section-sub-title { position: relative; padding-bottom: 22px; margin-bottom: 48px; }
.section-sub-title::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 64px; height: 4px; border-radius: 4px;
  background: var(--accent);
}
.column-title { position: relative; padding-bottom: 16px; font-weight: 700; }
.column-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 54px; height: 4px; border-radius: 4px; background: var(--accent);
}

/* ------------------------------------------------------------ Service cards */
.ts-service-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.ts-service-box:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ts-service-image-wrapper { overflow: hidden; }
.ts-service-image-wrapper img {
  transition: transform .5s ease;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.ts-service-box:hover .ts-service-image-wrapper img { transform: scale(1.06); }
.ts-service-info { padding: 26px 26px 30px; }
.service-box-title a { color: var(--ink); transition: color .2s ease; }
.service-box-title a:hover { color: var(--brand); }
.learn-more {
  margin-top: 10px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
}
.learn-more:hover { color: var(--accent-dark); }

/* ------------------------------------------------------------ Call to action */
.action-style-box {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%);
  border-radius: var(--radius);
  padding: 38px 44px;
  box-shadow: var(--shadow-md);
}
.action-title { color: #fff; font-weight: 700; margin: 0; }
.action-style-box .btn-primary { background: var(--accent); color: #1c1300; }
.action-style-box .btn-primary:hover { background: var(--accent-dark) !important; }

/* ------------------------------------------------------------ Facts */
.facts-area, .facts-area.dark-bg {
  background: linear-gradient(120deg, #11203a 0%, #0d1b30 100%);
}
.ts-facts {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 30px 18px;
  transition: transform .25s ease, background .25s ease;
}
.ts-facts:hover { transform: translateY(-5px); background: rgba(255,255,255,0.07); }
.ts-facts-num { color: #fff; font-weight: 800; }
.ts-facts-title { color: #c7d4e6; font-weight: 500; }
/* Facts icons are recolored amber inline in the SVG markup for consistency. */

/* ------------------------------------------------------------ Gallery */
.project-img-container { border-radius: var(--radius); overflow: hidden; }
.project-img-container img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Filter: segmented pill buttons instead of the underlined tab strip */
.shuffle-btn-group {
  border-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 44px;
}
.shuffle-btn-group label,
.gallery-filter label {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  box-shadow: var(--shadow-sm);
  transition: all .2s ease;
}
.shuffle-btn-group label:hover,
.gallery-filter label:hover { border-color: var(--brand); color: var(--brand); }
.shuffle-btn-group label.active,
.shuffle-btn-group label.active:hover,
.gallery-filter label.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Project cards: rounded tiles with an always-visible gradient caption */
.shuffle-item { padding: 0 13px 26px; }
.shuffle-item .project-img-container {
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease;
}
.shuffle-item .project-img-container:hover { box-shadow: var(--shadow-md); }
.shuffle-item .project-img-container:after {
  opacity: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(10, 20, 38, 0.82) 0%, rgba(10, 20, 38, 0.28) 42%, rgba(10, 20, 38, 0) 68%);
  transition: background 400ms;
}
.shuffle-item .project-img-container:hover:after {
  background: linear-gradient(to top, rgba(10, 20, 38, 0.9) 0%, rgba(10, 20, 38, 0.45) 55%, rgba(10, 20, 38, 0.1) 100%);
}
.shuffle-item .project-img-container .project-item-info {
  top: auto;
  bottom: 0;
  margin-top: 0;
  padding: 0 22px 16px;
}
.shuffle-item .project-img-container .project-item-info-content {
  opacity: 1;
  transform: none;
}
.shuffle-item .project-img-container .project-item-info-content .project-item-title {
  font-size: 17px;
  margin-bottom: 8px;
}
.shuffle-item .project-img-container .project-item-info-content .project-cat {
  background: var(--accent);
  color: #1c1300;
  border-radius: 4px;
  padding: 3px 10px;
  letter-spacing: .05em;
}
.shuffle-item .project-img-container .gallery-popup .gallery-icon {
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-dark);
}

/* Service-page image slider: rounded, card-like frame */
.page-slider {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Standalone gallery grid (galerija.html) */
.gallery-grid { margin-top: 10px; }
.gallery-grid .gallery-cell { margin-bottom: 26px; }
.gallery-grid .gallery-popup {
  display: block; position: relative;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-grid .gallery-popup img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-grid .gallery-popup::after {
  content: "\f00e";
  font-family: "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: #fff;
  background: rgba(13, 30, 56, 0.55);
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid .gallery-popup:hover img { transform: scale(1.07); }
.gallery-grid .gallery-popup:hover::after { opacity: 1; }

/* ------------------------------------------------------------ Service detail lists */
#main-container ul:not(.breadcrumb):not(.list-unstyled) { list-style: none; padding-left: 0; }
#main-container .col-lg-4 ul li,
#main-container .service-list li {
  position: relative;
  padding: 7px 0 7px 30px;
  border-bottom: 1px solid var(--line);
}
#main-container .col-lg-4 ul li::before,
#main-container .service-list li::before {
  content: "\f058";
  font-family: "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; left: 0; top: 7px;
  color: var(--brand);
}

/* ------------------------------------------------------------ Testimonials */
.quote-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 36px;
  box-shadow: var(--shadow-sm);
}
.quote-item::before {
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 40px;
  line-height: 1;
  color: var(--brand-soft);
}
.quote-item .quote-text { position: relative; }
.quote-author { color: var(--brand); font-weight: 700; }

/* ------------------------------------------------------------ Contact cards */
.ts-service-box-bg {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ts-service-box-bg:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ts-service-box-bg .ts-service-icon.icon-round {
  background: var(--brand-soft); color: var(--brand);
}
.ts-service-box-bg a { color: var(--brand); }

.form-control { border-radius: 10px; }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }

/* ------------------------------------------------------------ Footer */
.footer .footer-social ul li a {
  width: 38px; height: 38px; line-height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background .2s ease, transform .2s ease;
}
.footer .footer-social ul li a:hover { background: var(--accent); transform: translateY(-2px); }
.footer .list-arrow li a:hover,
.footer .footer-menu a:hover,
.footer .working-hours a:hover { color: var(--accent); }
.footer .working-hours a { color: #c7d4e6; }

/* Back to top */
#back-to-top .btn-primary { border-radius: 50%; width: 46px; height: 46px; padding: 0; }
