*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #666666;
  font-size: 14px;
  font-family: "Sen", sans-serif;
  line-height: 1.80857;
  font-weight: normal;
  overflow-x: hidden !important;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #222222;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

a:hover {
  text-decoration: none;
}

a:focus,
button:focus {
  outline: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: 0;
  line-height: normal;
  color: #111111;
  margin: 0;
  font-weight: normal;
  padding: 0 0 10px 0;
}

h1 {
  font-size: 24px;
}
h2 {
  font-size: 22px;
}
h3 {
  font-size: 18px;
}
h4 {
  font-size: 16px;
}
h5 {
  font-size: 14px;
}
h6 {
  font-size: 13px;
}

p {
  margin: 20px;
  font-weight: 300;
  font-size: 15px;
  line-height: 24px;
}

/* ---------- Utilities ---------- */
.full {
  width: 100%;
}
.layout_padding {
  padding-top: 90px;
  padding-bottom: 0;
}

/* ---------- Shared UI bits ---------- */

/* Eyebrow label (koristi se širom sajta) */
.eyebrow {
  display: inline-block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--color-primary);
  background: rgba(111, 196, 184, 0.18);
}

/* Back to Top */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none; /* skriveno dok ne skrolujemo; JS ga menja u flex */
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 999;
  /* iOS Safari fallback za fixed elemente */
  position: fixed;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
#backToTop:hover {
  background: #fff;
  color: var(--color-secondary);
  transform: translateY(-3px);
}
#backToTop i {
  font-size: 18px;
  line-height: 1;
}
#backToTop:focus {
  outline: 2px solid #222;
  outline-offset: 2px;
}
@supports (
  (-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))
) {
  #backToTop {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}

/* ---------- Sections that rely on this file ---------- */

/* Services (naslov i spacing sekcije – kartice su u services.css) */
.services_section {
  width: 100%;
}
.services_taital {
  width: 100%;
  font-size: 40px;
  color: #202020;
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
}
.services_section_2 {
  width: 100%;
  padding: 90px 0;
}

/* About blok na index-u (About page ima aboutPage.css) */
.about_section {
  width: 100%;
  background-color: #1880a0;
}
.about_text {
  font-size: 14px;
  color: #fefefd;
}

/* Portfolio uvod (grid/kartice su u portfolio.css) */
.portfolio_section {
  width: 100%;
  padding-bottom: 90px;
}

/* Testimonials (customer) */
.customer_section {
  width: 100%;
}
.customer_taital {
  width: 100%;
  font-size: 40px;
  color: #242424;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
}
.customer_section_2 {
  width: 90%;
  margin: 0 auto;
  padding-top: 50px;
}

.client_box {
  width: 100%;
  display: flex;
  border: 1px solid #ff1111;
  padding: 30px;
}
.client_left {
  width: 20%;
}
.client_middle {
  width: 30%;
  padding-top: 40px;
  padding-left: 20px;
}
.client_right {
  width: 50%;
  padding-top: 30px;
}

.client_text {
  font-size: 20px;
  color: #090909;
  font-weight: bold;
  padding: 0;
}
.consectetur_text {
  font-size: 20px;
  color: #ff0000;
  margin: 0;
}
.lorem_text {
  font-size: 16px;
  color: #090909;
  margin: 0;
}

/* Carousel kontrole (id: #main_slider) */
#main_slider a.carousel-control-prev {
  left: 80px;
  top: 180px;
}
#main_slider a.carousel-control-next {
  right: 80px;
  top: 180px;
  color: #f7ce5c;
}
#main_slider .carousel-control-next,
#main_slider .carousel-control-prev {
  width: 55px;
  height: 55px;
  opacity: 1;
  font-size: 16px;
  color: #0b0b0b;
}
#main_slider .carousel-control-next:focus,
#main_slider .carousel-control-next:hover,
#main_slider .carousel-control-prev:focus,
#main_slider .carousel-control-prev:hover {
  color: #f7ce5c;
}

/* ---------- Footer bits shared (ostatak je u footer.css) ---------- */
.footer_social_icon {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.footer_social_icon ul {
  margin: 0;
  padding: 0;
  display: inline-block;
}
.footer_social_icon li {
  float: left;
}
.footer_social_icon li a {
  float: left;
  padding: 5px 10px;
  background-color: #fefefd;
  color: #252525;
  border-radius: 100%;
  font-size: 19px;
  margin-right: 5px;
  width: 44px;
  text-align: center;
  margin-top: 10px;
}
.footer_social_icon li a:hover {
  background-color: #fefefd;
  color: var(--color-primary)
}

/* Copyright traka (fallback; detalji u footer.css) */
.copyright_section {
  width: 100%;
  background-color: #ffffff;
}
.copyright_text {
  width: 100%;
  font-size: 16px;
  color: #000;
  margin: 20px 0;
  text-align: center;
  font-family: "Poppins", sans-serif;
}
.copyright_text a {
  color: #000;
}
.copyright_text a:hover {
  color: var(--color-primary);
}

/* ---------- Helpers ---------- */
.margin_top90 {
  margin-top: 90px;
}


/* Testimonials */
.client_box { border: 1px solid var(--color-muted); }    /* bilo #ff1111 */
.consectetur_text { color: var(--color-secondary); }      /* bilo #ff0000 */

/* Carousel kontrole (ikonice strelica) */
#main_slider a.carousel-control-prev,
#main_slider a.carousel-control-next { color: var(--color-white); } 
#main_slider .carousel-control-next:focus,
#main_slider .carousel-control-next:hover,
#main_slider .carousel-control-prev:focus,
#main_slider .carousel-control-prev:hover { color: var(--color-secondary); }

/* Footer ikonice – hover */
.footer_social_icon li a:hover { color: var(--color-secondary); }  /* bilo #ff0000 */

/* Copyright link – hover */
.copyright_text a:hover { color: var(--color-secondary); }         /* bilo #ff0000 */


/* GLOBAL: Back to top */
#backToTop{
  position: fixed;
  right: calc(env(safe-area-inset-right, 0px) + 24px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  z-index: 9999;

  width: 46px;
  height: 46px;
  display: none;                 /* JS ga pali/gasi */
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  -webkit-appearance: none;      /* iOS reset */
  -webkit-tap-highlight-color: transparent;

  transition: transform .12s ease, box-shadow .12s ease, opacity .15s ease;
}
#backToTop .fa{ font-size: 18px; line-height: 1; }

#backToTop:hover{ transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,.22); }
#backToTop:active{ transform: translateY(0); }

#backToTop:focus-visible{
  outline: 3px solid rgba(0,60,114,.35);
  outline-offset: 3px;
}





