/* --- Google Fonts Import --- */

@font-face {
  font-family: outfit;
  src: url("/assets/fonts/Outfit/Outfit-VariableFont_wght.ttf");
}

:root {
  --font-family-primary: 'outfit', 'Segoe UI', sans-serif;
  --outfit-font-family: 'outfit', 'Segoe UI', sans-serif;
  --noto-serift-font-family: 'noto-serift', 'Segoe UI', sans-serif;
}

/* ---------------------------------------------- General Responsive Section ---------------------------------------------- */

html {
  min-height: 100%;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  font-family: outfit;
  background-color: #465460;
  /* Primary Dark */
  background: linear-gradient(180deg, #465460 1%, #2c2c2c);
  color: #f3f3f3;
  /* Light Background */
  margin: 0px;
  padding: 0px;
}

/* ---------------------------------------------- Page Progress bar ---------------------------------------------- */

#bar {
  width: 0vw;
  height: 0.2vh;
  transition: all linear .2s;
  background-color: rgb(114, 165, 73);
  box-shadow: 0 0 10px 0px rgb(205, 255, 119);
  position: fixed;
  top: 0;
  z-index: 100;
}


/* ::-webkit-scrollbar{
  width: 0px;
} */




/* Top Header Section ------------------------------------------------------------------------------------------ */
.header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
  background-color: #242222;
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  /* -webkit-mask-image: url("assets\\images\\textures\\grainy.png");
  mask-image: url("assets\\images\\textures\\grainy.png"); */
}

.profile-container {
  display: flex;
  align-items: center;
  max-width: 600px;
  width: 100%;
  z-index: 9999;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 40px;
  border: 4px solid #ffba4c;
  /* Primary Accent */
}

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

.intro {
  flex: 1;
}

.intro h1 {
  margin: 0 0 10px;
  font-size: 2em;
  color: #f0f0f0;
  /* Light Background */
}

.intro p {
  margin: 0 0 20px;
  font-size: 1.1em;
  color: #778DA9;
  /* Secondary Accent */
  max-width: 400px;
}


.social-buttons-grid {
  display: flex;
  gap: 10px;
  justify-content: space-around;
}

/* Make buttons flexible and responsive */
.social-button {
  position: relative;
  flex: 1 1 60px;
  /* Allows shrinking/growing with a base width */
  max-width: 60px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background: linear-gradient(180deg, #282828, #202020);
  box-shadow:
    inset -8px 0 8px rgba(0, 0, 0, 0.15),
    inset 0 -8px 8px rgba(0, 0, 0, 0.25),
    0 0 0 2px rgba(0, 0, 0, 0.75),
    10px 20px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease-in-out;
  transition: box-shadow 0.25s ease, transform 0.05s ease-in-out;
}

.social-button::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  bottom: 14px;
  right: 12px;
  background: linear-gradient(90deg, #232323, #4a4a4a);
  border-radius: 10px;
  box-shadow:
    -10px -10px 10px rgba(255, 255, 255, 0.25),
    10px 5px 10px rgba(0, 0, 0, 0.15);
  border-left: 1px solid #0004;
  border-bottom: 1px solid #0004;
  border-top: 1px solid #0009;
  transition: all 0.1s ease-in-out;
  z-index: 0;
}

/* Responsive icon sizing */
.social-button img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  z-index: 1;
  position: relative;
  pointer-events: none;
  align-self: flex-start;
  margin-top: 12%;
  margin-left: -8%;
}

/* ✨ Glow effect on hover */
.social-button:hover {
  box-shadow:
    inset -8px 0 8px rgba(0, 0, 0, 0.15),
    inset 0 -8px 8px rgba(0, 0, 0, 0.25),
    0 0 10px 2px rgba(255, 255, 255, 0.2),
    0 0 20px 4px rgba(255, 255, 255, 0.1),
    10px 20px 25px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/* Pressed effect */
.social-button:active {
  transform: translateY(2px);
  box-shadow:
    inset -4px 0 4px rgba(0, 0, 0, 0.1),
    inset 0 -4px 4px rgba(0, 0, 0, 0.15),
    0 0 0 2px rgba(0, 0, 0, 0.5),
    5px 10px 15px rgba(0, 0, 0, 0.3);
}

.social-button:active::before {
  top: 5px;
  left: 5px;
  bottom: 11px;
  right: 11px;
  box-shadow:
    -5px -5px 5px rgba(255, 255, 255, 0.15),
    5px 3px 5px rgba(0, 0, 0, 0.1);
}

/* ---------------------------------------------- Footer Section ---------------------------------------------- */

.footer {
  position: absolute;
  bottom: 0px;
  width: 100%;
  margin: auto;
  z-index: 9999;
}

.footer .footer-content {
  max-width: fit-content;
  margin-inline: auto;
}

.footer p {
  margin: 5px auto;
}

/* ---------------------------------------------- Page Navigation Section ---------------------------------------------- */

.nav-grid {
  position: fixed;
  width: 100px;
  height: 40vh;
  top: 50%;
  right: 0;
  transform: translate(10px, -50%);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: right;
  z-index: 10000;
}

/* Navigation Button */
.page-nav-button {
  top: 60%;
  /* Position below the Projects Button */
  background-color: #415A77;
  /* Different color for distinction */
  box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2);
  width: 100px;
  height: 50px;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  transition: all 0.5s ease;
  z-index: 100;
}

