/* Main CSS Stylesheet — calebmadsen.com */

html, body {
	background-color: #FAFAFA;
	font-family: 'Lato', sans-serif;
	max-width: 100%;
}

@media (min-width: 639px) {
	#HomePageBodyOverflow {
		overflow-x: hidden;
	}
}

@media (min-width: 768px) {
	#BackgroundWrapper {
		max-width: 960px;
		margin-left: auto;
		margin-right: auto;
	}
	#CenterBackground {
		margin-top: -20px;
	}
}

.row {
	max-width: 100vw;
}

#footer {
	position: relative;
	padding: 25px 0 2px;
	margin: 10px 0 0;
	overflow-x: hidden;
	overflow-y: auto;
}

#fottercontent {
	padding: 20px 5px 0 0;
}

a {
	color: #2F73DF;
	text-decoration: none;
}

a:hover {
	color: #1f45fc;
	text-decoration: underline;
	outline: 0;
}

@media (max-width: 414px) {
	#FooterInfoForNarrowScreen {
		margin-left: 5%;
	}
}

div:active, div:focus, div:hover {
	outline-style: none;
}

/* ============================================================
   Hero + CTA side-by-side wrapper
   ============================================================ */

.hero-cta-wrapper {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 48px 20px 44px;
}

/* ============================================================
   Hero (left column)
   ============================================================ */

.hero-section {
	flex: 1;
	text-align: center;
	padding: 0;
}

.hero-photo {
	width: 158px;
	height: 158px;
	border-radius: 50%;
	object-fit: cover;
	object-position: center top;
	display: block;
	margin: 0 auto 22px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
}

.hero-name {
	font-size: 2.5rem;
	font-weight: 700;
	color: #1D2D44;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
}

.hero-subtitle {
	font-size: 1.15rem;
	color: #5a6474;
	margin: 0 0 14px;
}

.hero-tagline {
	font-size: 1.05rem;
	color: #555;
	max-width: 500px;
	margin: 0 auto;
	line-height: 1.65;
}

/* ============================================================
   CTA Panel (right column)
   ============================================================ */

.hero-cta-panel {
	flex: 0 0 300px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* HWC logo card */
.cta-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	border-radius: 8px;
	padding: 18px 16px;
	width: 100%;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
	color: #1D2D44 !important;
	text-decoration: none !important;
	transition: box-shadow 0.18s, transform 0.18s;
}

.cta-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
	transform: translateY(-3px);
	text-decoration: none !important;
	color: #1D2D44 !important;
}

.cta-card-logo {
	max-width: 220px;
	max-height: 110px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin-bottom: 10px;
}

.cta-card-label {
	display: block;
	font-weight: 700;
	font-size: 0.94rem;
	margin-bottom: 6px;
	line-height: 1.3;
}

.cta-card-sub {
	display: block;
	font-size: 0.78rem;
	color: #888;
	word-break: break-all;
}

/* Combined contact card */
.contact-combined-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

.contact-row {
	display: flex;
	flex-direction: column;
	padding: 13px 16px;
	border-bottom: 1px solid #f0f0f0;
	color: #1D2D44 !important;
	text-decoration: none !important;
	transition: background 0.15s;
}

.contact-row:last-child {
	border-bottom: none;
}

.contact-row:hover {
	background: #f7f9fc;
	text-decoration: none !important;
	color: #1D2D44 !important;
}

.contact-row-label {
	display: block;
	font-weight: 700;
	font-size: 0.92rem;
	margin-bottom: 3px;
}

.contact-row-sub {
	display: block;
	font-size: 0.76rem;
	color: #888;
	word-break: break-all;
}

/* ============================================================
   About Section
   ============================================================ */

.about-section {
	padding: 52px 20px 40px;
}

.about-hwc-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	text-decoration: none !important;
	font-weight: 600;
	color: #2F73DF !important;
}

.about-hwc-link img {
	max-width: 110px;
	max-height: 55px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.about-hwc-link:hover span {
	text-decoration: underline;
}

.about-section p {
	font-size: 1.02rem;
	color: #484848;
	line-height: 1.75;
	margin-bottom: 16px;
}

/* ============================================================
   Shared
   ============================================================ */

.section-heading {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1D2D44;
	margin: 0 0 18px;
}

.section-divider {
	border: none;
	border-top: 1px solid #e2e5ea;
	margin: 0 20px 48px;
}

/* ============================================================
   Projects Section
   ============================================================ */

.projects-section {
	padding: 0 20px 64px;
}

.project-card {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	background: #fff;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.project-logo {
	width: 80px;
	height: 80px;
	flex-shrink: 0;
	border-radius: 10px;
	object-fit: contain;
}

.project-body .project-name {
	font-size: 1.2rem;
	font-weight: 700;
	color: #1D2D44;
	margin: 0 0 4px;
}

.project-body .project-tagline {
	font-size: 0.88rem;
	color: #888;
	font-style: italic;
	margin: 0 0 12px;
}

.project-body p {
	font-size: 0.97rem;
	color: #555;
	line-height: 1.65;
	margin-bottom: 14px;
}

a.project-link {
	font-weight: 600;
	font-size: 0.95rem;
	color: #2F73DF !important;
}

a.project-link:hover {
	text-decoration: underline !important;
}

/* ============================================================
   Mobile — stack hero above panel
   ============================================================ */

@media (max-width: 700px) {
	.hero-cta-wrapper {
		flex-direction: column;
		padding: 40px 20px 32px;
		gap: 24px;
	}

	.hero-cta-panel {
		flex: none;
		width: 100%;
		max-width: 340px;
		margin: 0 auto;
	}

	.hero-name {
		font-size: 2rem;
	}

	.project-card {
		flex-direction: column;
		align-items: center;
	}
}
