/*
Theme Name: Golf Cart Theme
Theme URI: https://example.com/themes/golfcarttheme
Author: Sherlic
Author URI: https://example.com
Description: A bespoke full-site-editing theme tailored for golf cart rentals and tours.
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.1
Version: 1.0.0
Text Domain: golfcarttheme
Tags: custom-colors, custom-menu, landing-page
*/

:root {
	--primary: #002819;
	--primary-dark: #041e15;
	--surface: #f9f9fc;
	--surface-dark: #f3f3f0;
	--card: #ffffff;
	--text: #0f1812;
	--muted: #5c6b63;
	--border: rgba(6, 64, 43, 0.12);
	--accent: #c5f0dc;
	--radius-lg: 20px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: 'Manrope', sans-serif;
	background: var(--surface);
	color: var(--text);
	line-height: 1.6;
	min-height: 100vh;
}

h1, h2, h3{
	font-family: 'Manrope', sans-serif;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	color: inherit;
}

.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.container {
	width: min(1200px, 92%);
	margin: 0 auto;
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 1rem;
	text-transform: uppercase;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.15em;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: #e7fff5;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.95rem 1.8rem;
	border-radius: 16px;
	font-weight: 700;
	font-size: 0.95rem;
	border: none;
	cursor: pointer;
	transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.button--primary {
	background: linear-gradient(135deg, #002819, #06402b);
	color: #fff;
	border:1px solid #fff;
}

.button--primary:hover {
	transform: translateY(-2px);
}

.button--ghost {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 1);
}

.button--ghost:hover{
	background:#fff;
	color:var(--primary);
}

.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	padding: 18px 0;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--border);
	z-index: 50;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.nav--hidden {
	opacity: 0;
	transform: translateY(-100%);
	pointer-events: none;
}

.nav--visible {
	opacity: 1;
	transform: translateY(0);
}

.nav__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

.nav__brand {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.logo {
	height: 38px;
	width: auto;
}

.logo--hero {
	height: 60px;
	filter: brightness(0) invert(1);
	margin-bottom: 1rem;
}

.nav__title {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--primary);
}

.nav__subtitle {
	font-size: 0.6rem;
	letter-spacing: 0.25em;
	font-weight: 700;
	text-transform: uppercase;
	color: rgba(0, 40, 25, 0.65);
}

.nav__links {
	display: flex;
	gap: 1.5rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--muted);
}

.nav__links a:hover {
	color: var(--primary);
}

.hero {
	position: relative;
	min-height: 100vh;
	background: #000;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
	display:flex;
	align-items:center;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 40, 25, 0.92), rgba(0, 40, 25, 0.4), rgba(0, 0, 0, 0));
	z-index: 1;
}

.hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
	align-items: center;
}

.hero__content h1 {
	font-size: 4rem;
	line-height: 1.1;
	margin: 1rem 0;
}

.hero__content p {
	font-size: 1.15rem;
	color: rgba(255, 255, 255, 0.85);
	max-width: 32rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

.hero-form {
	background: rgb(130 159 131 / 16%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--radius-lg);
	padding: 2rem;
	backdrop-filter: blur(18px);
	box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.8);
	z-index: 2;
}

.hero-form h3 {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
}

.hero-form p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
}

.form-notice {
	padding: 0.9rem 1rem;
	border-radius: 14px;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.form-notice--success {
	background: rgba(183, 244, 212, 0.18);
	border: 1px solid rgba(183, 244, 212, 0.45);
	color: #effff7;
}

.form-notice--error {
	background: rgba(255, 218, 214, 0.16);
	border: 1px solid rgba(255, 218, 214, 0.42);
	color: #fff1ef;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.form-grid + .form-grid {
	margin: 0.85rem 0;
}

.form-control {
	width: 100%;
	padding: 0.85rem 1rem;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 0.95rem;
	margin-bottom:1em;
}

form .button--primary{
	margin-top:0.5em;
}

.form-control::placeholder {
	color: rgba(255, 255, 255, 0.65);
}

.form-control:focus {
	outline: none;
	border-color: #fff;
	background: rgba(255, 255, 255, 0.15);
}

.hero-form select option {
	color: #0f1812;
	background: #ffffff;
}

.section {
	padding: 120px 0;
}

section[id],
.map-section,
.hero {
	scroll-margin-top: 110px;
}

.section--fleet {
	background: var(--surface);
}

.section__header {
	margin-bottom: 70px;
}

.section__eyebrow {
	display: inline-flex;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	text-transform: uppercase;
	font-size: 0.65rem;
	letter-spacing: 0.2em;
	background: var(--accent);
	color: var(--primary);
	font-weight: 800;
}

.section__title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 1rem 0 0.6rem;
	color: var(--primary);
	line-height:100%;
}

.section__lead {
	max-width: 650px;
	margin: 0 auto;
	color: var(--muted);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(33%, 1fr));
	gap: 1.5rem;
}

.card {
	background: var(--card);
	border-radius: var(--radius-lg);
	padding: 2rem;
	border: 1px solid var(--border);
	display: flex;
	flex-direction: column;
}


