* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: Verdana, sans-serif;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #f0e6d2;
    overflow-y: auto;
}

.hero-header {
    position: relative;
    height: 450px;
    background: url('images/hildebrantlarge.jpg') center center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 4px solid #2c1d1d;
}

.horizon-logo {
    max-height: 330px;
    width: auto;
    filter:
        drop-shadow(0 0 8px rgba(0,0,0,0.8))
        drop-shadow(0 0 8px rgba(255,215,0,0.5));
    transition: transform 0.3s ease;
}

nav.main-nav {
    background-color: #2d1f1f;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px;
    border-bottom: 2px solid #5b3c2c;
}

nav.main-nav a {
    text-decoration: none;
    color: #b28f53;
    font-weight: bold;
    font-size: 1.2em;
    font-family: MedievalSharp, sans-serif;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

nav.main-nav a:hover {
    color: #ddb97f;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.nav-link {
    text-decoration: none;
    color: #f0e6d2;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px #000;
}

.nav-link:hover {
    color: #ddb97f;
}

.text-shadow-box {
    background-color: rgba(20, 15, 15, 0.75); /* same as .content background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* soft black glow */
    margin: 20px auto;
    max-width: 90%;
}

.container {
    display: flex;
    flex-wrap: nowrap;
    min-height: calc(100vh - 262px);
}

.sidebar {
    width: 200px;
    background-color: rgba(60, 47, 47, 0.85);
    padding: 20px;
    border-right: 2px solid #5b3c2c;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 15px;
}

.sidebar a {
    color: #b28f53;
    text-decoration: none;
    font-size: 1em;
    font-family: MedievalSharp, sans-serif;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.sidebar a:hover {
    color: #ddb97f;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.rightbar {
    width: 250px;
    background-color: rgba(60, 47, 47, 0.85);
    padding: 20px;
    border-left: 2px solid #5b3c2c;
    display: flex;
    font-family: Calibri, sans-serif;
    flex-direction: column;
    gap: 20px;
}

.rightbar h3 {
    margin-top: 0;
    color: #ddb97f;
	
    font-family: MedievalSharp, sans-serif;
    font-size: 1.1em;
}

.rightbar .panel {
    background-color: rgba(20, 15, 15, 0.75);
    padding: 15px;
    border-radius: 6px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.content {
    flex-grow: 1;
    flex-basis: 0;
    width: 100%;
    padding: 40px;
    background-color: rgba(20, 15, 15, 0.75);
    overflow-y: auto;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.6);
}

h1 {
    font-family: 'MedievalSharp', cursive;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.content iframe {
    width: 100%;
    height: auto;
    min-height: 900px;
    border: none;
    background-color: transparent;
}

.content h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: 'MedievalSharp', cursive;
    color: #f8e7b9;
    text-align: center;
    text-shadow: 2px 2px 4px #000;
}

.content p {
    font-size: 1.2em;
    line-height: 1.6;
	font-family : "Calibri";
}

.download-list li, .setup-steps li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #f0e6d2;
}

.download-list a {
  color: #ffe265;
  text-decoration: none;
  text-shadow: 1px 1px 2px #000;
}

.download-list a:hover {
  text-decoration: underline;
}

.setup-steps ul {
  list-style: square;
  margin-left: 20px;
}

.mobile-nav {
display: none; }

@media (max-width: 768px) {
		  /* Ensure the site scales correctly */
		  body {
			font-size: 16px;
			line-height: 1.5;
			padding: 0;
			margin: 0;
			height: 100%;
			overflow-x: auto;
		  }
			
		.main-nav {
			display: none !important;
		}

		.sidebar, .rightbar { 
			display: none; 
		}
		  /* Top Navbar */
		  nav.main-nav {
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			justify-content: space-around;
			align-items: center;
			padding: 10px 0;
			background-color: #2c1d1d;
			text-align: center;
		  }

		  nav.main-nav a {
			flex: 1 1 30%;
			padding: 10px;
			font-size: 1.1em;
			text-decoration: none;
		  }

		  /* Sidebar */
		  .sidebar {
			width: 100%;
			position: relative;
			padding: 10px 0;
			text-align: center;
			background-color: #4b403e;
			border-right: none;
			border-bottom: 3px solid #2c1d1d;
		  }

		  .sidebar a {
			display: inline-block;
			margin: 8px 12px;
			font-size: 1.1em;
		  }

		  /* Main Content Container */
		  .main-content {
			width: 100%;
			padding: 20px;
			box-sizing: border-box;
			text-align: center;
		  }

		  /* Panels */
		  .panel {
			width: 90%;
			margin: 15px auto;
			padding: 15px;
			box-sizing: border-box;
			text-align: center;
		  }
		.hero-header {
			height: 200px;
			background-size: cover;
			background-position: center;
			margin-bottom: 0;
			padding: 0;
			border-bottom: none;
		}
			/* Responsive image scaling */
		  img {
			max-width: 100%;
			height: auto;
		  }

		  /* Buttons or links styled like navbar */
		  .btn-discord,
		  .styled-link {
			display: inline-block;
			background-color: #2c1d1d;
			color: #d3b179;
			padding: 8px 12px;
			margin-top: 10px;
			text-decoration: none;
			border-radius: 5px;
			box-shadow: 2px 2px 5px #000;
		  }

		  .btn-discord:hover,
		  .styled-link:hover {
			background-color: #3b2a2a;
			color: #fff2c6;
		  }

		  /* iframe scaling */
		  iframe {
			width: 100%;
			height: 80vh;
			border: none;
		  }
				  
		.hamburger {
			background-color: #2c1d1d; /* Match navbar background */
 			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: flex-end;
			width: 100%;
			padding: 10px 20px;
			cursor: pointer;
			z-index: 1000;
		}

		.hamburger .bar {
			width: 25px;
			height: 3px;
			background-color: #c2a85c;
			margin: 4px 0;
			box-shadow: 1px 1px 2px #000;
		}

		/* Mobile nav menu (hidden by default) */
		.mobile-nav {
			display: none;
			flex-direction: column;
			background-color: #2c1d1d;
			padding: 20px;
			position: absolute;
			top: 60px;
			right: 10px;
			width: 200px;
			box-shadow: 0 4px 10px rgba(0,0,0,0.5);
			border: 1px solid #5b4332;
		}

		.mobile-nav a {
			color: #c2a85c;
			padding: 10px 0;
			text-decoration: none;
			font-family: 'MedievalSharp', cursive;
			font-size: 18px;
			text-shadow: 1px 1px 2px black;
		}

		/* Show menu when active */
		.mobile-nav.active {
			display: flex;
		}

}