/* =======================
   GOOGLE FONT
======================= */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* =======================
   GLOBAL STYLES
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: #3A3A3A; /* dark slate background */
  color: #F5F1E9; /* beige text */
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* HEADER & NAV */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(58, 58, 58, 0.6);
  backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  border-bottom: 1px solid #F5F1E9;
  display: flex;
  justify-content: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
}

/* Logo (vertical) */
.logo {
  color: #F5F1E9;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
  font-size: 1.3rem;
  text-shadow: 0 0 5px #F5F1E9, 0 0 10px #FFDDAA;
}

/* Nav links (horizontal) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links li a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 1px solid #F5F1E9;
  text-decoration: none;
  color: #F5F1E9;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: 0.3s;
  text-shadow: 0 0 5px #F5F1E9;
}

.nav-links li a:hover {
  background: rgba(245,241,233,0.2);
  box-shadow: 0 0 15px #F5F1E9, 0 0 30px rgba(245,241,233,0.4);
  color: #FFDDAA;
}


/* =======================
   HERO SECTION
======================= */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.5rem;
  color: #F5F1E9;
  min-height: 3rem;
  text-shadow: 0 0 15px #F5F1E9, 0 0 30px #FFDDAA;
}

.cursor {
  display: inline-block;
  color: #FFDDAA;
  font-weight: bold;
  animation: blink 0.7s infinite;
  text-shadow: 0 0 5px #FFDDAA;
}

@keyframes blink {
  0%,50%,100% {opacity: 1;}
  25%,75% {opacity: 0;}
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #FFDDAA;
  text-shadow: 0 0 10px #FFDDAA;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  border: 1px solid #F5F1E9;
  color: #F5F1E9;
  text-decoration: none;
  font-weight: 500;
  transition: 0.4s;
  backdrop-filter: blur(10px);
  background: rgba(58,58,58,0.3);
  box-shadow: 0 0 15px rgba(245,241,233,0.3);
}

.hero-buttons .btn:hover {
  background: rgba(245,241,233,0.2);
  color: #3A3A3A;
  box-shadow: 0 0 25px #F5F1E9, 0 0 50px #FFDDAA;
}

/* =======================
   HERO SLIDER
======================= */
.hero-slider {
  width: 100%;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid #F5F1E9;
  backdrop-filter: blur(12px);
  background: rgba(245,241,233,0.05);
  padding: 1rem;
  box-shadow: 0 0 20px rgba(245,241,233,0.1);
}

.slider-track {
  display: flex;
  width: max-content;
  animation: slideLoop 16s linear infinite;
}

@keyframes slideLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hero-slider .slide {
  min-width: 300px;
  height: 200px;
  margin-right: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: #F5F1E9;
  border-right: 1px solid #F5F1E9;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  background: rgba(245, 241, 233, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-shadow: 0 0 10px #F5F1E9;
}

.hero-slider .slide:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #F5F1E9, 0 0 50px rgba(245,241,233,0.4);
}

/* =======================
   ABOUT SECTION
======================= */
#about {
  padding: 6rem 2rem;
  text-align: center;
  background: #3A3A3A;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

.about-container.show {
  opacity: 1;
  transform: translateY(0);
}

.about-image img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(245,241,233,0.4);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(245,241,233,0.3), 0 0 50px rgba(245,241,233,0.2);
}

.about-text {
  max-width: 600px;
  color: #FFDDAA;
  font-size: 1rem;
  line-height: 1.6;
  text-shadow: 0 0 10px #FFDDAA;
  backdrop-filter: blur(5px);
  padding: 1rem;
  border-radius: 15px;
}

/* =======================
   SKILLS SECTION
======================= */
#skills {
  padding: 6rem 2rem;
  text-align: center;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 600px;
  margin: 2rem auto 0 auto;
}

.skill {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.skill h3 {
  color: #FFDDAA;
  min-width: 80px;
  text-shadow: 0 0 5px #FFDDAA;
}

.skill-logo {
  width: 35px;
  height: 35px;
}

.skill-bar {
  flex: 1;
  height: 12px;
  background: rgba(245,241,233,0.1);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: inset 0 0 5px rgba(245,241,233,0.3);
}

.skill-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #FFDDAA;
  border-radius: 25px;
  transition: width 2s ease-in-out;
  box-shadow: 0 0 10px #FFDDAA, 0 0 20px rgba(245,241,233,0.2);
}

/* =======================
   PROJECTS SECTION
======================= */
#projects {
  padding: 6rem 2rem;
  text-align: center;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto 0 auto;
}

.project-card {
  background: rgba(245,241,233,0.08); /* light glass effect */
  border: 1px solid rgba(245,241,233,0.3);
  border-radius: 18px;
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  box-shadow: 0 0 15px rgba(245,241,233,0.2);
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 0 25px #F5F1E9, 0 0 50px rgba(245,241,233,0.4);
  border: 1px solid #F5F1E9;
}

.project-card h3 {
  color: #F5F1E9;
  margin: 0.8rem 0;
  text-shadow: 0 0 10px #F5F1E9;
}

.project-card p {
  color: #FFDDAA;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* =======================
   PROJECT BUTTONS (Live Demo / Code)
======================= */
.project-card .btn {
  display: inline-block;
  margin: 0.6rem 0.3rem;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  border: 1px solid #F5F1E9;
  background: rgba(245,241,233,0.1); /* glass effect */
  color: #F5F1E9;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(245,241,233,0.2);
}

.project-card .btn:hover {
  background: rgba(245,241,233,0.2);
  color: #3A3A3A; /* dark text for glow contrast */
  box-shadow: 0 0 15px #F5F1E9, 0 0 30px rgba(245,241,233,0.5);
  transform: scale(1.05);
}

/* =======================
   CONTACT SECTION
======================= */
#contact {
  padding: 6rem 2rem;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
}

.contact-container input,
.contact-container textarea {
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid #F5F1E9;
  background: rgba(58,58,58,0.3);
  color: #F5F1E9;
  outline: none;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}

.contact-container input:focus,
.contact-container textarea:focus {
  border-color: #F5F1E9;
  box-shadow: 0 0 15px #F5F1E9;
}

.contact-container button {
  padding: 0.8rem;
  border-radius: 25px;
  border: 1px solid #F5F1E9;
  background: rgba(58,58,58,0.3);
  color: #F5F1E9;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
  backdrop-filter: blur(5px);
}

.contact-container button:hover {
  background: rgba(245,241,233,0.2);
  color: #3A3A3A;
  box-shadow: 0 0 25px #F5F1E9, 0 0 50px rgba(245,241,233,0.4);
}

/* =======================
   FOOTER
======================= */
footer {
  text-align: center;
  padding: 2rem;
  background: rgba(58,58,58,0.95);
  border-top: 1px solid #F5F1E9;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.3);
}
