/**
 * Front Page Styles
 * Minimal, Medium-inspired design
 */

/* ============================================
   Full Screen Hero Section
   ============================================ */
   
/* Remove default page padding for front page */
body.home {
	overflow-x: hidden;
}

body.home .site {
	overflow-x: hidden;
}

body.home #page {
	overflow-x: hidden;
}

body.home .site-content {
	padding: 0;
	max-width: none; /* Remove any max-width constraints */
}

body.home #content {
	max-width: none; /* Remove any max-width constraints */
}

.front-page-content {
	margin: 0;
	padding: 0;
	max-width: none; /* Remove any max-width constraints */
}

/* Account for admin bar when logged in */
body.home.admin-bar .site-header {
	top: 32px; /* Height of admin bar on desktop */
}

@media screen and (max-width: 782px) {
	body.home.admin-bar .site-header {
		top: 46px; /* Height of admin bar on mobile */
	}
}

/* Make header transparent/overlay on home page */
body.home .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding-top: 20px;
	padding-bottom: 20px;
	min-height: 80px; /* Ensure consistent header height */
}

/* Full screen hero section - FULL WIDTH */
.hero-section.full-screen {
	position: relative;
	min-height: 100vh;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* Hero background with gradient - FULL WIDTH */
.hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	background: linear-gradient(135deg, #F5F1EE 0%, #FFF 50%, #F9F6F3 100%);
	z-index: 1;
}

/* Add subtle pattern overlay */
.hero-background::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: 
		radial-gradient(circle at 20% 50%, rgba(170, 1, 37, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(0, 123, 152, 0.03) 0%, transparent 50%),
		radial-gradient(circle at 40% 20%, rgba(246, 180, 2, 0.02) 0%, transparent 50%);
	z-index: 2;
}

/* Hero content container */
.hero-content {
	position: relative;
	z-index: 10;
	width: 100%;
	padding: 0 20px; /* Match header padding */
}

.hero-content .container {
	max-width: 1200px; /* Match header container width */
	margin: 0 auto;
	width: 100%;
}

/* Hero inner - flex container for text and image */
.hero-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-top: 80px; /* Further reduced padding from header */
	min-height: 100vh;
	width: 100%;
}

/* Adjust padding when admin bar is present */
body.admin-bar .hero-inner {
	padding-top: 112px; /* 80px + 32px admin bar */
}

@media screen and (max-width: 782px) {
	body.admin-bar .hero-inner {
		padding-top: 126px; /* 80px + 46px mobile admin bar */
	}
}

/* Hero text wrapper - left side 55% */
.hero-text-wrapper {
	flex: 0 0 55%;
	max-width: 55%;
	padding-right: 40px;
}

/* Hero image wrapper - right side 45% */
.hero-image-wrapper {
	flex: 0 0 45%;
	max-width: 45%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-image {
	max-width: 100%;
	height: auto;
	/* No border or shadow - transparent PNG support */
}

/* Hero headline */
.hero-headline {
	font-family: 'Aleo', serif;
	font-size: clamp(2.8rem, 6.5vw, 5rem);
	font-weight: 700; /* Increased from 600 to 700 */
	line-height: 1.1;
	color: #323710;
	margin: 0 0 1.5rem;
	letter-spacing: -0.02em;
}

/* Hero blurb */
.hero-blurb {
	font-family: 'Open Sans', sans-serif;
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	line-height: 1.6;
	color: #555;
	margin: 0 0 2.5rem;
	max-width: 500px;
}

/* Hero buttons container */
.hero-buttons {
	display: flex;
	gap: 20px;
	align-items: center;
	flex-wrap: wrap;
}

/* Primary hero button */
.hero-button {
	display: inline-block;
	background: #f6b402; /* Brand yellow */
	color: #323710; /* Dark brown/olive from headline */
	padding: 16px 35px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.1rem; /* Increased from 0.95rem */
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px; /* Rounded corners instead of pill */
	transition: all 0.3s ease;
	box-shadow: 0 4px 20px rgba(246, 180, 2, 0.3);
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hero-button:hover {
	background: #e5a600; /* Darker yellow on hover */
	transform: translateY(-2px);
	box-shadow: 0 6px 30px rgba(246, 180, 2, 0.4);
	color: #323710;
}

.hero-button:active {
	transform: translateY(0);
}

/* Secondary hero button */
.hero-button-secondary {
	display: inline-block;
	background: transparent;
	color: #323710; /* Dark brown text */
	border: 2px solid #f6b402; /* Yellow border */
	padding: 14px 30px;
	font-family: 'Open Sans', sans-serif;
	font-size: 1.1rem; /* Increased from 0.95rem */
	font-weight: 600;
	text-decoration: none;
	border-radius: 10px;
	transition: all 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hero-button-secondary:hover {
	background: #f6b402; /* Yellow background on hover */
	color: #323710;
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(246, 180, 2, 0.3);
}

.hero-button-secondary:active {
	transform: translateY(0);
}

/* Footer adjustment for front page */
body.home .site-footer {
	margin-top: 0;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
	.hero-inner {
		flex-direction: column;
		text-align: center;
		padding-top: 100px;
	}
	
	.hero-text-wrapper {
		flex: 1 1 100%;
		max-width: 100%;
		margin: 0 auto;
		padding-right: 0;
		text-align: center;
	}
	
	.hero-image-wrapper {
		flex: 1 1 100%;
		max-width: 500px;
		margin: 20px auto 0;
	}
}

@media (max-width: 768px) {
	.hero-content {
		padding: 0 20px;
	}
	
	.hero-inner {
		gap: 40px;
		padding-top: 110px;
	}
	
	.hero-headline {
		font-size: 2.5rem;
	}
	
	.hero-blurb {
		font-size: 1.2rem;
		margin: 0 auto 2rem;
	}
	
	.hero-buttons {
		justify-content: center;
	}
	
	.hero-button {
		padding: 14px 30px;
		font-size: 1rem; /* Increased for tablet */
	}
	
	.hero-button-secondary {
		padding: 12px 25px;
		font-size: 1rem; /* Increased for tablet */
	}
	
	.hero-image-wrapper {
		display: none; /* Hide image on mobile for better performance */
	}
}

@media (max-width: 480px) {
	body.home .site-header {
		background: rgba(255, 255, 255, 0.98);
		padding-top: 12px;
		padding-bottom: 12px;
	}
	
	.hero-inner {
		padding-top: 120px;
		min-height: calc(100vh - 80px);
	}
	
	.hero-headline {
		font-size: 2rem;
		margin-bottom: 1rem;
	}
	
	.hero-blurb {
		font-size: 1.1rem;
		margin-bottom: 1.5rem;
	}
	
	.hero-buttons {
		width: 100%;
		gap: 15px;
	}
	
	.hero-button,
	.hero-button-secondary {
		padding: 14px 25px;
		font-size: 0.95rem; /* Slightly smaller on mobile but still readable */
		width: 100%;
		text-align: center;
	}
}

/* Adjust for very tall screens */
@media (min-height: 900px) {
	.hero-inner {
		padding-top: 150px;
	}
}

/* Animations */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-headline {
	animation: fadeInUp 0.8s ease-out;
}

.hero-blurb {
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-button {
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-button-secondary {
	animation: fadeInUp 0.8s ease-out 0.6s both;
}