/*
 Theme Name:   Twenty Twenty-Five Child
 Description:  Child theme for the twentytwentyfive theme
 Template:     twentytwentyfive
 Version:      1.0.0
*/

/* ========================================
   GLOBAL RESET
   ======================================== */

*, *::before, *::after {
	box-sizing: border-box;
}

/* ========================================
   HAMBURGER MENU & RESPONSIVE NAVIGATION
   ======================================== */

.hamburger-menu {
	display: none;
	flex-direction: column;
	background: none;
	border: none;
	cursor: pointer;
	padding: 10px;
	gap: 6px;
	z-index: 1001;
}

.hamburger-menu span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #333;
	border-radius: 2px;
	transition: all 0.3s ease;
	transform-origin: center center;
}

/* Hamburger animation when menu is open */
.hamburger-menu.active span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
	opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu styles */
.primary-navigation {
	position: absolute;
	top: 65px;
	left: 0;
	right: 0;
	background-color: #f2e8dd;
	max-height: 0;
	overflow: hidden;
	border-top: 1px solid transparent;
	transition: max-height 0.3s ease, border-top-color 0.3s ease;
}

.primary-navigation.active {
	max-height: 500px;
	border-top-color: #343936;
}

.primary-navigation .nav-menu {
	list-style: none;
	padding: 20px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.primary-navigation .nav-menu .menu-item {
	padding: 15px 20px;
}

.primary-navigation .nav-menu a {
	text-decoration: none;
	color: #333;
	font-family: 'Libre Franklin', sans-serif;
	font-size: 18px;
	font-weight: 500;
	display: block;
}

/* Desktop styles - hide hamburger, show nav horizontally */
@media (min-width: 768px) {
	.hamburger-menu {
		display: none !important;
	}

	.primary-navigation {
		position: static;
		max-height: none;
		border-top: none;
		overflow: visible;
	}

	.primary-navigation .nav-menu {
		flex-direction: row;
		padding: 0;
		gap: 30px;
	}
}

/* Show hamburger on mobile */
@media (max-width: 767px) {
	.hamburger-menu {
		display: flex;
	}

	.header-inner {
		position: relative;
	}

	.primary-navigation {
		z-index: 1000;
	}
}

/* ========================================
   PAGE LOADER
   ======================================== */

.page-loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #cf9276;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.loader-content {
	text-align: center;
	overflow: hidden;
	position: relative;
	z-index: 2;
}

.loader-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.loader-bg-svg {
	position: absolute;
	opacity: 0.3;
}

.bg-svg-1 {
	top: 0;
	left: 0;
	width: 35%;
	height: auto;
}

.bg-svg-2 {
	top: 0;
	right: 0;
	width: 35%;
	height: auto;
}

.bg-svg-3 {
	bottom: 0;
	left: 0;
	width: 100%;
	height: auto;
}

.loader-logo {
	width: 80%;
	height: auto;
	position: relative;
}

@media (max-width: 768px) {
	.bg-svg-1 {
		width: 100%;
	}
	
	.bg-svg-3 {
		width: 200%;
	}
}

/* ========================================
   PAGE BACKGROUND WITH PNG OVERLAY
   ======================================== */

.background-sand {
	position: relative;
	background-color: #cf9276;
}

.background-sand::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('assets/images/topography-v2.svg');
	background-position: bottom center;
	background-size: contain;
	pointer-events: none;
	opacity: 0.25;
	z-index: 0;
}

header {
	background-color: #f2e8dd;
}
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-right: clamp(30px, 5vw, 50px);
	padding-left: clamp(30px, 5vw, 50px);
}
@media (min-width: 1440px) {
	.header-inner {
		padding-right: calc((100vw - 1340px) / 2);
		padding-left: calc((100vw - 1340px) / 2);
	}
}
.site-header {
	padding-top: 1.5rem;
	padding-bottom: 1.5rem;
}


.site-logo-image {
	max-width: 350px;
}

/* ========================================
   MAIN CONTAINER
   ======================================== */

.single-page-main {
	margin-top: 0;
	position: relative;
	z-index: 1;
	padding: 0;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
	min-height: 55vh;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: transparent;
	flex-direction: column;
	max-width: 100%;
	width: 100%;
}

.hero-title {
	font-size: clamp(2.25rem, 5vw, 5rem);
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 800;
	text-shadow: 4px 4px 12px rgba(89, 100, 94, 0.25);
	text-align: right;
	color: #F2E8DE;
	line-height: 1.35;
	width: 100%;
	max-width: 100%;
	padding-right: clamp(30px, 5vw, 50px);
	z-index: 2;
}

