/* Homepage specific styling goes here. Excluded on all subpages */
/* For most builds, this stylesheet should be wiped and started fresh */

/* Homepage Container Override - Allow vertical overflow for overlap effects */
.home #container {
	overflow-x: clip;
	overflow-y: visible;
}

/* Homepage CSS Variables */
:root {
	--hero-item-gap: 8px;
	--hero-height: 650px;
}

/*******************************************************************************************
SECTION: HOME HERO - Main hero section with background and attorney image
*******************************************************************************************/

.home-hero {
	position: relative;
	overflow: hidden;
}

.home-hero-main-row {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	overflow: hidden;
	height: var(--hero-height);
}

.home-hero-main-row > .row {
	width: 100%;
}

.home-hero-main-row .column,
.home-hero-main-row .row {
	height: var(--hero-height);
}

.home-hero-results-row {
	flex: 0 0 auto;
	background-color: var(--color-body-text);
	color: var(--color-white);
	padding: 35px 0;
}

.home-hero-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--hero-height);
	background-image: url("../images/hero_bg.jpg");
	background-size: cover;
	background-position-x: right;
	background-repeat: no-repeat;
	z-index: 0;
}

.home-hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 100px 0 0;
	height: var(--hero-height);
}

.home-hero-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-align: center;
	padding-bottom: 20px;
	position: relative;
	z-index: 1;
}

.home-hero-text {
	margin-bottom: 0;
	position: relative;
	z-index: 1;
}

/* Unified white gradient fade on mobile */
.home-hero-content::before {
	content: "";
	position: absolute;
	top: -70px;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	height: calc(100% + 70px);
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.3) 11%,
		rgba(255, 255, 255, 1) 28%
	);
	pointer-events: none;
	z-index: -1;
}

.home-hero-eyebrow {
	color: var(--color-primary);
	font-size: 2.5rem;
	font-family: var(--font-family-heading);
	font-weight: 400;
	margin-bottom: var(--hero-item-gap);
	line-height: 1.1;
}

.home-hero-title {
	/* color: var(--color-body-text); */
	font-size: 5rem;
	font-family: var(--font-family-body);
	font-weight: 600;
	margin-bottom: var(--hero-item-gap);
	line-height: 0.9;
	text-transform: uppercase;
}

.home-hero-subtitle {
	/* color: var(--color-body-text); */
	font-size: 1.125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1.1;
	margin-bottom: var(--hero-item-gap);
	font-family: var(--font-family-body);
}

.home-hero-button {
	margin-bottom: var(--hero-item-gap);
}

