/* HERO IMAGE */

.temple-hero{
position:relative;
height:65vh;
overflow:hidden;
}

.temple-hero img{
width:100%;
height:100%;
object-fit:cover;
filter:brightness(0.75);
}

/* HERO TEXT */

.hero-overlay{
position:absolute;
bottom:60px;
left:50%;
transform:translateX(-50%);
text-align:center;
color:white;
background:rgba(0,0,0,0.55);
padding:28px 50px;
border-radius:12px;
backdrop-filter: blur(4px);
}

.hero-overlay h1{
font-size:40px;
margin-bottom:6px;
font-weight:600;
letter-spacing:1px;
}

.hero-overlay p{
font-size:18px;
opacity:0.9;
}


/* TEMPLE INFO SECTION */

.temple-info{
padding:90px 20px;
background:#f6f8fb;
}

/* CENTERED CONTENT */

.temple-wrapper{
max-width:900px;
margin:auto;
}

/* DESCRIPTION CARD */

.temple-description{
background:white;
padding:45px;
border-radius:12px;
box-shadow:0 8px 28px rgba(0,0,0,0.08);
}

.temple-description h2{
margin-bottom:25px;
color:#0a3d62;
font-size:28px;
text-align:center;
}

.temple-description p{
font-size:17px;
line-height:1.9;
color:#555;
margin-bottom:18px;
text-align:justify;
}


/* GALLERY */

.temple-gallery{
padding:90px 20px;
text-align:center;
}

.temple-gallery h2{
margin-bottom:40px;
color:#0a3d62;
}

.gallery-grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

.gallery-grid img{
width:100%;
height:230px;
object-fit:cover;
border-radius:10px;
transition:0.4s;
box-shadow:0 6px 18px rgba(0,0,0,0.1);
}

.gallery-grid img:hover{
transform:scale(1.07);
box-shadow:0 12px 28px rgba(0,0,0,0.2);
}

.copyright{
margin-top:20px;
font-size:14px;
color:#777;
}

/* PILIKULA GALLERY - CARD STYLE */

.pilikula-gallery .gallery-item{
    text-align:center;
    background:#fff;
    padding:12px;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    transition:all 0.3s ease;
}

.pilikula-gallery .gallery-item:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,0.15);
}

.pilikula-gallery .gallery-item img{
    width:100%;
    height:230px;
    object-fit:cover;
    border-radius:10px;
}

/* Caption below image */
.pilikula-gallery .caption{
    margin-top:10px;
    font-size:14px;
    font-weight:600;
    color:#0a3d62;
    letter-spacing:0.5px;
}
/* MAP */

.temple-map{
padding:90px 20px;
text-align:center;
background:#f6f8fb;
}

.temple-map h2{
margin-bottom:35px;
color:#0a3d62;
font-size:30px;
}

.map-frame{
width:100%;
max-width:950px;
height:380px;
border:0;
border-radius:12px;
box-shadow:0 12px 30px rgba(0,0,0,0.18);
}


/* BACK BUTTON */

.back-btn{
position:fixed;
left:25px;
bottom:25px;
background:#ff6b3d;
color:white;
padding:12px 20px;
border-radius:30px;
text-decoration:none;
font-size:14px;
box-shadow:0 6px 18px rgba(0,0,0,0.2);
transition:0.3s;
}

.back-btn:hover{
background:#e65a2f;
color:white;
}


/* TOP BUTTON */

#topBtn{
display:none;
position:fixed;
right:25px;
bottom:25px;
border:none;
background:#0a3d62;
color:white;
padding:12px 15px;
border-radius:50%;
font-size:16px;
cursor:pointer;
box-shadow:0 6px 18px rgba(0,0,0,0.25);
transition:0.3s;
}

#topBtn:hover{
background:#06263c;
}


/* MOBILE */

@media(max-width:768px){

.hero-overlay h1{
font-size:26px;
}

.hero-overlay{
padding:18px 28px;
bottom:40px;
}

.temple-description{
padding:30px;
}

.temple-description h2{
font-size:24px;
}

.temple-description p{
font-size:16px;
}

.gallery-grid img{
height:210px;
}

.map-frame{
height:300px;
}

}