/* Site-specific overrides */

/* Navigation styling with improved contrast */
.site-nav .page-link {
  color: rgba(36, 41, 46, 0.85); /* Slightly less intense in light mode */
  font-weight: 500; /* Slightly lighter weight for better contrast */
}

/* Dark mode styles with higher contrast for navigation */
.dark-theme .site-nav .page-link {
  color: #ffffff; /* Brightest possible menu items in dark mode */
  font-weight: 600;
}

/* Add a stronger hover effect for dark mode navigation */
.dark-theme .site-nav .page-link:hover {
  color: #ffffff; /* Full white on hover */
}

/* Increase height of career vision timeline to avoid scrolling */
#career-vision .timeline-content {
  min-height: 350px; /* Taller content area to fit all text */
  height: auto; /* Allow content to expand as needed */
}

/* Make timeline items taller on mobile */
@media (max-width: 768px) {
  #career-vision .timeline-content {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  #career-vision .timeline-content {
    min-height: 450px;
  }
}

/* Skill name styling */
.skill-name {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Ensuring skill descriptions are in the standard text color */
.skill-description {
  color: var(--text-color);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* Skills section styling */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.skill-item {
  background: linear-gradient(135deg, 
    rgba(var(--bg-color-rgb), 1) 0%, 
    rgba(var(--bg-content-rgb), 0.8) 100%);
  border-radius: 8px;
  padding: 1.2rem;
  border: 1px solid rgba(var(--border-color-rgb), 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.skill-header {
  margin-bottom: 0.8rem;
}

/* Global button styling to match hero buttons */
.btn {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* Primary button styling */
.primary-btn {
  background: linear-gradient(90deg,
    rgba(3, 102, 214, 0.9) 0%,
    rgba(3, 102, 214, 1) 50%,
    rgba(3, 102, 214, 0.9) 100%
  );
  color: #f8f9fa !important;
}

.primary-btn:hover {
  background: linear-gradient(90deg, 
    rgba(3, 102, 214, 1) 0%,
    rgba(3, 102, 214, 1) 50%,
    rgba(3, 102, 214, 1) 100%
  );
}

/* Secondary button styling */
.secondary-btn {
  background: linear-gradient(90deg,
    rgba(111, 66, 193, 0.9) 0%,
    rgba(111, 66, 193, 1) 50%,
    rgba(111, 66, 193, 0.9) 100%
  );
  color: #f8f9fa !important;
}

.secondary-btn:hover {
  background: linear-gradient(90deg, 
    rgba(111, 66, 193, 1) 0%,
    rgba(111, 66, 193, 1) 50%,
    rgba(111, 66, 193, 1) 100%
  );
}

/* Tertiary button styling */
.tertiary-btn {
  background: linear-gradient(90deg,
    rgba(227, 98, 9, 0.9) 0%,
    rgba(227, 98, 9, 1) 50%,
    rgba(227, 98, 9, 0.9) 100%
  );
  color: #f8f9fa !important;
}

.tertiary-btn:hover {
  background: linear-gradient(90deg, 
    rgba(227, 98, 9, 1) 0%,
    rgba(227, 98, 9, 1) 50%,
    rgba(227, 98, 9, 1) 100%
  );
}

/* Outlined button styling */
.outlined-btn {
  background: transparent;
  border: 2px solid var(--btn-outline-border);
  color: var(--btn-outline-text) !important;
  box-shadow: none;
}

.outlined-btn:hover {
  background: var(--primary-color);
  color: #f8f9fa !important;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* LinkedIn CTA Styling */
.linkedin-cta {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.cta-box {
  background: linear-gradient(135deg, 
    rgba(var(--primary-color-rgb), 0.05) 0%, 
    rgba(var(--secondary-color-rgb), 0.05) 100%);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
  transition: box-shadow 0.3s ease;
}

.cta-box:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.cta-box h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.cta-box p {
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.linkedin-btn i {
  font-size: 1.25em;
}

/* Contact page note styling */
.contact-note {
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Certification lists styling */
.certifications-section {
  margin-bottom: 2rem;
}

.certifications-section h3 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.cert-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.cert-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.cert-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

.cert-list.in-progress li:before {
  content: "→";
  color: var(--primary-color);
}

/* Large CTA button styling */
.cta-main-btn {
  font-size: 1.25rem;
  padding: 16px 32px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cta-main-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Make CTA box button stand out more */
.cta-box .cta-main-btn {
  margin-top: 1rem;
  display: inline-block;
}

/* Dark theme button adjustments */
.dark-theme .primary-btn {
  background: linear-gradient(90deg, 
    rgba(31, 111, 235, 0.9) 0%,
    rgba(31, 111, 235, 1) 50%,
    rgba(31, 111, 235, 0.9) 100%
  );
}

.dark-theme .primary-btn:hover {
  background: linear-gradient(90deg, 
    rgba(31, 111, 235, 1) 0%,
    rgba(31, 111, 235, 1) 50%,
    rgba(31, 111, 235, 1) 100%
  );
}

.dark-theme .secondary-btn {
  background: linear-gradient(90deg, 
    rgba(110, 64, 201, 0.9) 0%,
    rgba(110, 64, 201, 1) 50%,
    rgba(110, 64, 201, 0.9) 100%
  );
}

.dark-theme .secondary-btn:hover {
  background: linear-gradient(90deg, 
    rgba(110, 64, 201, 1) 0%,
    rgba(110, 64, 201, 1) 50%,
    rgba(110, 64, 201, 1) 100%
  );
}

.dark-theme .tertiary-btn {
  background: linear-gradient(90deg,
    rgba(241, 142, 28, 0.9) 0%,
    rgba(241, 142, 28, 1) 50%,
    rgba(241, 142, 28, 0.9) 100%
  );
}

.dark-theme .tertiary-btn:hover {
  background: linear-gradient(90deg, 
    rgba(241, 142, 28, 1) 0%,
    rgba(241, 142, 28, 1) 50%,
    rgba(241, 142, 28, 1) 100%
  );
}