.card__image {
	margin: -2rem -2rem 1.25rem;
	height: 330px;
	overflow: hidden;
	border-top-left-radius: var(--radius-lg);
	border-top-right-radius: var(--radius-lg);
}

.card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card__icon {
	font-size: 3rem;
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.card__title {
	margin: 0;
	font-size: 1.2rem;
	color: var(--primary);
}

.card__desc {
	color: var(--muted);
	font-size: 0.95rem;
	flex: 1;
}

.card__link {
	font-weight: 700;
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	display:none;
}

.section--callback {
	background: var(--surface-dark);
}

.callback__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2.5rem;
	align-items: center;
}

.callback__features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.2rem;
	margin-top: 1.5rem;
}

.feature {
	display: flex;
	gap: 0.9rem;
	align-items: flex-start;
}

.feature h4 {
	color: var(--primary);
	margin-top: 0;
	font-family: 'Manrope', sans-serif;
}

.feature .material-symbols-outlined {
	color: var(--primary);
	font-size: 2rem;
}

.callback-card {
	background: var(--card);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	padding: 2.5rem;
	box-shadow: 0 25px 60px -40px rgba(0, 0, 0, 0.25);
}

.callback-card h3 {
	margin-top: 0;
	font-size: 1.5rem;
	color: var(--primary);
}

.callback-card p {
	color: var(--muted);
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
}

.callback-card .form-control {
	background: #f3f5f4;
	border: 1px solid rgba(0, 0, 0, 0.08);
	color: #0c130f;
}

.callback-card .form-control::placeholder {
	color: rgba(15, 24, 18, 0.7);
}

.callback-card .form-notice--success {
	background: #e7f7ee;
	border: 1px solid #b7e4c7;
	color: #12422c;
}

.callback-card .form-notice--error {
	background: #fdebea;
	border: 1px solid #f3c3bf;
	color: #7b1f1f;
}

.footer {
	background: var(--primary);
	color: rgba(255, 255, 255, 0.75);
	padding: 90px 0 40px;
}

.footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2rem;
}

.footer h4,
.footer__brand {
	color: #fff;
	margin-top: 0;
	font-family: 'Manrope', sans-serif;
}

.footer__brand {
	font-size: 1.6rem;
	font-weight: 800;
}

.footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer__links li + li {
	margin-top: 0.6rem;
}

.footer__links a:hover {
	color: #fff;
}

.footer__legal {
	margin-top: 60px;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	align-items:center;
}

.map-section {
	position: relative;
	min-height: 480px;
	padding: 120px 0;
	overflow: hidden;
}

.map-section__background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.map-section__background iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.map-section__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, rgba(0, 40, 25, 0.92), rgba(0, 40, 25, 0.35));
}

.map-section__inner {
	position: relative;
	z-index: 2;
}

.map-section__content {
	background: rgba(255, 255, 255, 0.92);
	border-radius: var(--radius-lg);
	padding: 2.5rem;
	box-shadow: 0 30px 80px -70px rgba(0, 0, 0, 0.7);
	max-width: 520px;
}

.map-section__content p {
	color: var(--muted);
}

.map-section__details {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.map-section__details li {
	display: flex;
	gap: 0.8rem;
	align-items: center;
	color: var(--primary);
	font-weight: 600;
}

.map-section__details a {
	color: inherit;
	font-weight: 800;
}


.mobile-cta {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	width: min(420px, 90%);
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 25px 80px -40px rgba(0, 0, 0, 0.45);
	padding: 1.5rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	border: 1px solid var(--border);
	z-index: 40;
	display:none;
}

.mobile-cta__meta {
	display: flex;
	flex-direction: column;
	font-size: 0.8rem;
	color: var(--muted);
}

.mobile-cta__number {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--primary);
}

.mobi{
	display:none;
}

@media (max-width: 900px) {
	.nav__links {
		display: none;
	}

	.nav__inner {
		gap: 1rem;
	}

	.logo {
		height: 32px;
	}

	.hero__content h1 {
		font-size: 3rem;
	}

	.hero__grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}

	.hero__grid {
		grid-template-columns: 1fr;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.hero-form {
		padding: 1.5rem;
	}

	.card__image {
		height: 200px;
	}

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

	.map-section__content {
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	
	.mobi{
		display:flex;
	}
	
	.desk{
		display:none !important;
	}
	
	.section {
		padding: 90px 0;
	}



	.hero {
		background-attachment: scroll;
		padding: 30px 0;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.nav__inner a{
		font-size:12px;
	}

	.hero-form {
		padding: 1.25rem;
	}

	.button--ghost{
		display:none;
	}

	.mobile-cta {
		position: static;
		transform: none;
		margin: 2rem auto;
	}

	.footer__grid {
		grid-template-columns: 1fr;
	}

	.map-section__content {
		padding: 2rem;
	}

	.card-grid{
		grid-template-columns:100%;
	}
	.nav__subtitle{
		width: 128px;
    text-align: center;
	}
}
