/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://sanantoniomarathon.com/
Description: Child theme for Twenty Twenty-Five
Author: Tracy Velasquez
Template: twentytwentyfive
Version: 1.0.0
*/

/* ===============================
   CSS VARIABLES
================================ */
:root {
	--color-primary: #07424b;
	--color-dark: #00242b;
	--color-light: #fff5ec;
	--color-accent: #f15856;
	--color-highlight: #28def9;
}

/* ===============================
   FONTS
================================ */
@font-face {
	font-family: "URBANO";
	src: url("fonts/URBANO-Bold.ttf") format("truetype");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

body {
	font-size: 16px;
}

strong {
	font-weight: bold !important;
}

body,
p,
a,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "proxima-nova", sans-serif;
}

p,
p #text {
	margin: auto;
	font-size: 1.2em;
}

span.every-step {
	font-weight: 900;
	font-family: "proxima-nova", sans-serif;
}

/* ===============================
   BASE RESET / LAYOUT
================================ */
html,
body {
	margin: 0;
	width: 100%;
	overflow-x: hidden;
	background-color: var(--color-dark);
}

#page-container {
	margin: auto;
}

/* ===============================
   TYPOGRAPHY
================================ */
h1,
h2 {
	text-transform: uppercase;
	font-weight: 800;
	line-height: 1;
}

h1 {
	font-size: 4.625em;
}
h2 {
	font-size: 3.25em;
}

@media (max-width: 825px) {
	h1,
	h2 {
		font-size: 2.8em;
	}
}
@media (max-width: 525px) {
	h1,
	h2 {
		font-size: 2em;
	}
}

p,
.inner-content ul,
ul#menu-primary-menu,
ul#menu-primary-menu ul {
	font-size: 1.2em;
	line-height: 1.45;
}

.inner-content p {
	margin: 1em 0;
}

@media (max-width: 768px) {
	.inner-content p {
		margin: 0.25em 0;
	}
}

.inner-content ul {
	margin: 1em 0 !important;
	list-style-type: disc;
	list-style-position: outside;
	padding-left: 1em;
	display: inline-block;
	width: 100%;
}

.inner-content ol {
	font-size: 1.2em;
	margin: 1em 0 !important;
	list-style-type: decimal;
	padding-left: 1em;
}

a {
	color: var(--color-highlight);
}

/* Mobile Nav */
ul#menu-primary-menu-1,
ul#menu-primary-menu-1 ul {
	list-style: none;
}

ul#menu-primary-menu-1 li a {
	color: white;
}

/* POPUP STYLE */

.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.popup-container {
	background-color: #00242b;
	border-radius: 40px;
	max-width: 960px;
	width: 100%;
	max-height: 90vh;
	overflow: hidden;
	position: relative;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.popup-close {
	position: absolute;
	top: 20px;
	right: 20px;
	background: transparent;
	border: none;
	color: #fff;
	font-size: 32px;
	line-height: 1;
	cursor: pointer;
	z-index: 10;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.popup-close:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

.popup-content {
	display: flex;
	align-items: stretch;
	min-height: 500px;
}

.popup-image-side {
	flex: 0 0 39%;
	overflow: hidden;
}

.popup-runner-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
	display: block;
}

.popup-form-side {
	flex: 1;
	padding: 55px 45px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #fff;
}

.popup-form-side h2 {
	color: #fff;
	margin-bottom: 5px;
}

.popup-form-side p {
	color: #fff;
	margin-bottom: 15px;
	font-size: 15px !important;
}

@media (max-width: 768px) {
	div.popup-image-side {
		display: none;
	}
}

/* Responsive Design */
@media (max-width: 768px) {
	#notification-popup #gform_submit_button_1 {
		font-size: 12px !important;
		margin: 0 auto !important;
	}
	.popup-content {
		flex-direction: column;
		min-height: auto;
	}

	.popup-image-side {
		flex: 0 0 100px;
	}

	.popup-runner-image {
		object-position: 50% 13%;
	}

	.popup-form-side {
		padding: 40px 30px;
	}

	.popup-container {
		max-width: 100%;
		border-radius: 20px;
	}
}

/* ===============================
   LISTS
================================ */

