

.page-header-section {
    background-image: url("../images/gallery/gallery_header.png"); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.page-header-overlay {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    /* padding: 77px 202px; */
    height: 38%;
    width: 52%;
    align-content: center;
    /* border-radius: 10px; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    bottom: 0;
}

.page-header-content h1 {
    font-size: 36px; 
    font-weight: bold;
    color: #004d40; /* Dark Green - adjust as needed */
    margin: 0;
}

.more-text {
    color: #005E60;
}

.gallery-card {
  background: linear-gradient(to bottom, #DFF5F6, #ffff);
  box-shadow: 5px 8px 20px rgba(0, 0, 0, 0.2) !important;
  border-radius: 20px !important;
  border: #dddcdc 1px solid;
  display: flex;
  flex-direction: column;
  height: 100%;
}



.gallery-preview-stack {
  width: 90%;
  height: 250px;
  position: relative;
  margin: 15px auto;
}

.album-title{
    font-size: 25px;
    font-weight: bold;
    color: #004d40; /* Dark Green */
    text-align: center;
    margin-top: 60px;
}

.stacked-thumb {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transition: transform 0.3s ease;
  z-index: 1;
}

.stacked-thumb img {
  border-radius: 16px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Custom rotation and offset */
.thumb-1 {
  transform: rotate(-5deg) translate(-8px, -8px);
  z-index: 1;
}
.thumb-2 {
  transform: rotate(5deg) translate(8px, -8px);
  z-index: 2;
}
.thumb-3 {
  transform: rotate(-3deg) translate(-6px, 6px);
  z-index: 3;
}

.cover-thumb {
  z-index: 4;
}

.view-album-btn{
    background-color: #DEFF03; /* Dark Green */
    color: gray;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-family: 'cairo', sans-serif;
    margin-top: auto;
}

.view-album-btn:hover {
    background-color: #004d40; /* Lighter Green */
    color: white; /* Dark Green */
}

@media (max-width: 512px) {
    .page-header-content h1 {
        font-size: 42px;
    }

    .page-header-overlay {
        height: 30%;
    }

    h5 {
        font-size: 18px;
    }


    .body-content {
        font-size: 20px;
    }
}