@charset "utf-8";


html{
	background-color: black;
}
body {
	font-family: Verdana, Geneva, sans-serif;
	color: rgb(252, 121, 31);
	background-color: #111111;
	width: 100%;
	margin: 0 auto;
}
main{
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}
.section-divider{
	border: 0;
	height: 2px;
	background-color: rgb(252, 121, 31);
	margin: 40px 0;
}
figcaption{
	font-size: 0.8rem;
	font-weight: normal;
	letter-spacing: 0.5px;
}
/*Base header layout*/
.top-bar{
	background-color: black;
	border-bottom: 2px solid rgb(252, 121, 31);
}
header{
	display: flex;
    align-items: center;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px 25px;
}
header img{
	height: 80px;
	max-height: 100%;
	width: auto;
    margin-right: 15px;
}
.header-text h1{
	font-size: 2.25rem;
    color: white;
    margin: 0;
	line-height: 1.1;
}
.header-text h2 {
	font-size: 1.25rem;
	color: rgb(252, 121, 31);
    margin: 0;
    line-height: 1.1;
}
/*Base Nav layout*/
.nav-links{
	display: flex;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
nav ul {
	display: flex;
	gap: 30px;
	list-style-type: none;
	padding: 0;
	margin: 0;
}
nav a:hover {
	color: rgb(252, 121, 31);
}
nav a {
	display: block;
	line-height: 2.8em;
	text-align: center;
    padding: 0 15px;
	text-decoration: none;
	color: white;
	background-color: transparent;
	transition: color 0.3s ease;
}
nav{
	padding-left: 20px;
}
/*Homepage Hero Section*/
.hero-section{
	position: relative;
	width: 100%;
	height: 60vh;
	min-height: 350px;
	overflow: hidden;
}
.hero-image{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	display: block;
	filter: brightness(50%);
}
.hero-figure{
	margin: 0;
	padding: 0;
	position: relative;
	height: 100%;
	width: 100%;
}
.hero-figure figcaption{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	background-color: rgba(11, 11, 11, 0.75);
	z-index: 5;
	padding: 10px 15px;
	color: white;
}
.hero-text{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	width: 90%;
	max-width: 800px;
}
.hero-text h2{
	color: white;
	font-size: 3rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}
/*Homepage Intro columns*/
.intro-container{
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 20px;
}
.about-column h2, .train-column h2{
	font-size: 1.8rem;
	color: rgb(252, 121, 31);
	margin-bottom: 15px;
	text-transform: uppercase;
}
.about-column p, .train-column p{
	color: white;
	margin-bottom: 15px;
}
.train-column ul{
	list-style-type: square;
	padding-left: 20px;
	color: white;
}
.train-column li{
	margin-bottom: 10px;
}
.train-column strong{
	color: rgb(252, 121, 31);
}
/*Homepage Gallery Grid*/
.gallery-grid{
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	margin: 40px 0;
}
.gallery-item{
	position: relative;
	width: 100%;
	height: 250px;
	border: 1px solid #333333;
	overflow: hidden;
	margin: 0;
}
.gallery-item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.gallery-disclaimer{
	color: #aaaaaa;
	font-size: 0.8rem;
	text-align: center;
	margin-top: 15px;
	font-style: italic;
	letter-spacing: 0.3px;
}
/*Call to action button*/
.cta-container{
	text-align: center;
	margin: 50px 0;
}
.cta-button{
	display: inline-block;
	background-color: rgb(252, 121, 31);
	color: black;
	font-weight: bold;
	text-decoration: none;
	padding: 15px 35px;
	font-size: 1.2rem;
	border-radius: 4px;
	text-transform: uppercase;
	transition: background-color 0.2s ease, transform 0.1s ease;
}
.cta-button:hover{
	background-color: white;
	color: black;
	transform: translateY(-2px);
}
/*Program grid layout*/
.prog-grid{
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-top: 30px;
}
.prog-card{
	background-color: black;
	border: 1px solid #333333;
	border-radius: 6px;
	padding: 20px;
	text-align: center;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.prog-card h3{
	color: rgb(252, 121, 31);
	font-size: 1.5rem;
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 15px;
}
.prog-card p{
	color: white;
	line-height: 1.6;
	margin-top: 15px;
}
/*Program card img frame*/
.prog-img{
	width: 100%;
	max-width: 600px;
	margin: 0 auto 15px auto;
	border-radius: 4px;
	overflow: hidden;
}
.prog-img img{
	width: 100%;
	height: auto;
	max-height: 400px;
	display: block;
	margin: 0 auto;
	border: 1px solid #333333;
}
.prog-img figcaption{
	background-color: rgba(11, 11, 11, 0.75);
	text-align: center;
	padding: 8px 10px;
	color: white;
}
/* Styles for Class Schedule Table */
table{
	border: 5px solid rgb(252, 121, 31);
	color: black;
	background-color: rgb(3, 21, 85);
	margin-bottom: 50px;
	empty-cells: show;
}
th, td{
	width: 90px;
	height: 50px;
	text-align: center;
	vertical-align: middle;
}
thead th, tbody th {
	background-color: white;
}
tbody td{
	color: white;
}
tbody tr:nth-of-type(even){
	background-color: rgb(252, 121, 31);
}
tbody tr:nth-of-type(odd){
	background-color: black;
}
/*Belt Progression*/
.progression {
	margin-top: 50px;
}
.progression h2{
	font-size: 1.8rem;
	color: rgb(252, 121, 31);
	text-transform: uppercase;
	margin-bottom: 15px;
}
.section-intro{
	color: #dddddd;
	font-style: italic;
	margin-bottom: 30px;
}
.belt-list{
	color: white;
	padding-left: 20px;
	line-height: 1.8;
}
.belt-list li{
	margin-bottom: 15px;
	padding-left: 5px;
}
.belt-list strong{
	font-size: 1.1rem;
	display: inline-block;
	margin-right: 5px;
	text-transform: uppercase;
}
/*Belt progression text colors*/
.white{
	color: white;
}
.orange{
	color: orange;
}
.yellow{
	color: yellow;
}
.camo{
	color: #78866b ;
}
.green{
	color: green;
}
.purple{
	color:rgb(167, 63, 228);
}
.blue{
	color: rgb(50, 109, 238);
}
.brown{
	color: rgb(124, 98, 58);
}
.red{
	color: rgb(243, 39, 39);
}
.red-black{
	color: rgb(243, 39, 39);
	background-color: #222222;
	padding: 0 4px;
	border-radius: 2px;
}
.black{
	color: #ffffff;
	background-color: #222222;
	padding: 0 4px;
	border-radius: 2px;
}
/*Contact Page*/
.contact-container{
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-top: 30px;
}
/*Contact info column*/
.contact-info{
	background-color: black;
	border: 1px solid #333333;
	border-radius: 6px;
	padding: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.contact-info h3{
	color: rgb(252, 121, 31);
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 1.4rem;
}
.contact-info p{
	color: white;
	line-height: 1.6;
	margin: 12px 0;
}
.contact-info strong{
	color: rgb(252, 121, 31);
	margin-right: 5px;
}
.contact-info ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.contact-info li{
	color: white;
	margin-bottom: 12px;
	line-height: 1.6;
}
/*Contact Form*/
.contact-form-section{
	background-color: black;
	border: 1px solid #333333;
	border-radius: 6px;
	padding: 30px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.contact-form-section h3{
	color: rgb(252, 121, 31);
	text-transform: uppercase;
	margin-top: 0;
	margin-bottom: 25px;
	font-size: 1.4rem; 
}
/*Input fields*/
.form-group{
	margin-bottom: 20px;
}
.form-group label{
	display: block;
	color: rgb(252, 121, 31);
	font-size: 0.85rem;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 8px;
	letter-spacing: 0.5px;
}
.form-group input, .form-group select, .form-group textarea{
	width: 100%;
	padding: 12px;
	background-color: #111111;
	border: 1px solid #444444;
	color: white;
	font-size: 1rem;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
	border-color: rgb(252, 121, 31);
	outline: none;
	box-shadow: 0 0 5px rgba(252, 121, 31, 0.3);
}
.form-group textarea{
	resize: vertical;
}
/*Form Validation*/
.form-group input:required:user-invalid, .form-group select:required:user-invalid, .form-group textarea:required:user-invalid{
	border-color: #ff4d4d;
}
.form-group input:required:valid, .form-group select:required:valid, .form-group textarea:required:valid{
	border-color: #2ecc71;
}
.form-group input:required:valid:focus, .form-group select:required:valid:focus, .form-group textarea:required:valid:focus{
	box-shadow: 0 0 5px rgba(46, 204, 113, 0.4);
}
.form-group input:required:invalid:focus, .form-group select:required:invalid:focus, .form-group textarea:required:invalid:focus{
	box-shadow: 0 0 5px rgba(255, 77, 77, 0.4);
}
/*CTA button*/
.submit-button{
	display: inline-block;
	background-color: rgb(252, 121, 31);
	color: black;
	font-weight: bold;
	text-decoration: none;
	padding: 12px 30px;
	font-size: 1rem;
	border: none;
	border-radius: 4px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}
.submit-button:hover{
	background-color: white;
	color: black;
}

/*=============================================
  Mobile media query (screens up to 768px wide)
  =============================================*/
@media only screen and (max-width: 768px){

	header{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		padding: 10px 15px;
		box-sizing: border-box;
	}
	.logo-group{
		width: 75%;
		display: flex;
		align-items: center;
		text-align: left;
	}
	header img{
		margin-right: 12px;
		margin-bottom: 0;
		height: 65px;
	}
	.header-text{
		margin-bottom: 0;
		display: flex;
		flex-direction: column;
	}
	.header-text h1{
		font-size: 1.4rem;
		margin: 0;
		line-height: 1.1;
	}
	.header-text h2{
		font-size: 1.0rem;
		margin: 0;
		line-height: 1.1;
	}
	main{
		padding: 20px 15px;
	}
	.hero-text h2{
		font-size: 1.8rem;
		letter-spacing: 1px;
	}
	.hero-section{
		height: 45vh;
		min-height: 280px;
	}
	nav li{
		float: none;
		font-size: x-large;
		width: 100%;
		display: block;
	}
	nav a{
		border-bottom: solid black 1px;
	}
	.intro-container{
		gap: 25px;
	}
	.gallery-grid{
		grid-template-columns: 1fr;
		gap: 15px;
	}
	.gallery-item .img1, .gallery-item .img2, .gallery-item .img3, .gallery-item .img4{
		width: 100%;
		object-fit: cover;
	}
	.gallery-item .img1{
		object-position: center 40%;
	}
	.gallery-item .img2{
		object-position: center 50%;
	}
	.gallery-item .img3{
		object-position: center 20%;
	}
	.gallery-item .img4{
		object-position: center 50%;
	}
	.prog-grid{
		grid-template-columns: 1fr;
		gap: 25px;
	}
	.prog-img{
		max-width: 600px;
	}
	/* Hamburger Menu */
	.menu-container{
		position: relative;
		display: flex;
		justify-content: flex-end;
		align-items: center;
		width: 25%;
		align-self: stretch;
		box-sizing: border-box;
	}
	.hamburger{
		cursor: pointer;
		width: 30px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: 24px;
		padding: 5px;
		box-sizing: border-box;
		flex-shrink: 0;
	}
	.hamburger-bar{
		width: 100%;
		display: block;
		height: 3px;
		border-radius: 2px;
		background: rgb(255, 255, 255);
	}
	.hamburger-bar + .hamburger-bar{
		margin-top: 5px;
	}
	.nav-links{
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		left: auto;
		width: 200px;
		background-color: rgb(3, 21, 85);
		margin-top: 0;
		padding: 0;
		z-index: 10;
		box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
	}
	.menu-container:hover .nav-links{
		display: block;
	}
	/*responsive design for schedule table*/
	table{
		border: 2px solid rgb(252, 121, 31);
		width: 100%;
		margin-bottom: 30px;
	}
	th, td{
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}
	table, tbody, tr, td, th{
		display: block;
	}
	thead, tfoot{
		display: none;
	}
	tbody td, tbody th{
		position: relative;
		height: auto;
		padding: 12px 15px 12px 45%;
		text-align: right;
		border-bottom: 1px solid #222222;
	}
	td::before, tbody th::before{
		content: attr(data-label);
		position: absolute;
		top: 0;
		left: 0;
		padding: 12px 15px;
		width: 40%;
		font-weight: bold;
		color: rgb(252, 121, 31);
		text-align: left;
	}
	table caption{
		caption-side: top;
		text-align: center;
		font-size: 1.5rem;
		font-weight: bold;
		color: #ffffff;
		padding-top: 15px;
		padding-bottom: 15px;
		width: 100%;
		display: block;
	}
	tbody td:empty{
		display: block;
		height: 45px;
	}
    tbody tr:nth-of-type(odd) th {
        color: rgb(252, 121, 31);
    }
    tbody tr:nth-of-type(odd) td::before, 
    tbody tr:nth-of-type(odd) th::before {
        color: rgb(252, 121, 31);
    }
    tbody tr:nth-of-type(even) th {
        color: #000000;
    }
    tbody tr:nth-of-type(even) td::before, 
    tbody tr:nth-of-type(even) th::before {
        color: #000000;
    }
}

/*=============================================
  Desktop media query (screens 769px and wider)
  =============================================*/
@media only screen and (min-width: 769px){
	html{
		background-color: black;
	}
	.hamburger{
		display: none;
	}
    .top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: black;
        padding: 0 25px;
    }
	.logo-group{
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}
	.logo-group img{
		height: 65px;
		width: auto;
		display: block;
	}
	nav {
        width: auto;
    }
	.nav-links{
		display: flex;
		gap: 20px;
		list-style: none;
	}
	nav li{
		display: block;
		text-align: center;
		height: 2.8em;
	}
	table{
		width: 700px;
		margin-left: auto;
		margin-right: auto;
		border-collapse: separate;
		border-spacing: 10px;
		table-layout: fixed;
	}
	table caption {
		color: white;
		font-size: 2em;
	}
	th, td{
		width: 90px;
		height: 50px;
		text-align: center;
		vertical-align: middle;
	}
	thead th, tbody th {
		background-color: white;
	}
	tbody td{
		color: white;
	}
	.intro-container{
		flex-direction: row;
	}
	.about-column, .train-column{
		flex: 1;
	}
	.gallery-grid{
		grid-template-columns: repeat(4, 1fr);
	}
	.prog-grid{
		grid-template-columns: repeat(3, 1fr);
	}
	.belt-list{
		display: block;
		column-count: 2;
		column-gap: 60px;
	}
	.belt-list li{
		margin-bottom: 15px;
	}
	.contact-container{
		flex-direction: row;
		align-items: flex-start;
	}
	.contact-info{
		flex: 2;
	}
	.contact-form-section{
		flex: 3;
	}
}