.hero-buttons {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-right: clamp(30px, 5vw, 50px);
	z-index: 2;
}

@media (min-width: 1440px) {
	.hero-title,
	.hero-buttons {
		padding-right: calc((100vw - 1340px) / 2);
	}
}

.hero-cta-button a {
	background-color: #58655F;
	color: #F2E8DE;
}

/* ========================================
   CARD SECTION
   ======================================== */

.card-section {
	margin: 0 !important;
	padding: 10rem 0 5rem;
	width: 100%;
	max-width: 100%;
}

.card-section-90 {
	margin: 0 !important;
	padding: 0 0 5rem;
	width: 100%;
	max-width: 100%;
}
.card-section-90 .content-card {
	max-width: 90%;
}

.content-card {
	width: 100%; /* Full bleed to edge */
	background-color: #F2E8DE;
	border-radius: 10px 0 0 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	margin: 0;
	padding: 3rem;
	position: relative;
	z-index: 2;
	max-width: 75%;
	min-width: 300px;
  	box-shadow: 0 0 4px 8px rgba(242, 232, 222, 1); /* Horizontal offset, vertical offset, blur radius, spread radius, color */
}
@media (min-width: 1920px) { 
	.content-card {
		max-width: 75%;
	}
}

.card-content {
	min-height: 400px;
	width: 100%;
	max-width: 535px;
}

@media (min-width: 768px) {
	#card-1 .card-content {
		max-width: 70%;
	}
}
@media (min-width: 1400px) {
	#card-1 .card-content {
		max-width: 550px;
	}
}
/* Right-aligned card */
.card-right {
	margin-left: auto; /* Pushes content to right side */
	margin-right: 0;
	padding-right: clamp(30px, 5vw, 50px);
}

@media (min-width: 1440px) {
	.card-right {
		padding-right: calc((100vw - 1340px) / 2);
	}
}

.card-right .card-content {
	margin-left: auto;
}

/* Rolodex Text Animation */
.rolodex-text {
	position: absolute;
	left: -168px;
	top: 50%;
	transform: translateY(-50%);
	font-size: clamp(24px, 2.8vw, 55px);
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 900;
	color: #58655F;
	text-shadow: 4px 4px 12px rgba(89, 100, 94, 0.25);
}

@media (min-width: 1024px) {
	.rolodex-text {
		left: -22%;
	}
}

@media (min-width: 1440px) {
	.rolodex-text {
		left: -265px;
	}
}
@media (max-width: 768px) {
	.rolodex-text {
		display: none;
	}
}

.rolodex-text p {
	margin: 0 0 3vw;
}

/* Left-aligned card */
.card-left {
	margin-left: 0;
	margin-right: auto; /* Pushes content to left side */
	background-color: #58655F;
	box-shadow: 0 0 4px 8px rgba(88, 101, 95, 1);
	border-radius: 0 10px 10px 0;
}

@media (min-width: 1440px) {
	.card-left {
		padding-left: calc((100vw - 1340px) / 2);
	}
}

.card-left .card-content {
	margin-right: auto;
}

.card-content.left-content h2,
.card-content.left-content p  {
	text-align: left;
	color: #F2E8DE;
}

.card-content h2,
.card-content p {
	text-align: right;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
	margin-top: 0;
	color: #343936;
}

.card-content p {
	font-family: "Libre Franklin", sans-serif;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	font-weight: 400;
}

.card-content h2 {
	font-size: clamp(1.5rem, 3.5vw, 2.5rem);
	font-weight: 800;
	font-family: 'Libre Caslon Text', serif;
	margin-top: 0;
	margin-bottom: 3.5rem;
	line-height: 1.2;
}

.card-content .pre-text {
	color: #D09376 !important;
	font-weight: 900;
	margin-bottom: 0;
}
.cta-buttons {
	text-align: right;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}
.cta-button {
	background-color: #58655F;
	color: #F2E8DE;
	padding: 1.2rem 2rem;
	text-decoration: none;
	border-radius: 36px;
	transition: background-color 0.3s ease;
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 600;
	font-size: clamp(1.125rem, 2vw, 1.5rem);
	margin-right: 2.5rem;
	min-width: fit-content;
	text-align: center;
}
.cta-button:last-child {
	margin-right: 0;
}