.subnav {
	margin: 0 !important;
	padding-left: 0 !important;
}

#menu-primary-menu > li > a {
	font-size: 0.9em;
}

#menu-primary-menu .subnav li a,
#menu-primary-menu > li > ul > li > ul > li {
	font-size: 0.8em;
}

#menu-primary-menu .subnav li a {
	color: var(--color-light);
}

#menu-primary-menu .subnav li:hover {
	background-color: var(--color-accent);
}

/* ===============================
   COLOR UTILITIES (TAILWIND-LIKE)
================================ */
.bg-primary {
	background-color: var(--color-primary);
}
.bg-dark {
	background-color: var(--color-dark);
}
.bg-light {
	background-color: var(--color-light);
}
.bg-accent {
	background-color: var(--color-accent);
}
.bg-highlight {
	background-color: var(--color-highlight);
}

.text-primary {
	color: var(--color-primary);
}
.text-dark {
	color: var(--color-dark);
}
.text-light {
	color: var(--color-light);
}
.text-accent {
	color: var(--color-accent);
}
.text-highlight {
	color: var(--color-highlight);
}

.border-primary {
	border-color: var(--color-primary);
}
.border-dark {
	border-color: var(--color-dark);
}
.border-light {
	border-color: var(--color-light);
}
.border-accent {
	border-color: var(--color-accent);
}
.border-highlight {
	border-color: var(--color-highlight);
}

/* ===============================
   TEXT STROKE
================================ */
.accent-outline,
.accent-outline-dark,
.text-outline-white {
	color: transparent;
	-webkit-text-stroke-width: 2px;
}

.accent-outline {
	-webkit-text-stroke-color: white;
}
.accent-outline-dark {
	-webkit-text-stroke-color: var(--color-dark);
}
.text-outline-white {
	-webkit-text-stroke-color: #fff;
}

/* ===============================
   NAV / LOGO
================================ */
#nav-logo {
	max-width: 135px;
}

.logo-date {
	font-family: "Proxima Nova", sans-serif;
	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: 800;
	display: block;
	color: var(--color-dark);
}

#menu-primary-menu a {
	color: var(--color-primary);
}

/* ===============================
   SWIPER
================================ */
.swiper-button-next,
.swiper-button-prev {
	width: 3rem;
	height: 3rem;
	background-color: var(--color-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
	font-size: 1.25rem;
}

@media (min-width: 768px) {
	.swiper-button-prev {
		left: -3rem;
	}
	.swiper-button-next {
		right: -3rem;
	}
}

/* ===============================
   POPUP
================================ */
#popup-custom {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
}

#popup-custom.popup-hidden {
	display: none;
}

.popup-wrapper {
	max-width: 960px;
	position: relative;
}

/* ===============================
   GRAVITY FORMS
================================ */
#gform_2 input,
#gform_2 textarea {
	background: transparent;
	border: none;
	border-bottom: 1px solid var(--color-light);
	color: var(--color-light);
	font-size: 1.1em;
	width: 90%;
}

#gform_submit_button_1,
#gform_submit_button_2 {
	background: var(--color-highlight);
	color: var(--color-dark);
	font-weight: 700;
	border-radius: 38px;
	padding: 0.75rem 1.5rem;
	transition: all 0.3s ease;
}

#gform_submit_button_1:hover,
#gform_submit_button_2:hover {
	background: transparent;
	border: 1px solid var(--color-highlight);
}

.gfield_description {
	color: white !important;
}

/* ===============================
   MARQUEE
================================ */
.sponsor-marquee {
	width: max-content;
	animation: marquee 30s linear infinite;
}

@keyframes marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* ===============================
   MISC
================================ */
[x-cloak] {
	display: none !important;
}

footer a {
	text-decoration: none;
}

/* Ambassador Program Timeline */
.timeline-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.timeline-item {
	display: flex;
	justify-content: space-between;
	padding-left: 10px;
	color: white;
}

.timeline-item div p {
	text-align: right;
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 600px) {
	.timeline-item {
		flex-direction: column;
		border-left: none;
		padding-left: 0;
		row-gap: 10px;
	}

	.timeline-item div p {
		text-align: left;
	}
}
