/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: url("img/mramm.png") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  box-sizing: border-box;
  backdrop-filter: blur(10px); /* adds blur */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

h1 {
  margin-bottom: 10px;
  font-size: 24px;
  color: #fff;
}

p {
  margin-bottom: 20px;
  color: #fffefe;
}

.social-links a {
  display: block;
  text-decoration: none;
  color: #fffafa;
  background: #7c0707;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.3s ease;
  font-size: 16px;
}

.social-links a:hover {
  background: #1d1d1d;
}

.social-links i {
  margin-right: 8px;
}

.main-footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: ;
  color: #696262;
  font-size: 0.9rem;
}
/* Header container */
.site-header {
  width: 100%;
  background-color: rgba(122, 0, 0, 0.85); /* semi-transparent red */
  backdrop-filter: blur(4px); /* subtle blur */
  -webkit-backdrop-filter: blur(4px); /* Safari support */
  display: flex;
  align-items: center;
  justify-content: center; /* center everything horizontally */
  gap: 60px; /* space between logo and nav */
  padding: 5px 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;
}

/* Logo */
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.site-header .logo img {
  width: 40px;
  height: 40px;
  object-fit: cover;  
  border-radius: 50%; 
  border: 2px solid #ffd700;
}


/* Navigation */
.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* Underline hover effect */
.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #000; /* gold */
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #000;
}

/* Push content down so it’s not behind fixed header */
.container {
  margin-top: 80px;
}

#preload {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(141, 133, 133, 0.3); /* translucent red */
  backdrop-filter: blur(8px);            /* blur the background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.preload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: 100px;
  height: auto;
  margin-bottom: 20px;
}

.spinner {
  border: 4px solid #7c0707;
  border-top: 4px solid #000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

/* Toast styling */
#toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background-color: rgba(255, 0, 0, 0.3); /* semi-transparent red */
  backdrop-filter: blur(8px);            /* blur effect */
  color: #fff;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Optional main content styling */
#main-content {
  padding: 40px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loaded #preload {
  display: none;
}

/* Responsive */
@media (max-width: 600px) {
  .site-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px 10px;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .nav-links a {
    font-size: 1rem;
  }
}


/* Responsive Styles */
@media (max-width: 600px) {
  .container {
    padding: 20px 15px;
  }

  .profile-pic {
    width: 100px;
    height: 100px;
  }

  h1 {
    font-size: 20px;
  }

  .social-links a {
    font-size: 14px;
    padding: 8px;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 15px 10px;
  }

  .profile-pic {
    width: 90px;
    height: 90px;
  }

  h1 {
    font-size: 18px;
  }

  .social-links a {
    font-size: 13px;
    padding: 7px;
  }
}
