/* =============================================================
   TMLC Site UX
   Site-wide layout/UX overrides for the Two Man Links site.
   Loaded after the theme so it can selectively override OnePress.
   ============================================================= */

/* -------------------------------------------------------------
   1. DESKTOP NAV — restore inline menu between 1025-1140px
   OnePress switches to hamburger mode at max-width 1140px, which
   hides the inline nav unnecessarily on tablet-landscape and
   smaller laptops. We pull the threshold down to 1024px so any
   desktop-sized viewport gets the full nav.
   ------------------------------------------------------------- */

@media screen and (min-width: 1025px) {
	/* Force the menu container visible and reset OnePress's mobile collapse */
	.main-navigation {
		position: relative !important;
	}
	.main-navigation .onepress-menu {
		display: flex !important;
		height: auto !important;
		overflow: visible !important;
		background: transparent !important;
		width: auto !important;
	}

	/* Even if OnePress's JS adds the .onepress-menu-mobile class, neutralize
	   the absolute positioning so the menu doesn't drop down as a panel. */
	.onepress-menu.onepress-menu-mobile {
		position: relative !important;
		top: auto !important;
		right: auto !important;
		width: auto !important;
		border: none !important;
		overflow: visible !important;
	}
	.onepress-menu.onepress-menu-mobile > li {
		border-top: 0 !important;
		width: auto !important;
		background: transparent !important;
	}
	.onepress-menu.onepress-menu-mobile > li > a {
		padding: 0 14px !important;
	}

	/* Hide the hamburger toggle entirely at desktop sizes */
	#nav-toggle {
		display: none !important;
	}
}

/* -------------------------------------------------------------
   2. FOOTER COLUMNS — 3-column block above the copyright bar
   ------------------------------------------------------------- */

.tmlc-footer-cols {
	background: #0e1a24;
	color: rgba(255, 255, 255, 0.78);
	padding: 56px 0 36px;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	line-height: 1.55;
}

.tmlc-footer-cols .container {
	max-width: 1180px;
}

.tmlc-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.2fr;
	gap: 48px;
	align-items: start;
}

@media (max-width: 900px) {
	.tmlc-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
	.tmlc-footer-col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.tmlc-footer-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.tmlc-footer-cols {
		padding: 44px 0 28px;
	}
}

/* Brand column */
.tmlc-footer-logo {
	display: inline-block;
	margin-bottom: 16px;
	background: #f7f2e6;
	padding: 12px 16px;
	border-radius: 6px;
	transition: opacity 180ms ease;
}
.tmlc-footer-logo:hover {
	opacity: 0.92;
}
.tmlc-footer-logo img {
	display: block;
	max-width: 220px;
	height: auto;
}
.tmlc-footer-tagline {
	margin: 0 0 12px;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.85);
	max-width: 380px;
}
.tmlc-footer-meta {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}
.tmlc-footer-meta a {
	color: #03c4eb;
	text-decoration: none;
	border-bottom: 1px solid rgba(3, 196, 235, 0.4);
	transition: border-color 180ms ease;
}
.tmlc-footer-meta a:hover {
	border-color: #03c4eb;
}

/* Headings */
.tmlc-footer-heading {
	margin: 0 0 16px;
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #ffffff;
}

/* Explore column links */
.tmlc-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tmlc-footer-links li {
	margin: 0 0 8px;
}
.tmlc-footer-links a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-size: 14px;
	transition: color 160ms ease;
	display: inline-block;
}
.tmlc-footer-links a:hover,
.tmlc-footer-links a:focus {
	color: #03c4eb;
}

/* Connect column */
.tmlc-footer-blurb {
	margin: 0 0 14px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.78);
}

.tmlc-footer-newsletter-row {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}
.tmlc-footer-newsletter-row input[type="email"] {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	color: #ffffff;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 180ms ease, background 180ms ease;
}
.tmlc-footer-newsletter-row input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.4);
}
.tmlc-footer-newsletter-row input[type="email"]:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.12);
	border-color: #03c4eb;
}
.tmlc-footer-newsletter-btn {
	padding: 10px 16px;
	background: #03c4eb;
	color: #0e1a24;
	border: 0;
	border-radius: 4px;
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: background 180ms ease, transform 180ms ease;
}
.tmlc-footer-newsletter-btn:hover,
.tmlc-footer-newsletter-btn:focus {
	background: #0fd0f6;
	transform: translateY(-1px);
}

/* Social icons */
.tmlc-footer-social {
	display: flex;
	gap: 12px;
}
.tmlc-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.78);
	transition: color 160ms ease, border-color 160ms ease, transform 160ms ease, background 160ms ease;
}
.tmlc-footer-social a:hover,
.tmlc-footer-social a:focus {
	color: #0e1a24;
	background: #03c4eb;
	border-color: #03c4eb;
	transform: translateY(-2px);
}

/* Adjust the OnePress copyright bar to feel like a continuation
   of the dark column block, not a separate orphan stripe. */
.site-footer .site-info {
	background: #07131c;
	padding: 18px 0;
	margin-top: 0;
}
.site-footer .site-info,
.site-footer .site-info a {
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
}
.site-footer .site-info a:hover {
	color: #03c4eb;
}

/* -------------------------------------------------------------
   3. CONTACT FORM — clean WPForms styling site-wide
   Targets WPForms "modern" render mode so the form feels like
   part of the site rather than a stock plugin output.
   ------------------------------------------------------------- */