.cta-button:hover {
	background-color: #475B54;
}

@media screen and (max-width: 768px) {
	#card-1 {
		max-width: 90%;
	}
	#card-1 .card-content h2 > br{
		display: none;
	}
	.cta-button {
		padding: 1rem 1.2rem;
	}
}

/* ========================================
   CARD 2
   ======================================== */

#card-2 {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#card-2 .card-content {
	margin-left: 0;
}
.card-image-overlay {
	position: relative;
	width: 100%;
	max-width: 500px;
	margin-bottom: 2rem;
	margin-right: 5rem;
}

.card-image-base,
.card-image-overlay-top {
	width: 100%;
	height: auto;
	display: block;
}

.card-image-base {
	position: relative;
	z-index: 1;
	max-width: 80%;
	margin: 3rem auto 0;
}

@media (max-width: 768px) {
	.card-image-base {
		margin: 2rem auto 0;
	}
}

.card-image-overlay-top {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

/* ========================================
   CARD 3
   ======================================== */

#card-3 {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
#card-3 .card-content {
	margin-left: 0;
	margin-right: 3rem;
}

.card-slider-image {
	width: 100%;
	height: auto;
	max-width: 450px;
	margin-left: 5rem;
	border: 12px solid #F2E8DE;
}

/* Swiper Slider Styles */
.card-slider-container {
	max-width: 50%;
	position: relative;
	overflow: visible;
}

.card-swiper,
.testimonial-swiper {
	width: 100%;
	height: auto;
	overflow: visible;
}

.card-swiper .swiper-wrapper,
.testimonial-swiper .swiper-wrapper {
	overflow: visible;
}

.card-swiper .swiper-slide,
.testimonial-swiper .swiper-slide {
	overflow: visible;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slide-image {
	width: 450px;
	height: 450px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border: 12px solid #F2E8DE;
	position: relative;
}

@media (min-width: 1440px) {
	.card-slider-container {
		max-width: 550px;
	}
	
	.slide-image {
		width: 550px;
		height: 550px;
	}
}

@media (max-width: 768px) {
	.card-slider-container {
		max-width: 55vw;
	}
	.slide-image {
		width: 55vw;
		height: 55vw;
	}
}

.slide-text {
	position: absolute;
	bottom: 2rem;
	left: 0;
	background-color:#F2E8DE;
	padding: 1rem 1.5rem;
	z-index: 10;
}

.slide-text h3 {
	color: #343936;
	font-family: 'Libre Franklin', sans-serif;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 900;
	margin: 0;
}

@media (max-width: 768px) {
	.slide-text {
		bottom: 1rem;
		padding: 0.75rem 1rem;
	}
	.testimonial-swiper .swiper-slide {
		flex-direction: column;
	}
}

.card-swiper .swiper-button-next,
#card-4 .swiper-button-next,
#card-4 .swiper-button-prev {
	background-color: #58655F;
	color: #F2E8DE;
	width: 45px;
	height: 45px;
	border-radius: 50%;
}

#card-4 .swiper-button-prev {
	color: #F2E8DE;
	background-color: #58655F;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	left: 10px;
}

.card-swiper .swiper-button-next:hover,
#card-4 .swiper-button-prev:hover,
#card-4 .swiper-button-next:hover {
	background-color: #FFF;
	color: #58655F;
}
.card-swiper .swiper-button-next svg,
#card-4 .swiper-button-prev svg,
#card-4 .swiper-button-next svg {
	width: 15px;
}

@media (max-width: 768px) {
	.card-swiper .swiper-button-next,
	#card-4 .swiper-button-prev,
	#card-4 .swiper-button-next {
		width: 25px;
		height: 25px;
	}
	.card-swiper .swiper-button-next svg,
	#card-4 .swiper-button-prev svg,
	#card-4 .swiper-button-next svg {
		width: 7px;
	}
}
/* ========================================
   CARD 4
   ======================================== */

#card-4 {
	display: flex;
	justify-content: space-between;
}

.testimonial p {
	font-weight: 300;
	font-style: italic;
	text-align: right;
}
.testimonial p:last-child {
	font-weight: 800;
}

/* ========================================
   CONTACT FORM
   ======================================== */

.contact-form-section {
	padding: 0 0 5rem;
	width: 100%;
	max-width: 100%;
	margin: 0 !important
}

