/* Global Styles */
/* Preloader Styles */
#preloader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

#preloader img {
  max-width: 50vw;  /* 50% of the viewport width */
  max-height: 50vh; /* 50% of the viewport height */
}

/* Header Content */
.header-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Global Container Settings */
body, html {
  height: 100%;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #f7f7f7; /* Body background color */
  color: #333;
}

/* Content Wrapper */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  height: calc(100% - 80px); /* Adjust as needed for your header/footer */
  padding: 20px;
}

/* Floating Column Styles */
.floating-column {
  position: fixed;
  top: 20%;
  right: 0;
  width: 20%;
  z-index: 100;
  border-left: 2px solid #333;
}

.event-box {
  border: 2px solid #333;
  padding: 20px;
  background-color: #f9f9f9;
  text-align: center;
  height: fit-content;
}

@media screen and (max-width: 768px) {
  .floating-column {
    position: static;
    width: 100%;
  }
}

/* Event Column */
.event-column {
  flex: 1;
  padding: 20px;
  border-left: 2px solid #333;
}

@media screen and (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  main, .event-column {
    flex: none;
    width: 100%;
  }
}

/* =========================
   Hero Section (Index Page)
   ========================= */

/* Container for the hero section (placed just below the header) */
.hero {
  display: flex;
  align-items: center;  /* Vertically centers the content */
  justify-content: space-between;
  margin-top: 20px;     /* Adjust spacing as needed */
  padding: 20px;
}

/* Left side: Text content */
.hero-text {
  flex: 1;            /* Takes up the available horizontal space */
  padding-right: 20px;
}

/* Right side: Image container (the tree image) */
.hero-image {
  width: 300px;       /* Adjust width as needed */
  height: 400px;      /* Taller than wide */
  background-image: url("tree.png");
  background-repeat: no-repeat;   /* Prevents the image from repeating */
  background-position: center;
  background-size: cover;         /* Scales the image to cover the container */
  /* Optional: add border or shadow if desired */
  /* border: 2px solid #333; */
  /* box-shadow: 2px 2px 8px rgba(0,0,0,0.3); */
}

/* =========================
   Header & Navigation
   ========================= */

header {
  background-color: #dcdcdc; /* Header background color */
  padding: 20px;
  text-align: center;
}

.center-logo {
  width: 200px;
  height: auto;
}

/* Heading Styles */
h1 {
  color: #333;
  font-family: "Arial Black", sans-serif;
  font-size: 36px;
}

h2 {
  color: #333;
  font-family: "Arial Black", sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Navigation Styles */
nav {
  background-color: #333;
  color: #fff;
  padding: 10px;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline-block;
  margin-right: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
}

/* =========================
   Main Content Styles
   ========================= */

main {
  flex: 3;
  padding: 20px;
  margin: 20px;
}

p {
  line-height: 1.5;
  font-size: 16px;
}

/* =========================
   Gallery Styles
   ========================= */

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.gallery-container img {
  width: 100%; /* Fills the grid column */
  height: auto;
  border-radius: 10px; /* Optional: rounded corners */
  display: block; /* Ensures images are block-level */
}

.images-container {
  display: flex;
  justify-content: space-around; /* Spaces out images evenly */
  flex-wrap: wrap; /* Allows items to wrap if needed */
}

figure {
  flex: 1;              /* Makes figures flexible */
  min-width: 250px;     /* Minimum width before wrapping */
  max-width: 500px;     /* Maximum width */
  margin: 10px;         /* Space between figures */
}
