/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body & Background */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #2e004f, #4b006b);
    color: #fff;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 10;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.login-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}
.contact-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
}

.policy-container h1 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #ee5f6b;
}

.policy-container h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #ee5f6b;
}

.policy-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    list-style-type: disc;
}

.policy-container li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

footer a {
    color: #ee5f6b;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

main {
    flex: 1;
}

.contactBox{
 max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    background-color: #2e004f;
}

.contactBox:hover {
    background: rgba(127, 20, 131, 0.2);
}
.contactButton{
    width: 1cm;
    height:1cm;
}
.news-container{
 max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    background-color: #2e004f;
}
.comingsoontemp{
    size: 1%;
}


/* TEMP COMING SOON*/


  .coming-soon::after {
    content: '...';
    display: inline-block;
    width: 1em;
    text-align: left;
    animation: dots 1s steps(3, end) infinite;
  }

  @keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
  }

  .comingsoontemp{
    size: 1%;
}

/* Shift grid layout */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Individual shift card styling (optional enhancement) */
.shift-card {
    background: #3b006b;
    border-radius: 12px;
    padding: 1rem;
    transition: 0.3s;
}

.shift-card:hover {
    background: rgba(127, 20, 131, 0.3);
    transform: translateY(-3px);
}

.profile-container {
    position: relative;
    display: inline-block;
}

.profile-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  transition: transform 0.3s ease;
}


.profile-btn:hover {
    transform: scale(1.05);
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 60px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    min-width: 150px;
    z-index: 100;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}



.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 220px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding-top: 4rem;
    z-index: 5;
}

.sidebar nav ul {
    list-style: none;
}

.sidebar nav ul li {
    margin: 1rem 0;
}

.sidebar nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: 0.3s;
}

.sidebar nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}


/* Sidebar hidden by default */
.sidebar {
  width: 60px; /* collapsed width */
  transition: width 0.3s ease;
  overflow-x: hidden;
}

/* Expand on hover */
.sidebar:hover {
  width: 220px; /* full width */
}

/* Adjust nav items visibility */
.sidebar nav ul li a {
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar:hover nav ul li a {
  opacity: 1;
}


.dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.profile-container:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


.dropdown-menu {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================
   Homepage additions (non-destructive)
   These rules augment your existing stylesheet for the home page:
   - hero section styles
   - reusable .button used by the hero CTA
   - feature-grid and feature-card styles
   - small accessibility/focus helpers
   - responsive main margin to make room for the sidebar
   ========================= */

/* Hero section (scoped; won't override unrelated pages unless they use .hero) */
.hero {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, rgba(59,0,107,0.95), rgba(238,95,107,0.95));
    color: #fff;
    border-radius: 12px;
    margin: 1.5rem 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* small subtitle helper */
.hero-sub {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.5;
}

/* CTA button for hero (scoped) */
.button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1rem;
    background: #fff;
    color: #2e004f;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.12s ease;
}

.button:hover {
    transform: translateY(-2px);
}

/* Features grid & cards */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.feature-card {
    background: rgba(255,255,255,0.03);
    padding: 1.75rem;
    border-radius: 12px;
    text-align: center;
    min-height: 140px;
}

/* Generic content block wrapper for home page sections */
.content-block {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Make room for sidebar on wide screens (non-destructive) */
@media (min-width: 900px) {
    main {
        margin-left: 220px;
    }
}

/* Slight focus ring for keyboard users on profile button */
.profile-btn:focus {
    outline: 3px solid rgba(238,95,107,0.18);
    outline-offset: 2px;
    transform: scale(1.03);
}

/* Improve schedule grid for smaller widths on home page */
.schedule-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Ensure JS toggled .dropdown-menu.show works even with previous rules */
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* small utility used on home */
.hero .hero-sub,
.feature-card p,
.content-block p {
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
}




/* Contacts grid */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Contact card */
.contact-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.03);
  padding: 0.9rem;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 86px;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

.contact-pfp {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  background: #222;
}

.contact-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-name {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  color: #fff;
}

.contact-role {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.35rem;
}

.contact-notes {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.45rem;
}

/* Action links/buttons inside card */
.contact-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

.contact-btn {
  display: inline-block;
  padding: 0.4rem 0.6rem;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.12s ease, transform 0.08s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.12);
}

/* Add contact form (keeps look consistent with site) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="search"],
.contact-form textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.02);
  color: #fff;
  outline: none;
  transition: box-shadow 0.12s ease, border-color 0.12s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(238,95,107,0.9);
  box-shadow: 0 0 0 4px rgba(238,95,107,0.06);
}

/* Controls row spacing */
.contact-controls { margin-bottom: 0.5rem; }

/* Responsive tweaks */
@media (max-width: 640px) {
  .contact-card { gap: 0.6rem; }
  .contact-pfp { width: 56px; height: 56px; }
  .contacts-grid { gap: 0.75rem; }
}

/* Keep .content-block spacing consistent */
.content-block { padding-top: 0.75rem; padding-bottom: 0.75rem; }




/* Modal: append to style.css (non-destructive, scoped) */
#contact-modal.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000; /* high so it sits above footer/sidebar */
  pointer-events: auto; /* allow interactions when visible */
}

#contact-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

#contact-modal .modal-content {
  position: relative;
  max-width: 760px;
  width: calc(100% - 2rem);
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  color: #fff;
  transform: translateY(12px) scale(0.99);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
  pointer-events: auto;
}

/* open state */
#contact-modal.open {
  pointer-events: auto;
}
#contact-modal.open .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* hidden fallback to be explicit in case browser default hidden style is interfering */
#contact-modal[hidden] {
  display: none !important;
}