/* Custom Enhancements for AGN Football */

/* Color Variables */
:root {
	--agn-green: #0a3301;
	--agn-green-alt: #70B884;
	--agn-turquoise: #32C8C1;
	--agn-text: #e9f0e6;
	--agn-gunmetal: #2D3142;
	--agn-sage: #CACC90;
	--agn-light-blue: #A7CECB;
	--agn-grey: #8BA6A9;
}

/* Set background canvas to match menu bar */
html,
body {
	background-color: var(--agn-gunmetal) !important;
}

/* Enhanced Typography */
body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	letter-spacing: 0.01em;
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

/* Enhanced Logo Styling */
#intro .logo {
	width: 50%;
	max-width: 400px;
	margin: 0 auto 1em auto;
	display: block;
	filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
	transition: transform 0.3s ease, filter 0.3s ease;
	animation: logoFloat 3s ease-in-out infinite;
}

#intro .logo:hover {
	transform: scale(1.05);
	filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

@keyframes logoFloat {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

/* Enhanced Intro Section */
#intro {
	background: var(--agn-gunmetal);
	position: relative;
	overflow: visible;
}

@media screen and (max-width: 736px) {
	#intro {
		overflow: visible;
	}
}

#intro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 50%, rgba(50, 200, 193, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

#intro .inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2em 0 !important;
}

/* Enhanced Social Icons */
#intro .icons {
	margin: 1em 0 !important;
	display: flex !important;
	justify-content: center;
	gap: 1.5em;
	position: relative !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
}

#intro .icons li a {
	width: 3em;
	height: 3em;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	font-size: 1em;
}

#intro .icons li a:hover {
	background: var(--agn-turquoise);
	border-color: var(--agn-turquoise);
	transform: translateY(-5px) scale(1.1);
	box-shadow: 0 10px 25px rgba(50, 200, 193, 0.4);
}

/* Enhanced Button */
.button {
	background: linear-gradient(135deg, var(--agn-turquoise) 0%, var(--agn-green-alt) 100%);
	border: none !important;
	color: var(--agn-text) !important;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(50, 200, 193, 0.3);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
	text-align: center !important;
}

/* Fix intro actions positioning */
#intro ul.actions {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	transform: none !important;
	margin: 1em auto 0 auto !important;
	padding: 0 !important;
	text-align: center;
	justify-content: center;
	display: flex !important;
	width: 100%;
}

#intro ul.actions li {
	margin: 0 !important;
	padding: 0 !important;
}

.button::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
	transition: left 0.5s ease;
}

.button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(50, 200, 193, 0.5);
}

.button:hover::before {
	left: 100%;
}

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

/* Enhanced Section Styling */
.wrapper.style2 {
	background: var(--agn-gunmetal);
}

.wrapper.style3 {
	background: var(--agn-gunmetal);
}

/* Enhanced Spotlight Section */
.spotlights section {
	transition: transform 0.3s ease;
}

.spotlights section:hover {
	transform: scale(1.02);
}

.spotlights .content {
	background: var(--agn-gunmetal);
	backdrop-filter: blur(10px);
}

.spotlights .content p {
	font-size: 1.1em;
	line-height: 1.8;
	color: var(--agn-text);
}

/* Universal text color for all sections (except intro) */
.wrapper.style2 p,
.wrapper.style3 p,
.wrapper.style1 p:not(#intro p) {
	color: var(--agn-text);
}

