/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #333;
}

/* Header and navbar */
.header {
  background-color: #222;
  color: #fff;
  padding: 10px 0;
  text-align: center;
}

.contact-info {
  margin-bottom: 5px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  padding: 10px 20px;
  z-index: 1000; /* Ensures it stays above other content */
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none; /* Remove underline */
  color: inherit; /* Keep original text color */
}

.logo-img {
  height: 40px; /* Adjust size as needed */
  width: auto;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
}

.logo-subtitle {
  font-size: 0.7rem;
  color: #ccc;
  margin-top: 2px;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.nav-links li {
  display: flex;
  align-items: center;
}
.icon-24h {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav-links a:hover {
  color: #ccc;
}
:root {
  --navbar-height: 70px; /* adjust to your navbar height */
}

.section {
  position: relative;
  padding-top: calc(var(--navbar-height) + 20px);
  margin-top: calc(-1 * var(--navbar-height));
}
/* Main sections */
.section {
  padding: 10px 10px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #ddd;
  margin: 20px;
  border-radius: 12px;
}

.section p {
  margin-bottom: 20px;
}

.section ul {
  list-style: disc;
  padding-left: 40px;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.section li {
  margin-bottom: 10px;
}

/* Gallery */
.gallery-container {
  display: none; /* gallery is hidden on page load */
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.gallery-img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  /* margin-top: 40px; */
}
/* BUTTONS VIBER CALL WHATSUPP */
.call-button,
.viber-button {
  position: fixed;
  bottom: 160px; /* just above the call button */
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background-color: transparent; /* Remove the purple background */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s;
}

/* Specific positions */
/* Shared button styles */
.call-button,
.viber-button,
.whatsapp-button {
  position: fixed;
  top: 50%;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s;
  transform: translateY(-50%);
}

/* Vertical spacing */
.call-button {
  transform: translateY(calc(-50% - 70px)); /* Slightly above center */
  background-color: #25d366; /* Green or transparent */
}

.viber-button {
  transform: translateY(-50%); /* Centered */
  background-color: #665cac;
}

.whatsapp-button {
  transform: translateY(calc(-50% + 70px)); /* Slightly below center */
  background-color: #25d366;
}

/* Icon styles */
.call-icon,
.viber-icon,
.whatsapp-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Hover effect */
.call-button {
  transform: translateY(calc(-50% - 70px)) scale(1);
}
.call-button:hover {
  transform: translateY(calc(-50% - 70px)) scale(1.05);
}

.viber-button {
  transform: translateY(-50%) scale(1);
}
.viber-button:hover {
  transform: translateY(-50%) scale(1.05);
}

.whatsapp-button {
  transform: translateY(calc(-50% + 70px)) scale(1);
}
.whatsapp-button:hover {
  transform: translateY(calc(-50% + 70px)) scale(1.05);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin: 20px auto;
  max-width: 1000px;
  padding: 10px;
  justify-items: center;
}
.gallery-img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s;
}
.gallery-img:hover {
  transform: scale(1.05);
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.service-block {
  max-width: 700px; /* Limit width for readability */
  margin: 30px auto; /* Center the block horizontally with vertical spacing */
  padding: 15px 20px;
  background-color: #f9f9f9; /* Light background to separate from the page */
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  text-align: left; /* Align text to left */
}

.service-block h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #222;
  font-weight: 700;
  border-bottom: 2px solid #ccc;
  padding-bottom: 6px;
}
.service-block p {
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
  margin-bottom: 15px;
}
.service-block ul {
  list-style-type: disc;
  margin-left: 20px; /* indent bullets */
  color: #444;
}
.service-block ul li {
  margin-bottom: 8px;
  font-size: 1rem;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50; /* Dark blue-gray */
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid #ccc; /* Blue underline */
  letter-spacing: 1px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#about p {
  max-width: 700px;
  margin: 15px auto;
  font-size: 1.1rem;
  line-height: 1.75;
  color: #4a4a4a; /* softer dark text */
  text-align: justify;
  text-justify: inter-word;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#about p:not(:last-child) {
  margin-bottom: 25px;
}

#about {
  background-color: #f9f9f9; /* subtle light background */
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 40px auto;
}

/* Burger hidden by default */
.burger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.mobile-menu-icons {
  display: none;
  align-items: center;
  gap: 15px;
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  .navbar {
    position: fixed; /* ✅ Fix navbar on scroll */
    top: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    z-index: 1000;
    padding: 15px 10px;
    text-align: center;
  }
  .mobile-menu-icons {
    display: flex; /* SHOW on mobile */
    align-items: center;
    gap: 10px;
    z-index: 1100;
  }

  .icon-24h-mobile {
    width: 55px;
    height: auto;
    display: block;
  }

  :root {
    --navbar-height: 60px; /* or your mobile navbar height */
  }

  body {
    padding-top: 80px; /* ✅ Prevent content from being hidden behind navbar */
  }

  /* UPDATED: flex row layout to align logo left, burger right */
  .navbar-container {
    display: flex; /* Make flex container */
    justify-content: space-between; /* Push items to edges */
    align-items: center; /* Vertically center */
    width: 100%;
    padding: 0 10px;
  }

  .logo {
    display: flex; /* Ensure flex for logo contents */
    flex-direction: row; /* inline layout */
    font-size: 1.6rem;
    align-items: center;
    gap: 10px;
    margin-bottom: 0; /* remove bottom margin for inline */
  }

  .logo small {
    display: block;
    width: 100%;
    font-size: 0.9rem;
    text-align: center;
    color: #ccc;
    margin-top: 3px;
  }

  /* Show burger, positioned top right */
  .burger {
    display: block; /* show burger icon on mobile */
    font-size: 2.3rem;
    color: white;
    cursor: pointer;
    position: relative; /* relative inside flex container */
    z-index: 1100;
  }

  .nav-links {
    display: none; /* hide nav links by default */
    flex-direction: column;
    background-color: #222;
    position: fixed;
    top: var(--navbar-height, 60px);
    right: 0;
    width: 70vw;
    max-width: 250px;
    padding: 20px;
    border-radius: 0 0 0 10px;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1050;
    gap: 15px;
  }

  .nav-links.show {
    display: flex; /* show nav when toggled */
  }

  /* Nav links items styling inside dropdown */
  .nav-links li,
  .nav-links a {
    display: block;
    text-align: left;
    font-size: 1.2rem;
  }

  /* Hide 24h icon on mobile dropdown */
  .icon-24h {
    display: none;
  }

  /* Remove flex wrap & row on nav-links for dropdown */
  .nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  /* Remove margin-top on nav-links because dropdown is fixed */
  .nav-links {
    margin-top: 0;
  }
  #about {
    padding: 20px 15px;
    max-width: 90%;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  #about p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .section ul,
  .section ol {
    padding-left: 20px; /* Reduced from default (usually 40px) */
    margin-left: 0;
  }

  .section li {
    margin-left: 0;
    padding-left: 5px;
  }

  .call-button,
  .viber-button,
  .whatsapp-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .call-button img,
  .viber-button img,
  .whatsapp-button img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* fill the entire area without distortion */
    display: block; /* remove any inline spacing */
  }
}
