/* Default colors */
:root {
    --primary: #f39c12;
    --primary-dark: #d35400;
    --bg-main: #0b0b0d;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-main: #f5f5f5;
    --text-muted: #cfcfcf;
}

/* Whole body */
body {
    background: var(--bg-main);
    color: var(--text-main);
}

/* Navbar */
.navbar {
    background: #111;
    border-bottom: 2px solid var(--primary);
}

/* Hero */
.hero {
    height: 420px;
    background: linear-gradient(135deg, #111, #000);
}

/* H1 titles */
.hero h1 {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(243,156,18,0.6);
}

/* Section Titles */
.section-title {
    color: var(--primary);
    font-weight: bold;
}

/* Server box Frosted Glass */
.server-box {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 30px;
    border: 2px solid rgba(243,156,18,0.2);
    transition: 0.4s ease;
    position: relative;
}

/* Server box border pulse */
.server-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary), transparent, var(--primary));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: pulseBorder 3s linear infinite;
    pointer-events: none;
}

/* Pulsing border for server boxes */
@keyframes pulseBorder {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* Hover for server boxes */
.server-box:hover {
    box-shadow: 0 0 25px rgba(243,156,18,0.4);
}

.text-muted-custom {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Footer */
footer {
    margin-top: 60px;
    padding: 20px;
    background: #111;
    border-top: 2px solid var(--primary);
    text-align: center;
}

/* Fullcalendar */
/* Allow event titles to wrap */
.fc-daygrid-event .fc-event-title {
  white-space: normal !important;
}

/* Allow the whole event to expand */
.fc-daygrid-event {
  white-space: normal !important;
}

/* Wrap calendar in Bootstrap card */
#calendar {
  background: #111;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.1);
}

/* Events */
.fc-event {
  background: #f39c12  ;
  border: none;
  border-radius: 0.75rem;
  padding: 2px 6px;
}

/* Buttons */
.fc-button {
  background: #f39c12 !important;
  border: none !important;
}

/* Change link color (text) from blue to white */
#calendar a {
  color: #ffffff !important;
}