body {
font-family: Arial, sans-serif;
background-color: #f4f6f8;
margin: 20px;
color: #333;
 /* 🌴 background image */
    background: url('/icclodi/tree_project/assets/mejdol_palm.jpg') no-repeat center center fixed;
    background-size: cover;

}
/* 🔥 Light overlay so text stays readable */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.92); /* adjust 0.85–0.92 */
    z-index: -1;
}
h2 {
color: #2c3e50;
}

h3 {
margin-top: 25px;
color: #34495e;
}

/* p {
max-width: 600px;
line-height: 1.5;
}
*/
/* Tree boxes */
.tree-container {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
}

.tree-box {
padding: 10px 14px;
border-radius: 6px;
font-weight: bold;
text-align: center;
min-width: 45px;
}

/* Available */
.available {
background-color: #d4edda;
color: #155724;
}

/* Taken */
.taken {
background-color: #d6d8db;
color: #383d41;
}

/* Form styling */
form {
background: #fff;
padding: 20px;
border-radius: 8px;
max-width: 400px;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

input, select, textarea {
width: 100%;
padding: 8px;
margin-top: 5px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 5px;
}

button {
background-color: #2c7be5;
color: white;
border: none;
padding: 10px;
border-radius: 5px;
cursor: pointer;
width: 100%;
}

button:hover {
background-color: #1a68d1;
}
/* 🌴 MAP LAYOUT */
.map-container {
display: grid;
grid-template-areas:
"front front front"
"empty empty right"
"back  back  right";
grid-template-columns: 1fr 1fr 120px;
gap: 20px;
max-width: 800px;
margin-top: 20px;
}

.front { grid-area: front; }
.right { grid-area: right; }
.back  { grid-area: back; }
	.empty {
    grid-area: empty;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    min-height: 250px;
}

/* 🔥 This is the key */
.map-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;   /* THIS makes it fill */
    transform: translate(-50%, -50%);
}
/* Tree rows */
.tree-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
}

/* Right side vertical */
.tree-column {
display: flex;
flex-direction: column;
gap: 8px;
}

/* Legend */
.legend {
margin-top: 15px;
}

.legend span {
display: inline-block;
margin-right: 15px;
}
/* Page wrapper */
.page-container {
    max-width: 1000px;
    margin: 0 auto;   /* 🔥 centers everything */
    padding: 20px;
}
.map-container {
    margin: 0 auto;
}
h2, p {
    text-align: center;
}
.intro-box {
    background: #f9fafb;
    padding: 20px;
    border-left: 5px solid #2c7be5;
    border-radius: 8px;
    margin-bottom: 25px;
	text-align: center;
}

.intro-box ul {
    margin-top: 10px;
    padding-left: 20px;
}

.intro-box li {
    margin-bottom: 6px;
}

.hadith {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    font-style: italic;
    margin: 15px 0;
    border-left: 4px solid #28a745;
}

.closing {
    font-weight: bold;
    margin-top: 15px;
}
.plaque {
    width: 320px;
    height: 240px;
    background: #111;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    font-family: "Georgia", serif;
    border: 2px solid #333;
    border-radius: 6px;
    margin-top: 15px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    padding: 20px;
}
