/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #6f8d6a;
  color: white;
  padding: 20px;
}

/*Header & Footer*/

header, footer {
  background-color: #6a4e3b;
  color: white;
  padding: 20px;
  text-align: center;
  width: 100%;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  background-color: #6f8d6a;
  padding: 10px;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 10px;
}

nav ul li a {
color: white;
text-decoration: none;
background: linear-gradient(135deg, #e2552d, #ee9b83);
transform: scale(1.050);
padding: 5px 10px;
border-radius: 4px;
transition: background 0.6s transform 0.4s;
}


.main-content {
  position: relative;
  display: block;
  justify-content: center;
  align-items: center; 
  padding: 2rem;
  width: 100%;
}

.image-container {
  position: relative;
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  background-color: white;
  border-radius: 10px;
 }
  

.image-container img:not(.corner-logo) {
  display: block;
  width: 100%;
  max-height: 650px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px #e2552d;
  object-fit: cover;
}

/* Place the text box over the image */
.text-box {
  position: absolute;
  top: 20px;
  left: 8%;
  max-width: 280px;        /* smaller box */
  background-color: rgba(255, 255, 255, 0.92);
  color: #333;
  padding: 0.85rem;       /* tighter padding */
  border-radius: 10px;
  border: 2px solid #ee9b83;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.text-box h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.text-box p {
  font-size: 0.95rem;
  line-height: 1.4;
}


/* Minor adjustment for larger screens */
@media (min-width: 600px) {
  .text-box {
    top: 40px;      /* only 10px difference */
    left: 6%;       /* keeps visual balance */
    max-width: 360px;
  }
}


.join-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 10px 20px;
  background: linear-gradient(135deg, #e2552d, #ee9b83);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}

.join-button:hover {
  background: #ee9b83;
  transform: scale(1.05);
}

/* Membership page*/
.membership-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #daa520;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  color: white;
}

.form-group {
  margin-bottom: 1rem;
}

.membership-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
  color: white;
}

.membership-form input,
.membership-form select,
.membership-form textarea {
  display: block;
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 2px solid #ccc;
}

.membership-form button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #e2552d, #ee9b83);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.membership-form button:hover {
  background: #ee9b83;
  transform: scale(1.05);
}

#thank-you-message {
  text-align: center;
  padding: 2rem;
  background-color: #e2552d;
  color: white;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

#thank-you-message h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#thank-you-message p {
  font-size: 1rem;
  margin-bottom: 2rem;
}

/* Style for the back button */
.back-button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #e2552d, #ee9b83);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.2s;
}

.back-button:hover {
  background: #ee9b83;
  transform: scale(1.05);
}

/* About us page */
main h2 {
  background-color: rgba(125, 131, 124, 0.95);
  padding: 10px 15px;    
  border-radius: 5px;  
  display: block;  
  margin: 20px;
  color: white;
  text-align: center;      
}
.intro {
  max-width: 800px;      /* keeps the line length readable */
  margin: 0 auto 2rem;   /* centers it and adds spacing below */
  text-align: center;    /* optional, but looks nice on this page */
  line-height: 1.5;      /* improves readability */
}

.content-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 2rem 0;
  gap: 2rem;
  flex-wrap: wrap;
}

.content-block .text {
  flex: 1;
  min-width: 250px;
}

.content-block .image {
  flex: 1;
  min-width: 250px;
  display: flex;
   jusstify-content: center;
}

.content-block .image img {
  width: 100%;
   maxwidth: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px #e2552d;
}

/* Trainers Section */

.trainers {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin: 2rem 0;
}

.trainer-card {
  background-color: rgba(125, 131, 124, 0.95);
  padding: 1.5rem;
  border-radius: 12px;
  color: white;
  width: 280px;
  box-shadow: 0 0 15px #e2552d;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;              /* remove animation */
  transform: none;         /* remove animation */
}

.trainer-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 12px #e2552d;
  margin-bottom: 1rem;
}

/* Contact Info Section */

