/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial, Helvetica, sans-serif;
line-height:1.6;
background:#f6f7f6;
color:#222;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:16px 40px;
background:#1f3d1f;
flex-wrap:wrap;
}

.logo{
display:flex;
align-items:center;
color:white;
font-weight:bold;
font-size:18px;
}

.logo img{
width:42px;
margin-right:10px;
}

.nav-links{
list-style:none;
display:flex;
gap:25px;
flex-wrap:wrap;
}

.nav-links a{
color:white;
text-decoration:none;
font-weight:bold;
}

.nav-links a:hover{
color:#a9d6a9;
}

/* PAGE HEADER */

.page-header{

background-image: url("images/IMG_1283.jpeg");

background-size: cover;
background-position: center;

padding:120px 20px;

text-align:center;

color:white;

position:relative;

}

.page-header::before{

content:"";

position:absolute;

top:0;
left:0;

width:100%;
height:100%;

background:rgba(0,0,0,0.45);

}

.page-header h1{
position:relative;
z-index:2;
font-size:40px;
}

/* MAIN CONTAINER */

.container{
max-width:1100px;
margin:auto;
padding:40px 20px;
}

/* UNIVERSAL TEXT BOX */

.content-box{
background:white;
padding:28px;
border-radius:10px;
border:2px solid #dfe6df;
box-shadow:0 6px 16px rgba(0,0,0,0.1);
margin-bottom:25px;

text-align:center;

display:flex;
flex-direction:column;
align-items:center;
}



.content-box:hover{
transform:translateY(-3px);
box-shadow:0 10px 22px rgba(0,0,0,0.15);
}

.content-box h2{
margin-bottom:10px;
color:#1f3d1f;
}

/* UNIVERSAL IMAGE BOX */

.image-box{
width:100%;
margin-bottom:25px;

background:white;

padding:10px;

border-radius:10px;

border:2px solid #dfe6df;

box-shadow:0 6px 16px rgba(0,0,0,0.1);
}

.image-box img{
width:100%;
height:auto;
display:block;
border-radius:6px;
}

/* GRID SYSTEM */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
gap:25px;
}

/* FOOTER */

footer{
background:#1f3d1f;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}

/* RESPONSIVE */

@media (max-width:700px){

.navbar{
padding:15px 20px;
}

.nav-links{
gap:15px;
}

.page-header h1{
font-size:28px;
}

}

.trail-map{
max-width:1000px;
width:90%;
border-radius:10px;
}

/* TRAIL INFO */

.trail-info{
max-width:900px;
margin:auto;
padding:40px;
background:#f2f2f2;
border-radius:8px;
margin-bottom:40px;
}

/* FOOTER */

footer{
background:#1f3d1f;
color:white;
text-align:center;
padding:20px;
}

footer a{
color:#9fd69f;
text-decoration:none;
font-weight:bold;
}

footer a:hover{
text-decoration:underline;
}

.status-green{
color:#2e8b57;
font-weight:bold;
font-size:40px;
}

.status-yellow{
color:#d4a017;
font-weight:bold;
font-size:40px;
}

.gallery-grid{
display:grid;

/* automatically add columns when space allows */
grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));

gap:20px;

margin-top:20px;
}

.gallery-grid img{
width:100%;
height:220px;

object-fit:cover;

border-radius:8px;
border:2px solid #dfe6df;

box-shadow:0 4px 12px rgba(0,0,0,0.1);

transition:transform .2s ease;
}

.gallery-grid img:hover{
transform:scale(1.03);
}

form{
display:flex;
flex-direction:column;
gap:10px;
}

input, textarea, select{
padding:10px;
border-radius:6px;
border:1px solid #ccc;
}

button{
padding:10px;
background:#2e8b57;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
}

button:hover{
background:#246b44;
}