* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  margin: 0;
}

body {
  color: #222;
  line-height: 1.6;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 60px;
}

.logo {
  height: 90px;
  max-width: 200px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #222;
  position: relative;
  text-decoration: none;
  color: #000;
  padding: 5px 0;
}

.btn {
  background: #222;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
}

.hero {
  height: 70vh;
  background-size: cover;
  background-position: center;
}

.overlay {
  background: rgba(0,0,0,0.5);
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 40px;
  text-align: center;
  background: #f5f5f5;
}

.services, .projects {
  padding: 80px 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 30px;
}

.projects img {
  width: 100%;
  border-radius: 6px;
}

.footer {
  text-align: center;
  padding: 30px;
  background: #222;
  color: #fff;
}


.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: all 0.2s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* Success animation */
#successMessage {
  text-align: center;
  margin-top: 40px;
}

.success-text {
  font-size: 16px;
  margin-top: 15px;
}

.checkmark-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #28a745;
  margin: 0 auto;
  position: relative;
  animation: scaleIn 0.4s ease;
}

.checkmark {
  position: absolute;
  width: 18px;
  height: 36px;
  border-right: 5px solid #fff;
  border-bottom: 5px solid #fff;
  transform: rotate(45deg);
  left: 26px;
  top: 14px;
}

@keyframes scaleIn {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.map-section {
  margin-top: 5px;
}

.map-section h3 {
  margin-bottom: 5px;
  font-size: 20px;
text-align: center;
}

.map-wrapper {
  display: flex;
  justify-content: center;
}

.map-wrapper iframe {
  width: 100%;
  max-width: 900px;
  height: 350px;
  border: 0;
}


.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #000;
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

a {
  transition: color 0.3s ease, transform 0.2s ease;
}

a:hover {
  color: #444;
  transform: translateY(-2px);
}

.nav-btn {
  padding: 8px 16px;
  border: 1px solid #000;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #000;
  color: #fff;
}

.nav a.active {
  font-weight: 600;
}

.about-list {
  list-style: none;
  padding-left: 0;
}

.about-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.about-list li::before {
  content: " \21D2";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}


/* Jobsite section */
.jobsite {
  margin-bottom: 60px;
}

.jobsite h2 {
  margin-bottom: 8px;
}

.jobsite-desc {
  margin-bottom: 20px;
  color: #666;
  max-width: 700px;
}

/* Gallery grid */
.jobsite-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

/* Watermark container */
.watermark-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: inline-block; 
}

/* Main image */
.watermark-wrapper img:first-child {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Logo watermark */
.watermark-logo {
  position: absolute;
  top: 12px;
  right: 12px;

  height: auto;
  width: auto;          /* IMPORTANT */
  max-width: 30%;       /* Safety limit */

  object-fit: contain;  /* IMPORTANT */
  opacity: 0.6;
  pointer-events: none;
  image-rendering: -webkit-optimize-contrast;
}

/* Photo item */
.photo-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Description text */
.photo-desc {
  margin-top: 6px;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  text-align: center;
}

/* Lightbox background */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Active */
.lightbox.active {
  display: flex;
}

/* Content */
.lightbox-content {
  max-width: 90%;
  text-align: center;
  color: #fff;
}

/* Large image */
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  margin-bottom: 12px;
}

/* Description */
.lightbox-desc {
  font-size: 14px;
  color: #ddd;
}

/* Close */
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

.photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0)
  );

  color: #fff;
  font-size: 14px;
  padding: 10px;

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Lightbox image wrapper */
.lightbox-image-wrapper {
  position: relative;
  display: inline-block;
}

/* Large image */
.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

/* Watermark inside lightbox */
.lightbox-watermark {
  position: absolute;
  top: 12px;
  right: 12px;

  height: auto;
  width: auto;
  max-width: 30%;
  object-fit: contain;

  opacity: 0.6;
  pointer-events: none;
}

/* Mobile */
@media(max-width:768px){
  	.header {
    		flex-direction: column;
 	}
  
	.trust {
    		grid-template-columns: 1fr 1fr;
  	}

	.logo {
    		height: 80px;
  	}

	
}

/* Prevent image interaction */
.watermark-wrapper img,
.lightbox-img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none; /* iOS long-press */
  user-select: none;
  pointer-events: auto;
}

/* Lightbox arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 10000;

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show when active */
.lightbox.show-arrows .lightbox-arrow {
  opacity: 0.85;
}

.lightbox-arrow:hover {
  opacity: 1;
}

.lightbox-arrow.prev {
  left: 20px;
}

.lightbox-arrow.next {
  right: 20px;
}

/* Hide arrows on small screens (swipe instead) */
@media (max-width: 768px) {
  .lightbox-arrow {
    display: none;
  }
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;

  color: #fff;
  font-size: 14px;

  background: rgba(0,0,0,0.5);
  padding: 6px 10px;
  border-radius: 4px;

  z-index: 10001;
}

.project-photo {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
display: block;          /* IMPORTANT */
  width: 100%;
}

.project-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.photo-wrap {
  position: relative;
  display: block;
  margin-bottom: 6px;
}

.photo-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;

  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 4px;

  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.photo-wrap:hover .photo-indicator {
  opacity: 1;
}

/* Mobile: always show */
@media (max-width: 768px) {
  .photo-indicator {
    opacity: 1;
  }
}

.tap-to-view {
  margin-top: 6px;
  font-size: 12px;
  color: #777;
  text-align: center;
  user-select: none;
letter-spacing: 0.5px;
  text-transform: uppercase;
}

.view-larger-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 5;              /* Above image */
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  padding: 6px 8px;
  border-radius: 4px;

  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

/* 🔥 DESKTOP: hover image → show icon */
.project-photo:hover + .view-larger-icon {
  opacity: 1;
}

/* Always show on mobile */
@media (max-width: 768px) {
  .view-larger-icon {
    opacity: 1;
  }
}

@media (min-width: 769px) {
  .view-larger-icon {
    opacity: 0.85;
  }
}