.home-hero-button .button {
	padding: 18px 18px;
	font-size: 1.125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.home-hero-bottom {
	display: flex;
	flex-direction: column;
	gap: var(--hero-item-gap);
	align-items: center;
	position: relative;
	z-index: 1;
}

.home-hero-google {
	display: flex;
	justify-content: center;
	align-items: center;
}

.home-hero-google img {
	max-width: 248px;
	height: auto;
	position: relative;
	z-index: 1;
}

.home-hero-image {
	position: absolute;
	width: 100%;
	z-index: 0;
	bottom: 175px;
}

.home-hero-image img {
	height: auto;
	max-width: 320px;
	margin: 0 auto;
}

.home-hero-attorney-info {
	position: absolute;
	display: none;
	bottom: 20px;
	right: 20px;
	background-color: rgba(255, 255, 255, 0.95);
	padding: 15px 20px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-hero-attorney-name {
	/* color: var(--color-body-text); */
	font-size: 1.2rem;
	line-height: 1;
	font-weight: 700;
	margin-bottom: 0;
	/* font-family: var(--font-family-heading); */
}

.home-hero-attorney-title {
	color: var(--color-secondary);
	font-size: 1rem;
	/* font-weight: 600; */
	margin-bottom: 0;
	font-style: italic;
	/* text-transform: uppercase; */
	letter-spacing: 1px;
	font-family: var(--font-family-heading);
}

@media screen and (min-width: 420px) {
	.home-hero-title {
		font-size: 6.9rem;
	}
}

/* Desktop layout */
@media screen and (min-width: 768px) {
	.home-hero {
		height: var(--hero-height);
	}

	.home-hero-bottom {
		align-items: flex-start;
	}

	.home-hero-button {
		margin-bottom: 45px;
	}

	.home-hero-inner {
		flex-direction: row;
		align-items: center;
		gap: 60px;
		padding: 80px 0 40px;
		height: var(--hero-height);
	}

	.home-hero-content-container {
		flex: 1;
	}

	.home-hero-content {
		text-align: left;
		max-width: none;
		padding: 0;
	}

	.home-hero-image {
		bottom: 0;
		right: -250px;
	}

	.home-hero-image img {
		max-width: 460px;
	}

	/* Remove gradient fade on desktop */
	.home-hero-content::before {
		display: none;
	}

	.home-hero-eyebrow {
		font-size: 3.2rem;
		margin-bottom: var(--hero-item-gap);
	}

	.home-hero-title {
		font-size: 6.5rem;
		margin-bottom: var(--hero-item-gap);
	}

	.home-hero-subtitle {
		font-size: 1.3rem;
		margin-bottom: 30px;
	}

	.home-hero-google {
		justify-content: flex-start;
	}

	.home-hero-google img {
		max-width: 240px;
	}

	.home-hero-results-row {
		padding: 40px 0;
	}
}

@media screen and (min-width: 1025px) {
	:root {
		--hero-item-gap: 40px;
		--hero-height: 710px;
	}

	.home-hero-inner {
		gap: 80px;
		padding: 140px 0 60px;
		align-items: center;
	}

	.home-hero-attorney-info {
		display: block;
		position: absolute;
		bottom: 0;
		right: 0;
		background-color: rgba(255, 255, 255, 0.95);
		padding: 15px 20px;
		text-align: left;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
		z-index: 2;
	}

	.home-hero-image {
		right: 0;
		display: flex;
		justify-content: flex-end;
	}

	.home-hero-image img {
		max-width: 530px;
		margin: 0;
	}

	.home-hero-title {
		font-size: 10.8rem;
		margin-bottom: 16px;
		margin-left: -6px;
	}

	.home-hero-eyebrow {
		font-size: 3.8rem;
		margin-bottom: 8px;
	}

	.home-hero-subtitle {
		font-size: 1.3rem;
		margin-bottom: 50px;
	}
}

@media screen and (min-width: 1520px) {
	.home-hero-button {
		margin-bottom: 0;
	}

	.home-hero-bottom {
		flex-direction: row;
		gap: var(--hero-item-gap);
		align-items: center;
		justify-content: flex-start;
	}

	.home-hero-image {
		right: -8vw;
	}

	.home-hero-eyebrow {
		font-size: 4.7rem;
	}

	.home-hero-title {
		font-size: 14rem;
	}

	.home-hero-subtitle {
		font-size: 1.6rem;
	}
}

/*******************************************************************************************
SECTION: MAIN CONTENT - Introduction section with image
*******************************************************************************************/

.section-main-content {
	background-image: url(../images/bg_almost_gray.webp);
	background-size: cover;
	background-repeat: no-repeat;
	padding: 80px 0;
	position: relative;
}

.section-main-content-inner {
	display: flex;
	flex-direction: column;
	gap: 50px;
}

.section-main-content-header {
}

.section-main-content-lower {
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
}

.section-main-content-left {
	flex: 1;
}

.section-main-content-eyebrow {
	color: var(--color-body-text);
	margin-bottom: 20px;
	font-size: var(--font-size-h4);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-family: var(--font-family-body);
	line-height: 1.4;
}

.section-main-content-title {
	color: var(--color-body-text);
	font-family: var(--font-family-heading);
	font-size: var(--font-size-h3);
	font-weight: 400;
	margin-bottom: 0;
	line-height: 1.3;
}

.section-main-content-text p {
	font-size: 1.125rem;
	font-weight: 300;
	line-height: 1.6;
	color: var(--color-body-text);
	margin-bottom: 25px;
}

.section-main-content-text p:last-child {
	margin-bottom: 0;
}

.section-main-content-right {
	flex: 1;
	max-width: 500px;
}

.section-main-content-image {
	width: 100%;
}

.section-main-content-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Mobile image copy - shown only on mobile */
.section-main-content-image-mobile {
	width: 100%;
	margin-top: 30px;
	text-align: center;
}

.section-main-content-image-mobile img {
	width: 100%;
	max-width: 400px;
	height: auto;
	object-fit: cover;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Hide mobile image on desktop */
@media screen and (min-width: 768px) {
	.section-main-content-image-mobile {
		display: none;
	}
}

/* Hide original image on mobile */
@media screen and (max-width: 767px) {
	.section-main-content-right {
		display: none;
	}
}

/* Desktop layout */
@media screen and (min-width: 768px) {
	.section-main-content {
		padding: 100px 0;
	}

	.section-main-content-header {
		text-align: left;
		margin-bottom: 0;
	}

	.section-main-content-inner {
		position: relative;
		padding-left: 50px;
	}

	.section-main-content-inner::before {
		content: "";
		position: absolute;
		left: 0;
		top: 0;
		bottom: 0;
		width: 3px;
		background-color: var(--color-secondary);
	}

	.section-main-content-lower {
		flex-direction: row;
		gap: 80px;
		align-items: flex-start;
	}

	.section-main-content-left {
		flex: 1;
	}

	.section-main-content-right {
		flex: 0 0 45%;
		max-width: none;
	}
}

@media screen and (min-width: 1025px) {
	.section-main-content-title {
		font-size: var(--font-size-h1);
	}
	.section-main-content {
		padding: 90px 0;
	}

	.section-main-content-inner {
		padding-left: 60px;
	}

	.section-main-content-lower {
		gap: 90px;
	}

	.section-main-content-right {
		flex: 0 0 40%;
	}
}

@media screen and (min-width: 1740px) {
	.section-main-content-header {
		max-width: 660px;
	}
}

/*******************************************************************************************
SECTION: CENTRAL FLORIDA - "Giving Back" section
*******************************************************************************************/

.section-fla {
	padding: 0 0 80px;
}

.section-fla-inner {
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
}

.section-fla-image {
	width: 100%;
}

.section-fla-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.section-fla-content {
	flex: 1;
	max-width: 600px;
}

.section-fla-header {
	margin-bottom: 30px;
}

.section-fla-header .h4-style {
	margin-bottom: 0;
}

.section-fla-eyebrow {
	color: var(--color-body-text);
	margin-bottom: 10px;
	font-size: var(--font-size-h4);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-family: var(--font-family-body);
}

.section-fla-text p {
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.6;
	color: var(--color-body-text);
	margin-bottom: 25px;
}

.section-fla-highlight {
	background-color: rgba(0, 153, 255, 0.05);
	padding: 20px;
	border-radius: 6px;
	font-style: italic;
	font-weight: 400 !important;
}

.section-fla-content-block:not(:last-child) {
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid #dbdbdb;
}

/* Desktop layout */
@media screen and (min-width: 768px) {
	.section-fla {
		padding: 100px 0 20px;
	}

	.section-fla-inner {
		flex-direction: row;
		gap: 60px;
		align-items: flex-start;
	}

	.section-fla-image {
		flex: 0 0 45%;
		max-width: none;
	}

	.section-fla-content {
		flex: 1;
		max-width: none;
	}
}

@media screen and (min-width: 1025px) {
	.section-fla-inner {
		gap: 80px;
	}

	.section-fla-image {
		flex: 0 0 40%;
	}
}

/*******************************************************************************************
SECTION: LETTER - "Straight From My Desk" section
*******************************************************************************************/

.section-letter {
	background-color: var(--color-white);
	padding: 80px 0;
}

.section-letter-inner {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

.section-letter-left {
	flex: 1;
}

.section-letter-header {
	margin-bottom: 25px;
}

.section-letter-eyebrow {
	margin-bottom: 8px;
}

.section-letter-content p {
	font-size: 1.2rem;
}

.section-letter-content p:last-child {
	margin-bottom: 0;
}

.section-letter-right {
	flex: 1;
}

.section-letter-message p {
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.6;
	color: var(--color-body-text);
	margin-bottom: 20px;
}

.section-letter-message p:last-child {
	margin-bottom: 0;
}

.section-letter-closing {
	font-weight: 600 !important;
}

.section-letter-signature {
	font-weight: 400 !important;
}

/* Mobile horizontal border */
@media screen and (max-width: 767px) {
	.section-letter-left {
		position: relative;
		padding-bottom: 0;
	}

	.section-letter-left::after {
		content: "";
		position: absolute;
		bottom: -40px;
		left: 50%;
		transform: translateX(-50%);
		width: 100%;
		height: 4px;
		background-color: var(--color-primary);
	}
}

/* Desktop layout with border */
@media screen and (min-width: 768px) {
	.section-letter {
		padding: 100px 0;
	}

	.section-letter-inner {
		flex-direction: row;
		gap: 60px;
		align-items: flex-start;
	}

	.section-letter-left {
		flex: 0 0 38%;
	}

	.section-letter-right {
		position: relative;
		padding-left: 30px;
	}

	.section-letter-right::before {
		content: "";
		position: absolute;
		top: 0;
		left: -40px;
		bottom: 0;
		width: 4px;
		background-color: var(--color-primary);
	}
}

@media screen and (min-width: 1025px) {
	.section-letter-inner {
		gap: 80px;
	}

	section.section-letter {
		padding-bottom: 0;
		padding-top: 60px;
	}

	.section-letter-right {
		padding-left: 40px;
	}
}

/*******************************************************************************************
SECTION: SMALL - "Go Small to Get Big" section
*******************************************************************************************/

.section-small {
	background-color: var(--color-white);
	padding: 0 0 80px;
}

/* Mobile image - standalone img element */
.section-small-mobile-image {
	margin-bottom: 50px;
}

.section-small-mobile-image img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Desktop background - hidden on mobile */
.section-small-background {
	display: none;
}

.section-small-upper,
.section-small-lower {
	display: none;
}

.section-small-content {
	position: relative;
	z-index: 1;
}

.section-small-inner {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.section-small-logo {
	margin-bottom: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.section-small-logo img {
	max-width: 75px;
	height: auto;
}

.section-small-text {
	color: var(--color-body-text);
}

.section-small-text p:last-child {
	margin-bottom: 0;
}

.section-small-intro {
	font-weight: 600;
}

.section-small-description {
	margin-bottom: 0;
}

/* Desktop layout - enable complex background and boxed styling */
@media screen and (min-width: 768px) {
	.section-small {
		position: relative;
		height: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	/* Hide mobile image */
	.section-small-mobile-image {
		display: none;
	}

	/* Show desktop background */
	.section-small-background {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
	}

	.section-small-upper {
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-image: url("../images/background_team_lineup_lg.webp");
		background-size: cover;
		background-position: center center;
		background-repeat: no-repeat;
	}

	.section-small-lower {
		display: none;
	}

	.section-small-content {
		position: relative;
		z-index: 1;
		width: 100%;
		max-width: var(--width-normal);
		margin: 0 auto;
		padding: 80px 0;
		padding-bottom: 0;
	}

	.section-small-inner {
		max-width: 850px;
		margin: 0 auto;
		position: relative;
		z-index: 2;
	}

	.section-small-inner::before {
		content: "";
		position: absolute;
		top: -15px;
		left: -15px;
		right: -15px;
		bottom: -15px;
		background-color: rgba(0, 0, 0, 0.2);
		z-index: -1;
	}

	.section-small-inner-content {
		background-color: var(--color-white);
		padding: 80px 60px;
		text-align: center;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
		position: relative;
		z-index: 1;
	}
}

@media screen and (min-width: 1025px) {
	.section-small-content {
		padding-top: 0;
	}

	.section-small-inner-content {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.section-small-inner::before {
		top: -25px;
		left: -25px;
		right: -25px;
		bottom: -25px;
	}

	.section-small-logo img {
		max-width: 90px;
	}
}

@media screen and (max-width: 1024px) {
	.section-testimonials-slider-inner .swiper-button-container {
		display: none;
	}
}

/*******************************************************************************************
MISC.
*******************************************************************************************/

.template-home .section-practice-areas-header {
	text-align: center;
}

.section-promises {
	background-image: none !important;
}

@media screen and (min-width: 768px) {
	.custom-footer .footer-cta-section {
		padding-top: 230px;
	}

	.section-small-inner {
		position: relative;
		top: 120px;
	}
}

.section-testimonials-slider-inner .swiper-button-container button:hover:after,
.section-testimonials-slider-inner .swiper-button-container button:focus:after {
	color: #fff !important;
}
