/* === Global Styles === */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

/* === Header === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: white;
  padding: 15px 30px;
}

.logo {
  height: 50px;
}

nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 20px;
}

nav a:hover,
nav a.active {
  color: #fff;
}

/* === Hero Section === */
.hero {
  position: relative;
  background-image: url('images/backround.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  color: white;
  padding: 120px 20px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #ff6600;
  color: white;
  border-radius: 6px;
  text-decoration: none;
}

.btn:hover {
  background: #e05500;
}

/* === Featured Trail Section === */
#trails {
  text-align: center;
  padding: 60px 20px;
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gallery img {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* === Downloads Section (XJ Files Page) === */
.downloads {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.downloads h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.downloads .subtitle {
  font-size: 1.1rem;
  color: #777;
  margin-bottom: 40px;
}

.file-container h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: left;
}

.file-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.file-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}

.file-list li a {
  color: #0077cc;
  text-decoration: none;
  font-weight: 500;
}

.file-list li a:hover {
  color: #005999;
  text-decoration: underline;
}

/* === Modern Footer === */
.site-footer {
  background-color: #111;
  color: #ccc;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.footer-content h3,
.footer-content h4 {
  color: #fff;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  min-width: 220px;
}

.footer-left p {
  margin-top: 10px;
  line-height: 1.5;
  color: #aaa;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center ul li {
  margin: 8px 0;
}

.footer-center ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.footer-center ul li a:hover {
  color: #ff6600;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); /* makes white icons work on dark bg */
  transition: transform 0.2s ease-in-out;
}

.social-icons img:hover {
  transform: scale(1.1);
  filter: brightness(0) invert(0.7);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 30px;
  padding-top: 15px;
  color: #777;
  font-size: 0.9rem;
}
iframe.include-header {
  width: 100%;
  border: none;
  height: 80px; /* Adjust to your header/footer height */
}
iframe.include-footer {
  width: 100%;
  border: none;
  height: 240px;
  overflow: hidden; /* hides internal scrollbars */
}
.site-header, .site-footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 10px;
}
