/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Seven Broadway design system ------------------------------------------------ */

:root {
	--sb-shell-max-width: 72rem; /* ~1152px */
	--sb-nav-height: 4.5rem;
}

body {
	-webkit-font-smoothing: antialiased;
}

.sb-shell {
	max-width: var(--sb-shell-max-width);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.sb-full-bleed {
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	width: 100vw;
}

@media (min-width: 768px) {
	.sb-shell {
		padding-inline: 2.5rem;
	}
}

.sb-section {
	padding-block: clamp(1.75rem, 3.5vw, 3rem);
}

/* Full-height sections & scroll snapping ---------------------------------- */

html {
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	scroll-padding-top: var(--sb-nav-height);
}

.sb-snap-section {
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.sb-section-full {
	min-height: calc(100vh - var(--sb-nav-height));
	display: flex;
	align-items: center;
}

.sb-stack-lg > * + * {
	margin-top: 2rem;
}

.sb-stack-md > * + * {
	margin-top: 1.25rem;
}

.sb-stack-sm > * + * {
	margin-top: 0.75rem;
}

.sb-h1 {
	font-family: var(--brand-font-heading), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: clamp(2.6rem, 3.6vw, 3.1rem);
	line-height: 1.1;
}

.sb-h2 {
	font-family: var(--brand-font-heading), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 600;
	font-size: clamp(1.7rem, 2.3vw, 2rem);
	line-height: 1.2;
}

.sb-h3 {
	font-family: var(--brand-font-heading), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-weight: 500;
	font-size: 1.05rem;
	line-height: 1.3;
}

.sb-text {
	font-size: 1.12rem;
	line-height: 1.6;
	color: #000000;
}

.sb-text-sm {
	font-size: 0.85rem;
	line-height: 1.6;
	color: #000000;
}

.sb-eyebrow {
	font-size: 0.75rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #6b7280;
}

.sb-border {
	border: 1px solid rgba(148, 163, 184, 0.25);
}

.sb-card {
	background-color: #ffffff;
	border-radius: 1.25rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	padding: 1.75rem;
	box-shadow: 0 22px 70px rgba(15, 23, 42, 0.08);
}

.sb-card-soft {
	background-color: #ffffff;
	border-radius: 1rem;
	border: 1px solid rgba(148, 163, 184, 0.18);
	padding: 1.5rem 1.75rem;
	box-shadow: 0 16px 52px rgba(15, 23, 42, 0.08);
}

.sb-hero-shell {
	max-width: 72rem;
	margin-inline: auto;
}

.sb-hero-full {
	min-height: calc(100vh - var(--sb-nav-height));
	width: 100vw;
	display: flex;
	align-items: center;
	justify-content: center;
	background-repeat: no-repeat;
  background-size: 100% 100%;
}

/* Section images sized to viewport ---------------------------------------- */

.sb-section-image {
	height: calc(90vh - var(--sb-nav-height));
	min-height: 18rem;
}

.sb-hero-overlay {
	background: linear-gradient(110deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 40%, rgba(0, 0, 0, 0.35) 100%);
}

.sb-pill {
	border-radius: 999px;
	padding-inline: 1.9rem;
	padding-block: 0.6rem;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Slightly smaller CTAs for image overlays */
.sb-cta-compact {
	font-size: 0.7rem;
	padding-block: 0.45rem;
	padding-inline: 0.85rem;
}

.sb-cta-wide {
	padding-inline: 1rem;
	border-radius: 0.3125rem; /* ~5px */
}

.sb-cta-primary {
	background: #000000;
	color: #ffffff;
	border: 1px solid #000000;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.sb-cta-primary:hover {
	background: #111827;
	border-color: #111827;
	cursor: pointer;
}

.sb-cta-secondary {
	background: transparent;
	color: #111827;
	border: 1px solid #111827;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.sb-cta-secondary:hover {
	background: #111827;
	color: #ffffff;
	border-color: #111827;
	cursor: pointer;
}

/* Solid white secondary variant used on imagery */
.sb-cta-secondary-solid {
	background: #ffffff;
}

.sb-cta-whatsapp {
	background: #25d366;
	color: #000000;
	border: none;
	transition: background 160ms ease;
}

.sb-cta-whatsapp:hover {
	background: #1ebe5d;
	cursor: pointer;
}

.sb-link-muted {
	color: #9ca3af;
	font-size: 0.8rem;
}

.sb-link-muted:hover {
	color: #e5e7eb;
}

.sb-shadow-soft {
	box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

/* Section image rotator ------------------------------------------------------ */

.sb-rotator {
	position: relative;
}

.sb-rotator-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 800ms ease-in-out;
}

.sb-rotator-slide.is-active {
	opacity: 1;
}

.sb-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.sb-chip {
	border-radius: 999px;
	border: 1px solid rgba(148, 163, 184, 0.35);
	padding-inline: 0.8rem;
	padding-block: 0.35rem;
	font-size: 0.75rem;
	color: #9ca3af;
}

.nav-content-wrapper {
  padding-top: 1rem;
  padding-bottom: 1rem;
	/* legacy styles no longer used for layout; kept for potential future tweaks */
}

/* Sticky navbar ------------------------------------------------------------ */

.sb-nav-header {
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	background-color: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(18px);
	transition: background-color 160ms ease, box-shadow 160ms ease, backdrop-filter 160ms ease;
}

.sb-nav-header.is-scrolled {
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
}

/* Section reveal animations ------------------------------------------------ */

.reveal-section-content {
	transform: translateY(40px);
	opacity: 0;
	transition: transform 600ms ease, opacity 600ms ease;
}

.reveal-section-content.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.nav-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
	background-color: #ffffff;
	border: 1px solid #000000;
}

.nav-logo-link {
	display: inline-flex;
	align-items: center;
}

.center-screen-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - var(--sb-nav-height));
  padding-top: var(--sb-nav-height);
}

