html {
  box-sizing: border-box;
  font: 1em sans-serif;
}

body {
  margin: 0;
}

.w1000 {
  width: 1000px;
}

header {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.background {
  position: absolute;
  width: 100%;
  height: 100%;
}

.background img {
  width: 100%;
  height: 150%;
  position: absolute;
  top: -140px;
}

.background img:nth-last-child(1) {
  display: none;
}

.banner-container {
  display: flex;
  background: #164a58;
  height: 50px;
  width: 100%;
  align-items: center;
  color: white;
  justify-content: center;
  position: relative;
}

.logo-menu-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-container {
  height: 200px;
  width: 1000px;
  display: flex;
  align-items: center;
}

.logo-container img {
  width: 80%;
  height: 50%;
}

.header-menu {
  width: 1000px;
  display: flex;
  gap: 100px;
  padding: 0;
}

.header-menu li:first-child {
  display: none;
}

.menu-item {
  list-style: none;
}

.menu-item a {
  text-decoration: none;
  color: white;
  font-size: x-large;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: white;
}

.homepage {
  background: #edecf1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 100px;
}

.image-grid {
  width: 1000px;
  display: flex;
  gap: 15px;
}

.image-container {
  width: 33%;
  display: flow-root;
}

.image-container img {
  width: 100%;
}

.text-container {
  height: 300px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 100px;
}

.text-container p {
  width: 1000px;
  font-size: larger;
}

.content {
  background: #edecf1;
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-direction: column;
  align-items: center;
  padding: 50px 0 50px 0;
  font-size: larger;
  width: 1000px;
}

.kontakt-content {
  background: #edecf1;
  width: 800px;
  display: flex;
  flex-direction: column;
  padding: 50px 0 50px 0;
  font-size: larger;
}

.title {
  width: 1000px;
  display: flex;
  align-items: start;
}

.direction-column {
  flex-direction: column;
}

.margin-zero {
  margin: 5px;
}

.margin-bottom-text {
  margin: 5px 5px 20px 20px;
}

footer ul {
  margin: 0;
}

.gradjevinarstvo {
  width: 100%;
  background: #edecf1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 50px 0;
}

.gradjevinarstvo-wrapper {
  width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gradjevinarstvo-title {
  margin: 30px;
  width: 100%;
  display: flex;
  align-items: start;
}

.gradjevinarstvo-wrapper a {
  width: 100%;
  height: fit-content;
  padding: 0 0 20px 0;
}

.gradj-cont {
  width: 100%;
  height: fit-content;
  padding: 0 0 20px 0;
}

.gradj-cont img {
  width: 100%;
}

.gradjevinarstvo-wrapper button {
  width: 100%;
  height: 50px;
  font-size: x-large;
  border-radius: 0;
  border: 2px solid #164a58;
  font-weight: 300;
  cursor: pointer;
}

.gradjevinarstvo-wrapper button:hover {
  background: #edecf1;
}

.gradjevinarstvo-text-container {
  height: 150px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gradjevinarstvo-text-container p {
  font-size: larger;
}

.ana-caurousel {
  width: 100%;
  position: relative;
}

.w100 {
  width: 100%;
}

.ana-carousel-item {
  display: none;
}

.ana-carousel-item img {
  width: 100%;
}

.arrows {
  font-size: xx-large;
  position: absolute;
  top: 40%;
  width: 95%;
  left: 3%;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.left-arrow {
  width: fit-content;
}

.right-arrow {
  width: fit-content;
}

.ana-dots-container {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ana-dot {
  display: block;
  border: 3px solid #164a58;
  border-radius: 10px;
  height: 13px;
  width: 13px;
  cursor: pointer;
}

.active {
  background: #64b4b9;
}

.ana-description-location p {
  text-align: center;
}

.ana-description-location img {
  width: 100%;
}

.objekat-ana-container {
  background: #edecf1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.objekat-ana-title {
  width: 1000px;
  margin: 30px 0 60px 0;
}

.objekat-ana {
  width: 1000px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 20px;
  margin: 20px 0 200px 0;
}

.objekat-ana a {
  width: 100%;
}

.objekat-ana a img {
  width: 100%;
}

.spratovi-wrapper {
  width: 100%;
  background: #edecf1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spratovi {
  width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 50px 0 50px 0;
}

.floor-container {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
}

.floor-content {
  width: 100%;
  align-items: center;
}

.floor-content img {
  max-width: 600px; /* set a fixed max width */
  height: auto; /* keep proportions */
  display: block;
  margin: 20px auto; /* center it */
}

.spratovi table {
  margin: 30px 0 30px 0;
}

table tr td:first-child {
  visibility: hidden;
  width: 0;
  padding: 0;
  display: none;
}

table a {
  color: black;
  text-decoration: none;
}

table a:hover {
  color: #164a58;
}

/* odavde je gpt */

.footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  background: #111;
  color: #ccc;
  padding: 3rem 15rem;
  gap: 2rem;
  font-size: 0.9rem;
  justify-items: center;
}

.footer h4 {
  color: #fff;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.footer a {
  color: #bbb;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer a:hover {
  color: #fff;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.4rem;
}

.footer-column p {
  height: fit-content;
  display: flex;
  flex-direction: column;
}

.apartment-extra-images img {
  width: 45%;
  border-radius: 8px;
}

.zirat-img {
  width: 100%;
}

.zirat-img a {
  width: 100%;
  display: flex;
  justify-content: center;
}

.zirat-img img {
  width: 50%;
}

.contact-page {
  background: #edecf1;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 50px 0 50px 0;
  font-size: larger;
  align-items: center;
  text-align: center;
}

.contact-title {
  font-size: 20px;
}

.contact-card {
  margin-bottom: 20px;
  line-height: 0.5em;
}

.contact-card a {
  text-decoration: none;
  color: #5fa0a3;
}

.address {
  color: rgb(91, 89, 89);
}

.position {
  color: #3d8a8e;
  font-size: 1.2rem;
  font-weight: bolder;
}

.about-page {
  background: #edecf1;
  width: 100%;
  overflow-x: hidden;
  padding: 50px 20px;
  text-align: center;
  box-sizing: border-box;
}

.about-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 50px;
}

.about-section {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto 50px auto;
  box-sizing: border-box;
}

.about-heading {
  color: #3d8a8e;
  font-size: 1.2rem;
  font-weight: bolder;
  margin-bottom: 30px;
  line-height: 1.6;
}

.about-section p {
  font-size: larger;
  line-height: 1.8;
  color: #111;
  margin: 0;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  font-size: larger;
  line-height: 2.2;
  margin-bottom: 10px;
  color: #111;
}

.about-list li::before {
  content: "— ";
  color: #3d8a8e;
  font-weight: bold;
}

.about-divider {
  width: 120px;
  height: 2px;
  background: #7fc8cd;
  margin: 0 auto 50px auto;
}

.about-closing {
  font-size: larger;
  line-height: 1.8;
  color: #111;
}

@media (max-width: 768px) {
  .about-page {
    padding: 40px 15px;
  }

  .about-section {
    width: 100%;
  }

  .about-section p,
  .about-list li,
  .about-closing {
    font-size: 1rem;
    line-height: 1.8;
    word-break: break-word;
  }

  .about-heading {
    font-size: 1.1rem;
  }
}

@media (max-width: 1080px) and (min-width: 780px) {
  .logo-container {
    width: 100%;
  }

  .header-menu {
    width: 100%;
    gap: 50px;
  }

  .header-menu li:first-child {
    display: block;
  }

  .image-grid {
    width: 100%;
    justify-content: center;
  }

  .image-container {
    width: 31%;
  }

  .text-container p {
    width: 100%;
    font-size: medium;
  }

  .title {
    width: 100%;
  }

  .content {
    width: 100%;
  }

  .apartment-extra-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: column;
    align-items: center;
    height: fit-content;
  }

  .apartment-extra-images img {
    width: 110%;
  }
}

@media (max-width: 780px) {
  .w1000,
  .image-grid,
  .text-container p,
  .title,
  .content,
  .gradjevinarstvo-wrapper,
  .objekat-ana-title,
  .objekat-ana,
  .spratovi {
    width: 90%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ana-dot {
    width: 7px;
    height: 7px;
  }

  .objekat-ana-title h1 {
    font-size: 22px;
  }

  .image-grid {
    display: grid;
    grid-template-columns: auto auto;
  }

  .image-container {
    width: 100%;
  }

  .logo-container img {
    width: 100%;
    height: auto;
  }

  .header-menu {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .header-menu li:first-child {
    display: block;
  }

  .text-container {
    padding-top: 40px;
  }

  .text-container p {
    font-size: medium;
    padding: 0 10px;
  }

  .objekat-ana {
    grid-template-columns: auto auto;
    gap: 10px;
    margin: 10px 0 50px 0;
  }

  .spratovi {
    margin: 20px 0 20px 0;
    align-items: center;
  }

  .spratovi table {
    font-size: 12px;
  }

  .floor-content img {
    max-width: 100%;
    margin: 10px auto;
  }

  .banner-container {
    display: none;
  }

  .background img:nth-last-child(1) {
    display: block;
  }

  .background img:first-of-type {
    display: none;
  }

  .background img {
    top: -40px;
  }

  .logo-menu-container {
    flex-direction: row;
    justify-content: space-around;
    position: absolute;
    height: 100%;
  }

  header {
    height: 120px;
    overflow: hidden;
  }

  .hamburger {
    z-index: 2;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-menu {
    position: fixed;
    height: 100vh;
    padding: 175px 0;
    top: 0px;
    background: #64b4b9;
    z-index: 1;
    left: -100%;
    transition: 0.3s;
    width: 100%;
    margin: 0;
  }

  .logo-container {
    width: 50%;
    height: 100px;
  }

  .header-menu.active {
    left: 0;
    position: fixed;
  }

  table td {
    padding: 8px 0;
  }

  .footer {
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    height: fit-content;
    align-items: center;
    justify-items: start;
  }

  .footer-column {
    height: fit-content;
    width: 80%;
  }

  .footer-column p {
    height: fit-content;
  }

  .footer-column a,
  li {
    margin-bottom: 12px;
  }

  .apartment-extra-images {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-direction: column;
    align-items: center;
    height: fit-content;
  }

  .apartment-extra-images img {
    width: 110%;
  }

  .ana-description-location {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .ana-description-location h3 {
    font-size: larger;
  }

  .ana-description-location p {
    text-align: center;
    font-size: larger;
    padding: 40px 0 40px 0;
    margin: 0;
  }

  .homepage {
    padding-top: 50px;
  }

  .zirat-img {
    width: 100%;
  }

  .zirat-img a {
    width: 100%;
  }

  .zirat-img img {
    width: 100%;
  }

  .contact-page {
    background: #edecf1;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 50px 0 50px 0;
    font-size: larger;
    align-items: center;
    text-align: center;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-card {
    margin-bottom: 20px;
    line-height: 0.5em;
  }

  .contact-card a {
    text-decoration: none;
    color: #5fa0a3;
  }

  .address {
    color: rgb(91, 89, 89);
  }

  .position {
    color: #3d8a8e;
    font-size: 1.2rem;
    font-weight: bolder;
  }
}
