/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Allura&family=Poiret+One&family=Roboto:wght@400;500;700&display=swap");

/* Custom font */
@font-face {
  font-family: "BeautifullyDelicious";
  src: url("../assets/fonts/BeautifullyDelicious.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* General */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
}
body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #000;
  color: #e0e0e0;
  cursor: default; /* default cursor for everything */
}

/* Section */
.section {
  padding: 80px 10%;
  text-align: center;
}
.section-title {
  font-size: 2rem;
  color: #b8860b;
  margin-bottom: 40px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: rgba(0, 0, 0, 0.9);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  cursor: pointer;
  font-weight: bold;
  font-size: 2rem;
  color: #b8860b;
  text-decoration: none;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links li a {
  color: #b8860b;
  text-decoration: none;
  font-weight: 500;
  padding: 5px 0;
  transition: all 0.3s ease;
}
.nav-links li a:hover {
  color: #ffd700;
  text-shadow: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background: #e0e0e0;
  transition: all 0.4s ease-in-out;
}
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
  opacity: 0;
}
.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #000, #111);
  flex-direction: column;
}
.hero-right {
  text-align: center;
}
/* Reduce space above hero */
.hero.section {
  padding-top: 20px; /* was 80px in .section */
  padding-bottom: 80px; /* keep bottom same if you want */
}

.big-name {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  color: #afacac;
}
.big-name .name-highlight {
  font-family: "BeautifullyDelicious";
  font-weight: normal;
  color: #b8860b;
}
.role {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  color: #d4d3d0;
  margin-top: 10px;
}
.role span {
  color: #b8860b;
  font-size: 1.5rem;
  font-weight: bold;
}

#role1{
  color: #918e8e;
  font-family: "Poiret One", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}
.hero-buttons a {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  margin: 15px 10px 0 0;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-gold {
  background: #b8860b;
  color: #000;
}
.btn-gold:hover {
  background: #b8860b;
  box-shadow: 0 0 15px #ffd700;
}
.btn-outline {
  background: transparent;
  border: 2px solid #b8860b;
  color: #b8860b;
}
.btn-outline:hover {
  background: #b8860b;
  color: #000;
  box-shadow: 0 0 15px #ffd700;
}

/* About */
.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  text-align: left;
  margin-top: 50px;
}
.about-left {
  flex: 1;
  display: flex;
  justify-content: center;
}
.profile-pic {
  width: 250px;
  border-radius: 50%;
  border: 3px solid #afacac;
  transition: transform 0.3s, box-shadow 0.3s;
}
.profile-pic:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #afacac;
}
.about-right {
  flex: 2;
  min-width: 300px;
}
.about-box {
  color: #afacac;
  font-family: "Poiret One", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.6;
  overflow: hidden;
  white-space: pre-wrap;
  border-right: 2px solid #b8860b;
  padding: 20px;
  border-radius: 10px;
  background: transparent;
  max-width: 600px;
  margin: 0 auto;
}

/* blinking cursor */
@keyframes blinkCursor {
  0%,
  100% {
    border-color: transparent;
  }
  50% {
    border-color: #b8860b;
  }
}
.about-box.animate {
  animation: blinkCursor 0.8s steps(40) infinite;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
}
.skill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111;
  color: #afacac;
  font-family: "Poiret One", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.skill img {
  width: 40px;
  margin-bottom: 10px;
}
.skill:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px #b8860b;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.project-card {
  background: #111;
  padding: 20px;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #b8860b;
}
.project-card h3 {
  font-family: "Poiret One", sans-serif;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 10px;
}
.project-card p {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: #fffef9;
  line-height: 1.6;
}

/* Timeline */
.timeline-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
}
.timeline-container::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #b8860b33;
  border-radius: 2px;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #111;
  padding: 15px 20px;
  border-radius: 12px;
  position: relative;
  width: 80%;
  max-width: 500px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: #b8860b;
  border-radius: 50%;
  top: -7px;
}
.timeline-date {
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 5px;
}
.timeline-content {
  color: #fffef9;
  font-family: "Roboto", sans-serif;
  text-align: center;
}
.timeline-content span {
  color: #b8860b;
  font-family: "Poiret One", sans-serif;
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  color: #e0e0e0;
  flex: 1 1 180px;
  max-width: 250px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.contact-item img {
  width: 28px;
}
.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px #b8860b;
  color: #ffd700;
}

.copy-feedback {
  color: #b8860b;
  margin-top: 15px;
  font-size: 0.9rem;
  display: none;
}
.copy-feedback.show {
  display: block;
  animation: fadeOut 2s forwards;
}
@keyframes fadeOut {
  0%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Footer */
.footer {
  padding: 20px;
  background: #111;
  text-align: center;
  color: #aaa;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s, transform 1s;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 10%;
    background: rgba(17, 17, 17, 0.95);
    padding: 15px 25px;
    border-radius: 10px;
    gap: 20px;
    width: 200px;
    opacity: 0;
    transform: translateY(-20px);
  }
  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links li a {
    font-size: 1.4rem;
  }
  .hero-right {
    text-align: center;
  }
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-item {
    flex: 1 1 140px;
    max-width: 200px;
    justify-content: center;
    text-align: center;
  }
}
