/* Font Styles */
body, h2, h3, p, caption {
    font-family: Georgia, serif;
}

h1 {
    color: #000000;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 48pt;
}

body, p, caption {
    color: #000;
}

h2 {
    color: #000;
}

h3 {
    color: #000000;
}

/* Backgrounds */
body {
    background-color: #ffffff;
}

/* Hyperlinks */
a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #3d413a;
}

/* Sections */
section {
    padding: 20px;
    position: relative;
    background-color: #ffffff;
}

section::after {
    content: "";
    display: block;
    width: 50%;
    height: 2px;
    background-color: #e4b359;
    margin: 20px auto;
}

/* Decorative Line */
.section-line {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 66%;
    border-bottom: 2px solid #e4b359;
}

/* Header Styles */
header {
    background-color: #4a5916;
    color: #ffffff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#favicon {
    width: 600px;
    height: auto;
    margin-top: 5px;
    margin-right: auto;
}

#hero-title {
    font-size: 56pt;
    margin: 0;
    color: #ffffff;
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    max-width: 50%; 
    height: auto;
    display: block; 
    margin: 0 auto; 
    border: 4px solid #000000;
    z-index: 1;
    position: relative;
}

.hero-image img {
    max-width: 100%;
}

.welcome-text {
    max-width: 45%
}

#hero h1 {
    font-size: 48pt;
    margin: 0;
    color: #000000
}

.nav {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin-left: 20px; 
    font-size: 24px; 
    font-weight: bold; 
    letter-spacing: 1px; 
}


.nav a {
    font-size: 18px; 
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.nav a:hover {
    color: #000000;
}

.acknowledgement-image img,
.carousel-item img,
.section img,
.tree-image {
    max-width: 80%;
    height: auto;
    border: 4px solid #000000;
}

/* Borderline Styles */
.borderline {
    border: none;
    border-top: 2px solid #e4b359;
    width: 66%;
    margin: 20px auto;
}

footer {
    background-color: #4a5916;
    color: #ffffff;
    padding: 10px;
    text-align: center;
}

.color-block p {
    margin: 0;
}
/* Add this to your existing CSS file or style section */

/* Image Styles */
img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 4px solid #000000;
}

/* Caption Styles */
.caption {
    color: #000000;
    font-style: italic;
    text-align: center;
    margin-top: 10px;
}

/* Section Content Styles */
.section-content {
    max-width: 80%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-content p {
    text-align: justify;
    padding: 20px;
}


.section-content img {
    max-width: 40%;
    margin-bottom: 20px;
}

section h2 {
    font-size: 36px;
    text-align: center;
}

#tree-types .section-content,
#foliage-alchemy .section-content,
#inner-sanctum .section-content {
    flex-direction: row-reverse;
}

#tree-types .section-content img
#inner-sanctum .section-content img 
#whispers-from-the-canopy .section-content img{
    max-width: 60px;
    margin-left: auto;
    margin-right: 5%;
    width: 100%;
}

#tree-types .section-content img,
#inner-sanctum .section-content img{
    max-width: 400px; 
    margin-left: auto;
    margin-right: 5%;
    width: 100%; 
}

#whispers-from-the-canopy .section-content img {
    max-width: 100%; 
    margin-left: auto;
    margin-right: auto;
    display: block; 
}

#whispers-from-the-canopy .section-line {
    border-bottom: none; 
}

#tree-types .section-content .text-container p,
#inner-sanctum .section-content .text-container p {
    text-align: center; 
}

#rings-of-power,
#foliage-alchemy {
    margin-bottom: 30px; 
}
/* Image Styles for Resources page */
body.page-resources img {
    max-width: 25%;
    height: auto;
    margin: 0 auto;
    border: 4px solid #000000;
    
}

body.page-resources a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s; 
}

body.page-resources a:hover {
    color: #000000; 
    background-color: transparent;
    text-decoration: underline;
}

/* Header Title and Links on Resources page */
body.page-resources #hero-title a,
body.page-resources .nav a {
    color: #ffffff;
    background-color: none;
    text-decoration: none;  
}

body.page-resources #hero-title a:hover,
body.page-resources .nav a:hover {
    color: #ffffff;
    background-color: none;
    text-decoration: none;

}

/* SDG Styles */
section h2 {
    font-size: 36px;
    text-align: center;
}

.bullet-list {
    text-align: left;
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.bullet-list li {
    margin: 0 10px;
    max-width: calc(50%-20px);
    text-align: left;
    flex: 1;
}

.bullet-list img {
    max-width: 100%;
    height: auto;
    border: 1px solid #000000;
    display: block;
}
/* Image Styles for Care of Trees page */
body.page-care img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 4px solid #000000;
}

/* Section Heading Styles for Care of Trees page */
body.page-care section h1,
body.page-care section h2 {
    font-size: 48px; 
    text-align: center;
}

/* Section Content Styles for Care of Trees page */
body.page-care .content {
    max-width: 80%;
    margin: auto;
    text-align: justify;
    padding: 20px;
}
body.page-care .content img {
    margin-top: 20px; 
    margin-bottom: 20px; 
}

/* Update the existing global section styles to center the content */
body section {
    text-align: center;
}

#glossary-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#glossary-table th, #glossary-table td {
    border: 1px solid #e4b359;
    padding: 8px;
    text-align: left;
}

#glossary-table th {
    background-color: #4a5916;
    color: #ffffff;
}
body {
    margin-bottom: 50px; 
}
/* Tree Card Styles */
#trees-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Two equal columns */
    gap: 40px; /* Adjust as needed for spacing between cards */
}

.tree-card {
    border: 10px solid #3d413a;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: right;
    text-align: left;
    overflow: hidden; /* To prevent content overflow */
}

.tree-image {
    max-width: 600%; /* Adjust this value as needed */
    height: auto;
    margin-bottom: 20px; /* Adjust as needed to create space between image and text */
}

.tree-card h3 {
    font-family: 'Lato', sans-serif;
    font-size: 18pt;
    font-weight: bold;
    margin: 10px 0;
}

.card-info {
    font-family: Georgia, serif;
    font-size: 12pt;
    margin: 5px 0;
}
