/* U.B. Innovations: styles for the homepage, services, about and contact templates. */

.navbar {
	background-color: rgba(22, 30, 40, 0.94);
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .active > .nav-link { color: #ffbc2c; }

.ubi-home, .ubi-page { color: #c9ced3; font-size: 1.05rem; line-height: 1.6; }
.ubi-home h1, .ubi-home h2, .ubi-home h3, .ubi-home h4,
.ubi-page h1, .ubi-page h2, .ubi-page h3, .ubi-page h4 { color: #fff; font-weight: 700; }
.ubi-home h2, .ubi-page h2 { font-size: 2rem; margin-bottom: 1rem; }
.ubi-home h3, .ubi-page h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }
.ubi-home h4, .ubi-page h4 { font-size: 1.05rem; margin-bottom: 0.25rem; }

/* Hero */
.ubi-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 11rem 0 7rem;
}
.ubi-hero-shade {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(180deg, rgba(18, 25, 33, 0.78) 0%, rgba(30, 40, 52, 0.94) 100%);
}
.ubi-hero-inner { position: relative; max-width: 860px; text-align: center; }
.ubi-hero h1 { font-size: 3rem; line-height: 1.15; margin-bottom: 1.25rem; }
.ubi-hero-lead { font-size: 1.25rem; color: #dfe3e6; margin-bottom: 2rem; }
.ubi-eyebrow {
	color: #ffbc2c; font-weight: 600; font-size: 0.85rem;
	letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem;
}
.ubi-hero-actions .btn { margin: 0.35rem; }

/* Inner page heading */
.ubi-page-head { padding: 9rem 0 3.5rem; background-color: #18212b; text-align: center; }
.ubi-page-head .container { max-width: 860px; }
.ubi-page-head h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 1rem; }

/* Buttons */
.ubi-btn, .ubi-btn-outline, .ubi-btn-light {
	border-radius: 6px; font-weight: 600; padding: 0.7rem 1.5rem; border: 2px solid #fb5b21;
}
.ubi-btn { background-color: #fb5b21; color: #fff; }
.ubi-btn:hover, .ubi-btn:focus { background-color: #e04a14; border-color: #e04a14; color: #fff; }
.ubi-btn-outline { background-color: transparent; border-color: #fff; color: #fff; }
.ubi-btn-outline:hover, .ubi-btn-outline:focus { background-color: #fff; color: #1e2834; }
.ubi-btn-light { background-color: #fff; border-color: #fff; color: #c53d0c; }
.ubi-btn-light:hover, .ubi-btn-light:focus { background-color: #1e2834; border-color: #1e2834; color: #fff; }

/* Sections */
.ubi-section { padding: 4.5rem 0; }
.ubi-section-alt { background-color: #18212b; }
.ubi-section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.ubi-section-head h2:after {
	content: ""; display: block; width: 50px; height: 3px;
	background-color: #ffbc2c; margin: 1rem auto 0;
}

/* Cards */
.ubi-col { margin-bottom: 1.5rem; }
.ubi-card {
	display: block; height: 100%; padding: 2rem;
	background-color: #2d3741; border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.ubi-card-accent { background-color: #fb5023; border-color: #fb5023; color: #fff; }
.ubi-card-accent .ubi-tag, .ubi-card-accent .ubi-card-icon { color: #fff; }
.ubi-card-icon { color: #fb5b21; font-size: 2rem; margin-bottom: 1rem; }
.ubi-tag {
	color: #ffbc2c; font-size: 0.8rem; font-weight: 600;
	letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.ubi-tag a { color: inherit; }
.ubi-list { padding-left: 1.1rem; margin-bottom: 1.25rem; }
.ubi-list li { margin-bottom: 0.25rem; }
.ubi-link { color: #ffbc2c; font-weight: 600; }
.ubi-link:hover { color: #fff; text-decoration: none; }
.ubi-link i { font-size: 0.8em; margin-left: 0.25rem; }
.ubi-more { margin: 1.5rem 0 0; }
a.ubi-contact-card:hover { text-decoration: none; border-color: #fb5b21; }
.ubi-contact-card { text-align: center; color: #c9ced3; }
.ubi-contact-card p { margin-bottom: 0; }

/* Fitness features */
.ubi-phone { max-height: 420px; margin-bottom: 2rem; }
.ubi-features { margin-top: 1.5rem; }
.ubi-features > div { margin-bottom: 1.25rem; }
.ubi-features i { color: #fb5b21; font-size: 1.4rem; margin-bottom: 0.5rem; }
.ubi-features p { margin-bottom: 0; font-size: 0.95rem; }

/* Featured offer */
.ubi-offer {
	background-color: #fb5023; color: #fff;
	border-radius: 18px; padding: 2.5rem; margin-bottom: 2.5rem;
}
.ubi-offer .ubi-tag { color: #fff; }
.ubi-offer h3 { font-size: 1.9rem; }
.ubi-offer-price { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.ubi-offer-alt { margin: 1rem 0 0; }
.ubi-offer a:not(.btn), .ubi-card-accent a:not(.btn) { color: #fff; text-decoration: underline; }
.ubi-checks { list-style: none; padding-left: 0; margin-bottom: 1.5rem; }
.ubi-checks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.ubi-checks li:before {
	content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900;
	position: absolute; left: 0; top: 0.05rem; color: #ffbc2c;
}
.ubi-offer .ubi-checks li:before { color: #fff; }

/* Steps */
.ubi-steps > div { margin-bottom: 1.5rem; }
.ubi-steps span {
	display: inline-block; width: 2.5rem; height: 2.5rem; line-height: 2.5rem;
	text-align: center; border-radius: 50%; background-color: #fb5b21;
	color: #fff; font-weight: 700; margin-bottom: 0.75rem;
}

/* Posts */
.ubi-post-image img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 1rem; }
.ubi-post h3 a { color: #fff; }
.ubi-post h3 a:hover { color: #ffbc2c; text-decoration: none; }
.ubi-editor-content { max-width: 760px; margin: 2rem auto; }

/* Closing call to action */
.ubi-cta { background-color: #18212b; }
.ubi-cta .container { max-width: 760px; }
.ubi-section + .ubi-cta, .ubi-section-alt + .ubi-cta { border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* Footer */
.ubi-footer {
	margin-top: 0; padding: 3rem 0 1.5rem; text-align: left;
	background-color: #141b23; color: #9aa3ab; font-size: 0.95rem;
}
.ubi-footer a { color: #c9ced3; }
.ubi-footer a:hover { color: #ffbc2c; }
.ubi-footer li { margin-bottom: 0.35rem; }
.ubi-footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 0.5rem; }
.ubi-footer-heading {
	color: #fff; font-weight: 600; font-size: 0.8rem;
	letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem;
}
.ubi-footer-legal {
	margin: 2rem 0 0; padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.85rem;
}

@media (max-width: 767px) {
	.ubi-hero { padding: 8rem 0 4rem; }
	.ubi-hero h1 { font-size: 2.1rem; }
	.ubi-hero-lead { font-size: 1.1rem; }
	.ubi-page-head { padding: 7rem 0 2.5rem; }
	.ubi-page-head h1 { font-size: 1.9rem; }
	.ubi-section { padding: 3rem 0; }
	.ubi-offer { padding: 1.75rem; }
	.ubi-offer .btn, .ubi-hero-actions .btn { display: block; width: 100%; margin: 0.5rem 0; }
	.ubi-footer .col-md-3, .ubi-footer .col-md-4 { margin-top: 1.5rem; }
}

/* Football game page */
.ubi-card-game { padding-top: 0; overflow: hidden; }
.ubi-card-photo { display: block; width: calc(100% + 4rem); max-width: none; margin: 0 -2rem 1.5rem; height: 170px; object-fit: cover; }
.ubi-game-hero {
	position: relative; overflow: hidden; text-align: center;
	padding: 9rem 0 6rem; min-height: 640px;
	background-color: #0b1320; background-size: cover; background-position: center;
}
.ubi-game-hero-shade {
	position: absolute; top: 0; right: 0; bottom: 0; left: 0;
	background: radial-gradient(ellipse at 50% 45%, rgba(8, 14, 22, 0.88) 0%, rgba(8, 14, 22, 0.62) 70%, rgba(8, 14, 22, 0.45) 100%);
}
.ubi-game-hero .container { position: relative; max-width: 820px; }
.ubi-game-hero h1 {
	font-size: 3.6rem; line-height: 1.1; margin-bottom: 1rem;
	text-transform: uppercase; letter-spacing: 0.02em; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}
.ubi-game-hero .ubi-hero-lead { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7); }
.ubi-game-ball {
	display: block; margin-left: auto; margin-right: auto;
	width: 110px; height: 110px; margin-bottom: 1.5rem;
	filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
	animation: ubi-bounce 2.4s ease-in-out infinite;
}
.ubi-game-ball-small { width: 64px; height: 64px; margin-bottom: 1rem; }
@keyframes ubi-bounce {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-18px) rotate(40deg); }
}
.ubi-game-badge {
	display: inline-block; padding: 0.4rem 1rem; margin-bottom: 1.25rem;
	border-radius: 999px; background-color: rgba(255, 188, 44, 0.16); border: 1px solid rgba(255, 188, 44, 0.6);
	color: #ffbc2c; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.ubi-game-badge span {
	display: inline-block; width: 8px; height: 8px; margin-right: 0.4rem;
	border-radius: 50%; background-color: #ffbc2c; animation: ubi-pulse 1.6s ease-in-out infinite;
}
@keyframes ubi-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.ubi-game-note { font-size: 0.9rem; color: #dfe3e6; margin: 0.5rem 0 0; }

.ubi-game-facts { background-color: #fb5023; padding: 1.75rem 0; text-align: center; color: #fff; }
.ubi-game-facts strong { display: block; font-size: 2.4rem; line-height: 1.1; font-weight: 800; }
.ubi-game-facts span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; }
.ubi-feature-row { margin-bottom: 4rem; }
.ubi-feature-row:last-child { margin-bottom: 0; }
.ubi-feature-img { border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); margin-bottom: 1.5rem; }
.ubi-feature-row h3 { font-size: 1.7rem; }
.ubi-gallery img { border-radius: 12px; margin-bottom: 1rem; transition: transform 0.2s ease; }
.ubi-gallery img:hover { transform: scale(1.04); }
.ubi-game-artnote { text-align: center; font-size: 0.85rem; color: #9aa3ab; margin: 1rem 0 0; }
.ubi-art-card { padding: 0; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ubi-art-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }
.ubi-art-card img { display: block; width: 100%; height: 200px; object-fit: cover; }
.ubi-art-body { padding: 1.5rem 2rem 2rem; }

.ubi-road { display: flex; position: relative; max-width: 960px; margin: 0 auto; }
.ubi-road:before {
	content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 4px;
	background: repeating-linear-gradient(90deg, #4a5663 0, #4a5663 12px, transparent 12px, transparent 22px);
}
.ubi-road-step { position: relative; flex: 1; padding: 0 1rem; text-align: center; }
.ubi-road-dot {
	display: inline-block; width: 60px; height: 60px; line-height: 56px; margin-bottom: 1rem;
	border-radius: 50%; background-color: #2d3741; border: 2px solid #4a5663; color: #c9ced3; font-size: 1.3rem;
}
.ubi-road-now .ubi-road-dot {
	background-color: #fb5b21; border-color: #fb5b21; color: #fff;
	box-shadow: 0 0 0 8px rgba(251, 91, 33, 0.2);
}
.ubi-road-step p:last-child { font-size: 0.95rem; margin-bottom: 0; }

.ubi-game-cta {
	background: repeating-linear-gradient(90deg, #27764a 0, #27764a 90px, #2f8a52 90px, #2f8a52 180px);
	border-top: 4px solid #fff !important;
}
.ubi-game-cta p { color: #fff; }
.ubi-game .ubi-editor-content img { max-width: 100%; height: auto; border-radius: 10px; }

@media (prefers-reduced-motion: reduce) {
	.ubi-game-ball, .ubi-game-badge span { animation: none; }
	.ubi-art-card { transition: none; }
}
@media (max-width: 767px) {
	.ubi-game-hero { padding: 7rem 0 4rem; min-height: 0; }
	.ubi-game-hero h1 { font-size: 2.3rem; }
	.ubi-game-ball { width: 80px; height: 80px; }
	.ubi-game-facts .col-6 { margin: 0.6rem 0; }
	.ubi-game-facts strong { font-size: 2rem; }
	.ubi-feature-row { margin-bottom: 2.5rem; }
	.ubi-road { display: block; }
	.ubi-road:before { display: none; }
	.ubi-road-step { margin-bottom: 2rem; }
}
