.sec-1 {
    height: 800px;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;

    overflow: auto;
}
.sec-2 {
    height: 400px;
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: auto;
}
.sec-3 { 
    max-width: 1100px; 
    margin: auto; 
    overflow: auto;
}

.c1 {
    position: relative;
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
}


.sec-bckgr {
    /*background: linear-gradient(rgba(210, 208, 208, 0.075), 
    rgba(19, 17, 17, 0.069));*/
    border-radius: 3px;
    padding: 10px 30px;
}
.sec-1 h1, .sec-2 h1, .sec-3 h1 {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 500;
    font-size: 40px; 
    margin-bottom: 10px;
    color: black;
    text-align: center;
}

/*
.c1 h1 span, .c1 p span {
    background-color: rgb(234, 226, 217);
    color: black;
} */
.sec-1 p, .sec-2 p{
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-align: center;
    font-size: 19px;
    color: black;
}


.gallery { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}
.gallery-item img { 
    width: 100%; 
    height: 400px; 
    object-fit: cover; 
    border-radius: 4px; 
}






.grid { 
    padding: 20px 20px;
}
.grid-items { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 25px; 
}
/* Card container */
.service-card { 
  position: relative;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: all 0.3s ease;

  cursor: pointer;
}
.service-card h3 {
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: 500;
}

/* Image behaves like background */
.service-card .service-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Dark overlay */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}
/* Text above overlay */
.service-card * {
  position: relative;
  z-index: 2;
}
/* Hide description initially */
.service-card p {
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: 500;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
}
/* Reveal description on hover */
.service-card:hover p {
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-weight: 500;
  opacity: 1;
  max-height: 200px;
  margin-top: 10px;
  color: white;
  font-size: 15px;
}

/* Hover lift */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Reveal button on hover */
.service-card:hover .book-btn {
  opacity: 1;
  max-height: 60px;
}

@media (hover: none) {
  .gallery-item.open p {
    opacity: 1;
    max-height: 200px;
    margin-top: 10px;
  }

  .gallery-item {
    cursor: pointer;
  }
}
