/* styles.css - external stylesheet */

/* Reset & base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; font-family: Arial, Helvetica, sans-serif; color: #222; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}
.site-title { font-size: 1.25rem; }

/* Profile photo styling (top-right) */
.header-right img#profile-photo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--accent, #176be7);
}

/* Layout: sidebar + content */
.container {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* Sidebar */
.sidebar {
  width: 240px;
  min-height: 60vh;
  border-right: 1px solid #eee;
  padding-right: 16px;
}
.sidebar ul { list-style: none; margin-top: 8px; }
.assignment-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px;
  margin-bottom: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
}
.assignment-item:hover { background: rgba(23,107,231,0.06); }

/* Active state (JavaScript will toggle 'active' class) */
.assignment-item.active {
  background: rgba(23,107,231,0.12);
  color: var(--accent, #176be7);
}

/* Contacts */
.contacts { margin-top: 16px; font-size: 0.95rem; }
.contacts a { color: #176be7; text-decoration: none; }
.contacts a:hover { text-decoration: underline; }

/* Main content area */
.content-area {
  flex: 1;
  padding: 12px 20px;
  min-height: 60vh;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.01);
}
.content-area h2 { margin-bottom: 10px; }

/* Responsive: collapse sidebar under small widths */
@media (max-width: 720px) {
  .container { flex-direction: column; }
  .sidebar { width: 100%; border-right: none; border-bottom: 1px solid #eee; padding-bottom: 12px; }
  .header-right img#profile-photo { width:48px; height:48px; }
}
.about-header .banner-photo {
  width: 100%;
  height: 300px;
  object-fit: cover; /* crop nicely */
  display: block;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
}

.about-text {
  flex: 2;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-photo img {
  max-width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.about-photo-large {
  display: block;
  margin: 0 auto 20px; /* centers image and adds spacing below */
  max-width: 250px;    /* adjust as you like */
  border-radius: 12px; /* optional rounded corners */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* subtle shadow */
}
.about-photo-banner {
  display: block;
  margin: 0 auto 60px;   /* Center photo + spacing below */
  max-width: 400;      /* Make it bold/large */
  width: 100%;           /* Scales on small screens */
  border-radius: 60px;   /* Professional rounded corners */
  box-shadow: 0 6px 20px rgba(0,0,0,0.3); /* Elegant shadow */
  border: 4px solid #176be7; /* Accent border (blue like LinkedIn) */
}
.about-interests {
  margin-top: 30px;
  padding: 20px;
  background: #f9fbff;
  border-left: 6px solid var(--accent, #176be7);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.about-interests h2 {
  color: var(--accent, #176be7);
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.about-interests ul {
  list-style: none;
  padding: 0;
}

.about-interests li {
  padding: 8px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  position: relative;
  padding-left: 25px;
}

.about-interests li::before {
  content: "✔";
  color: var(--accent, #176be7);
  position: absolute;
  left: 0;
  font-weight: bold;
}
.about-photo-top {
  text-align: center;
  margin: 30px 0;
}

.about-photo-top img {
  width: 400px;   /* make it larger (increase/decrease as you like) */
  height: 400px;  /* same height so it stays square */
  object-fit: cover;
  border-radius: 50%; /* makes it a circle */
  border: 8px solid var(--accent, #176be7); /* thicker border */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* stronger shadow */
}
.about-photo-large {
  display: block;
  margin: 20px auto;
  width: 400px;   /* fixed width */
  height: 400px;  /* fixed height */
  object-fit: cover;
  border-radius: 12px;
  border: 6px solid var(--accent, #176be7);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.about-photo-top {
  text-align: center;
  margin: 30px 0;
}

.about-photo-top img {
  width: 400px;   /* ~3x4 inch */
  height: 400px;
  object-fit: cover;
  border-radius: 50%; /* circle */
  border: 8px solid var(--accent, #176be7);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.about-interests {
  margin-top: 30px;
  padding: 20px;
  background: #f9fbff;
  border-left: 6px solid var(--accent, #176be7);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.about-interests h2 {
  color: var(--accent, #176be7);
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.about-interests ul {
  list-style: none;
  padding: 0;
}

.about-interests li {
  padding: 8px 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  position: relative;
  padding-left: 25px;
}

.about-interests li::before {
  content: "✔";
  color: var(--accent, #176be7);
  position: absolute;
  left: 0;
  font-weight: bold;
}
