/* =============== GLOBAL =============== */
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #f5f5f5;
}

/* =============== HEADER =============== */
header {
  background: #2c3e50;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1rem;
  font-size: 1rem;
}

.contact-button {
  background-color: #1abc9c;
  padding: 0.2rem 1rem;
  border-radius: 2px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
}

@media (max-width: 600px) {
  header nav {
    position: absolute;
    top: 60px;
    right: 0;
    background: #2c3e50;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    display: none;
  }
  header nav a {
    margin: 0.5rem 0;
  }
  .menu-toggle {
    display: flex;
  }
  .nav-open {
    display: flex !important;
  }
}

/* =============== HERO with background-slideshow =============== */
.hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  background: url('/images/img/1.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-image 1s ease-in-out;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.0);
}

/* HERO CONTENT BOX (smaller & higher) */
.hero-content {
  position: absolute;
  top: 10%;               /* move it up a bit more */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #000;
  padding: 1rem;         /* reduce padding */
  background: rgba(255,255,255,0.8);
  border-radius: 8px;
  max-width: 40%;        /* narrower box */
  z-index: 2;
}
.hero-content img {
  width: 400px;          /* smaller image */
  max-width: 80%;
  height: auto;
  margin-bottom: 0.5rem;
}
.hero-content h1 {
  font-size: 1.4rem;
  margin: 0.5rem 0;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}
.hero-content p {
  font-size: 0.9rem;
  margin: 0.5rem 0 1rem;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

/* =============== navigation arrows & speed control =============== */
.hero-nav {
  position: absolute;
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
  user-select: none;
  transition: background 0.3s;
  z-index: 3;            /* ensure on top */
}
.hero-nav:hover {
  background: rgba(0,0,0,0.7);
}
.hero-nav.prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.hero-nav.next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}
.hero-nav.speed {
  right: 1rem;
  bottom: 1rem;
  top: auto;
  transform: none;
  font-size: 1.5rem;
}

/* =============== SERVICES =============== */
.service-section {
  background-color: #fff;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.service-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.service-item {
  background: #eaeaea;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}

/* =============== CONTACT INFO =============== */
.contact-info {
  background: #2c3e50;
  color: #fff;
  padding: 1rem;
  text-align: center;
  font-size: 1.1rem;
}
.contact-info a {
  color: #1abc9c;
  text-decoration: none;
  font-weight: bold;
}
.social-links {
  margin-top: 0.5rem;
}
.social-links img {
  width: 40px;
  height: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/* =============== FOOTER =============== */
footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
}

/* =============== POPUP FORM =============== */
.popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.popup-form {
  background: #2c3e50;
  padding: 1.5rem;
  border-radius: 10px;
  color: #fff;
  width: 90%;
  max-width: 400px;
  position: relative;
}
.popup-form h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.popup-form .close {
  position: absolute;
  top: 10px; right: 10px;
  cursor: pointer;
  font-size: 1.2rem;
}
.popup-form input[type="text"],
.popup-form input[type="tel"],
.popup-form textarea {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #fff;
  color: #333;
}
.popup-form input[type="submit"] {
  width: 100%;
  padding: 0.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  background: #1abc9c;
  color: #fff;
 	cursor: pointer;
}

