/* Geeky Hugo style components */

/* Main hero container - full width background */
.hero-section {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 4rem calc(50vw - 50%) 3rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 0;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Hero content wrapper */
.hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.hero-text-content {
  padding-right: 0;
}

.hero-image-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-left: 1rem;
}

.hero-profile-image {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.3rem;
  line-height: 1.2;
  text-align: left;
}

@media (max-width: 992px) {
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image-container {
    order: -1;
  }
  
  .hero-profile-image {
    width: 200px;
    height: 200px;
  }
}

.hero-subtitle {
  font-size: 2rem; /* Increased from 1.75rem */
  font-weight: 500; /* Slightly bolder */
  color: #2c3e50;
  margin-top: 0;
  margin-bottom: 0; /* Removed bottom margin */
  padding-bottom: 0.75rem; /* Add padding instead */
  text-align: left;
  position: relative;
  display: inline-block;
}

/* Decorative underline effect for hero-subtitle */
.hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2ecc71 0%, #27ae60 50%, transparent 100%);
  border-radius: 2px;
}

/* Subtle shadow effect */
.hero-subtitle::before {
  content: attr(class);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.05) 0%, transparent 100%);
  z-index: -1;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  margin: -0.25rem -0.5rem;
}

.hero-role {
  display: block;
  color: #666;
  font-size: 0.95rem;
  font-weight: 400;
  margin-top: 1.5rem; /* Add more space from subtitle */
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Hero Overview/Description */
.hero-overview {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
  transition: all 0.3s ease;
}

.hero-overview:hover {
  color: #555;
}

.hero-overview p {
  margin-bottom: 1rem;
}

/* Reset for the description paragraph if still using .hero-subtitle */
.hero-text-content > .hero-subtitle:not(h2) {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: left;
  padding-bottom: 0;
}

.hero-text-content > .hero-subtitle:not(h2)::after,
.hero-text-content > .hero-subtitle:not(h2)::before {
  display: none;
}

.hero-subtitle p {
  margin-bottom: 1rem;
}

.hero-cta {
  display: inline-block;
  padding: 10px 24px;
  background: #1B3C53;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-bottom: 2rem;
}

.hero-cta:hover {
  background: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
  color: white;
  text-decoration: none;
}

/* Tech Skills Section */
.tech-skills-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.tech-skills-section h3 {
  font-size: 1.2rem;
  color: #1a1a1a;
  margin-bottom: 1rem;
  font-weight: 600;
}

.tech-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.tech-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
}

.tech-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border-color: #2ecc71;
}

.tech-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Info Cards (About Page) */
.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.info-card h3 {
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.info-card .meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.info-card ul {
  list-style: none;
  padding: 0;
}

.info-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.info-card li:last-child {
  border-bottom: none;
}

.info-card li::before {
  content: '✓';
  color: #2ecc71;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* About Page */
.about-hero {
  text-align: center;
  padding: 3rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 10px;
  margin-bottom: 3rem;
}

.about-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  border: 5px solid white;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.section-with-icon h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid #2ecc71;
  padding-bottom: 0;
  margin-bottom: 1.5rem;
}

.section-with-icon h2::before {
  content: '~~~';
  color: #2ecc71;
  font-weight: 700;
}

div.quarto-about-solana .about-entity {
  text-align: left;
}
