/* HEY THERE BUDDY!.... ONLY PLACE CONTENT THAT APPLIES TO ALL PAGES HERE */

/* Pro tip, link this app.css to your page in addition to your custom .css file*/

/* colors biege, black, wheat*/

body {
  background-color: beige;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

.navbar {
  background-color: #3b5323;
  border-bottom: 2px solid rgb(69, 40, 40);
  z-index: 10;
}

#message_bar {
  position: fixed;
  top: 60px;
  width: 100%;
  z-index: 9;
  background-color: whitesmoke;
  height: fit-content;
}

.navbar-brand .navbar-item,
.navbar-burger span {
  color: beige;
}

.navbar-item:hover {
  background-color: rgb(43, 23, 23);
  color: wheat;
}

.navbar-burger.is-active span {
  background-color: wheat;
}

#navMenu {
  background-color: #3b5323;
}

/* Navbar Adjustments */
.navbar-menu {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.navbar-end {
  width: 100%;
  justify-content: flex-end;
  padding-right: 0.5rem;
}

.navbar-brand {
  margin-left: 1rem;
}

.button.is-warning {
  background-color: wheat;
  border: 2px solid wheat;
  color: #333;
  transition: transform 0.3s, background-color 0.3s;
}

.button.is-warning:hover {
  background-color: #5c754a;
  color: white;
  transform: scale(1.05);
}

.button.is-warning.is-outlined {
  background-color: transparent;
  border-color: #f0ad4e;
  color: #f0ad4e;
  transition: background-color 0.3s, color 0.3s;
}

.button.is-warning.is-outlined:hover {
  background-color: #f0ad4e;
  color: #333;
}

/* Footer Styles */
.footer {
  padding: 2rem 1.5rem;
  background-color: black;
  color: beige;
}

.footer a {
  color: wheat;
  transition: color 0.3s;
}

.footer a:hover {
  color: #f0ad4e;
}

.footer .title {
  color: beige;
}

/* HOME PAGE SPECIFIC STYLING FOR SINGLE PAGE APP PURPOSES */
/* alignment items on bottom are for the overlay text, needs to be flex so that the centering works */
#home #webpage_banner {
  height: 500px;
  background-image: url(images/forest_bannerf.jpg);
  background-size: cover;
  display: flex;
  width: 100%;
  background-position: center;
  color: beige;
  align-items: last baseline;
  justify-content: center;
}

/* making sure the font of the text in cards is black */
#home .content {
  color: black;
}

#home #announcements {
  background-color: beige;
  border-bottom: 4px solid rgb(69, 40, 40);
  padding-bottom: 30px;
}

/* this is specifically the announcements title text */
#home #ann {
  display: flex;
  justify-content: center;
  font-size: 300%;
  color: black;
}

/* at the moment this just applies to the cards in announcements */
/* wrap so that it fits phone and smaller screens #adaptive design */
#home #columns {
  display: flex;
  /* align-items: stretch; */
  flex-wrap: wrap;
  padding-top: 15px;
  padding-bottom: 10px;
}

/* flex thing helps make cards responsive + px is the base size for them */

/* note for later, apply this for gallery formatting */
#home #announcements .card {
  flex: 1 1 100%;
  margin-right: 5%;
  margin-left: 5%;
  margin-bottom: 10px;
  border-radius: 10px;
}

#home #announcements .content {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: large;
}

#home #admin_ann {
  border: solid 2px rgb(43, 23, 23);
}

#home #tiles .card {
  flex: 1 1 300px;
  margin: 10px;
  border-radius: 10px;
}

/* holds google calendar */
#home #calendar {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  padding-bottom: 20px;
  background-color: rgb(138, 108, 108);
}

#home #cal_title {
  color: white;
  font-size: 250%;
}

/* tiles for extra stuff + info elsewhere */
#home #tiles {
  background-color: rgb(43, 23, 23);
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
}

#home .tile_card {
  background-color: rgb(138, 108, 108);
  height: 300px;
  overflow: hidden;
}

#home .card img {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-top: 3px solid rgb(43, 23, 23);
}

#home #tiles .card-content {
  color: white;
  font-size: 25px;
}

/* RESOURCES SPECIFIC CSS */
/* Hero Banner Styles */
.hero-body {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1.5rem 1.5rem 1.5rem; /* Further reduced top and overall padding */
}