.subheading-font {
  font-family: var(--brand-font-subheading), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 70%;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  line-height: normal;
  margin-bottom: 1rem;
}

.main-nav-link {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
	font-weight: 600;
}
.main-nav-link:hover {
  color: lightgray;
  /* font-family: var(--brand-font-heading), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500; */
}

.nav-primary-links,
.nav-desktop-cta {
	display: none;
}

.request-info-cta {
	background: #000000;
	color: #ffffff;
	border: 1px solid #000000;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.request-info-cta:hover {
	background: #111827;
	border-color: #111827;
	cursor: pointer;
}

.nav-hamburger-menu {
	min-height: 2.5rem;
	min-width: 2.5rem;
	background-color: transparent;
	border-color: transparent;
	transition: color 150ms ease, transform 120ms ease;
}

.nav-hamburger-menu:hover {
	background-color: transparent;
	border-color: transparent;
	transform: translateY(-1px);
	cursor: pointer;
}

@media (max-width: 767px) {
	html {
		scroll-padding-top: calc(var(--sb-nav-height) + 0.5rem);
	}

	/* On mobile, remove backdrop blur so fixed mobile panel can cover full viewport */
	.sb-nav-header {
		backdrop-filter: none;
	}

	/* Slightly lighter hero subheadline weight on mobile */
	.subheading-font {
		font-weight: 500;
	}

	.nav-content-wrapper {
		padding-top: 1.25rem;
		padding-bottom: 1.25rem;
	}

	.nav-mobile-hamburger {
		display: inline-flex !important;
	}

	/* Mobile hamburger panel link sizing and color */
	.nav-mobile-panel .main-nav-link {
		font-size: 1.05rem;
		color: #111827;
		text-align: center;
		display: inline-block;
		margin-block: 0.25rem;
	}

	/* Mobile tweaks for full-bleed sections and imagery */
	.sb-section {
		padding-block: 1.25rem;
	}

	/* Tighten vertical spacing within stacked text blocks */
	.sb-stack-md > * + * {
		margin-top: 0.9rem;
	}

	.sb-section-full {
		min-height: calc(100vh - var(--sb-nav-height));
	}

	.sb-section-image {
		height: calc(50vh - var(--sb-nav-height));
		min-height: 12rem;
	}

	/* Reduce gap between content and image columns when stacked */
	.sb-section .grid[class*="md:grid-cols-2"] {
		row-gap: 1.25rem;
	}

	.sb-h2 {
		font-size: 1.25rem;
	}

	.sb-text {
		font-size: 1rem;
		line-height: 1.45;
	}

	.sb-text-sm {
		font-size: 0.8rem;
		line-height: 1.45;
	}

	/* Bring CTAs closer to preceding text in sections */
	.sb-section a.sb-cta-wide {
		margin-top: 0.25rem;
	}
}

@media (min-width: 768px) {
	.nav-primary-links {
		display: flex !important;
	}

	.nav-desktop-cta {
		display: flex !important;
	}

	.nav-mobile-hamburger {
		display: none !important;
	}
}

.sb-cta-primary:disabled,
.sb-cta-primary[disabled] {
	background: #000000;
	border-color: #000000;
	opacity: 0.7;
	cursor: not-allowed;
}

@import "fontawesome/css/all";

/* Leaflet map sizing -------------------------------------------------------- */

.leaflet-container {
	width: 100% !important;
	height: 100% !important;
}

/* Prevent global responsive img rules from distorting Leaflet tiles */
.leaflet-container img,
.leaflet-container .leaflet-tile,
.leaflet-container .leaflet-marker-icon,
.leaflet-container .leaflet-marker-shadow {
	max-width: none !important;
	max-height: none !important;
}
