/* ===== Got High Tech - shared stylesheet for every page ===== */

:root {
	--navy: #0b2540;
	--navy-deep: #071a2f;
	--accent: #14387f;
	--accent-dark: #0d2860;
	--accent-light: #a9c6ff;
	--sky: #e3eafb;
	--light: #f4f7fc;
	--text: #1c2a3a;
	--muted: #5a6b7d;
	--white: #ffffff;
	--border: #dbe3ef;
	--radius: 12px;
	--shadow: 0 10px 30px rgba(11, 37, 64, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Inter', Arial, sans-serif;
	color: var(--text);
	background: var(--white);
	line-height: 1.65;
	font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 14px; letter-spacing: -0.02em; }
h1 { font-size: 52px; font-weight: 800; }
h2 { font-size: 36px; font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
h4 { font-size: 16px; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 16px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
section.alt { background: var(--light); }
section.dark { background: var(--navy); color: #c9d6e6; }
section.dark h2, section.dark h3 { color: var(--white); }

.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}
section.dark .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--accent-light); }

.section-intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-intro p { color: var(--muted); font-size: 18px; }
section.dark .section-intro p { color: #b7c7da; }
.lead { font-size: 19px; color: var(--muted); }

/* ----- Buttons ----- */
.btn {
	display: inline-block;
	padding: 13px 26px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	border: 2px solid var(--accent);
	background: var(--accent);
	color: var(--white);
	transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
	white-space: nowrap;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--accent); }
.btn-white:hover { background: var(--sky); border-color: var(--sky); color: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { color: var(--white); }
.btn-small { padding: 8px 16px; font-size: 14px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----- Header ----- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(6px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 20px; white-space: nowrap; }
.logo img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.logo span { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active { font-weight: 700; }
.main-nav .btn { color: var(--white); padding: 9px 18px; font-size: 15px; }

/* ----- Home hero ----- */
.hero {
	background:
		linear-gradient(100deg, rgba(7, 26, 47, 0.88) 0%, rgba(11, 37, 64, 0.7) 45%, rgba(20, 56, 127, 0.35) 100%),
		url('../images/GotHighTechBackGround.jpg') center / cover no-repeat,
		var(--navy);
	color: #d6e2f1;
	padding: 110px 0 96px;
}
.hero .container { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero p { font-size: 20px; margin-bottom: 32px; }

/* Section buttons on the home banner, each with a statement beside it */
.hero-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hero-links li { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: center; }
.hero-links .pill {
	display: block;
	text-align: center;
	padding: 10px 16px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	border-radius: 30px;
	background: var(--accent);
	color: var(--white);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s, color 0.2s;
}
.hero-links .pill:hover { background: var(--white); color: var(--accent); }
/* Bright white, slightly larger text with a soft shadow so it reads clearly over the photo */
.hero-links span { color: var(--white); font-size: 17px; line-height: 1.45; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); }
.hero-links span strong { font-weight: 800; }

.next-card {
	background: rgba(255, 255, 255, 0.97);
	color: var(--text);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	border-top: 5px solid var(--accent);
}
.next-card .label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.next-card h3 { margin: 8px 0 12px; }
.next-card ul { list-style: none; padding: 0; margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.next-card li { padding: 3px 0; }
.next-card .btn { width: 100%; text-align: center; }
.next-card .after { margin: 14px 0 0; font-size: 14px; text-align: center; }

/* ----- Inner page hero ----- */
.page-hero {
	background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy) 55%, var(--accent) 130%);
	color: #c9d6e6;
	padding: 76px 0 70px;
}
.page-hero h1 { color: var(--white); font-size: 46px; max-width: 900px; }
.page-hero p { font-size: 19px; max-width: 760px; margin: 0; }
.page-hero .btn-row { margin-top: 28px; }
.tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	background: var(--sky);
	color: var(--accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	vertical-align: middle;
}
.tag-new { background: #ffe9a8; color: #6b4b00; }

/* ----- Stats strip ----- */
.stats { background: var(--accent); color: var(--white); padding: 40px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-number { font-size: 40px; font-weight: 800; line-height: 1.1; }
.stat-label { font-size: 15px; color: var(--accent-light); }

/* ----- Grids and cards ----- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	transition: box-shadow 0.2s, transform 0.2s;
}
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { color: var(--muted); margin: 0; }
.card .icon {
	width: 48px; height: 48px;
	border-radius: 10px;
	background: var(--sky);
	display: flex; align-items: center; justify-content: center;
	font-size: 24px;
	margin-bottom: 16px;
}
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; color: var(--accent); font-size: 15px; }
section.dark .card { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
section.dark .card p { color: #b7c7da; }
section.dark .card .icon { background: rgba(169, 198, 255, 0.15); }

.photo { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Navy "at a glance" panel used where a photo would otherwise go */
.glance {
	background:
		linear-gradient(135deg, rgba(7, 26, 47, 0.93), rgba(20, 56, 127, 0.88)),
		url('../images/GotHighTechBackGround.jpg') center / cover no-repeat;
	color: #d6e2f1;
	border-radius: var(--radius);
	padding: 40px;
	box-shadow: var(--shadow);
}
.glance h3 { color: var(--white); font-size: 26px; }
.glance .eyebrow { color: var(--accent-light); }
.glance .check-list li { color: var(--white); }
.glance .check-list li::before { color: var(--accent-light); }
.glance p { margin: 8px 0 0; font-size: 15px; }
.photo-caption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ----- Lists ----- */
.check-list { list-style: none; padding: 0; margin: 0 0 16px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--accent); font-weight: 800; }
section.dark .check-list li::before { color: var(--accent-light); }
.columns-2 { columns: 2; column-gap: 32px; }
.columns-2 li { break-inside: avoid; }

/* ----- Workshop cards ----- */
.track { margin-bottom: 64px; }
.track:last-child { margin-bottom: 0; }
.track-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; border-bottom: 2px solid var(--border); padding-bottom: 12px; margin-bottom: 28px; }
.track-title h2 { font-size: 28px; margin: 0; }
.track-title p { margin: 0; color: var(--muted); }

.workshop {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	margin-bottom: 22px;
	scroll-margin-top: 90px;
}
.workshop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.workshop-head h3 { font-size: 24px; margin-bottom: 6px; }
.workshop-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.workshop .summary { color: var(--muted); font-size: 17px; max-width: 820px; }
.workshop .dates { font-size: 15px; color: var(--text); margin: 4px 0 0; }
.workshop .dates strong { color: var(--accent); }
.workshop-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 8px; }
.workshop-body h4 { margin-top: 8px; }
.workshop-body ul { margin: 0 0 12px; padding-left: 20px; color: var(--muted); font-size: 15.5px; }
.workshop-body li { padding: 2px 0; }

details.more-info { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
details.more-info summary { cursor: pointer; font-weight: 600; color: var(--accent); list-style: none; }
details.more-info summary::-webkit-details-marker { display: none; }
details.more-info summary::before { content: "+ "; font-weight: 800; }
details.more-info[open] summary::before { content: "– "; }
details.more-info[open] summary { margin-bottom: 14px; }

.jump-links { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.jump-links a {
	padding: 8px 16px;
	border-radius: 30px;
	border: 1px solid var(--border);
	background: var(--white);
	text-decoration: none;
	color: var(--text);
	font-size: 15px;
	font-weight: 500;
}
.jump-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ----- Schedule table ----- */
.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.schedule-table th { background: var(--navy); color: var(--white); text-align: left; font-size: 14px; letter-spacing: 0.5px; padding: 14px 18px; }
.schedule-table td { padding: 16px 18px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.schedule-table tr.month td { background: var(--sky); color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; padding: 8px 18px; text-align: left; }
.schedule-table .date { font-weight: 700; color: var(--navy); white-space: nowrap; }
.schedule-table .workshop-name a { font-weight: 600; color: var(--text); text-decoration: none; }
.schedule-table .workshop-name a:hover { color: var(--accent); }
.schedule-table .workshop-name small { display: block; color: var(--muted); font-size: 14px; }
.schedule-table td:last-child { text-align: right; }
/* Classes whose date has passed (set by js/schedule.js) */
.schedule-table tr.past td { opacity: 0.45; }
.schedule-table tr.month.past td { opacity: 0.6; }
.completed { display: inline-block; padding: 6px 12px; border-radius: 20px; background: var(--light); color: var(--muted); font-size: 13px; font-weight: 700; }

.info-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.info-strip .card { padding: 22px; }
.info-strip h4 { margin-bottom: 4px; }

/* ----- Architecture diagram (Industrial Edge) ----- */
.arch { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.arch-layer { border-radius: var(--radius); padding: 22px 26px; color: var(--white); }
.arch-layer h4 { color: var(--white); margin-bottom: 4px; font-size: 18px; }
.arch-layer p { margin: 0; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
.arch-layer.l1 { background: var(--navy-deep); }
.arch-layer.l2 { background: var(--navy); }
.arch-layer.l3 { background: var(--accent); }
.arch-layer.l4 { background: #2e5bb0; }
.arch-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.arch-apps span { background: rgba(255, 255, 255, 0.14); border-radius: 8px; padding: 8px 10px; font-size: 14px; text-align: center; }
.arch-arrow { text-align: center; color: var(--accent); font-size: 22px; line-height: 1; }

/* ----- Format strip (duration, lecture/lab split...) ----- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
.facts div { background: var(--sky); border-radius: var(--radius); padding: 20px; text-align: center; }
.facts strong { display: block; font-size: 26px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.facts span { font-size: 14px; color: var(--muted); }

/* ----- Week-by-week program ----- */
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.week { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; border-top: 5px solid var(--accent); }
.week .num { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; }
.week h3 { font-size: 19px; margin: 6px 0 12px; }
.week ul { padding-left: 18px; margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.week .lab { background: var(--sky); border-radius: 8px; padding: 12px 14px; font-size: 14.5px; color: var(--accent-dark); }

/* ----- Timeline (About) ----- */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--border); }
.timeline li { position: relative; padding: 0 0 30px 28px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--accent); }
.timeline .when { font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.5px; }
.timeline h3 { font-size: 19px; margin: 2px 0 6px; }
.timeline p { color: var(--muted); margin: 0; font-size: 16px; }

/* ----- Resources library ----- */
.library-group { margin-bottom: 52px; scroll-margin-top: 90px; }
.library-group h2 { font-size: 26px; }
.library { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.library a { display: block; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border); text-decoration: none; color: var(--text); font-size: 15px; background: var(--white); }
.library a:hover { border-color: var(--accent); color: var(--accent); }
.library a::before { content: "📄 "; }
.library a[href^="http"]::before { content: "🔗 "; }
.library h4 { grid-column: 1 / -1; margin: 18px 0 2px; color: var(--accent); }

/* ----- Call to action ----- */
.cta { background: linear-gradient(120deg, var(--navy-deep), var(--accent)); color: #d6e2f1; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { max-width: 680px; margin: 0 auto 30px; font-size: 18px; }
.cta .btn-row { justify-content: center; }

/* ----- Footer ----- */
.site-footer { background: var(--navy-deep); color: #93a7bf; padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.site-footer h4 { color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer a { color: #c4d2e3; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }

/* ----- Tablets ----- */
@media (max-width: 1080px) {
	h1 { font-size: 42px; }
	.hero .container, .split { grid-template-columns: 1fr; }
	.grid-4, .weeks, .facts { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.library { grid-template-columns: repeat(2, 1fr); }
	/* Menu scrolls sideways under the logo instead of squeezing */
	.site-header .container { flex-direction: column; align-items: stretch; height: auto; gap: 6px; padding-top: 12px; padding-bottom: 10px; }
	.main-nav { overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: none; }
	.main-nav::-webkit-scrollbar { display: none; }
}

/* ----- Phones ----- */
@media (max-width: 700px) {
	body { font-size: 16px; }
	h1, .page-hero h1 { font-size: 34px; }
	h2 { font-size: 28px; }
	section { padding: 60px 0; }
	.container { padding: 0 16px; }
	.hero { padding: 64px 0; }
	.hero p { font-size: 18px; }
	.page-hero { padding: 52px 0; }
	.grid-2, .grid-3, .grid-4, .weeks, .workshop-body, .info-strip, .library, .footer-grid { grid-template-columns: 1fr; }
	.stats .container { grid-template-columns: repeat(2, 1fr); }
	.stat-number { font-size: 32px; }
	.arch-apps { grid-template-columns: repeat(2, 1fr); }
	.hero-links li { grid-template-columns: 1fr; gap: 6px; }
	.hero-links li + li { margin-top: 8px; }
	.columns-2 { columns: 1; }
	.workshop { padding: 22px; }
	/* Schedule table becomes stacked cards */
	.schedule-table thead { display: none; }
	.schedule-table, .schedule-table tbody, .schedule-table tr, .schedule-table td { display: block; width: 100%; }
	.schedule-table tr { border-bottom: 1px solid var(--border); padding: 12px 0; }
	.schedule-table td { border: 0; padding: 4px 18px; text-align: left !important; }
	.schedule-table tr.month { padding: 0; }
}