/* Card wrapper — gives the form a defined surface */
.wpforms-render-modern.wpforms-container,
.wpforms-render-modern .wpforms-container {
	background: #ffffff;
	border: 1px solid #e6dfce;
	border-radius: 10px;
	padding: 32px 32px 28px;
	box-shadow: 0 12px 32px -24px rgba(14, 26, 36, 0.18);
}

/* When the contact section sits in a 2-column layout, give it room */
@media (max-width: 760px) {
	.wpforms-render-modern.wpforms-container,
	.wpforms-render-modern .wpforms-container {
		padding: 22px 20px;
	}
}

/* Field spacing */
.wpforms-render-modern .wpforms-field {
	padding: 0 0 18px !important;
}

/* Labels — small, uppercase, refined */
.wpforms-render-modern .wpforms-field-label {
	display: block !important;
	margin: 0 0 8px !important;
	font-family: "Raleway", Helvetica, Arial, sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	color: #0e1a24 !important;
}

.wpforms-render-modern .wpforms-field-label .wpforms-required-label {
	color: #03c4eb !important;
	margin-left: 4px;
}

/* Sublabels under First/Last */
.wpforms-render-modern .wpforms-field-sublabel {
	font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
	font-size: 11px !important;
	color: #8a8a8a !important;
	margin-top: 6px !important;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
}

/* Inputs + textareas — proper polish */
.wpforms-render-modern input[type="text"],
.wpforms-render-modern input[type="email"],
.wpforms-render-modern input[type="url"],
.wpforms-render-modern input[type="tel"],
.wpforms-render-modern input[type="number"],
.wpforms-render-modern textarea,
.wpforms-render-modern select {
	width: 100% !important;
	background: #fafafa !important;
	border: 1px solid #e0dccf !important;
	border-radius: 6px !important;
	padding: 12px 14px !important;
	font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
	font-size: 15px !important;
	color: #0e1a24 !important;
	line-height: 1.5 !important;
	box-shadow: none !important;
	transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
	box-sizing: border-box !important;
	min-height: 46px !important;
}

.wpforms-render-modern textarea {
	min-height: 130px !important;
	resize: vertical;
}

.wpforms-render-modern input:focus,
.wpforms-render-modern textarea:focus,
.wpforms-render-modern select:focus {
	outline: none !important;
	background: #ffffff !important;
	border-color: #03c4eb !important;
	box-shadow: 0 0 0 3px rgba(3, 196, 235, 0.15) !important;
}

.wpforms-render-modern input::placeholder,
.wpforms-render-modern textarea::placeholder {
	color: #b0b0b0 !important;
}

/* Submit button */
.wpforms-render-modern .wpforms-submit-container {
	padding-top: 8px !important;
	margin: 0 !important;
}

.wpforms-render-modern button[type="submit"],
.wpforms-render-modern .wpforms-submit {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: auto !important;
	min-width: 200px;
	padding: 14px 36px !important;
	background: #0e1a24 !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 6px !important;
	font-family: "Raleway", Helvetica, Arial, sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: 2px !important;
	text-transform: uppercase !important;
	cursor: pointer;
	box-shadow: 0 10px 24px -14px rgba(14, 26, 36, 0.6) !important;
	transition: background 200ms ease, transform 180ms ease, box-shadow 200ms ease !important;
}

.wpforms-render-modern button[type="submit"]:hover,
.wpforms-render-modern button[type="submit"]:focus,
.wpforms-render-modern .wpforms-submit:hover,
.wpforms-render-modern .wpforms-submit:focus {
	background: #03c4eb !important;
	color: #0e1a24 !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -14px rgba(3, 196, 235, 0.55) !important;
}

/* Error states */
.wpforms-render-modern .wpforms-error,
.wpforms-render-modern label.wpforms-error {
	font-size: 12px !important;
	color: #c62828 !important;
	margin-top: 6px !important;
}
.wpforms-render-modern input.wpforms-error,
.wpforms-render-modern textarea.wpforms-error {
	border-color: #c62828 !important;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.10) !important;
}

/* Contact section — tighten layout and polish OnePress's defaults */
#contact .section-title {
	font-size: 38px;
	letter-spacing: -0.01em;
	margin-bottom: 12px;
}
#contact .section-title-area {
	margin-bottom: 36px;
}
#contact .container {
	max-width: 1120px;
}

/* Contact info column (right side) — better hierarchy */
#contact .info-box h4,
#contact h4 {
	font-family: "Raleway", Helvetica, Arial, sans-serif;
	font-size: 22px;
	letter-spacing: -0.01em;
	color: #0e1a24;
	margin-bottom: 18px;
}

#contact ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#contact ul li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 10px 0;
	font-size: 15px;
	line-height: 1.55;
	color: #3d4a43;
}

#contact ul li i,
#contact ul li .fa {
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(3, 196, 235, 0.10);
	color: #03c4eb;
	border-radius: 50%;
	font-size: 14px;
	flex-shrink: 0;
}

#contact ul li a {
	color: #0296b0;
	text-decoration: none;
	border-bottom: 1px solid rgba(3, 196, 235, 0.3);
	transition: border-color 180ms ease, color 180ms ease;
}
#contact ul li a:hover {
	color: #03c4eb;
	border-color: #03c4eb;
}
