/* === General Styles === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f4f4;
  text-align: center;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2em;
  background: #fff;
  text-align: left;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* === Header & Nav === */
.logo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #222;
  color: #fff;
  padding: 1em;
}

/* Top-centered logo (no text version) */
.logo-header .logo-top {
  max-height: 100px;
  width: auto;
  display: block;
  margin: 0 auto;
}

nav {
  width: 100%;
  background: #333;
  margin-top: 0.5em;
}
nav ul {
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 0.5em 0;
  margin: 0;
  list-style: none;
}
nav li {
  display: inline;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
nav a.active {
  text-decoration: underline;
  color: #ffd700;
}

/* === Section Styles === */
.about {
  text-align: center;
  margin-bottom: 3em;
}

.image-links {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
}
.column {
  flex: 1;
  text-align: center;
}
.column img {
  margin: 0 auto;
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: block;
}

.service-block {
  margin-bottom: 3em;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  margin-top: 1em;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

/* === Service Nav === */
.service-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
  padding: 0;
}
.service-nav li a {
  background: #eee;
  padding: 0.5em 1em;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s ease;
}
.service-nav li a:hover {
  background: #ccc;
}

.back-top {
  text-align: right;
  margin-top: 1em;
}
.back-top a {
  font-size: 0.9em;
  text-decoration: none;
  color: #444;
}

/* === Contact Icons === */
.contact-icon img {
  width: 90px;
  height: auto;
  transition: transform 0.2s ease;
}
.contact-icon img:hover {
  transform: scale(1.05);
}

/* === Footer === */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 1em;
  margin-top: 2em;
}

/* === Chat Widget === */
.chat-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #222;
  color: #fff;
  border: none;
  padding: 0.8em 1.2em;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
}

.chat-box {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 300px;
  padding: 1em;
  z-index: 999;
}
.chat-box h3 {
  margin-top: 0;
  font-size: 1.1em;
}
.chat-box .close-chat {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.2em;
  color: #888;
  cursor: pointer;
}
.chat-box form input,
.chat-box form textarea {
  width: 100%;
  margin-bottom: 0.5em;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.chat-box form button {
  background-color: #222;
  color: #fff;
  border: none;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
}

/* === Mobile Optimization === */
@media screen and (max-width: 1034px) {
  .container {
    padding: 1em;
  }

  .logo-header {
    flex-direction: row;
    text-align: center;
  }

  .logo-header h1 {
    font-size: 1.4em;
    margin: 0.5em 0;
  }

  .logo-header .logo {
    max-height: 50px;
  }

  .image-links,
  .gallery {
    flex-direction: column;
    align-items: center;
  }

  .column {
    width: 100%;
    margin-bottom: 1em;
  }

  .gallery img {
    width: 90%;
    max-width: 400px;
  }

  input,
  textarea {
    font-size: 1em;
  }

  button {
    width: 100%;
  }
}
