
:root {
  --purple-50:  #f5f3ff;
  --purple-100: #ede9fe;
  --purple-300: #c4b5fd;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --purple-900: #4c1d95;
}

img[src$="gus.jpg"] {
	width: 200px;
	height: 200px;
	max-width: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin-bottom: 1rem;
	border: 4px solid var(--purple-300);
	box-shadow: 0 0 0 6px var(--purple-100);
}

/* Smaller avatar used on the About page */
.photo-sm {
	width: 110px !important;
	height: 110px !important;
	margin: 0 auto 1.25rem;
}

body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	color: #1e1333;
	background: var(--purple-50);
}

.overview {
  text-align: center;
  max-width: 720px;
  padding: 0 1rem;
}

.overview h1 {
  margin: 0 0 0.25rem 0;
  font-weight: 600;
  font-size: 1.6rem;
}

.overview p {
  margin: 0;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.4;
  color: #444;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(109, 40, 217, 0.92);
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 12px rgba(76, 29, 149, 0.25);
	z-index: 40;
}

.site-header nav ul {
	list-style: none;
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
}

.site-header nav a {
	text-decoration: none;
	color: rgba(255,255,255,0.8);
	padding: 0.5rem 0.9rem;
	border-radius: 6px;
	font-weight: 500;
	transition: background 200ms, color 200ms;
}

.site-header nav a.active,
.site-header nav a:hover {
	background: rgba(255,255,255,0.18);
	color: #fff;
}

.content {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 80px 1rem 2rem;
	display: grid;
	grid-template-columns: 1fr;
}

.panel {
	grid-row: 1;
	grid-column: 1;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 300ms ease, transform 300ms ease;
	pointer-events: none;
}

.panel.active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.panel.exiting {
	opacity: 0;
	transform: translateY(-8px);
}

.panel .panel-inner {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.social-links {
	display: flex;
	gap: 0.6rem;
	flex-wrap: wrap;
	justify-content: center;
}

.social-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	text-decoration: none;
	color: var(--purple-700);
	background: var(--purple-100);
	border: 1.5px solid var(--purple-300);
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background 200ms, color 200ms, border-color 200ms, transform 150ms;
}

.social-btn:hover {
	background: var(--purple-600);
	color: #fff;
	border-color: var(--purple-600);
	transform: translateY(-2px);
}

.quick-nav {
	display: flex;
	gap: 0.75rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 0.5rem;
}

.qbtn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	cursor: pointer;
	border: none;
	padding: 0.55rem 1.2rem;
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	background: var(--purple-600);
	color: #fff;
	transition: background 200ms, transform 150ms, box-shadow 200ms;
	box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.qbtn:hover {
	background: var(--purple-700);
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

.qbtn--outline {
	background: transparent;
	color: var(--purple-700);
	border: 2px solid var(--purple-500);
	box-shadow: none;
}

.qbtn--outline:hover {
	background: var(--purple-100);
	color: var(--purple-900);
	box-shadow: none;
}

#home {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 1rem;
}

#about .panel-inner h2{
	text-align: center;
	color: var(--purple-900);
}

#about .panel-inner h3 {
	color: var(--purple-700);
	margin-top: 1.5rem;
}

#about .panel-inner p {
	color: #333;
	line-height: 1.6;
}

#about .panel-inner {
    text-align: left;
}


/* ── Schedule ──────────────────────────────────────────────── */
#schedule .panel-inner {
	max-width: 920px;
}

.schedule-wrapper {
	overflow-x: auto;
	margin-top: 1.25rem;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(76, 29, 149, 0.10);
}

.schedule-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.82rem;
	min-width: 560px;
}

.schedule-table thead th {
	background: var(--purple-700);
	color: #fff;
	padding: 0.55rem 0.5rem;
	font-weight: 600;
	text-align: center;
}

.schedule-table thead th:first-child {
	background: var(--purple-900);
}

.schedule-table td {
	border: 1px solid var(--purple-100);
	padding: 0.38rem 0.3rem;
	text-align: center;
	min-width: 72px;
	height: 36px;
}

.schedule-table tbody tr:nth-child(even) td {
	background: #faf8ff;
}

.schedule-table tbody tr:nth-child(odd) td {
	background: #fff;
}

.schedule-table .time-col {
	background: var(--purple-100) !important;
	color: var(--purple-900);
	font-weight: 600;
	text-align: right;
	padding: 0.38rem 0.7rem;
	white-space: nowrap;
	position: sticky;
	left: 0;
	z-index: 1;
}

/* Busy cell variants */
.busy {
	font-size: 0.74rem;
	font-weight: 600;
	border-radius: 4px;
}

.busy--class {
	background: var(--purple-500) !important;
	color: #fff;
}
.busy--class-alt {
	background: var(--purple-300) !important;
	color: var(--purple-900);
}

.busy--work {
	background: var(--purple-700) !important;
	color: #fff;
}

.busy--gym {
	background: var(--purple-300) !important;
	color: var(--purple-900);
}

.busy--personal {
	background: var(--purple-100) !important;
	color: var(--purple-700);
	box-shadow: inset 0 0 0 1.5px var(--purple-300);
}

/* Legend */
.schedule-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
	margin: 0.6rem 0 0;
}

.legend-item {
	display: inline-flex;
	align-items: center;
	padding: 0.22rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 600;
}

.legend--class    { background: var(--purple-500); color: #fff; }
.legend--work     { background: var(--purple-700); color: #fff; }
.legend--gym      { background: var(--purple-300); color: var(--purple-900); }
.legend--personal { background: var(--purple-100); color: var(--purple-700); box-shadow: inset 0 0 0 1.5px var(--purple-300); }

/* ── Resume ─────────────────────────────────────────────────── */
#resume-inner {
	max-width: 860px;
	width: 100%;
}

.resume-toolbar {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0.75rem 0 1.25rem;
}

.resume-viewer-wrap {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 32px rgba(76, 29, 149, 0.15);
	border: 2px solid var(--purple-300);
	background: #fff;
}

.resume-iframe {
	width: 100%;
	height: 80vh;
	min-height: 480px;
	border: none;
	display: block;
}

.resume-fallback {
	padding: 2rem;
	text-align: center;
	color: var(--purple-700);
}

/* Footer divider */
.footer-divider {
	width: 100%;
	border: none;
	border-top: 1.5px solid var(--purple-300);
	margin: 2rem 0 0;
	opacity: 0.6;
}

/* Footer */
.site-footer {
	width: 100%;
	text-align: center;
	padding: 1rem 1rem 1.5rem;
	font-size: 0.8rem;
	font-weight: 300;
	color: var(--purple-700);
	letter-spacing: 0.01em;
}

@media (max-width: 480px) {
	img[src$="gus.jpg"] { width: 140px; height: 140px; }
	.site-header nav ul { gap: 0.5rem; }
}