#resources .hero-banner {
  height: 294px;
}

.hero .title,
.hero .subtitle {
  color: white;
}

/* Section Styles */
.section {
  padding: 1.5rem 1rem; /* Reduced padding for a more compact layout */
}

#resources .has-background-light {
  background-color: #f4f4f4 !important;
}

/* Feature Card Styles */
#resources .feature-card {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#resources .feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

#resources .card-content {
  padding: 1rem; /* Reduced padding */
  background-color: #f4f4f4;
}

/* Testimonial Box Styles */
#resources .box {
  padding: 1.5rem;
  border-radius: 10px;
  background-color: #f4f4f4;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s, transform 0.3s;
}

#resources .box:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

/* Resource Content Section */
.content {
  padding-top: 1rem;
}

.content ul {
  padding-left: 20px;
  list-style-type: disc;
}

/* Modal Styles */
.modal-content {
  background-color: beige;
  width: 600px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-card {
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.modal-card-head {
  background-color: #3b5323;
  color: beige;
  border-bottom: 1px solid wheat;
}

.modal-card-title {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.modal-card-foot {
  background-color: #f4f4f4;
}

.button.is-success {
  background-color: #5c754a;
  border: none;
  color: white;
}

.button.is-success:hover {
  background-color: #3e4e2d;
}

/* Media Queries */
@media (max-width: 768px) {
  #resources .navbar-menu {
    background-color: #3b5323;
    padding: 0.5rem;
  }

  #resources .navbar-end {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0;
  }

  #resources .footer {
    text-align: center;
  }

  #resources .hero-body {
    padding: 1.5rem 1rem;
  }

  #resources .feature-card {
    margin-bottom: 2rem;
  }

  #resources .content {
    padding: 1rem;
  }
}

/* Main Image Styling */
#resources .main-hunt-image {
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Image Hover Effect */
#resources .image img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#resources .is-3by1 img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

#gal_title {
  padding: 10px 20px;
  display: block;
  color: white;
  border-color: #44553a;
  background-color: #44553a;
  margin: auto;
  font-size: 32px;
}

#gallery #gal_upload {
  border: solid 2px black;
  width: 80%;
  background-color: white;
}

#tile_upload {
  border: solid 2px black;
  width: 80%;
  background-color: white;
}

#gallery #wheel_container {
  max-width: 1000px;
}

/* at the moment this just applies to the cards in announcements */
/* wrap so that it fits phone and smaller screens #adaptive design */
#gallery .columns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-right: 20px;
  margin-left: 20px;
  padding-top: 5px;
  padding-bottom: 20px;
  justify-content: center;
}

#gallery .gallery_card {
  overflow: hidden;
  height: 100mm;
  margin: 5px;
  display: inline-block;
  max-width: 500px;
  flex: 1 1 350px;
}

#gallery .card-image {
  display: inline-block;
  justify-content: center;
  position: relative;
}

#gallery .overlay-button {
  padding: 10px 20px;
  position: absolute;
  transform: translate(-100%, 680%);
}

#gallery .button_container {
  display: flex;
  justify-content: center;
}
#gallery .body img {
  display: block;
  min-height: 100mm;
  max-height: 120mm;
  width: 100%;
}
#gallery h1 {
  text-align: center;
}

/* Gallery Styling */
.rotating-gallery {
  position: relative;
  max-width: 80%;
  margin: auto;
  overflow: hidden;
}

.slide {
  display: none;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Controls Styling */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

/* Hover effect for buttons */
.prev:hover,
.next:hover {
  background-color: #f0ad4e;
}

/* Show the first slide by default */
.rotating-gallery .slide:first-child {
  display: block;
}

/* Enhanced Table Styling */
.table-container {
  margin-top: 2rem;
}

.table thead th {
  background-color: #3b5323;
  color: white;
}

.table tbody td {
  vertical-align: middle;
}

/* General Container Improvements */
.box {
  padding: 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

/* Button Style Adjustments */
.button.is-link.is-outlined {
  border-color: #3298dc;
}

.button.is-danger.is-outlined {
  border-color: #ff3860;
}

.button.is-link.is-outlined:hover,
.button.is-danger.is-outlined:hover {
  color: white;
}