/* Turquoise for all headers (except intro) */
.wrapper.style2 h2,
.wrapper.style3 h2,
.wrapper.style1 h2:not(#intro h2),
.wrapper.style2 h3,
.wrapper.style3 h3,
.wrapper.style1 h3:not(#intro h3) {
	color: var(--agn-turquoise);
}

/* Enhanced Features Section */
.features {
	background: rgba(45, 49, 66, 0.6);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.features section {
	transition: all 0.3s ease;
	position: relative;
}

.features section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(50, 200, 193, 0.05) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.features section:hover {
	background: rgba(50, 200, 193, 0.05);
	transform: translateY(-5px);
}

.features section:hover::before {
	opacity: 1;
}

/* Preserve icon.major structure - only style the icon color inside */
.features .icon.major {
	/* Keep the red background and structure intact */
	transition: all 0.3s ease;
}

.features .icon.major:before {
	color: var(--agn-text); /* Sage color for icons */
	transition: all 0.3s ease;
}

.features section:hover .icon.major {
	transform: scale(1.05);
	box-shadow: 0 4px 15px rgba(202, 204, 144, 0.3);
}

.features section:hover .icon.major:before {
	color: var(--agn-turquoise);
}

.features h3 {
	color: var(--agn-turquoise);
	margin-bottom: 0.5em;
	font-weight: 600;
}

.features p {
	color: var(--agn-text);
	line-height: 1.6;
}

/* Ensure all text in features section is properly styled */
.features section h3 {
	color: var(--agn-turquoise) !important;
}

.features section p {
	color: var(--agn-text) !important;
}

/* Enhanced Contact Section */
#three {
	background: var(--agn-gunmetal);
	padding: 2em 0 3em 0 !important;
}

#three h2 {
	color: var(--agn-turquoise);
	text-align: center;
	margin: 0 auto 1em auto;
}

#three p {
	color: var(--agn-text);
	font-size: 1.1em;
	text-align: center;
}

/* Center align contact boxes */
#three .split {
	justify-content: center !important;
	max-width: 600px;
	margin: 0 auto;
}

#three .split section {
	width: 100% !important;
}

.contact {
	text-align: center;
}

.contact li {
	padding: 1.5em !important;
	background: var(--agn-gunmetal) !important;
	border-radius: 10px !important;
	margin: 1.5em 0 0 0 !important;
	backdrop-filter: blur(10px);
	border: 1px solid var(--agn-turquoise);
	transition: all 0.3s ease;
	display: block;
}

.contact li:first-child {
	margin-top: 0 !important;
}

.contact li:hover {
	background: rgba(255, 255, 255, 0.1) !important;
	transform: translateX(5px);
}

.contact h3 {
	color: var(--agn-turquoise) !important;
	margin-bottom: 0.5em;
}

.contact a {
	color: var(--agn-text);
	transition: color 0.3s ease;
}

.contact a:hover {
	color: var(--agn-turquoise);
}

.contact .icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1em;
	margin-top: 0.5em;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	outline: none !important;
}

.contact .icons li {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	list-style: none !important;
	box-shadow: none !important;
	outline: none !important;
	display: inline-block;
}

.contact .icons a {
	width: 2.5em;
	height: 2.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 25%;
	background: rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	transition: all 0.3s ease;
	color: var(--agn-text) !important;
}

/* Ensure icon color is white and visible */
.contact .icons a.icon,
.contact .icons a.icon:before {
	color: var(--agn-text) !important;
}

.contact .icons a:hover {
	background: var(--agn-turquoise) !important;
	border-color: var(--agn-turquoise) !important;
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 5px 15px rgba(50, 200, 193, 0.4);
	color: var(--agn-text) !important;
}

/* Keep icon white on hover so it's visible on turquoise background */
.contact .icons a:hover.icon,
.contact .icons a:hover.icon:before {
	color: var(--agn-text) !important;
}

/* Enhanced Footer */
#footer {
	background: var(--agn-gunmetal);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	padding: 0;
	position: relative;
}

/* On mobile/tablet where sidebar is at top, reset the margin */
@media screen and (max-width: 1280px) {
	#footer {
		width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
	}
}

#footer .inner {
	text-align: center;
	max-width: 100% !important;
	width: 100% !important;
	padding: 2em 1em !important;
}

#footer .menu {
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 0;
	width: 100%;
}

#footer .menu li {
	display: inline-block;
	margin: 0 0.75em;
	padding: 0;
}

#footer,
#footer * {
	color: var(--agn-text) !important;
}

#footer a {
	color: var(--agn-text) !important;
	transition: color 0.3s ease;
}

#footer a:hover {
	color: var(--agn-turquoise) !important;
}

/* Enhanced Sidebar */
#sidebar {
	background: rgba(45, 49, 66, 0.95);
	backdrop-filter: blur(10px);
}

