/* -------------------- GLOBAL STYLES -------------------- */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(-45deg, #1a1a1a, #000000, #2a1500, #633500);
  background-size: 400% 400%;
  animation: gradientAnimation 15s ease infinite;
  margin: 0;
  padding: 0;
  color: #f5f5f5;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

h1, h4 {
  color: #ff9900;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  animation: fadeInDown 1s ease both;
}

h3 {
     color: #ff9900;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 2px;
  font-weight: bold;
  animation: fadeInDown 1s ease both;
}

h6, h7 {
  color: #c0c0c0;
}

/* -------------------- BUTTONS -------------------- */
.button-container {
  text-align: center;
  margin-top: 50px;
}

.button-container button {
  border: 1px solid #ff9900;
  border-radius: 25px;
  padding: 15px 60px;
  margin: 10px auto;
  display: inline-block;
  background: linear-gradient(90deg, #ff9900, #ff6600);
  color: #000;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.6);
}

.button-container button:hover {
  background: #ffb84d;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 153, 0, 0.9);
}

/* -------------------- ABOUT BOX -------------------- */
.centered-box {
  max-width: 700px;
  margin: 60px auto;
  padding: 40px;
  background-color: rgba(0, 0, 0, 0.75);
  color: #f5f5f5;
  text-align: left;
  border-radius: 15px;
  font-size: 18px;
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.3);
  animation: fadeInUp 1.2s ease both;
}

.centered-box h5 {
  color: #ff9900;
  margin: 20px 0;
  text-align: center;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.centered-box h5:hover {
  color: #ffb84d;
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(255, 170, 0, 0.9);
}

/* -------------------- PROJECTS -------------------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.project-box {
  background-color: rgba(0, 0, 0, 0.75);
  color: #f5f5f5;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.2);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  animation: fadeInUp 1.2s ease both;
}

.project-box:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 153, 0, 0.6);
}

.see-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff9900;
  font-weight: bold;
  text-decoration: none;
  margin-top: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.see-more-link:hover {
  transform: scale(1.1);
  color: #ffb84d;
}

/* -------------------- EXPERIENCE -------------------- */
.inline-boxes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  max-width: 700px;
  margin: 60px auto;
}

.inline-box {
  background-color: rgba(0, 0, 0, 0.75);
  color: #f5f5f5;
  padding: 30px;
  border-radius: 15px;
  width: 100%;
  box-shadow: 0 0 15px rgba(255, 153, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1.4s ease both;
}

.inline-box:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(255, 153, 0, 0.6);
}

.inline-box h6 {
  display: inline-block;
  background-color: #ff6600;
  color: #000;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  margin: 5px;
  box-shadow: 0 0 10px rgba(255, 153, 0, 0.5);
  transition: transform 0.3s ease;
}

.inline-box h6:hover {
  transform: scale(1.1);
  background-color: #ff9900;
}

/* -------------------- TOP LINKS -------------------- */
.top-right-links {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
  z-index: 1000;
}

.top-right-links h5 {
  color: #ff9900;
  cursor: pointer;
  transition: all 0.3s ease;
}

.top-right-links h5:hover {
  color: #ffb84d;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.8);
}

/* -------------------- LOADER -------------------- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #ff9900;
  font-family: 'Courier New', Courier, monospace;
}

.console {
  width: 80%;
  max-width: 700px;
  padding: 20px;
  background-color: #000000;
  border-radius: 8px;
  box-shadow: 0 0 20px #ff9900;
  overflow: hidden;
  min-height: 220px;
  animation: flicker 2s infinite alternate;
}

#console-text {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 16px;
  line-height: 1.4;
}

/* -------------------- ANIMATIONS -------------------- */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes flicker {
  0% { box-shadow: 0 0 15px #ff9900; }
  100% { box-shadow: 0 0 25px #ff6600; }
}
