/* HERO IMAGE */

.temple-hero{
position:relative;
height:65vh;
overflow:hidden;
}

.temple-hero img{
width:100%;
height:100%;
object-fit:cover;
filter:brightness(0.8);
}

.hero-overlay{
position:absolute;
bottom:50px;
left:50%;
transform:translateX(-50%);
text-align:center;
color:white;
background:rgba(0,0,0,0.55);
padding:25px 45px;
border-radius:10px;
}

.hero-overlay h1{
font-size:42px;
margin-bottom:5px;
}

.hero-overlay p{
font-size:18px;
opacity:0.9;
}


/* TEMPLE INFO SECTION */

.temple-info{
padding:90px 20px;
background:#f6f8fb;
}

.temple-wrapper{
max-width:1100px;
margin:auto;
display:flex;
gap:40px;
align-items:flex-start;
flex-wrap:wrap;
}

/* LEFT DESCRIPTION */

.temple-description{
flex:2;
background:white;
padding:35px;
border-radius:10px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

.temple-description h2{
margin-bottom:20px;
color:#0a3d62;
}

.temple-description p{
font-size:17px;
line-height:1.9;
color:#555;
margin-bottom:15px;
}


/* RIGHT FACTS CARD */

.temple-facts{
flex:1;
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 6px 20px rgba(0,0,0,0.08);
}

.temple-facts h3{
margin-bottom:20px;
color:#0a3d62;
}

.temple-facts ul{
list-style:none;
padding:0;
}

.temple-facts li{
margin-bottom:12px;
font-size:15px;
color:#555;
}

.temple-facts strong{
color:#333;
}


/* 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;
}


/* MAP */

.temple-map{
padding:90px 20px;
text-align:center;
background:#f6f8fb;
}

.temple-map h2{
margin-bottom:30px;
color:#0a3d62;
}

.map-frame{
width:100%;
max-width:900px;
height:350px;
border:0;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
}


/* MOBILE */

@media(max-width:768px){

.temple-wrapper{
flex-direction:column;
}

.hero-overlay h1{
font-size:28px;
}

.hero-overlay{
padding:15px 25px;
}

}