.contact-form {
	position: relative;
	padding-right: clamp(30px, 5vw, 50px);
	padding-left: clamp(30px, 5vw, 50px);
	max-width: 85%;
	margin: 0 auto;
}

@media (min-width: 1440px) {
	.contact-form {
		padding-right: calc((100vw - 1340px) / 2);
		padding-left: calc((100vw - 1340px) / 2);
	}
}
.gform_heading {
	text-align: center !important;
}

.gform_heading h2 {
	font-family: 'Libre Franklin', sans-serif;
	font-weight: 800;
	text-shadow: 4px 4px 12px rgba(89, 100, 94, 0.25);
	color: #F2E8DE;
	font-size: clamp(2.5rem, 5vw, 5rem);
}

#input_1_1_3_container label,
#input_1_1_6_container label {
	display: none;
}

#input_1_1 {
	justify-content: space-between;
}

#field_1_2,
#field_1_4 {
	width: 80%;
}

#field_1_4 {
	margin-left: auto;
}

#input_1_1 #input_1_1_3_container,
#input_1_1 #input_1_1_6_container {
	max-width: 40%;

}

@media screen and (max-width: 768px) {
#input_1_1 #input_1_1_3_container,
#input_1_1 #input_1_1_6_container,
#field_1_2,
#field_1_4 {
	max-width: 100%;
	width: 100%;
}
}

.gform-body .gfield input,
.gform-body textarea {
	color: #58655F !important;
	background-color: #F2E8DE !important;
	border-radius: 36px !important; 
	text-align: center !important;
	font-family: 'Libre Franklin', sans-serif !important;
	font-weight: 800 !important;
	border: none !important;
	font-size: clamp(1rem, 2vw, 1.5rem) !important;
	padding: 1.5rem 1rem !important;
	min-height: 70px !important;
}

.gform-theme--foundation .gform-grid-row {
	row-gap: 45px !important;
}

#field_1_3 textarea {
	min-height: 250px !important;
}
#field_1_3 .gfield_description {
	display: none !important;
}

#gform_submit_button_1 {
	background-color: #58655F !important;
	color: #F2E8DE !important;
	border-radius: 36px !important;
	border: none !important;
	padding: 1.2rem 2rem !important;
	font-family: 'Libre Franklin', sans-serif !important;
	font-weight: 600 !important;
	font-size: clamp(1.125rem, 2vw, 1.5rem) !important;
	cursor: pointer !important;
	transition: background-color 0.3s ease !important;
	text-decoration: none !important;
}

#gform_submit_button_1:hover {
	background-color: #475B54 !important;
}	

.gform-footer {
	justify-content: center !important;
	margin-top: 1.5rem !important;
}

/* ========================================
   FOOTER SECTION
   ======================================== */
footer {
	background-color: #f2e8dd;
	margin-top: 0;
	padding: 25px 0;
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-right: clamp(30px, 5vw, 50px);
	padding-left: clamp(30px, 5vw, 50px);
}
@media (min-width: 1440px) {
	.footer-inner {
		padding-right: calc((100vw - 1340px) / 2);
		padding-left: calc((100vw - 1340px) / 2);
	}
}
.footer-inner .custom-logo {
	max-width: 150px;
	height: auto;
}
.footer-contacts {
	font-family: 'Libre Franklin', sans-serif;
	line-height: 1.6;
	text-shadow: 4px 4px 12px rgba(89, 100, 94, 0.25);
	color: #343936;
	text-decoration: none;
	display: flex;
	align-items: center;
}
.footer-contacts p {
	margin: 0;
}
.footer-contacts a {
	text-decoration: none;
}
.footer-instagram-icon {
	max-width: 50px;
	margin-right: 1.5rem;
}
@media (max-width: 768px) {
	.footer-contacts {
		flex-direction: column;
		align-items: flex-start;
	}
	.footer-instagram-icon {
		margin-right: 0;
		margin-bottom: 1.5rem;
	}
}
/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
	.site-logo-image {
		max-width: 250px;
	}
	.hero-section {
		min-height: 45vh;
	}
	#card-2 {
		flex-direction: column;
		align-items: flex-end;
	}
	.card-image-overlay {
		margin-right: 0;
		margin-left: 0;
		margin-bottom: 3rem;
		max-width: 350px;
	}
	#card-3 {
		flex-direction: column;
	}
	#card-4 {
		flex-direction: column;
	}
	.footer {
		padding: 45px 0;
	}
	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.footer-contacts {
		margin-top: 2rem;
	}
}
