/* RESET & BASE STYLES */
:root {
  --primary: #1e3a8a;       /* Deep blue */
  --secondary: #0c1839;     /* Deep green */
  --accent: #1e40af;        /* Slightly lighter blue */
  --background: #f8fafc;     /* Light gray background */
  --text: #1f2937;          /* Dark gray text */
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 3rem 0;
  text-align: center;
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 0 20px;
}

.profile-pic {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}

.profile-pic:hover {
  transform: scale(1.05);
}

.header-content h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #f3f4f6;
}

.header-actions a {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: var(--transition);
}

.resume-btn {
  background: var(--primary);
}
.linkedin-link {
  background: var(--secondary);
}
.resume-btn:hover, .linkedin-link:hover {
  filter: brightness(110%);
}

/* SECTION BASE */
section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* PROJECTS */
.projects-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 0 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e5e7eb;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.1);
}

.project-image-container {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.project-content p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 15px;
}
.project-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}



.project-buttons a {
  padding: 8px 14px;
  background: var(--secondary);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.project-buttons a:hover {
  background: #1a5276;
}

/* ABOUT */
.about-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}


.status-tag {
  background: #d1fae5;
  color: #065f46;
  padding: 6px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.about-overlay {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.about-overlay:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.about-hidden {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-container.show-about .about-hidden {
  opacity: 1;
}

/* HOBBIES */
#hobbies {
  text-align: center;
  background: rgba(30, 58, 138, 0.05);
  padding: 3rem 1rem;
  border-radius: 16px;
}

.toggle-trigger {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--accent);
  transition: var(--transition);
}

.toggle-trigger:hover {
  text-decoration: underline;
}

.hobbies-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 2rem auto;
  flex-wrap: wrap;
  max-width: 800px;
  transition: var(--transition);
}

.hobby {
  background: white;
  padding: 20px;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.hobby:hover {
  transform: scale(1.05);
}

.hobby i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.hobby h3 {
  font-size: 0.9rem;
}

.hobbies-text {
  max-width: 600px;
  margin: 1rem auto;
  font-style: italic;
  color: var(--text);
}

.hidden {
  display: none;
}

/* CONTACT */
#contact {
  background: white;
  padding: 4rem 1rem;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  border-radius: 16px;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-method {
  text-align: center;
  background: white;
  padding: 20px;
  border-radius: 12px;
  width: 220px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
}

.contact-method i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-method h3 {
  margin-bottom: 5px;
  color: #111827;
}

.contact-method a {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
}

.contact-method a:hover {
  color: var(--accent);
}

/* TECH STACK & STATUS */
.tech-stack {
  margin: 10px 0;
  display: flex;
  gap: 8px;
}

.tech-stack img {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.tech-stack img:hover {
  opacity: 1;
}

.status-tag {
  background: #d1fae5;
  color: #065f46;
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 6px;
  margin-left: 10px;
}

/* ROADMAP */
#roadmap ul {
  list-style: none;
  max-width: 600px;
  margin: 0 auto;
}

#roadmap li {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* MEDIA QUERIES */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .projects-container {
    grid-template-columns: 1fr;
  }
  
  .hobbies-container {
    gap: 20px;
  }
  
  .contact-container {
    gap: 20px;
  }
}

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