:root {
    --RPFGold: #B99B6C;  /* Gold Main */
    --RPFGoldHoover : #b79530; /* Gold Hoover */
    --RPFGrey: #333844;  /* Grey */
    --RPFDark: #21212c;  /* Dark Grey */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--RPFDark);
    color: #ffffff;
    font-family: 'Arial', sans-serif;
}

body.maintenance-open {
  overflow: hidden;
}

.maintenance-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, rgba(185,155,108,0.15), rgba(0,0,0,0.65));
  z-index: 9999;
  padding: 24px;
}

.maintenance-card {
  width: min(720px, 100%);
  background: var(--RPFGrey);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 28px 24px;
  text-align: center;
}

.maintenance-card p {
  margin-top: 12px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.maintenance-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.maintenance-close {
    background: var(--RPFGold);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.maintenance-close:hover {
    background: var(--RPFGoldHoover);
}

.maintenance-hint {
  opacity: 0.85;
}

.container {
    margin-top: 50px;
}

nav {
    background: linear-gradient(90deg ,var(--RPFGold),var(--RPFGrey)) !important;
}

.nav-wrapper .brand-logo {
    font-weight: bold;
}

h3 {
    color: var(--RPFGold);
}

.btn {
    background-color: var(--RPFGold);
}

#filter {
    background-color: var(--RPFDark) !important;
    text-align: center;
}

/* Default tab styles */
.tabs .tab a {
    color: #ffffff !important; /* White text */
    font-weight: bold;
    text-align: center;
    transition: color 0.3s ease-in-out;
}

/* Hover effect */
.tabs .tab a:hover {
    color: var(--RPFGold) !important; /* Gold on hover */
}

/* Active tab (clicked and released) */
.tabs .tab a:focus, 
.tabs .tab a.active {
    color: var(--RPFGold) !important; /* Gold for active tab */
    background-color: var(--RPFGold)13 !important; /* Transparent gold */
    border-bottom: 3px solid var(--RPFGold) !important; /* Proper border */
}

.title{
    color: var(--RPFGold);
    font-weight: bold;
}

.title-left{
    color: var(--RPFGold);
    font-weight: bold;
    text-align: left;
}

.title-right{
    color: var(--RPFGold);
    font-weight: bold;
    text-align: right;
}

.title-center{
    color: var(--RPFGold);
    font-weight: bold;
    text-align: center;
}

.text-left{
    color: #ffffff;
    text-align: left;
}

.text-right{
    color: #ffffff;
    text-align: right;
}

.text-right li{
    color: #ffffff;
}

.text-left li{
    color: #ffffff;
}


.text-center{
    color: #ffffff;
    text-align: center;
}

/* Card Styles */
.card {
    background-color: var(--RPFGrey);
    color: #ffffff;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.card-title{
    background-color: var(--RPFDark);
    padding: 5px;
    border-radius: 5px;
}

.card:hover {
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
}

.card:not(:hover){
    transform: scale(1);
    transition: 0.3 ease-in-out;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background-color: var(--RPFGrey);
    color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    text-align: center;
    overflow: hidden; /* Prevents modal content from overflowing */
}


/* Scroll inside modal content only */
.modal-content {
    flex-grow: 1;
    overflow-y: auto; /* Enables scrolling inside modal */
    padding: 20px;
    max-height: 70vh;
}
body.modal-open {
    overflow: hidden;
}

/* Close Button */
.modal .modal-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    margin-top: 2%;
    background-color: var(--RPFDark); /* Match modal background */
}

.modal-close {
    background: var(--RPFGold);
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal-close:hover {
    background: var(--RPFGoldHoover);
}

/* Full-Page Blur Background */
.modal-active {
    position: fixed;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-container {
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
}

.project-container .media {
    flex: 1;
    text-align: center;
}

.text {
    flex: 2;
    color: #ffffff;
    padding: 20px;
}

h2 {
    font-size: 24px;
    color: #444;
}

h3 {
    font-size: 20px;
    color: #555;
}

ul {
    margin-left: 20px;
}

ul li {
    font-size: 16px;
    color: #666;
}