.about-section {
  background-color: #ffffff;
  padding: 70px 0 90px;
  margin-bottom: 50px;
}
.about-section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 30px;
}
.about-left-column {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
}
.about-card {
  width: 100%;
  max-width: 760px;
  background: #006973;
  border-radius: 22px;
  padding: 70px 55px;
  color: #ffffff;
  box-shadow: 0 25px 50px rgba(0, 52, 58, 0.35);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-card h2 {
  font-size: 46px;
  line-height: 1.2;
  margin: 0;
}
.about-card p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  opacity: 0.95;
}
.about-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 10px;
}
.about-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}
.tag {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ff6b35;
}
.about-right-column {
  padding: 25px 40px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 420px;
}
.about-gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  height: 100%;
}
.gallery-item {
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  transform: translateX(var(--offset, 0)) translateY(0);
}
.gallery-item:nth-child(1) {
  --offset: -8%;
}
.gallery-item:nth-child(2) {
  --offset: 5%;
}
.gallery-item:nth-child(3) {
  --offset: -5%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item:hover {
  transform: translateX(var(--offset, 0)) translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
@media (max-width: 992px) {
  .about-section-inner {
    padding: 0 20px;
  }
  .about-left-column,
  .about-right-column {
    padding: 30px 15px;
  }
  .about-card {
    padding: 50px 35px;
  }
  .about-card h2 {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .about-section-inner {
    padding: 0 15px;
  }
  .about-card {
    padding: 40px 25px;
  }
  .about-gallery {
    flex-direction: column;
  }
  .about-right-column {
    padding: 20px 15px;
    min-height: auto;
  }
}

.projects-section {
  background: #ffffff;
  padding: 60px 0 80px;
  margin-bottom: 40px;
}
.projects-image-column {
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.projects-image {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 52, 58, 0.25);
}
.projects-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.active-projects {
  background: #f0fafa;
  margin-bottom: 0;
  position: relative;
  padding: 50px 0 44px;
}
.active-projects-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}
.section-heading {
  max-width: 780px;
  margin-bottom: 40px;
}
.section-heading h2 {
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 18px;
}
.section-heading p {
  color: rgba(0, 52, 58, 0.75);
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
.projects-heading-card {
  background: #004d54;
  color: #fff;
  border-radius: 22px;
  padding: 40px 50px;
  box-shadow: 0 25px 50px rgba(0, 52, 58, 0.35);
  border: 1px solid rgba(0, 105, 115, 0.4);
}
.projects-heading-card p {
  color: rgba(255, 255, 255, 0.85);
}
.active-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}
.project-card {
  background: linear-gradient(180deg, #006973 0%, #003840 100%);
  border-radius: 24px;
  color: #fff;
  box-shadow: 0 25px 45px rgba(0, 52, 58, 0.2);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.project-card:hover {
  transform: translateY(-4px);
}
.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.project-card:hover .project-image img {
  transform: scale(1.03);
}
.project-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.95);
  color: #00353b;
}
.project-content h3 {
  font-size: 24px;
  margin: 0;
  color: #006973;
}
.project-content p {
  margin: 0;
  line-height: 1.7;
  color: rgba(0, 52, 58, 0.75);
}
.project-link {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 26px;
  border-radius: 40px;
  border: 2px solid #006973;
  color: #006973;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.project-link:hover {
  background-color: #006973;
  color: #fff;
}
.active-projects::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  top: -90px;
  right: -140px;
  background: radial-gradient(circle at center, rgba(0, 105, 115, 0.35), rgba(0, 105, 115, 0));
  z-index: 0;
}

@media (max-width: 768px) {
  .active-projects {
    padding: 60px 0 36px;
  }
  .project-image {
    height: 180px;
  }
  .project-content h3 {
    font-size: 22px;
  }
}

/* Kartice zgrada (kao prodaja.html) na početnoj */
.active-projects .buildings-grid--home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  position: relative;
  z-index: 1;
}
.active-projects .building-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 52, 58, 0.1);
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.25s ease;
}
.active-projects a.building-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
.active-projects a.building-card:hover {
  color: inherit;
  text-decoration: none;
}
.active-projects .building-card:hover {
  box-shadow: 0 20px 50px rgba(0, 52, 58, 0.16);
}
.active-projects .building-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}
.active-projects .building-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease-out;
}
.active-projects .building-card:hover .building-card-image img {
  transform: scale(1.05);
}
.active-projects .building-card-rasprodato:hover .building-card-image img,
.active-projects .building-card-uskoro:hover .building-card-image img {
  transform: none;
}
.active-projects .building-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #006973;
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.active-projects .building-card-body {
  padding: 30px 32px 35px;
}
.active-projects .building-card-body h3 {
  font-size: 24px;
  font-weight: 600;
  color: #00353b;
  margin: 0 0 8px;
}
.active-projects .building-card-body .location {
  font-size: 14px;
  color: rgba(0, 52, 58, 0.6);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.active-projects .building-card-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.active-projects .building-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.active-projects .building-stat .stat-value {
  font-size: 22px;
  font-weight: 700;
  color: #006973;
}
.active-projects .building-stat .stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(0, 52, 58, 0.55);
  font-weight: 600;
}
.active-projects .building-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: 40px;
  border: 2px solid #006973;
  color: #006973;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.active-projects .building-card:hover .building-card-action:not(.building-card-action--rasprodato):not(.building-card-action--uskoro) {
  background: #006973;
  color: #fff;
}
.active-projects .building-card-action--rasprodato {
  border-color: #c43d3d;
  color: #c43d3d;
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.active-projects .building-card-rasprodato:hover .building-card-action--rasprodato {
  background: transparent;
  color: #c43d3d;
  border-color: #c43d3d;
}
.active-projects .building-card-action--uskoro {
  border-color: #b8860b;
  color: #8f6a00;
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.active-projects .building-card-uskoro:hover .building-card-action--uskoro {
  background: transparent;
  color: #8f6a00;
  border-color: #b8860b;
}
.active-projects .building-card-rasprodato,
.active-projects .building-card-uskoro {
  cursor: default !important;
}
.active-projects .building-card-rasprodato:hover,
.active-projects .building-card-uskoro:hover {
  box-shadow: 0 15px 40px rgba(0, 52, 58, 0.1);
}
.home-prodaja-more {
  text-align: center;
  margin: 28px 0 0;
  margin-bottom: 0;
}
.home-prodaja-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  border: 2px solid #004d54;
  color: #004d54;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.home-prodaja-more-link:hover {
  background: #004d54;
  color: #fff;
}
@media (max-width: 768px) {
  .active-projects .building-card-image {
    height: 200px;
  }
  .active-projects .building-card-body h3 {
    font-size: 22px;
  }
}

/* Contact – blok pored mape (nadjačava .wrapaddres / address span iz on3step) */
.wrapaddres.wrapaddres-contact {
  height: auto;
  min-height: 280px;
  padding: 28px 22px 32px 28px;
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
}
.contact-map-address {
  width: 100%;
  margin: 0;
  font-style: normal;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.contact-map-block {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0;
  padding: 0 0 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.contact-map-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.contact-map-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #006973;
  margin: 0;
  line-height: 1.3;
}
.contact-map-value {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
  margin: 0;
  color: #444;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}
address.contact-map-address span.contact-map-value {
  line-height: 1.55;
  margin-bottom: 0;
}
address.contact-map-address span.contact-map-value strong,
.contact-map-address .contact-map-label {
  width: auto;
  display: block;
}
a.contact-map-link.contact-map-value {
  display: inline-block;
  max-width: 100%;
  color: #006973;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 105, 115, 0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
a.contact-map-link.contact-map-value:hover {
  color: #004d54;
  border-bottom-color: #004d54;
}
@media (max-width: 767px) {
  .wrapaddres.wrapaddres-contact {
    min-height: 0;
    margin-top: 24px;
    padding: 24px 20px 28px;
  }
  .contact-map-address {
    gap: 1.1rem;
  }
}

