/* =================================
   PORTFOLIO TEMPLATE
   Clean, Professional, Responsive
   ================================= */

/* Google Fonts - Raleway for clean, modern look */
/* To change font: replace URL with your choice from fonts.google.com */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;700&display=swap');

/* =================================
   BASE STYLES
   ================================= */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Main font family and base styles */
body {
  font-family: 'Raleway', sans-serif !important;
  color: #333; /* Main text color - change to customize */
  line-height: 1.6;
  background-color: #fff; /* Background color - change for dark theme */
}

/* =================================
   LAYOUT & SPACING
   ================================= */

/* Consistent spacing for main sections */
header, section {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

/* =================================
   LINKS & HOVER EFFECTS
   ================================= */

/* Default link styles */
a {
  color: #000; /* Link color - change to match your theme */
  text-decoration: underline;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}

/* Animated underline on hover */
a:hover {
  color: #000;
  background-image: linear-gradient(to right, #000, #000);
  background-position: bottom left;
  background-repeat: no-repeat;
  background-size: 100% 2px;
  text-decoration: none !important;
}

/* Tab navigation links */
#content-tabs a {
  text-decoration: none;
  transition: all 0.3s ease;
  background-size: 0% 2px;
  background-image: linear-gradient(to right, #000, #000);
  background-position: bottom left;
  background-repeat: no-repeat;
}

/* Smooth underline animation on tab hover */
#content-tabs a:hover {
  background-size: 100% 2px;
}

/* Social media icon links */
.social-icons a {
  color: #000 !important; /* Icon color */
  background: none;
  font-size: 1.2rem; /* Icon size */
  margin: 0 0.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Social icon hover effect */
.social-icons a:hover {
  transform: translateY(-3px); /* Lift effect */
  opacity: 0.7;
}

/* =================================
   PROFILE IMAGE
   ================================= */

/* Profile photo styling */
.user-image {
  width: 140px;
  height: 140px;
  object-fit: cover; /* Maintains aspect ratio */
  border: 3px solid #f0f0f0; /* Border color - customize as needed */
  -webkit-filter: grayscale(100%); /* Black & white effect */
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

/* Remove grayscale on hover */
.user-image:hover {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

/* Mobile adjustments for header */
@media (max-width: 767px) {
  header .col-lg-2 {
    padding-bottom: 3rem;
  }
  
  /* Stack social icons on mobile */
  .social-icons {
    text-align: center !important;
  }
}

/* =================================
   TAB NAVIGATION
   ================================= */

/* Active tab styling */
.list-group-item.active {
  color: #fff !important; /* Active tab text color */
  background: #000 !important; /* Active tab background */
  border-color: #000 !important;
}

/* Inactive tabs */
.list-group a {
  color: #000 !important;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1.5rem;
}

/* Tab hover effect */
.list-group a:hover:not(.active) {
  background-color: #f8f9fa;
  border-color: #000;
  transition: all 0.3s ease;
}

/* =================================
   TIMELINE STYLES
   ================================= */

/* Timeline container */
.timeline-container {
  width: 80%;
  padding: 50px 0;
  margin: 50px auto;
  position: relative;
  overflow: hidden;
}

/* Vertical line in center */
.timeline-container:before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  background: #CCD1D9; /* Timeline line color */
  z-index: 1;
}
.timeline-block {
  width: -webkit-calc(50% + 8px);
  width: -moz-calc(50% + 8px);
  width: calc(50% + 8px);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  justify-content: space-between;
  clear: both;
}

.timeline-block-right {
  float: right;
}

.timeline-block-left {
  float: left;
  direction: ltr;
}

/* Timeline markers (dots) */
.marker {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #000; /* Marker border color */
  background: #fff; /* Marker fill color */
  margin-top: 10px;
  z-index: 9999;
}

/* Timeline content */
.timeline-content {
  width: 95%;
  padding: 0 15px;
  color: #000;
}

.timeline-block-left .timeline-content {
  text-align: right;
}

/* Timeline headings - Job titles */
.timeline-content .timeline-h3 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 25px;
  font-weight: 600; /* Bold for emphasis */
  color: #000; /* Heading color */
}

/* Company/Organization names */
.timeline-content .timeline-span {
  font-size: 15px;
  color: #666; /* Subdued color for company names */
  font-weight: 500;
}

/* Timeline descriptions */
.timeline-content .timeline-p {
  font-size: 14px;
  line-height: 1.6;
  word-spacing: 1px;
  color: #333; /* Description text color */
  margin-top: 10px;
}


/* =================================
   MOBILE RESPONSIVE TIMELINE
   ================================= */

@media screen and (max-width: 768px) {
  /* Move timeline to left side */
  .timeline-container:before {
    left: 8px;
    width: 2px;
  }
  
  /* Full width timeline blocks */
  .timeline-block {
    width: 100%;
    margin-bottom: 30px;
  }
  
  /* Reset floats */
  .timeline-block-right,
  .timeline-block-left {
    float: none;
  }
  
  .timeline-block-left {
    direction: ltr;
  }
  
  /* Align all content to left */
  .timeline-block-left .timeline-content {
    text-align: left;
    order: 2;
  }
  
  /* Position markers on left */
  .timeline-block-left .marker {
    order: 1;
  }
  
  /* Smaller timeline content on mobile */
  .timeline-content {
    padding: 15px;
  }
}

/* =================================
   PROJECT CARDS
   ================================= */

/* Project card styling */
.project-card {
  border: 1px solid #e0e0e0;
  height: 100%;
}

/* Skill badges */
.skill-badges {
  margin: 15px 0;
}

.skill-badges .badge {
  margin-right: 5px;
  margin-bottom: 5px;
  padding: 5px 10px;
  font-weight: 400;
  background-color: #000; /* Badge background color */
  color: #fff; /* Badge text color */
}

/* =================================
   UTILITY CLASSES
   ================================= */

/* Bio text styling */
.bio-text {
  font-size: 1.1rem;
  color: #555; /* Bio text color */
  line-height: 1.8;
}

/* Footer styling */
footer {
  border-top: 1px solid #e0e0e0;
  background-color: #fafafa; /* Footer background */
}


/* =================================
   CUSTOMIZATION GUIDE
   
   To customize colors:
   1. Main text: Change #333 in body
   2. Links: Change #000 in anchor styles
   3. Timeline: Change colors in .timeline-content
   4. Badges: Change colors in .skill-badges .badge
   
   To customize fonts:
   1. Change Google Fonts import URL
   2. Update font-family in body
   
   To customize spacing:
   1. Adjust padding in header, section
   2. Modify margin in timeline elements
   ================================= */
