/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;

  /* Full-page background */
  /*background: url('BeauConstruct.jpg') no-repeat center center fixed;*/
  background-color: black;
  background-size: cover;
  color: white; /* default text color */
}

/* Header */
header {
  background: #000; /* semi-transparent so bg still shows */
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-left{
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-left img{
  height: 75px;
  display: block;
}

header h1 {
  font-size: 1.6rem;
  margin: 0;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;

}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
  color: #ffd700;
}

/* Hero */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* dark overlay for readability */
  z-index: 0;
}

.hero * {
  position: relative;
  z-index: 1;
}


/* Services */
#services {
  padding: 40px;
  background: rgba(255,255,255,0.6); /* semi-white box for readability */
  color: black;
  border-radius: 10px;
  margin: 20px;
}

.service-card {
  background: white;
  padding: 20px;
  margin: 15px 0;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}


/* Contact & Footer */
#contact, footer {
  padding: 20px;
  text-align: center;
  background: rgba(0,0,0,0.85);
  color: white;
}

/* Call Now Section */
.call-now {
  background: #ffd700;
  text-align: center;
  padding: 40px 20px;
}

.call-now p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
  color: black;
}

.call-now .phone-number {
  font-size: 2rem;
  color: black;
  font-weight: bold;
  text-decoration: none;
  padding: 12px 24px;
  border: 3px solid black;
  border-radius: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
}

.call-now .phone-number:hover {
  background: black;
  color: white;
}

#info-panel{
  display: flex;
  flex-wrap: wrap;
  gap: 20px; 
  padding: 40px;
  background: rgba(255,255,255,0.8);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin: 20px;
  justify-content: space-between;
}

#info-panel section{
  flex: 1 1 45%;
  min-width: 300px;
  color: #222;
  padding: 20px;
  border-radius: 8px; 
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#info-panel h2{
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #111;

}

#contact{ 
  background-color: #222;
  color:#f1f1f1;
  padding: 20px;
  border-radius: 10px; 
}



#contact h2,
#contact p,
#contact a {
  color: #f1f1f1;
}

.whatsapp-contact{
  text-align: center;
  margin: 20px 0;

}

.whatsapp-btn{
  display: inline-block;
  background: #25D366; /*Whatsapp green*/
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease-in-out;

}

.whatsapp-btn:hover{
  background: #1ebe57;
}

#gallery{
  padding: 40px;
  background:  #ffd700;
  text-align: center;
}

#gallery h2 {
  margin-bottom: 20px;
  font-size: 2rem;

}

#gallery {
  padding: 20px; /* reduce padding on small screens */
  background: #ffd700;
  text-align: center;
  overflow-x: hidden;  /* 🚀 prevents horizontal scroll */
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* smaller min for phones */
  gap: 15px;
  max-width: 100%; /* 🚀 ensures it never exceeds screen */
  margin: 0 auto;   /* center it */
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;   /* squares work best on small devices */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}


.gallery-grid img:hover{
  transform: scale(1.10);
}

/* Lightbox Styles */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

#caption {
  margin: 15px;
  color: #ccc;
  font-size: 1rem;
}

.lightbox .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
}

.lightbox .close:hover {
  color: #bbb;
}


.contact-buttons {
  display: flex;
  justify-content: center;   /* centers horizontally */
  gap: 20px;                 /* space between buttons */
  margin-top: 20px;          /* space above buttons */
  flex-wrap: wrap;           /* makes them stack on small screens */
}

.whatsapp-btn, .facebook-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

/* WhatsApp style */
.whatsapp-btn {
  background: #25d366;
  color: white;
}
.whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-3px);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.3);
}

/* Facebook style */
.facebook-btn {
  background: #1877f2;
  color: white;
}
.facebook-btn:hover {
  background: #0d5bcf;
  transform: translateY(-3px);
  box-shadow: 0px 6px 12px rgba(0,0,0,0.3);
}

.whatsapp-btn i, .facebook-btn i {
  margin-right: 8px;
}
