/**
 * Homepage Styles - Family Pet Hospital of Shawnee
 * Custom CSS for front-page.php template
 * All styles namespaced with .vh- prefix to avoid conflicts
 * 
 * @package Wanzor_Child
 * @since 1.0.0
 */

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */

.vh-home {
	--vh-color-primary: #9a2620;
	--vh-color-primary-dark: #691612;
	--vh-color-primary-darker: #440b09;
	--vh-color-primary-light: #ffeded;
	--vh-color-black: #191919;
	--vh-color-white: #ffffff;
	--vh-color-text: #000000;
	--vh-color-gold: #f0bc00;
	--vh-color-border: rgba(0, 0, 0, 0.08);
	--vh-color-border-light: rgba(0, 0, 0, 0.06);
	
	--vh-font-heading: 'Josefin Sans', sans-serif;
	--vh-font-body: 'Mulish', sans-serif;
	
	--vh-spacing-xs: 6px;
	--vh-spacing-sm: 10px;
	--vh-spacing-md: 18px;
	--vh-spacing-lg: 26px;
	--vh-spacing-xl: 30px;
	--vh-spacing-2xl: 40px;
	--vh-spacing-3xl: 51px;
	--vh-spacing-4xl: 76px;
	--vh-spacing-5xl: 120px;
	
	--vh-radius-sm: 20px;
	--vh-radius-md: 30px;
	--vh-radius-lg: 100px;
	--vh-radius-circle: 600px;
	
	--vh-container-max: 1440px;
	--vh-container-padding: 24px;
}

/* Hide all MasterLayer blob decorations on homepage */
.vh-home .decor-wrap,
.vh-home .svg-decor,
.vh-home .blob-1,
.vh-home .blob-2,
.vh-home .blob-3 {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
}

/* ============================================
   CONTAINER
   ============================================ */

.vh-container {
	max-width: var(--vh-container-max);
	margin: 0 auto;
	padding: 0 var(--vh-container-padding);
	width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */

.vh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--vh-spacing-sm);
	padding: 16px 33px;
	border-radius: var(--vh-radius-lg);
	font-family: var(--vh-font-body);
	font-size: 20px;
	font-weight: 700;
	line-height: normal;
	text-decoration: none;
	transition: all 0.3s ease;
	cursor: pointer;
	border: 1px solid transparent;
}

.vh-button-primary {
	background-color: var(--vh-color-primary);
	color: var(--vh-color-white);
	border-color: var(--vh-color-primary);
}

.vh-button-primary:hover {
	background-color: var(--vh-color-primary-dark);
	border-color: var(--vh-color-primary-dark);
}

.vh-button-outline {
	background-color: transparent;
	color: var(--vh-color-primary);
	border-color: var(--vh-color-primary);
}

.vh-button-outline:hover {
	background-color: var(--vh-color-primary);
	color: var(--vh-color-white);
}

.vh-button-white {
	background-color: var(--vh-color-white);
	color: var(--vh-color-primary);
	border-color: transparent;
}

.vh-button-white:hover {
	background-color: var(--vh-color-primary-light);
}

.vh-button-small {
	padding: 16px 33px;
	font-size: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.vh-hero {
	padding: 156px 0 100px;
	background-color: var(--vh-color-white);
}

.vh-hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 51px;
	align-items: center;
}

.vh-hero-text {
	max-width: 566px;
}

.vh-hero-headline {
	font-family: var(--vh-font-heading);
	font-size: 75px;
	line-height: 90px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0 0 20px;
	white-space: pre-wrap;
}

/* Optional tagline directly under main hero headline
   Usage in Elementor:
   - Add a Heading or Text widget below "Family Pet Hospital"
   - Set CSS class to `vh-hero-tagline`
   - Text example: "Locally Woman Owned"
*/
.vh-hero-tagline {
	font-family: var(--vh-font-body);
	font-size: 16px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vh-color-text);
	margin: -4px 0 24px;
	text-align: right;
}

@media (max-width: 1024px) {
	.vh-hero-tagline {
		text-align: left;
		margin: 6px 0 24px;
	}
}

@media (max-width: 768px) {
	.vh-hero-tagline {
		font-size: 14px;
		letter-spacing: 0.16em;
	}
}

.vh-hero-subtext {
	font-family: var(--vh-font-body);
	font-size: 28px;
	line-height: 48px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0 0 40px;
	max-width: 484px;
	white-space: pre-wrap;
}

.vh-hero-buttons {
	display: flex;
	gap: var(--vh-spacing-md);
	flex-wrap: wrap;
}

