/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #333;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  z-index: 1000;
}

.logo img {
  height: 45px;
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #1e88e5;
}

.nav-links a:hover {
  color: #e53935;
}

/* SECTIONS */
.section {
  padding: 140px 80px 120px;
}

/* SERVICES */
.services-section {
  background: #f5f7fa;
  text-align: center;
}

.services-section h2 {
  font-size: 32px;
  color: #1e88e5;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-box {
  background: #fff;
  padding: 35px 25px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.service-icon.blue {
  color: #1e88e5;
}

.service-icon.red {
  color: #e53935;
}

.service-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}

/* PROJECTS */
.section-title {
  text-align: center;
  font-size: 32px;
  color: #1e88e5;
  margin-bottom: 40px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.projects-grid img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.projects-grid img:hover {
  transform: scale(1.05);
}

/* CONTACT */
.contact {
  position: relative;
  background-image: url("images/viessman.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  
}

/* overlay që e zbut foton */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 70, 0.85); /* errësim i butë */
}

/* përmbajtja mbi overlay */
.contact > * {
  position: relative;
  z-index: 1;
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 25px;
  }

  .logo img {
    height: 50px;
  }

  .section {
    padding: 120px 30px;
  }
}

/* WHY CHOOSE US */
.why-section {
  background: #ffffff;
  text-align: center;
}

.why-section h2 {
  font-size: 32px;
  color: #1e88e5;
  margin-bottom: 50px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-box {
  background: #f5f7fa;
  padding: 35px 25px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.why-box:hover {
  transform: translateY(-6px);
  background: #eef3fb;
}

.why-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #e53935;
}

.why-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #333;
}

.why-box p {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
}
/* PROJECTS GALLERY */
.projects-section {
  background: #f5f7fa;
  text-align: center;
}

.projects-section h2 {
  font-size: 32px;
  color: #1e88e5;
  margin-bottom: 40px;
}

.projects-grid-compact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px; /* hapësirë e vogël mes fotove */
  max-width: 1200px;
  margin: 0 auto;
}

.project-box {
  overflow: hidden;
  border-radius: 10px;
}

.project-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.project-box img:hover {
  transform: scale(1.06);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .projects-grid-compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .projects-grid-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .projects-grid-compact {
    grid-template-columns: 1fr;
  }
}
/* SLIDER */
.slider-section {
  margin-top: 110px; /* hapësirë për navbar fixed */
}

.slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* responsive */
@media (max-width: 768px) {
  .slider {
    height: 45vh;
  }
}
/* SLIDER */
.slider-section {
  margin-top: 110px; /* hapësirë për navbar fixed */
}

.slider {
  position: relative;
  width: 100%;
  height: 70vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SHIGJETAT */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.7);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

/* responsive */
@media (max-width: 768px) {
  .slider {
    height: 45vh;
  }

  .slider-btn {
    font-size: 24px;
    padding: 8px 12px;
  }
}
.slide {
  position: absolute;
  inset: 0;
}

.slide-text {
  position: absolute;
  bottom: 60px;
  left: 60px;
  color: white;
  max-width: 500px;
  z-index: 5;
}

.slide-text h2 {
  font-size: 36px;
  margin-bottom: 10px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.slide-text p {
  font-size: 18px;
  text-shadow: 0 3px 8px rgba(0,0,0,0.6);
}

/* animacion fade-in */
.slide-text {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.slide.active .slide-text {
  opacity: 1;
  transform: translateY(0);
}
/* CONTACT */
.contact {
  position: relative;
  background-image: url("images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 70, 0.85);
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center; /* 👈 gjithçka në mes */
}

.contact-content h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

/* RRESHTI I KONTAKTEVE */
.contact-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}


.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 200px;
}

.contact-item span {
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 18px;
}
.contact-logo {
  max-width: 140px;
  opacity: 0.9;
  filter: brightness(1.1);
}
/* CONTACT BACKGROUND IMAGE */
.contact {
  position: relative;
  background-image: url("images/viessman.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
}

/* overlay që e zbut foton */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 70, 0.85);
}

/* përmbajtja mbi overlay */
.contact-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 768px) {

  /* NAVBAR */
  .navbar {
    padding: 12px 0;
  }

  .logo img {
    height: 50px;
  }

  /* SLIDER */
  .slider {
    height: 45vh;
  }

  .slide-text {
    left: 20px;
    bottom: 30px;
    max-width: 90%;
  }

  .slide-text h2 {
    font-size: 22px;
  }

  .slide-text p {
    font-size: 14px;
  }

  .slider-btn {
    font-size: 22px;
    padding: 6px 10px;
  }

  /* SECTIONS */
  .section {
    padding: 80px 20px;
  }

  /* SERVICES */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-box {
    padding: 25px 20px;
  }

  /* WHY US */
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-box {
    padding: 25px 20px;
  }

  /* PROJECTS */
  .projects-grid-compact {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* CONTACT */
  .contact-content h2 {
    font-size: 26px;
  }

  .contact-row {
    flex-direction: column;
    gap: 25px;
  }

  .contact-item span {
    font-size: 28px;
  }

  .contact-item p {
    font-size: 16px;
  }

  /* FOOTER */
  footer {
    font-size: 13px;
    padding: 14px;
  }
}

/* EXTRA SMALL PHONES */
@media (max-width: 480px) {

  .slide-text h2 {
    font-size: 20px;
  }

  .slide-text p {
    font-size: 13px;
  }

  .projects-grid-compact {
    grid-template-columns: 1fr;
  }
}
