/* Minimal overrides for personal branding and readability */

/* Section backgrounds using intro-bg.jpg */
#main article {
  position: relative;
  background-image: url('../../images/intro-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: local;
}

/* Add overlay for better text readability */
#main article::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(19, 21, 25, 0.85);
  z-index: 1;
  pointer-events: none;
}

/* Ensure content appears above overlay */
#main article > * {
  position: relative;
  z-index: 2;
}

/* Responsive adjustments for section backgrounds */
@media screen and (max-width: 1280px) {
  #main article {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }
}

@media screen and (max-width: 736px) {
  #main article {
    background-attachment: scroll;
    background-size: cover;
    background-position: center top;
  }

  #main article::before {
    background: rgba(19, 21, 25, 0.9);
  }
}


/* Header layout with photo container */
#header .header-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 52rem;
  margin: 0 auto;
}

#header .photo-container {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

#header .photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#header .photo-placeholder:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
}

#header .photo-icon {
  font-size: 2.5rem;
  opacity: 0.6;
}

#header .inner {
  flex: 1;
  min-width: 0;
}

/* Header professional summary styling */
#header .professional-summary {
  margin-top: 1.5rem;
  max-width: none;
}

#header .professional-summary p {
  margin-bottom: 0;
  line-height: 1.6;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Mission statement styling for intro article */
.mission-statement {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive adjustments for mobile */
@media screen and (max-width: 736px) {
  #header .header-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  #header .photo-container {
    width: 150px;
    height: 150px;
  }

  #header .photo-icon {
    font-size: 2rem;
  }

  #header .professional-summary {
    margin-top: 1rem;
    max-width: 100%;
  }

  #header .professional-summary p {
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .mission-statement {
    margin-top: 1rem;
    padding: 1rem;
  }
}

@media screen and (max-width: 980px) and (min-width: 737px) {
  #header .header-container {
    gap: 1.5rem;
  }

  #header .photo-container {
    width: 160px;
    height: 160px;
  }

  #header .photo-icon {
    font-size: 2.2rem;
  }
}

/* Better spacing for lists in content sections */
article ul {
  margin-left: 1.25rem;
}

/* Make action buttons larger and more prominent */
.actions .button {
  min-width: 15rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.actions .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for action buttons */
@media screen and (max-width: 736px) {
  .actions .button {
    min-width: 12rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}

/* Improve contrast for section headings if needed */
.major {
  letter-spacing: 0.02em;
}