#sidebar nav ul li a {
	transition: all 0.3s ease;
	border-radius: 5px;
	padding: 0.5em 1em;
	display: block;
	color: var(--agn-text) !important;
}

#sidebar nav ul li a:hover {
	background: rgba(50, 200, 193, 0.15);
	color: var(--agn-turquoise) !important;
	transform: translateX(5px);
}

/* Update active state to use new color scheme */
#sidebar nav ul li a.active {
	color: var(--agn-turquoise) !important;
}

/* Update the indicator bar to use turquoise/green gradient */
#sidebar nav a:before {
	background: rgba(19, 83, 3, 0.3) !important;
}

#sidebar nav a:after {
	background: linear-gradient(to right, var(--agn-turquoise), var(--agn-green-alt)) !important;
	background-image: linear-gradient(to right, var(--agn-turquoise), var(--agn-green-alt)) !important;
}

/* Mobile active indicator */
@media screen and (max-width: 1280px) {
	#sidebar nav a:after {
		background: var(--agn-turquoise) !important;
		background-color: var(--agn-turquoise) !important;
		background-image: none !important;
	}
}

/* Mobile sidebar fixes */
@media screen and (max-width: 1280px) {
	#sidebar nav ul {
		justify-content: center !important;
		flex-wrap: wrap !important;
		gap: 0.75em;
		padding: 0 1em !important;
	}
	
	#sidebar nav ul li {
		margin: 0 !important;
		flex-shrink: 0;
	}
	
	#sidebar nav ul li a {
		padding: 0.6em 0.9em !important;
		white-space: nowrap;
		font-size: 0.6em !important;
	}
}

@media screen and (max-width: 736px) {
	#sidebar {
		font-size: 0.8em !important;
		height: auto !important;
		min-height: 3.5em;
		padding: 0.5em 0 !important;
	}
	
	#sidebar nav ul {
		justify-content: space-around !important;
		flex-wrap: wrap !important;
		gap: 0.5em;
		padding: 0.5em 0.5em !important;
		width: 100%;
	}
	
	#sidebar nav ul li {
		margin: 0 !important;
		flex-shrink: 0;
		flex: 0 0 auto;
	}
	
	#sidebar nav ul li a {
		padding: 0.5em 0.7em !important;
		white-space: nowrap;
		font-size: 0.6em !important;
		line-height: 1.4 !important;
	}
}

@media screen and (max-width: 480px) {
	#sidebar {
		font-size: 0.75em !important;
	}
	
	#sidebar nav ul {
		justify-content: space-around !important;
		gap: 0.4em;
		padding: 0.4em 0.25em !important;
	}
	
	#sidebar nav ul li a {
		padding: 0.45em 0.6em !important;
		font-size: 0.55em !important;
	}
}

/* Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

/* Enhanced Text Content */
p {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Responsive Enhancements */
@media screen and (max-width: 736px) {
	/* Intro section mobile adjustments */
	#intro.wrapper.fullscreen {
		min-height: 100vh !important;
		min-height: 100dvh !important; /* Dynamic viewport height for mobile */
		height: auto !important;
		padding: 2em 0;
	}
	
	#intro {
		min-height: 100vh !important;
		min-height: 100dvh !important; /* Dynamic viewport height for mobile */
		padding: 2em 0;
	}
	
	#intro .inner {
		padding: 1em 0 !important;
		justify-content: center;
		min-height: 100%;
	}
	
	#intro .logo {
		width: 70%;
		max-width: 280px;
		margin: 0 auto 0.75em auto !important;
	}
	
	#intro .icons {
		margin: 0.75em 0 !important;
		gap: 1em;
	}
	
	#intro .icons li a {
		width: 2.75em;
		height: 2.75em;
		font-size: 0.9em;
	}
	
	#intro ul.actions {
		margin: 0.75em 0 0 0 !important;
		width: auto !important;
		max-width: 100%;
	}
	
	#intro ul.actions li {
		width: auto !important;
	}
	
	#intro .button {
		font-size: 0.55em !important;
		height: calc(4em + 2px) !important;
		line-height: 4em !important;
		padding: 0 2.5em 0 2.6em !important;
		width: auto !important;
		max-width: 90%;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		letter-spacing: 0.25em !important;
		box-sizing: border-box;
	}
	
	.features section {
		padding: 2em 1.5em;
	}
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
	#intro .logo {
		width: 75%;
		max-width: 250px;
		margin: 0 auto 0.5em auto !important;
	}
	
	#intro .icons {
		margin: 0.5em 0 !important;
		gap: 0.75em;
	}
	
	#intro .icons li a {
		width: 2.5em;
		height: 2.5em;
		font-size: 0.85em;
	}
	
	#intro ul.actions {
		margin: 0.5em 0 0 0 !important;
		width: auto !important;
		max-width: 100%;
	}
	
	#intro ul.actions li {
		width: auto !important;
	}
	
	#intro .button {
		font-size: 0.5em !important;
		height: calc(3.5em + 2px) !important;
		line-height: 3.5em !important;
		padding: 0 2em 0 2.1em !important;
		width: auto !important;
		max-width: 90%;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		letter-spacing: 0.25em !important;
		box-sizing: border-box;
	}
}

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

