@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #f59e0b;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;
  --border: 1px solid rgba(226, 232, 240, 0.8);
  --box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
}

* {
  font-family: "Plus Jakarta Sans", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 8rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-track {
  background: var(--light);
}

html::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5rem;
}

section {
  padding: 8rem 10%;
}

img {
  height: auto;
  max-width: 100%;
}

.heading {
  margin-bottom: 4rem;
  font-size: 3.6rem;
  color: var(--dark);
  text-transform: capitalize;
  font-weight: 800;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 6rem;
  height: 0.4rem;
  background: var(--primary);
  border-radius: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 1.4rem 3.2rem;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: capitalize;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn:hover {
  background: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

@keyframes fadeIn {
  0% {
    top: 50%;
    opacity: 0;
  }
}

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: var(--border);
  transition: var(--transition);
}

.header .logo img {
  width: 150px;
  margin: auto;
}

.header .navbar a {
  font-size: 1.6rem;
  color: var(--dark);
  text-transform: capitalize;
  margin: 0 1.5rem;
  font-weight: 600;
  transition: var(--transition);
}

.header .navbar a:hover {
  color: var(--primary);
}

.header .icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header .icons div {
  height: 4.5rem;
  width: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--gray-light);
  color: var(--dark);
  cursor: pointer;
  border-radius: 50%;
  transition: var(--transition);
}

.header .icons a {
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.header .icons a:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.header .icons div:hover {
  background: var(--dark);
  color: var(--white);
}

.header #menu-btn {
  display: none;
}

.contact-info {
  position: fixed;
  top: 0;
  right: 0;
  width: 40rem;
  background: var(--white);
  height: 100%;
  text-align: center;
  z-index: 1100;
  padding: 3rem 2rem;
  padding-top: 6rem;
  display: none;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.contact-info.active {
  box-shadow: 0 0 0 100vw rgba(15, 23, 42, 0.6);
  display: block;
}

.contact-info #close-contact-info {
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
  font-size: 3rem;
  color: var(--dark);
  transition: var(--transition);
}

.contact-info #close-contact-info:hover {
  transform: rotate(90deg);
  color: var(--primary);
}

.contact-info .info {
  padding: 2rem 0;
}

.contact-info .info i {
  height: 6rem;
  width: 6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  background: var(--gray-light);
  color: var(--primary);
  cursor: pointer;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.contact-info .info i:hover {
  background: var(--primary);
  color: var(--white);
}

.contact-info .info h1 {
  font-size: 2rem;
  color: var(--dark);
  text-transform: capitalize;
  padding: 1rem 0;
  font-weight: 700;
}

.contact-info .info p {
  font-size: 1.5rem;
  color: var(--gray);
  line-height: 1.8;
}

.contact-info .share {
  padding-top: 2rem;
  border-top: var(--border);
  margin-top: 1rem;
}

.contact-info .share a {
  height: 4.5rem;
  width: 4.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--gray-light);
  color: var(--dark);
  cursor: pointer;
  border-radius: 50%;
  margin: 0 0.4rem;
  transition: var(--transition);
}

.contact-info .share a:hover {
  background: var(--primary);
  color: var(--white);
}

.home {
  padding: 0;
}

.home .slide {
  min-height: calc(100vh - 9rem);
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
}

.home .slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
}

.home .slide .content {
  width: 60rem;
  position: relative;
  padding-left: 10%;
  z-index: 2;
}

