﻿/* Base styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f4;
    color: #333;
    margin: 0;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    color: #2c5e3b;
}

/* Container for all trees */
.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    display: block; /* Ensures Expression Web Design view renders it well */
}

/* Individual Tree Box */
.tree-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tree-card h2 {
    color: #3b7a57;
    margin-top: 0;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
}

/* Image Row Layout */
.image-row {
    margin: 15px 0;
    overflow: hidden; /* Clears floats for older browser compatibility */
}

.image-row img {
    float: left;
    width: 48%; /* Leaves room for margin */
    margin-right: 2%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* Remove margin from the second image */
.image-row img:last-child {
    margin-right: 0;
}

/* Text style */
.tree-card p {
    line-height: 1.6;
    clear: both; /* Ensures text goes below floated images */
    padding-top: 10px;
}

/* Narrow Navigation List Styles */
.tree-menu {
    background-color: #eaf2ea;
    border: 1px solid #c2d6c2;
    border-radius: 5px;
    
    /* Changed layout settings */
    max-width: 500px;         /* Keeps the box narrow */
    margin: 0 auto 30px auto; /* Centers the narrow box on the page */
    padding: 15px 25px;       /* Adds breathing room inside */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.tree-menu h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #2c5e3b;
    font-size: 1.1em;
}

.tree-menu ul {
    margin: 0;
    padding-left: 20px;
}

.tree-menu li {
    margin-bottom: 8px;
}

.tree-menu a {
    color: #1e4629;
    text-decoration: none;
    font-weight: bold;
}

.tree-menu a:hover {
    text-decoration: underline;
    color: #4a7c59;
}

/* Botanical name styling inside headings */
h2 em, .tree-menu em {
    font-weight: normal;
    font-style: italic;
    font-size: 0.9em;
    color: #555;
}

/* Back to top link */
.back-to-top {
    text-align: right;
    font-size: 0.85em;
    margin-top: 15px;
}

.back-to-top a {
    color: #777;
    text-decoration: none;
}

.back-to-top a:hover {
    color: #333;
}