.wrapper.style1 .inner,
.wrapper.style2 .inner,
.wrapper.style3 .inner {
	animation: fadeInUp 0.6s ease-out;
}

/* Enhanced Image Styling */
.spotlights .image {
	position: relative;
	overflow: hidden;
}

.spotlights .image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, transparent 0%, rgba(45, 49, 66, 0.3) 100%);
	pointer-events: none;
}

/* Additional Polish */
.wrapper {
	position: relative;
}

/* Better Section Spacing */
section {
	padding: 4em 0;
}

/* Reduce gap between intro and first content section */
#one.wrapper.style2 {
	padding-top: 1em !important;
	padding-bottom: 0em !important;
	scroll-margin-top: 5em;
}

/* Add scroll margin to section #two to prevent overlap detection */
#two.wrapper.style3 {
	scroll-margin-top: 5em;
}

/* Set padding-bottom for spotlights sections */
#one.wrapper.style2.spotlights section {
	padding-bottom: 1em !important;
}

/* Set padding for features section */
#two.wrapper.style3.fade-up {
	padding: 1em !important;
}

/* Remove padding from features section inner */
#two.wrapper.style3.fade-up div.inner {
	padding: 0em !important;
}

/* Set padding for contact section inner */
#three.wrapper.style1.fade-up div.inner {
	padding-top: 1em !important;
	padding-bottom: 2em !important;
}

/* Also reduce bottom padding of intro section */
#intro {
	padding-bottom: 1em !important;
}

@media screen and (max-width: 736px) {
	#one.wrapper.style2 {
		padding-top: 0.75em !important;
		padding-bottom: 0em !important;
	}
	
	#intro {
		padding-bottom: 0.75em !important;
	}
}

/* Enhanced Text Readability */
.spotlights .content p {
	max-width: 65ch;
	margin: 0 auto 1.5em;
}

#three p {
	max-width: 65ch;
	margin: 0 auto 1.5em;
	text-align: center;
}

/* Icon sizing is handled by original CSS, no override needed */

/* Subtle Background Patterns */
.wrapper.style2::before,
.wrapper.style3::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: var(--agn-gunmetal);
	pointer-events: none;
	z-index: 0;
}

.wrapper.style2 .inner,
.wrapper.style3 .inner {
	position: relative;
	z-index: 1;
}

/* Enhanced Scroll Indicator */
.button.scrolly {
	margin-top: 2em;
}

/* Better Mobile Experience */
@media screen and (max-width: 736px) {
	.spotlights .content p,
	#three p {
		font-size: 1em;
	}
	
	.features section {
		padding: 1.5em 1em;
	}
	
	#three {
		padding: 1.5em 0 2.5em 0 !important;
	}
	
	#three h2 {
		margin: 0 auto 0.75em auto;
	}
	
	#three .inner {
		padding-top: 1em !important;
	}
	
	.contact li {
		padding: 1em;
		margin-bottom: 1em !important;
	}
	
	.contact li:last-child {
		margin-bottom: 0 !important;
	}
}

