/* Evennia CSS styles for the game website */


/* If you for some reason need to override the default sizing model,
   for instance, if you're using a Google Maps widget, you may need
   to use the following code, see:
   http://v4-alpha.getbootstrap.com/getting-started/introduction/#box-sizing */
/*
.selector-for-some-widget {
  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
}
*/

/* Custom fonts
-------------------------------------------------- */

/* Tektur */
@font-face {
  font-family: 'Tektur';
  src: url('../fonts/Tektur-VariableFont.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Rubik */
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Rubik';
  src: url('../fonts/Rubik-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Font families */
  --heading-font: 'Tektur', sans-serif;
  --body-font: 'Rubik', sans-serif;
  
  /* Keep your font variables for weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-bold: 700;

  --primary-color: #2de1c2;
  --secondary-color: #464d77;
  --dark-background: #353847;
  --text-color: #353847;
  --link-color: #21a48d;

  /* Semi-transparent colors */
  --primary-color-10: rgba(45, 225, 194, 0.1);
  --primary-color-20: rgba(45, 225, 194, 0.2);
  --primary-color-50: rgba(45, 225, 194, 0.5);
}

/* Typography
-------------------------------------------------- */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: var(--weight-bold);
  font-variation-settings: 'wght' var(--weight-bold), 'wdth' 100;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

/* Paragraphs and general text */
p, ul, ol, li, table, form {
  font-family: var(--body-font);
  font-size: 1rem;
  line-height: 1.5;
}

/* Special text styles */
.lead {
  font-size: 1.25rem;
  font-family: var(--body-font);
  font-weight: var(--weight-medium);
}

.text-small {
  font-size: 0.85rem !important;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: var(--weight-bold);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Navbar and bootstrap elements */
.navbar, .nav-link, .dropdown-item {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-variation-settings: 'wght' var(--weight-medium), 'wdth' 110;
}

/* Navbar link styling */
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.90);
  transition: color 0.2s ease, transform 0.1s ease;
  padding: 0.5rem 1rem;
  margin: 0 0.1rem;
}

/* Hover state */
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--primary-color);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Active state */
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-item.active .nav-link {
  color: var(--primary-color);
  font-variation-settings: 'wght' var(--weight-bold), 'wdth' 100;
}

/* Focus state (for accessibility) */
.navbar-dark .navbar-nav .nav-link:focus {
  color: #ffffff;
  outline: none;
  box-shadow: none;
  text-decoration: underline;
}

/* Dropdown menu styling */
.navbar-dark .dropdown-menu {
  background-color: var(--dark-background);
  border: none;
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-top: 0.5rem;
}

.navbar-dark .dropdown-item {
  color: rgba(255, 255, 255, 0.90);
  font-family: var(--heading-font);
  font-variation-settings: 'wght' var(--weight-medium), 'wdth' 100;
  padding: 0.5rem 1.5rem;
}

.navbar-dark .dropdown-item:hover,
.navbar-dark .dropdown-item:focus {
  color: var(--primary-color);
  background-color: var(--primary-color-10);
  text-decoration: none;
}

.card-title {
  font-family: var(--heading-font);
  font-variation-settings: 'wght' var(--weight-bold), 'wdth' 90;
}

.card {
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.btn, .btn-info {
  font-family: var(--heading-font);
  font-variation-settings: 'wght' var(--weight-bold), 'wdth' 90;
  color: var(--dark-background);
  background-color: var(--primary-color);
  border: none;
}
.btn:hover, .btn-info:hover {
  background-color: var(--secondary-color);
  color: #ffffff;
  border: none;
}

/* Pagination styles */
/* Active state (selected page) */
.page-item.active .page-link {
  background-color: var(--primary-color);
  color: var(--dark-background);
  border-color: var(--primary-color);
  font-weight: var(--weight-bold);
}

/* Normal page links */
.page-link {
  color: var(--primary-color);
  background-color: transparent;
  border: 1px solid var(--primary-color-20);
  transition: all 0.2s ease;
}

/* Hover state */
.page-link:hover {
  color: var(--dark-background);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  text-decoration: none;
}

/* Focus state - for accessibility */
.page-link:focus {
  box-shadow: 0 0 0 0.2rem var(--primary-color-20);
  outline: none;
}

/* Disabled state */
.page-item.disabled .page-link {
  color: rgba(255, 255, 255, 0.5);
  background-color: transparent;
  border-color: var(--primary-color-10);
}

/* List Group Styles */
.list-group-item {
  background-color: none;
  border: 1px solid rgba(70, 77, 119, 0.2);
  color: var(--link-color);
}

.list-group-item.active {
  z-index: 2;
  color: var(--dark-background);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.list-group-item:hover {
  background-color: var(--primary-color-10);
}

.list-group-item-action:hover {
  color: var(--primary-color);
}

.list-group-item-action:active,
.list-group-item-action:focus {
  color: var(--dark-background);
  background-color: var(--primary-color);
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
  font-size: 18px;
}

body {
  background: radial-gradient(circle at 0% 0%, var(--primary-color) 5%, var(--secondary-color) 100%);
  background-color: var(--dark-background);
  font-family: var(--body-font);
}

/* Replace your current navbar collapse CSS with this */
.navbar .navbar-collapse {
  display: flex;
  justify-content: center;
}

/* Add these crucial mobile fixes */
@media (max-width: 1000px) {
  .navbar .navbar-collapse {
    display: none; /* Override flex display on mobile */
  }
  
  .navbar .navbar-collapse.show {
    display: flex !important; /* Only show when toggled */
    flex-direction: column;
  }
  
  .navbar-nav {
    margin: 0;
    text-align: center;
    width: 100%;
  }
}

/* Fix for collapsing state */
.navbar .collapsing {
  display: none;
}

.navbar-brand-logo {
  height: 63px;
  width: 250px;
  margin-top: -5px;
}

/* Default Colors */
.navbar {
  background-color: var(--dark-background);
}

.container.main-content {
  margin-bottom: 3rem; /* Add space before footer */
}

/* Modern footer styling */
.footer {
  background-color: var(--dark-background);
  width: 100%;
  padding: 1rem 0;
}

.footer .copyright-text {
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--primary-color) !important;
  text-decoration: none;
}


/* Fancy play - button */
a.playbutton {
	/*box-shadow: 0px 1px 10px 5px #9fb4f2;*/
	/*background:linear-gradient(to bottom, #7892c2 5%, #476e9e 100%);*/
	background-color: var(--dark-background);
	border-radius:100px;
	/*border:1px solid #4e6096;*/
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family: var(--heading-font);
	font-size:19px;
	padding:14px 37px;
	text-decoration:none;
	/*text-shadow:0px 1px 0px #283966;*/
}
a.playbutton:hover {
	background: radial-gradient(circle at 0% 0%, var(--link-color) 0%, var(--secondary-color) 75%);
	background-color: var(--dark-background);
  color: #ffffff;
}
a.playbutton:active {
	position:relative;
	top:1px;
}
