/* Global styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.container {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
}

header {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
}

.tagline {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  opacity: 0.8;
}

h1, h2 {
  margin-top: 2rem;
  font-weight: 600;
  color: #111;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
}

.note {
  font-size: 0.9rem;
  color: #666;
}

blockquote {
  border-left: 4px solid #007BFF;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #444;
  font-style: italic;
}

.btn-primary {
  background-color: #007BFF;
  color: white;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}
.btn-back {
  background-color: #e6eaed;
  color: black;
  padding: 12px 24px;
  font-size: 14px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-back:hover {
  background-color: #969fa9;
}

footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 2rem 1rem;
  background-color: #f1f1f1;
  color: #444;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 1rem;
  }

  .btn-primary {
    width: 100%;
  }
}

/* Improve readability on small screens */
@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .container {
    padding: 1rem;
  }

  .btn-primary {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px;
  }

  ul li {
    font-size: 1rem;
  }

  blockquote {
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.85rem;
  }

  .btn-link {
    display: block;
    margin-top: 1.5rem;
  }
}
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

form label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

form .form-row {
  display: flex;
  flex-direction: column;
}

@media (min-width: 601px) {
  .form-row.inline {
    flex-direction: row;
    gap: 1rem;
  }

  .form-row.inline > div {
    flex: 1;
  }
}

.service-category {
  margin-bottom: 2rem;
}

.service-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-box img {
  width: 48%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.service-box h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 1rem 0;
}

.price {
  color: #007BFF;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.slideshow {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.slideshow img {
  width: 100%;
  border-radius: 8px;
  max-height: 350px;
  object-fit: cover;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  border-radius: 4px;
  z-index: 1;
}

.slide-btn.prev { left: 0.5rem; }
.slide-btn.next { right: 0.5rem; }

.slide-btn:hover { background-color: rgba(0,0,0,0.7); }

.slide-dots {
  margin-top: 0.75rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}

.dot.active { background-color: #007BFF; }

.work-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.work-item h3 {
  margin-bottom: 0.75rem;
}

.reveal-slider {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 8px;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}

.reveal-slider img.after {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.before-overlay img.before {
  position: absolute;
  width: 100vw;
  max-width: 800px;
  height: 100%;
  object-fit: cover;
}

.divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: white;
  z-index: 2;
}

.handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 3;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  cursor: ew-resize;
}

.reveal-label {
  position: absolute;
  bottom: 0.75rem;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}

.reveal-label.left { left: 0.75rem; }
.reveal-label.right { right: 0.75rem; }
