/* Reset & fonts */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #0b0f1a;
  color: white;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #111827;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom:2px solid #FF9031;
}
.logo {
  font-weight: bold;
  font-size: 1.3rem;
  vertical-align:middle;
}

.logo img{
	vertical-align:middle;
	height:75px;
	width:75px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #38bdf8;
}
.client-button {
  background-color: #1f2937;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.client-button:hover {
  background-color: #374151;
}

.orders{
	background:#4C53FF;
	border-radius:0.5rem;
	padding:0.4rem 1rem;
	transition:background 0.3s;
}

/* Navbar Mobile */

/* Hamburger Base Style */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  transition: 0.4s ease;
}

/* Toggle Animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(40deg) translate(8px, 8px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-40deg) translate(8px, -8px);
}



/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
  background: url('https://www.transparenttextures.com/patterns/stardust.png'), radial-gradient(#1e293b, #0f172a);
}
.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-button {
  background-color: #2563eb;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}
.cta-button:hover {
  background-color: #1e40af;
}

/* Features Section */
.features {
  display: grid-template-columns;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background-color: #111827;
  border-top:2px solid #FF9031;
}
.card {
  background-color: #1f2937;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  margin:10px auto;
  transition: transform 0.3s ease;
  text-align:center;
  width:85%;
}
.features form{
	width:100%;
	text-align:Center;
}
#searchBox{
	width:80%;
	margin:auto;
	padding:5px 10px;
	font-size:2.1rem;
	border-radius:3px;
	border:1px solid orange;
	font-weight:200;
}

.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: #38bdf8;
}
.card p {
  font-size: 0.95rem;
  color: #d1d5db;
}

.card.gamelist {
  color: white;
}

.game-grid {
  margin:0 auto;
  margin-top: 10px;
  justify-content: center;
}

.game-grid > div {
  width: 15rem;
  min-height: 25rem;
  background-color: #1a1a1a;
  vertical-align:top;
  display: inline-block;
  justify-content: center;
  padding: 0px;
  margin:10px auto;
  border-radius: 8px;
  transition: 0.2s ease;
}

.game-grid > div:hover{
	transform:translateY(-10px);
}

.game-grid span {
  display: block;
  font-size:1.9rem;
  color:#ffffff;
  background:rgba(0,0,0,0.95);
  border-radius:5px 5px 0 0;
  width:100%;
  min-height:30%;
  vertical-align:middle;
}

.gamelist:hover{
	transform:none;
}

.show_games{
	border:none;
	background:transparent;
	color:#ffffff;
	padding:5px 20px;
	transition:0.2s ease;
	font-size:1.5rem;
}

.show_games:hover{
	background:transparent;
	color:#38bdf8;
	transition:0.2s ease;
}
.home{
	display:grid;
	
}

#gamelist{
	margin:10px 0;

}

#gamelist > div{
	display:inline-block;
	width:20rem;
	background:#1a1a1a;
	vertical-align:top;
	border-radius:5px;
	height:25rem;
	gap:10px;
	padding:0px;
	margin:5px auto;
	transition:all 0.2s ease;
	border-radius:5px;
}

#gamelist > div{
	background:url('../images/Logo.png');
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center;
	cursor:pointer;
}

#gamelist > div:hover{
	transform:translateY(-10px);
	transition:all 0.2s ease;
}

#gamelist > div >span{
	vertical-align:bottom;
	border-radius:5px 5px 0 0;
	font-size:1.5rem;
	display:block;
	min-height:30%;
	background:rgba(0,0,0,0.95);
	padding:10px;
}



/* Footer Section */

footer{
	padding:1.2rem;
	text-align:center;
}

footer > .smalltext{
	font-size:10pt;
}


.largeText{
	font-size:2.2rem !important;
}

/* Order Dialog */

#order-dialog{
	position:fixed;
	left:0;
	right:0;
	top:0;
	bottom:0;
	background:rgba(0,0,0,0.9);
	z-index:1002;
}

#orderForm{
	position:absolute;
	left:50%;
	top:50%;
	transform: translate(-50%, -50%);
	width:50%;
	margin:0 auto;
	padding:10px;
	background:#1f2937;
	border-radius:8px;
}

#orderForm > h1, #orderForm > h2, #orderForm > h3, #orderForm > h4, #orderForm > h5, #orderForm > h6{
	text-align: center;
}

.form-group{
	text-align:left;
}

.form-group > label{
	display:block;
	padding-top:10px;
	font-weight:800;
}

.form-group > input[type=submit]{
	float:right;
	background-color: #4f46e5;
    color: white;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    border: none;
    margin:5px;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}



.form-group > input[type=button]{
	float:right;
	background-color:#c13333;
	color:white;
	padding:0.9rem 2rem;
	margin:5px;
	font-size:1rem;
	border: none;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: background 0.3s ease;
}

.form-group > input[type=button]:hover{
	background-color: #374151;
}

.form-group > input[type=submit]:hover{
	background-color: #374151;
}

.form-group > select,.form-group > textarea,.form-group > input[type=email],.form-group > input[type=text]{
	width:100%;
	border-radius:0.5rem;
	border:1px solid #374151;
	font-size:1rem;
	padding:0.8rem;
}

.summary{
	background: #111827;
    padding: 1.5rem;
    margin-top: 5rem;
    border-radius: 0.75rem;
    border: 1px solid #4f46e5;
}

.summary > ul{
	list-style-type:none;
}

.summary > ul > li{
	text-indent:0.9rem;
}

.g-recaptcha{
	margin:5px;
}


/* Responsive Nav */
@media only screen and (max-width: 600px) {
  .menu-toggle {
    display: flex;
  }
  
  #searchBox{
  	padding:10px 20px;
  	font-size:1.2em;
  }
  
  #gamelist > div{
  	display:block;
  	width:100%;
  	margin:10px auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: #111827;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }

  .nav-links a:hover {
    color: #38bdf8;
  }
  
  #order-dialog{
  	position:fixed;
  	top:0;
  	left:0;
  	padding:20px;
  	
  }
  
  #orderForm{
  	width:100%;

  }
}
