/**************************************
  Basic Variables & Reset
***************************************/
:root {
  --primary: #1E2A38;
  --secondary: #607D8B;
  --text-main: #333;
  --bg-main: #F5F5F5;
  --font-main: 'Poppins', sans-serif;

  /* Additional variables for skill bars */
  --skill-bar-bg: #e0e0e0;
  --skill-progress: #2962FF; /* can match your primary */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/**************************************
  Header & Nav (same as before)
***************************************/
header {
  background-color: var(--primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 1rem 2rem;
  margin: 0;
  align-items: center;
  justify-content: center;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

header nav ul li a.active {
  text-decoration: underline;
}

header nav ul li a:hover {
  text-decoration: underline;
}

/**************************************
  Mini Hero Section
***************************************/
.mini-hero {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.mini-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.mini-hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.mini-hero p {
  font-size: 1.1rem;
}

/**************************************
  About Container
***************************************/
.about-container {
  display: flex;
  flex-wrap: wrap; /* allows it to stack on small screens */
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.about-left,
.about-right {
  flex: 1;
  min-width: 280px; /* ensures items don't get too narrow */
  margin: 1rem;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Make sections stack on small screens */
@media (max-width: 768px) {
  .about-container, .experience-container {
    flex-direction: column;
    text-align: center;
  }
}
/**************************************
  Profile Photo
***************************************/
.profile-photo {
  text-align: center;
  margin-bottom: 1rem;
}

.profile-photo img {
  max-width: 150px;
  border-radius: 50%;

}

/**************************************
  Cards within left column
***************************************/
.contact-card,
.languages-card {
  margin-top: 2rem;
}

.contact-card ul,
.languages-card ul {
  list-style: none;
  margin-top: 0.5rem;
}

.contact-card ul li,
.languages-card ul li {
  margin-bottom: 0.5rem;
}

.contact-card a,
.languages-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  text-decoration: underline;
}

/**************************************
  Right Column Sections
***************************************/
.about-right section {
  margin-bottom: 2rem;
}

/**************************************
  Skill Bars
***************************************/
.skill-bar {
  margin-bottom: 1rem;
}

.skill-title {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.bar {
  width: 100%;
  background-color: var(--skill-bar-bg);
  border-radius: 4px;
  overflow: hidden;
  height: 8px;
}

.progress {
  background-color: var(--skill-progress);
  height: 8px;
  border-radius: 4px 0 0 4px;
}

/**************************************
  Footer
***************************************/
footer {
  background-color: var(--primary);
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}


/**************************************
  Portfolio Grid Layout
**************************************/
.portfolio-container {
  max-width: 1200px;
  margin: 2rem auto;
  text-align: center;
  padding: 0 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.portfolio-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item h3 {
  color: var(--primary);
}

.portfolio-item a {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: #2962FF;
  text-decoration: none;
}

.portfolio-item a:hover {
  text-decoration: underline;
}


/**************************************
  Portfolio Detail Page (Individual Project)
**************************************/
.portfolio-detail-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

/* Two-Column Layout */
.plugin-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.plugin-column {
  flex: 1;
  min-width: 300px;
}

.feature-card, .process-step {
  background: #f8f9fa;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.process-step span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-right: 10px;
}

/* Image Gallery */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.image-gallery img {
  width: 45%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Video Section */
.video-demo {
  text-align: center;
  margin: 2rem 0;
}

.video-demo video {
  max-width: 100%;
  border-radius: 8px;
}

/* Contact Section */
.contact-info {
  text-align: center;
  margin-top: 2rem;
}

.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
}

.contact-btn:hover {
  background: var(--secondary);
}


/* Image Gallery */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  width: 45%; /* Increase this value to make images larger */
}

.image-gallery a {
  display: block;
  cursor: pointer;
}

.image-gallery img {
  width: 45%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

/* Lightbox Styling */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}


ul {
  margin-left: 1.5rem;
  padding-left: 1rem;
  list-style-type: square; /* Default bullet points */
}

ul li {
  margin-bottom: 0.5rem; /* Adds space between bullet points */
}


/**************************************
  Portfolio Detail Page (Individual Project)
**************************************/
.portfolio-detail-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

/* Two-Column Layout for details (if desired) */
.plugin-details {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.plugin-column {
  flex: 1;
  min-width: 300px;
}

.feature-card,
.process-step {
  background: #f8f9fa;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* For numbering steps in the workflow */
.process-step span {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  margin-right: 10px;
}

/* Example images or screenshots */
.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.image-gallery img {
  width: 45%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Contact/CTA styling */
.contact-info {
  text-align: center;
  margin-top: 2rem;
}

.contact-btn {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 1rem;
}

.contact-btn:hover {
  background: var(--secondary);
}