.page-nav-button:hover {
  background-color: #171717;
  width: 110px;
  transform: translate(-10px, 0%);
}

.page-nav-button a {
  width: 100%;
  height: 100%;
  display: block;
  color: #E0E1DD;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-nav-button span {
  font-size: 20px;
  font-weight: bold;
}



/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 20px;
  }

  .profile-container {
    flex-direction: column;
    text-align: center;
  }

  .profile-image {
    margin-right: 0px;
    margin-bottom: 20px;
  }

  .buttons {
    justify-content: center;
  }
}




/* ------------------------------------------------ Music Player ------------------------------------------------ */

/* --- Style Variables --- */
:root {
  --primary-color: #f0f0f0;
  --secondary-color: #ffffff;
  --accent-color: #ff7675;
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.2);
}

/* --- Complete CSS for the Music Player --- */

/* 1. Main Container & Background */
/* This creates the main "glassmorphism" bar and sets up the flexbox layout. */
.music-container {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* For Safari */
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  width: min(90%, 500px);
  height: 50px;
  border-radius: 50px;
  /* Pill shape */
  margin: 20px auto 10px auto;
  z-index: 9999;

  /* Flexbox layout for arranging items */
  display: flex;
  flex-direction: row;
  /* Arrange items horizontally */
  align-items: center;
  /* Vertically align all items to the center */
  gap: 15px;
  /* Create consistent spacing between all items */
  padding: 10px 10px;
  /* Adjust padding for a clean look */
}

/* 2. Album Art Styling */
/* This handles the circular, rotating album art. */
.img-container {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  /* Prevents the image from shrinking */
}

.img-container img {
  border-radius: 50%;
  object-fit: cover;
  height: 100%;
  width: 100%;
  animation: rotate 8s linear infinite;
  animation-play-state: paused;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* This class is added by JavaScript when playing */
.music-container.play .img-container img {
  animation-play-state: running;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* 3. Song Info & Progress Bar */
/* This section grows to fill the middle space. */
.music-info {
  flex-grow: 1;
  /* Allows this element to grow */
  min-width: 0;
  /* Prevents overflow on small screens */
  position: static;
  opacity: 1;
  transform: none;
  padding: 0;
  background: transparent;
}

#title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
  text-shadow: none;
  text-align: left;
  color: #f0f0f0;
  /* Light color for visibility */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Adds '...' for long titles */
}

.progress-container {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  cursor: pointer;
  height: 6px;
  width: 100%;
}

.progress {
  background-color: #ff7675;
  /* Accent color */
  border-radius: 5px;
  height: 100%;
  width: 0%;
  transition: width 0.1s linear;
}

.time-info {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 300;
  color: #ccc;
}

/* 4. Navigation Buttons */

.navigation {
  display: flex;
  flex-direction: row;
}


.action-btn {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  padding: 10px;
  margin: 0;
  flex-shrink: 0;
  /* Prevents buttons from shrinking */
  transition: transform 0.2s ease-in-out;
}

.action-btn:hover {
  transform: scale(1.1);
}

.action-btn.action-btn-big {
  background-color: #ff7675;
  /* Accent color for the main button */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 118, 117, 0.5);
}

.action-btn:focus {
  outline: 0;
}

/* 5. Icon Sizing and Coloring */
.action-btn img {
  width: 20px;
  height: 20px;
  /* This filter turns black icons white. */
  filter: brightness(0) invert(1);
}

.action-btn.action-btn-big img {
  width: 28px;
  height: 28px;
}


































/* styles.css */
#scrollToTopBtn {
  display: flex;
  align-items: center;
  justify-content: center;

  /* Appearance */
  background-color: #415A77;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);

  /* Positioning */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;

  /* Initial state: hidden */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn:hover {
  background-color: #374554;
}

#scrollToTopBtn:focus {
  outline: 2px solid #b6b6b6;
  outline-offset: 2px;
}

/* For better accessibility, ensure the icon has proper sizing */
#scrollToTopBtn svg {
  height: 24px;
  width: 24px;
}