.home .slide .content h1 {
  font-size: 5.6rem;
  color: var(--dark);
  text-transform: uppercase;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.home .slide .content p {
  font-size: 1.6rem;
  color: var(--gray);
  line-height: 1.8;
  padding: 1.5rem 0;
  font-weight: 500;
}

.home .swiper-button-next,
.home .swiper-button-prev {
  top: initial;
  bottom: 0;
  left: initial;
  right: 0;
  height: 6rem;
  width: 6rem;
  background: var(--white);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.home .swiper-button-next:hover,
.home .swiper-button-prev:hover {
  background: var(--primary);
}

.home .swiper-button-next:hover::after,
.home .swiper-button-prev:hover::after {
  color: var(--white);
}

.home .swiper-button-next::after,
.home .swiper-button-prev::after {
  font-size: 2rem;
  color: var(--dark);
  transition: var(--transition);
}

.separator {
  background-color: transparent;
  background-image: linear-gradient(
    290deg,
    var(--separator) 30%,
    var(--primary) 0%
  );
  padding: 40px 300px;
  z-index: 1;
  position: relative;
  bottom: 40px;
}

.home .swiper-button-prev {
  right: 6rem;
}

.about .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5rem;
}

.about .row .video {
  flex: 1 1 45rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about .row .video video {
  width: 100%;
  display: block;
}

.about .row .content {
  flex: 1 1 45rem;
}

.about .row .content h1 {
  font-size: 3.2rem;
  color: var(--dark);
  text-transform: capitalize;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.about .row .content p {
  font-size: 1.6rem;
  color: var(--gray);
  line-height: 1.8;
  padding: 1.5rem 0;
}

.about .box-container {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.about .box-container .box {
  text-align: center;
  background: var(--white);
  padding: 3.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  border: var(--border);
  transition: var(--transition);
}

.about .box-container .box:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.3);
}

.about .box-container .box h1 {
  font-size: 4.2rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about .box-container .box p {
  font-size: 1.6rem;
  color: var(--gray);
  padding-top: 0.8rem;
  font-weight: 500;
}

.services {
  background: var(--gray-light);
}

.services .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 2.5rem;
}

.services .box-container .box {
  text-align: left;
  padding: 4rem 3rem;
  background: var(--white);
  box-shadow: var(--box-shadow);
  border: var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.services .box-container .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.1);
  border-color: rgba(37, 99, 235, 0.3);
}

.services .box-container .box:hover img {
  transform: scale(1.1);
}

.services .box-container .box img {
  height: 56px;
  width: 56px;
  object-fit: contain;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.services .box-container .box h1 {
  font-size: 2rem;
  color: var(--dark);
  text-transform: capitalize;
  padding-bottom: 1rem;
  font-weight: 700;
}

.services .box-container .box p {
  font-size: 1.5rem;
  color: var(--gray);
  line-height: 1.7;
}

.projects {
  background: var(--dark);
}

.projects .heading {
  color: var(--white);
}

.projects .heading::after {
  background: var(--primary);
}

.projects .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
  gap: 2.5rem;
}

.projects .box-container .box {
  cursor: initial;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.projects .box-container .box:hover {
  transform: translateY(-5px);
}

.projects .box-container .box:hover .image img {
  transform: scale(1.05);
}

.projects .box-container .box .image {
  height: 28rem;
  overflow: hidden;
}

.projects .box-container .box .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.projects .box-container .box .content {
  display: flex;
  background: var(--white);
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.projects .box-container .box .content .info {
  padding: 2rem;
}

.projects .box-container .box .content .info h1 {
  font-size: 1.8rem;
  color: var(--dark);
  text-transform: capitalize;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.projects .box-container .box .content .info p {
  font-size: 1.4rem;
  color: var(--gray);
}

.projects .box-container .box .content i {
  width: 7rem;
  height: 7rem;
  font-size: 2.2rem;
  background: var(--primary);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.projects .box-container .box .content i:hover {
  background: var(--primary-hover);
}

.reviews .slide p {
  padding: 2.5rem;
  background: var(--white);
  position: relative;
  margin-bottom: 3rem;
  font-size: 1.6rem;
  color: var(--gray);
  line-height: 1.8;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
  border: var(--border);
}

.reviews .slide p::before {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 3rem;
  height: 2rem;
  width: 2rem;
  background: var(--white);
  transform: rotate(45deg);
  border-right: var(--border);
  border-bottom: var(--border);
}

.reviews .slide .user {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.reviews .slide .user img {
  height: 7rem;
  width: 7rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.reviews .slide .user h1 {
  font-size: 2rem;
  color: var(--dark);
  text-transform: capitalize;
  font-weight: 700;
}

.reviews .slide .user .stars {
  padding-top: 0.5rem;
}

.reviews .slide .user .stars i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-right: 0.2rem;
}

.contact {
  background: var(--dark);
}

.contact .heading {
  color: var(--white);
}

.contact .row {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
}

.contact .row .map {
  flex: 1 1 45rem;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  min-height: 40rem;
}

.contact .row form {
  flex: 1 1 45rem;
  background: var(--white);
  padding: 4rem;
  border-radius: var(--radius);
  box-shadow: var(--box-shadow);
}

.contact .row form h1 {
  font-size: 2.6rem;
  color: var(--dark);
  text-transform: capitalize;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact .row form .box {
  margin: 1.2rem 0;
  width: 100%;
  padding: 1.6rem 0;
  border-bottom: 2px solid var(--gray-light);
  font-size: 1.6rem;
  color: var(--dark);
  background: transparent;
  transition: var(--transition);
}

.contact .row form .box:focus {
  border-color: var(--primary);
}

.contact .row form textarea {
  height: 15rem;
  resize: none;
}

.footer {
  background: var(--white);
  padding: 8rem 10% 4rem;
  border-top: var(--border);
}

.footer .box-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
}

.footer .box-container .box h1 {
  font-size: 2.2rem;
  color: var(--dark);
  padding-bottom: 1.5rem;
  font-weight: 700;
}

.footer .box-container .box .links {
  font-size: 1.5rem;
  display: block;
  color: var(--gray);
  padding: 0.8rem 0;
  transition: var(--transition);
  font-weight: 500;
}

.footer .box-container .box .links:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer .box-container .box p {
  font-size: 1.5rem;
  color: var(--gray);
  padding: 0.8rem 0;
  font-weight: 500;
}

.footer .box-container .box p i {
  padding-right: 1rem;
  color: var(--primary);
}

.footer .box-container .box .share {
  padding: 1.5rem 0;
  display: flex;
  gap: 1rem;
}

.footer .box-container .box .share a {
  height: 4.5rem;
  width: 4.5rem;
  line-height: 4.5rem;
  font-size: 1.7rem;
  color: var(--white);
  background: var(--dark);
  border-radius: 50%;
  text-align: center;
  transition: var(--transition);
}

.footer .box-container .box .share a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer .box-container .box form .email {
  margin-bottom: 1.5rem;
  width: 100%;
  background: var(--gray-light);
  padding: 1.4rem;
  font-size: 1.5rem;
  color: var(--dark);
  text-transform: none;
  border-radius: var(--radius);
  border: var(--border);
}

.footer .box a {
  color: var(--gray);
  transition: var(--transition);
}

.footer .box a:hover {
  color: var(--primary);
}

.credit {
  font-size: 1.5rem;
  text-align: center;
  padding: 3rem 2rem;
  color: var(--white);
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.credit .copyright {
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  color: var(--gray);
}

.credit .copyright a {
  color: var(--white);
  margin-left: 0.5rem;
  font-weight: 600;
}

.credit span {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 1200px) {
  .header {
    padding: 2rem 5%;
  }
  section {
    padding: 6rem 5%;
  }
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  .header #menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: var(--border);
    border-bottom: var(--border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: 0.3s ease-in-out;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
  }
  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .header .navbar a {
    display: block;
    margin: 2rem 3rem;
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .home .slide {
    justify-content: center;
  }
  .home .slide .content {
    width: 100%;
    padding: 0 5%;
    text-align: center;
  }
  .home .slide .content h1 {
    font-size: 4rem;
  }
  .home .slide::before {
    background: rgba(255, 255, 255, 0.9);
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }
  .about .row .content h1 {
    font-size: 2.8rem;
  }
  .heading {
    font-size: 3rem;
  }
}
/* Dodatni efekat za galeriju - da se slike blago uvećavaju */
.projects .box {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.projects .box:hover {
    transform: scale(1.03); /* Blago uvećanje cele kartice */
}

/* Opcionalno: da slika unutar kartice izgleda još bolje */
.projects .box img {
    transition: transform 0.3s ease;
}

.projects .box:hover img {
    transform: scale(1.05); /* Blago zumiranje same slike */
}