@charset "utf-8";
/* CSS Document */

html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
}

.main-content-with-watermark {
  flex: 1;
  min-height: calc(100vh - 200px); /* adjust based on your header/footer height */
  position: relative;
  z-index: 0;
}

.main-content-with-watermark::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/business_logo.png');
  background-size: cover; /* or 'contain' if you prefer */
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
.site-header {
  background-color: #000;
  color: #fff;
  text-align: center;
}

.site-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000;
  padding: 20px;
}

.site-banner img {
  max-width: 100%;
  height: auto;
}

.site-banner h1 {
  margin: 10px 0 0;
  color: #fff;
  font-size: 2em;
}

/* Navigation */
.main-nav {
  background: #222;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s;
}

.main-nav a:hover {
  background: #444;
}

.menu-toggle {
  display: none;
  background: #222;
  color: #fff;
  padding: 10px;
  font-size: 20px;
  border: none;
  width: 100%;
  text-align: left;
}

/* Content */
.content {
  padding: 20px;
  text-align: center;
}

/* Footer */
.site-footer {
  background: #eee;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

/* Mobile Nav Toggle */
@media (max-width: 768px) {
  .main-nav ul {
    display: none;
    flex-direction: column;
  }

  .main-nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* Service List */
.service-list {
  padding-left: 20px;
  list-style: disc;
  max-width: 800px;
  margin: 0 auto;
}

.service-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

/* Forms */
.service-form,
.vertical-form {
  max-width: 600px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
}

.service-form label,
.vertical-form label {
  font-weight: bold;
}

.service-form input,
.service-form select,
.service-form textarea,
.vertical-form input,
.vertical-form select,
.vertical-form textarea {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.service-form button,
.vertical-form button {
  background-color: #0074D9;
  color: white;
  border: none;
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
}

.service-form button:hover,
.vertical-form button:hover {
  background-color: #005fa3;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.gallery-container img {
  height: 120px;
  border: 2px solid #fff;
  border-radius: 6px;
  transition: transform 0.3s;
  cursor: pointer;
}

.gallery-wrapper {
  padding: 20px;
}

.gallery-item:hover .hover-preview {
  display: block;
}

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

.gallery-item {
  text-align: center;
}
.gallery-item p {
  margin-top: 5px;
  font-size: 0.9em;
  color: #555;
}

.gallery-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.gallery-container::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  position: relative;
  flex: 0 0 auto;
}

.gallery-thumb {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.hover-preview {
  position: absolute;
  display: none;
  top: -20px;
  left: 160px;
  z-index: 100;
  border: 1px solid #ccc;
  background: white;
  padding: 5px;
}

.hover-preview img {
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
}

/* Rotate images continuously */
@keyframes scrollImages {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.thumbnail-gallery {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
  background: #f8f8f8;
  border: 1px solid #ddd;
  scroll-behavior: smooth;
}

.thumb-wrapper {
  flex: 0 0 auto;
  position: relative;
}

.thumb {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.lightbox-content {
  position: relative;       /* Add this line */
  max-width: 90%;
  max-height: 90%;
  display: inline-block;    /* Ensures image size wraps correctly */
}

.lightbox.active {
  display: flex;
}

.lightbox:target {
  display: flex ;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 12px;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ff5555;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

.unnominated {
  background-color: #fff4f4;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

th, td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
  vertical-align: middle;
}

th {
  background-color: #f2f2f2;
}

a {
  text-decoration: none;
  color: #007BFF;
}

a:hover {
  text-decoration: underline;
}

