@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* JavaScript Theme - Premium Version */
:root {
  --primary-color: #F7DF1E;
  /* Famous JS Yellow */
  --secondary-color: #000000;
  /* Pure Black */
  --accent-color: #F7DF1E;
  --dark-color: #111111;
  --card-bg: #1A1A1A;
  --light-text: #FFFFFF;
  --grey-text: #A0A0A0;
  --glass-bg: rgba(0, 0, 0, 0.85);
  --border-color: rgba(247, 223, 30, 0.15);
  --glow-color: rgba(247, 223, 30, 0.2);
}

body {
  background-color: var(--secondary-color);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(247, 223, 30, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(247, 223, 30, 0.08) 0%, transparent 40%),
    linear-gradient(rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 1) 100%);
  background-attachment: fixed;
  color: var(--light-text);
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom navbar styling */
.custom-navbar {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(20px);
  border-bottom: 3px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  height: 80px;
}

/* JS Logo inspired Branding */
.navbar-brand strong {
  background: var(--primary-color);
  color: var(--secondary-color) !important;
  padding: 4px 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  border-radius: 2px;
  margin-left: 5px;
  box-shadow: 4px 4px 0 rgba(255, 255, 255, 0.2);
  display: inline-block;
  transform: rotate(-1deg);
  transition: all 0.3s ease;
}

.navbar-brand:hover strong {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.3);
}

.custom-navbar .navbar-item {
  color: var(--light-text) !important;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-navbar .navbar-item:hover {
  background-color: transparent !important;
  color: var(--primary-color) !important;
}

.custom-navbar .navbar-item i {
  color: var(--primary-color);
}

/* Fix mobile menu visibility */
.custom-navbar .navbar-menu {
  background-color: var(--dark-color) !important;
}

.custom-navbar .navbar-burger span {
  background-color: var(--primary-color);
  height: 3px;
}

/* Main content spacing */
.main-content {
  padding-top: 120px;
}

/* Profile Image Adjustments */
.profile-sidebar .image {
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(247, 223, 30, 0.1);
  border: 3px solid var(--primary-color);
  padding: 5px;
  background: var(--dark-color);
  border-radius: 50%;
  width: 140px;
  /* Enforced size */
  height: 140px;
  /* Enforced size */
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.profile-sidebar .image img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fix for Button Visibility */
.button.is-text {
  color: var(--primary-color) !important;
  text-decoration: none !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  background: transparent !important;
  padding-left: 0;
}

.button.is-text:hover {
  color: white !important;
  background: transparent !important;
}

h1.title {
  color: var(--primary-color) !important;
  font-weight: 900;
  font-size: 3.5rem;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 3rem !important;
  text-shadow: 0 0 20px rgba(247, 223, 30, 0.3);
}

.title:not(.has-text-primary) {
  color: var(--light-text) !important;
}

/* Profile cards */
.profile-card {
  background: var(--card-bg);
  border-radius: 0;
  /* Square edges feel more "JS logo" */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--border-color);
  overflow: hidden;
  position: relative;
}

.profile-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 40px rgba(247, 223, 30, 0);
  transition: box-shadow 0.5s ease;
  pointer-events: none;
}

.profile-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary-color);
}

.profile-card:hover::after {
  box-shadow: inset 0 0 30px var(--glow-color);
}

.profile-card .media-content .title {
  color: var(--primary-color) !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.profile-card .subtitle {
  color: var(--grey-text) !important;
  font-weight: 500;
}

.profile-card .content {
  color: var(--light-text) !important;
  margin-top: 1rem;
}

.profile-card .content p {
  color: var(--light-text) !important;
  font-weight: 500;
}

/* Custom button styling */
.button.is-primary {
  background-color: var(--primary-color);
  border: none;
  color: var(--secondary-color) !important;
  font-weight: 800;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 6px 6px 0 rgba(255, 255, 255, 0.1);
}

.button.is-primary:hover {
  background-color: white;
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--primary-color);
}

/* Custom tag styling */
.tag.is-primary {
  background-color: #222 !important;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  border: 1px solid var(--primary-color) !important;
  border-radius: 3px;
  padding: 0.5rem;
}

/* Pagination styling */
.pagination-link,
.pagination-previous,
.pagination-next {
  background-color: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--light-text) !important;
  border-radius: 0 !important;
}

.pagination-link.is-current {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--secondary-color) !important;
  font-weight: 800;
}

/* Profile page specific styles */
.profile-sidebar,
.profile-main,
.about-section,
.form-container,
.search-container {
  background: var(--card-bg);
  border-radius: 4px;
  padding: 3rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  border: 1px solid var(--border-color);
}

.contact-icons a,
.code-icons a,
.social-icons a {
  color: var(--primary-color);
  font-size: 2rem;
  margin-right: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-icons a:hover,
.code-icons a:hover,
.social-icons a:hover {
  color: white;
  transform: scale(1.3) rotate(5deg);
}

/* Skill Tags - Clean Hacker Aesthetic */
.skill-tag {
  background-color: rgba(247, 223, 30, 0.1);
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin: 0.25rem;
  display: inline-block;
  transition: all 0.2s ease;
  border-left: 3px solid var(--primary-color);
}

.skill-tag:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateX(5px);
}

.skills-container,
.availability-container,
.work-type-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* Category Headers in Sidebar */
.profile-sidebar h3,
.profile-sidebar .title.is-5,
.profile-sidebar p strong {
  color: var(--primary-color) !important;
  font-size: 0.9rem !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem !important;
  margin-top: 2rem !important;
}

.profile-sidebar h3 i,
.profile-sidebar .title.is-5 i {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Specific Tags for Work/Availability */
.work-type-tag,
.availability-tag {
  background-color: #222;
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.work-type-tag:hover,
.availability-tag:hover {
  border-color: var(--primary-color);
}

/* Form styling */
.input,
.textarea,
.select select {
  background-color: #0c0c0c !important;
  border: 2px solid var(--border-color) !important;
  color: var(--light-text) !important;
  border-radius: 0 !important;
  transition: all 0.3s ease;
}

.input:focus,
.textarea:focus,
.select select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 20px rgba(247, 223, 30, 0.2) !important;
}

/* Footer styling */
.footer {
  background: var(--secondary-color) !important;
  border-top: 4px solid var(--primary-color);
  color: var(--grey-text);
  padding: 5rem 1.5rem 4rem;
  margin-top: 8rem;
}

.footer .title {
  color: var(--primary-color) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.footer .social-links a {
  color: var(--primary-color);
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  color: white;
  transform: translateY(-5px);
}

.footer .content a {
  color: var(--primary-color) !important;
  transition: all 0.3s ease;
}

.footer .content a:hover {
  color: white !important;
}

/* Global Content Links */
.content a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: all 0.3s ease;
}

.content a:hover {
  color: white;
}

/* Utility overrides */
.has-text-primary {
  color: var(--primary-color) !important;
}

.has-text-white {
  color: var(--light-text) !important;
}

.has-text-grey {
  color: var(--grey-text) !important;
}

hr {
  background-color: var(--primary-color) !important;
  height: 2px !important;
  opacity: 0.3;
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card,
.profile-sidebar,
.profile-main,
.form-container,
.about-section,
.search-container {
  animation: slideUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) both;
}