.vh-hero-image {
	position: relative;
	width: 850px;
	height: 768px;
	margin-left: auto;
	overflow: hidden;
}

.vh-hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 600px 600px 0;
}

/* Hide MasterLayer blob decorations on homepage images */
.vh-hero-image .decor-wrap,
.vh-hero-image .svg-decor {
	display: none !important;
}

/* ============================================
   CTA ROW SECTION
   ============================================ */

.vh-cta-row {
	background-color: var(--vh-color-primary-darker);
	padding: 80px 0;
}

.vh-cta-row-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.vh-cta-card {
	background-color: var(--vh-color-white);
	border: 1px solid var(--vh-color-border);
	border-radius: var(--vh-radius-sm);
	padding: 40px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--vh-spacing-lg);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vh-cta-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vh-cta-icon {
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vh-cta-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vh-cta-title {
	font-family: var(--vh-font-heading);
	font-size: 25px;
	line-height: 38px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0;
	white-space: pre-wrap;
}

/* ============================================
   SERVICES INTRO SECTION
   ============================================ */

.vh-services-intro {
	position: relative;
	padding: 200px 0 150px;
	background: linear-gradient(180deg, var(--vh-color-primary-darker) 0%, var(--vh-color-primary-darker) 50%, transparent 50%);
	overflow: hidden;
}

.vh-services-intro::before {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 2212px;
	height: 559px;
	background: radial-gradient(ellipse 50% 50% at center, var(--vh-color-primary-darker) 0%, transparent 70%);
	pointer-events: none;
}

.vh-services-intro-content {
	position: relative;
	z-index: 1;
	max-width: 896px;
	margin: 0 auto;
	text-align: center;
}

.vh-services-intro-heading {
	font-family: var(--vh-font-heading);
	font-size: 50px;
	line-height: 64px;
	font-weight: 400;
	color: var(--vh-color-white);
	margin: 0 0 40px;
	white-space: pre-wrap;
}

.vh-services-intro-text {
	font-family: var(--vh-font-body);
	font-size: 20px;
	line-height: 33px;
	font-weight: 400;
	color: var(--vh-color-white);
	margin: 0 0 50px;
	white-space: pre-wrap;
}

.vh-services-intro-buttons {
	display: flex;
	gap: var(--vh-spacing-md);
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================
   SERVICES GRID SECTION
   ============================================ */

.vh-services-grid-section {
	padding: 100px 0;
	background-color: var(--vh-color-white);
}

.vh-services-grid-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 60px;
	gap: 40px;
}

.vh-services-grid-heading {
	font-family: var(--vh-font-heading);
	font-size: 50px;
	line-height: 68px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0;
	max-width: 802px;
	white-space: pre-wrap;
}

.vh-services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.vh-service-card {
	background-color: var(--vh-color-white);
	border: 1px solid var(--vh-color-border-light);
	border-radius: var(--vh-radius-md);
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vh-service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.vh-service-image-wrapper {
	position: relative;
	width: 100%;
	height: 203.5px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Hide MasterLayer blob decorations on service images */
.vh-service-image-wrapper .decor-wrap,
.vh-service-image-wrapper .svg-decor {
	display: none !important;
}

.vh-service-image-bg {
	position: absolute;
	width: 260.5px;
	height: 116.418px;
	background-color: var(--vh-color-primary-light);
	border-radius: var(--vh-radius-circle);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.vh-service-image {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vh-service-title {
	font-family: var(--vh-font-heading);
	font-size: 34px;
	line-height: 45px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 20px 0 10px;
	text-align: center;
}

.vh-service-description {
	font-family: var(--vh-font-body);
	font-size: 20px;
	line-height: 33px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0 auto 30px;
	text-align: center;
	max-width: 254px;
	white-space: pre-wrap;
}

.vh-service-card .vh-button {
	margin: 0 auto 40px;
}

/* ============================================
   RESOURCES SECTION
   ============================================ */

.vh-resources {
	padding: 200px 0;
	background-color: var(--vh-color-primary-darker);
	position: relative;
	overflow: hidden;
}

.vh-resources-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 120px;
	align-items: center;
}

.vh-resources-image {
	position: relative;
	width: 785.811px;
	height: 598.755px;
	margin-left: -110px;
	overflow: hidden;
}

.vh-resources-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 600px 600px 0;
}

/* Hide MasterLayer blob decorations on resources image */
.vh-resources-image .decor-wrap,
.vh-resources-image .svg-decor {
	display: none !important;
}

.vh-resources-text {
	max-width: 590px;
}

.vh-resources-heading {
	font-family: var(--vh-font-heading);
	font-size: 50px;
	line-height: 64px;
	font-weight: 400;
	color: var(--vh-color-white);
	margin: 0 0 30px;
	white-space: pre-wrap;
}

.vh-resources-description {
	font-family: var(--vh-font-body);
	font-size: 20px;
	line-height: 33px;
	font-weight: 400;
	color: var(--vh-color-white);
	margin: 0 0 40px;
	white-space: pre-wrap;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.vh-testimonials {
	padding: 100px 0;
	background-color: var(--vh-color-white);
}

.vh-testimonials-header {
	max-width: 920px;
	margin-bottom: 60px;
}

.vh-testimonials-heading {
	font-family: var(--vh-font-heading);
	font-size: 50px;
	line-height: 68px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0 0 6px;
	white-space: pre-wrap;
}

.vh-testimonials-intro {
	font-family: var(--vh-font-body);
	font-size: 20px;
	line-height: 33px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0;
	white-space: pre-wrap;
}

.vh-testimonials-intro strong {
	font-weight: 700;
}

.vh-testimonials-intro u {
	text-decoration: underline;
	color: var(--vh-color-primary);
	text-underline-position: from-font;
}

.vh-testimonials-carousel {
	position: relative;
}

.vh-testimonials-nav {
	display: flex;
	gap: var(--vh-spacing-sm);
	justify-content: flex-end;
	margin-bottom: 30px;
}

.vh-testimonials-arrow {
	width: 60px;
	height: 60px;
	border-radius: var(--vh-radius-lg);
	background-color: var(--vh-color-primary);
	border: 1px solid var(--vh-color-primary);
	color: var(--vh-color-white);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.vh-testimonials-arrow:hover {
	background-color: var(--vh-color-primary-dark);
	border-color: var(--vh-color-primary-dark);
}

.vh-testimonials-arrow svg {
	width: 28px;
	height: 28px;
}

.vh-testimonials-track {
	display: grid;
	grid-template-columns: repeat(4, 410px);
	gap: var(--vh-spacing-xl);
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 20px;
}

.vh-testimonials-track::-webkit-scrollbar {
	display: none;
}

.vh-testimonial-card {
	background-color: var(--vh-color-white);
	border: 1px solid var(--vh-color-border-light);
	border-radius: var(--vh-radius-md);
	padding: 60px 38px 50px;
	display: flex;
	flex-direction: column;
	gap: var(--vh-spacing-2xl);
	flex-shrink: 0;
}

.vh-testimonial-stars {
	display: flex;
	gap: var(--vh-spacing-xs);
}

.vh-star {
	color: var(--vh-color-gold);
	font-size: 36px;
	line-height: 1;
}

.vh-testimonial-title {
	font-family: var(--vh-font-heading);
	font-size: 30px;
	line-height: 33px;
	font-weight: 500;
	color: var(--vh-color-primary-dark);
	margin: 0;
	white-space: pre-wrap;
}

.vh-testimonial-text {
	font-family: var(--vh-font-body);
	font-size: 20px;
	line-height: 33px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0;
	white-space: pre-wrap;
}

.vh-testimonial-author {
	display: flex;
	flex-direction: column;
	gap: var(--vh-spacing-sm);
}

.vh-testimonial-avatar {
	width: 81px;
	height: 81px;
	border-radius: 50%;
	object-fit: cover;
	aspect-ratio: 1 / 1;
}

/* Hide MasterLayer blob decorations on testimonial avatars */
.vh-testimonial-author .decor-wrap,
.vh-testimonial-author .svg-decor {
	display: none !important;
}

.vh-testimonial-name {
	font-family: var(--vh-font-heading);
	font-size: 22px;
	line-height: 33px;
	font-weight: 500;
	color: var(--vh-color-primary-dark);
	margin: 0;
	white-space: pre-wrap;
}

/* ============================================
   AWARDS SECTION
   ============================================ */

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

.vh-awards-heading {
	font-family: var(--vh-font-heading);
	font-size: 45px;
	line-height: 54px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0 0 40px;
	white-space: pre-wrap;
}

.vh-awards-grid {
	display: flex;
	gap: var(--vh-spacing-5xl);
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.vh-award-item {
	width: 131.265px;
	height: 131.265px;
	flex-shrink: 0;
}

.vh-award-item:nth-child(3) {
	width: 115.438px;
	height: 144.298px;
}

.vh-award-item:nth-child(4) {
	width: 172.227px;
	height: 172.227px;
}

.vh-award-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.vh-contact {
	padding: 100px 0;
	background-color: var(--vh-color-black);
	position: relative;
}

.vh-contact-content {
	display: grid;
	grid-template-columns: 1fr 542px;
	gap: 40px;
	align-items: center;
}

.vh-contact-image {
	width: 100%;
	height: 670px;
	border-radius: var(--vh-radius-md);
	overflow: hidden;
	position: relative;
}

/* Hide MasterLayer blob decorations on contact image */
.vh-contact-image .decor-wrap,
.vh-contact-image .svg-decor {
	display: none !important;
}

.vh-contact-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vh-contact-card {
	background-color: var(--vh-color-white);
	border: 1px solid var(--vh-color-border-light);
	border-radius: var(--vh-radius-md);
	padding: 60px 50px;
	height: 552.582px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.vh-contact-heading {
	font-family: var(--vh-font-heading);
	font-size: 45px;
	line-height: 45px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0;
	text-align: center;
	white-space: pre-wrap;
}

.vh-contact-info {
	display: flex;
	flex-direction: column;
	gap: var(--vh-spacing-xl);
}

.vh-contact-item {
	display: flex;
	gap: var(--vh-spacing-lg);
	align-items: flex-start;
}

.vh-contact-icon {
	color: var(--vh-color-primary);
	flex-shrink: 0;
	width: 40px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vh-contact-icon svg {
	width: 100%;
	height: 100%;
}

.vh-contact-item:nth-child(2) .vh-contact-icon {
	width: 49px;
	height: 49px;
}

.vh-contact-item:nth-child(3) .vh-contact-icon {
	width: 55px;
	height: 55px;
}

.vh-contact-text {
	font-family: var(--vh-font-body);
	font-size: 20px;
	line-height: 33px;
	font-weight: 400;
	color: var(--vh-color-text);
	margin: 0;
	white-space: pre-wrap;
}

.vh-contact-card .vh-button {
	width: 100%;
	max-width: 440px;
	margin: 0 auto;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
	.vh-hero-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.vh-hero-image {
		width: 100%;
		height: 500px;
		margin-left: 0;
	}
	
	.vh-hero-headline {
		font-size: 55px;
		line-height: 70px;
	}
	
	.vh-services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.vh-resources-content {
		grid-template-columns: 1fr;
		gap: 60px;
	}
	
	.vh-resources-image {
		margin-left: 0;
		width: 100%;
		height: 400px;
	}
	
	.vh-testimonials-track {
		grid-template-columns: repeat(2, 410px);
	}
	
	.vh-contact-content {
		grid-template-columns: 1fr;
	}
	
	.vh-contact-image {
		height: 400px;
	}
	
	.vh-contact-card {
		height: auto;
	}
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
	.vh-hero {
		padding: 100px 0 60px;
	}
	
	.vh-hero-headline {
		font-size: 40px;
		line-height: 50px;
	}
	
	.vh-hero-subtext {
		font-size: 20px;
		line-height: 32px;
	}
	
	.vh-hero-image {
		height: 350px;
	}
	
	.vh-cta-row-grid {
		grid-template-columns: 1fr;
	}
	
	.vh-services-intro {
		padding: 100px 0 80px;
	}
	
	.vh-services-intro-heading {
		font-size: 35px;
		line-height: 45px;
	}
	
	.vh-services-grid-header {
		flex-direction: column;
	}
	
	.vh-services-grid-heading {
		font-size: 35px;
		line-height: 45px;
	}
	
	.vh-services-grid {
		grid-template-columns: 1fr;
	}
	
	.vh-resources {
		padding: 100px 0;
	}
	
	.vh-resources-heading {
		font-size: 35px;
		line-height: 45px;
	}
	
	.vh-testimonials-heading {
		font-size: 35px;
		line-height: 45px;
	}
	
	.vh-testimonials-track {
		grid-template-columns: 1fr;
	}
	
	.vh-awards-grid {
		gap: 30px;
		justify-content: center;
	}
	
	.vh-contact {
		padding: 60px 0;
	}
	
	.vh-contact-card {
		padding: 40px 30px;
	}
	
	.vh-contact-heading {
		font-size: 35px;
		line-height: 40px;
	}
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
	.vh-container {
		padding: 0 16px;
	}
	
	.vh-hero-headline {
		font-size: 32px;
		line-height: 42px;
	}
	
	.vh-hero-buttons {
		flex-direction: column;
		width: 100%;
	}
	
	.vh-hero-buttons .vh-button {
		width: 100%;
	}
	
	.vh-services-intro-heading,
	.vh-services-grid-heading,
	.vh-resources-heading,
	.vh-testimonials-heading {
		font-size: 28px;
		line-height: 38px;
	}
	
	.vh-button {
		padding: 14px 24px;
		font-size: 18px;
	}
}

