* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: rgb(255, 255, 255);
}


.header {
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.left-section,
.right-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
}

.info-item a {
  color: inherit;       /* Inherit the text color from parent */
  text-decoration: none; /* Remove underline */
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-item a:hover {
  opacity: 0.8; /* Optional: slight hover effect */
}


.icon {
  width: 20px;
  height: 20px;
}

.center-section {
  text-align: center;
}

.logo {
  height: 80px;
  width: auto;
}

.location-container {
  justify-content: center;
  width: 100px;
}

.location-container img {
  width: 50px;
}

.location-container p {
  text-decoration: none;
  color: black;
  text-decoration-line: none;
  text-align: center;
}

.location-container a {
  text-decoration: none;
}

.bottom-container {
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

#adicon {
  background-image: url(/imgs/adicon-background.png);
  background-size: cover;
  background-position: center;
}

#varmora {
  background-image: url(/imgs/varmora-background.png);
  background-size: cover;
  background-position: center;
}

#monolith {
  background-image: url(/imgs/monolith-background.png);
  background-size: cover;
  background-position: center;
}

#accord {
  background-image: url(/imgs/accord-background.png);
  background-size: cover;
  background-position: center;
}

#granite {
  background-image: url(/imgs/granite-background.png);
  background-size: cover;
  background-position: center;
}

#marble {
  background-image: url(/imgs/marble-background.png);
  background-size: cover;
  background-position: center;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 2 columns */
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 10px;
  gap: 5px;
  overflow: hidden;
}

.image-box {
  flex: 1;
  min-width: 0; /* helps in shrinkage */
  height: auto;
  aspect-ratio: 1 / 1; /* keeps square shape */
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}


.overlay-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: #1a04079d;
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
}

.overlay-text-2 {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  padding: 4px 6px;
  font-size: 12px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
}

.branding-corner {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}

.branding-corner img {
  width: 70px;
  height: auto;
}

.blank-space {
  height: 100px;
}

/* ==================== Responsive Breakpoints ==================== */

/* Laptop & Large screens */
@media (max-width: 1200px) {
  .header {
    padding: 15px 20px;
  }

  .logo {
    height: 65px;
  }
}

/* Tablet: iPad */
@media (max-width: 768px) {
  .header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }



  .left-section,
  .right-section {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .center-section {
    order: -1; /* move logo to top */
  }

  .logo {
    height: 80px;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px;
  }

  .image-box {
    aspect-ratio: 1 / 1; /* Keep square */
    width: 100%;
  }

  .overlay-text {
    font-size: 40px;
    padding: 3px 5px;
  }

      #auks1logo-container {
        position: absolute;
        top: 90%;  /* You can reduce this if needed */
        left: 89%; /* You can reduce this if needed */
        z-index: 999; /* Ensure it stays on top */
    }

    #auks1logo {
        width: 100px;
    }

}

@media (max-width: 575px) {
  .overlay-text {
    font-size: 30px;
    padding: 3px 5px;
  }
}


/* Mobile phones */
@media (max-width: 480px) {
  .info-item {
    font-size: 14px;
  }

  .icon {
    width: 18px;
    height: 18px;
  }

  .logo {
    height: 70px;
  }

  .overlay-text {
    font-size: 25px;
  }

}

@media (max-width: 400px) {
  .overlay-text {
    font-size: 20px;
  }
}


/* Very small mobile (e.g., 280px) */
@media (max-width: 280px) {
  .header {
    padding: 10px;
  }

  .info-item {
    font-size: 12px;
  }

  .icon {
    width: 16px;
    height: 16px;
  }

  .logo {
    height: 60px;
  }

  .overlay-text {
    font-size: 12px;
  }

}
