body {
    background: #231f20;
    color: white;
    font-family: "Ambicase Fatface", Georgia, serif;
    margin: 0;
    text-align: center;
}

.page-title {
    position: relative;
    font-size: 55px;
    margin-top: 70px;
    margin-bottom: 80px;
    position: relative;
    -webkit-text-stroke: .3px #fbfafa;
    -webkit-text-fill-color: rgb(3, 52, 3);
    text-align: center;
    padding-right: 10px;
}

.page-title::after {
    content: "";
    position: absolute;
    bottom: -12px; /* space between text and line */
    left: 50%;
    transform: translateX(-50%);
    width: 520px; /* adjust to your liking */
    height: 2px;
    background-color: white;
}


.container {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.fade-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.fade-box .description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.85);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    
}

/* When active, hide image + show text */
.fade-box.active img {
    opacity: 0;
}

.fade-box.active .description {
    opacity: 1;
}

.container {
    display: flex;
    gap: 50px;
    justify-content: center;
    margin-top: 5px;
}

.overlay-box {
    position: relative;
    width: 600px;
    height: 450px;
    cursor: pointer;
    overflow: hidden;
    border-radius: 10px;
}

.overlay-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.overlay p {
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 15px;
}

/* The semi-transparent layer */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 20, 0.75); /* ← semi-transparent */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    text-align: center;
    opacity: 0;                 /* hidden by default */
    transition: opacity .5s ease;
}

/* When active, fade in the overlay */
.overlay-box.active .overlay {
    opacity: 1;
}

.overlay-box img {
    transition: transform .3s ease;
}

.overlay-box:hover img {
    transform: scale(1.03);
}


footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: #231f20;
    color: white;
    font-family: Georgia, serif;
    z-index: 9999;
}