.contact-info {
  margin: 2rem auto;
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(125, 131, 124, 0.95);
  border-radius: 10px;
  max-width: 600px;        /* smaller */
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.contact-info h2 {
  font-size: 2rem;         /* smaller */
  color: white;
  margin-bottom: 1rem;
}

.contact-card {
  background-color: #6a4e3b;
  padding: 1.5rem;
  border-radius: 12px;
  color: white;
  display: inline-block;
  text-align: center;
  box-shadow: 0 0 15px #e2552d;
  width: 100%;
  max-width: 350px;        /* smaller */
  margin: 0 auto;
}

.contact-icon {
  font-size: 2.5rem;       /* slightly smaller */
  color: #e2552d;
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.contact-email {
  font-size: 1.2rem;
  color: #e2552d;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: #ee9b83;
}

@media (max-width: 768px) {
  .contact-card {
    width: 90%;
  }
}

/*Training Page*/ 

.training-calendar {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: rgba(125, 131, 124, 0.95);
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 20px #e2552d;
}

.training-calendar h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.training-intro {
  max-width: 800px;
  margin: 1.5rem auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
}

/*Location page*/

.location-block {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: rgba(125, 131, 124, 0.95);
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 20px #e2552d;
  line-height: 1.6;
}

.location-block h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.location-address {
  text-align: center;
  font-size: 1.2rem;
  margin: 1rem 0;
}

.back-button {
  background-color: #e2552d;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin: 1rem 0;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: background-color 0.2s ease;
}

.back-button:hover {
  background-color: #c64522;
}

.back-button-wrapper {
  text-align: center;
  margin-top: 2rem;
}


/* Recommended Equipment page*/

.training-intro {
  max-width: 800px;
  margin: 1.5rem auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
}

.equipment-table-wrapper {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: rgba(125, 131, 124, 0.95);
  color: white;
  border-radius: 10px;
  box-shadow: 0 0 20px #e2552d;
}

.equipment-table {
  width: 100%;
  border-collapse: collapse;
}

.equipment-table th,
.equipment-table td {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.equipment-table th {
  text-align: left;
  font-size: 1.2rem;
}

/* Hunt Test page*/ 

.page-intro {
  max-width: 800px;
  margin: 1.5rem auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.6;
}

.event-card .page-intro {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.hunt-buttons {
  text-align: center;
  margin-top: 1rem;
}

.hunt-buttons .btn {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #e2552d;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: background-color 0.2s ease;
}

.hunt-buttons .btn:hover {
  background-color: #c64522;
}



/*Gallery Page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}



.map-container {
  margin-top: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  max-width: 100%;
}

.equipment-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.equipment-table th, .equipment-table td {
  padding: 10px;
  text-align: left;
  border: 1px solid #ddd;
}

.equipment-table th {
  background-color: #6f8d6a;
}

.equipment-table td {
  word-wrap: break-word;
}

.equipment-reminder {
  margin-top: 2rem;
  text-align: center;
}

.equipment-reminder p {
  font-size: 1.2rem;
  margin: 10px 0;
}

/* event links */ 

.event-link {
  display: inline-block;
  text-align: center;
  font-size: 1rem;
  margin: 10px auto;
  padding: 6px 12px;
  background: linear-gradient(135deg, #e2552d, #ee9b83);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.6s, transform 0.4s;
}

.event-link:hover {
  background: #567554;
  transform: scale(1.05);
}

.center-links {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* ===== Corner Logo on Index Page ===== */

.corner-logo {
  position: absolute;
  bottom: 40px;
  right: 40px;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 2;
}

.corner-logo img {
  display: block;
  max-width: 240px;
  height: auto;
  background: transparent;
}

/*Links page*/
/* Center and style the page heading */
main h2 {
  text-align: center;
  margin-top: 2rem;
  font-size: 2rem;
  color: #333;
}

/* Container for the links */
.links-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Remove bullets and spacing */
.links-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Spacing between items */
.links-container li {
  margin: 1rem 0;
}

/* Link styling */
.links-container a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #004a7c;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hover effect */
.links-container a:hover {
  color: #007acc;
  text-decoration: underline;
}

/* Icon styling */
.links-container i {
  color: #007acc;
  font-size: 1.3rem;
}

/*footer*/ 
.site-credit {
  font-size: 0.9rem;
  color: #FFD700; /* sunshine yellow */
  margin-top: 0.5rem;
  text-align: center;
}

.site-credit a {
  color: #FFE55C; /* lighter yellow for the link */
  text-decoration: none;
  font-weight: 600;
}

.site-credit a:hover {
  text-decoration: underline;
}
