/*
 * Lake Day Boat Rentals — base styles
 * Loaded after tokens.css. Sets typography, body, container, and the signature
 * .btn-gold + .ldr-section-wave utilities used across widgets.
 */

/* ---------------------------------------------------------------------------
 * Body + typography defaults
 * ------------------------------------------------------------------------- */

body {
	font-family: var(--ldr-font-body);
	font-size: var(--ldr-fs-body);
	line-height: var(--ldr-lh-body);
	color: var(--ldr-fg);
	background-color: var(--ldr-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--ldr-font-heading);
	color: var(--ldr-navy);
	line-height: var(--ldr-lh-tight);
	margin: 0 0 0.75em;
}

h1 { font-size: var(--ldr-fs-h1); font-weight: 900; letter-spacing: -0.01em; }
h2 { font-size: var(--ldr-fs-h2); font-weight: 700; }
h3 { font-size: var(--ldr-fs-h3); font-weight: 700; }

p {
	margin: 0 0 1em;
	line-height: var(--ldr-lh-body);
}

a {
	color: var(--ldr-lake);
	text-decoration: none;
	transition: color var(--ldr-dur-fast) var(--ldr-ease);
}
a:hover { color: var(--ldr-lake-dark); }

/* Cursor on interactive elements (matches source CSS rule). */
button:not(:disabled),
[role="button"]:not([aria-disabled="true"]),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled),
[type="reset"]:not(:disabled),
a[href],
select:not(:disabled),
input[type="checkbox"]:not(:disabled),
input[type="radio"]:not(:disabled) {
	cursor: pointer;
}

/* ---------------------------------------------------------------------------
 * Container — width + horizontal padding rhythm
 * ------------------------------------------------------------------------- */

.ldr-container {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 640px) {
	.ldr-container { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 1024px) {
	.ldr-container {
		padding-left: 2rem;
		padding-right: 2rem;
		max-width: var(--ldr-container-max);
	}
}

/* ---------------------------------------------------------------------------
 * Signature button — .btn-gold (gradient pill CTA used site-wide)
 * Source: client/src/index.css .btn-gold
 * ------------------------------------------------------------------------- */

.btn-gold,
.ldr-btn-gold {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: linear-gradient(135deg, oklch(0.72 0.14 75), oklch(0.65 0.14 65));
	color: #fff;
	font-family: var(--ldr-font-heading);
	font-weight: 700;
	letter-spacing: var(--ldr-tracking-cta);
	border: 0;
	border-radius: var(--ldr-radius-pill);
	padding: 0.875rem 2rem;
	font-size: var(--ldr-fs-body);
	line-height: 1;
	transition: all var(--ldr-dur-base) var(--ldr-ease);
	cursor: pointer;
	text-decoration: none;
}

/* Inner SVG icons + nested elements inherit the white text color so the
   chevrons and lucide icons inside gold buttons aren't dark. */
.btn-gold *,
.ldr-btn-gold * { color: inherit; }
.btn-gold svg,
.ldr-btn-gold svg { stroke: currentColor; }

.btn-gold:hover,
.ldr-btn-gold:hover {
	background: linear-gradient(135deg, oklch(0.65 0.14 65), oklch(0.58 0.14 60));
	transform: translateY(-1px);
	box-shadow: var(--ldr-shadow-gold-cta);
	color: #fff;
}

.btn-gold:focus-visible,
.ldr-btn-gold:focus-visible {
	outline: 3px solid var(--ldr-gold);
	outline-offset: 3px;
}

/* Outline button — used for secondary CTAs */
.ldr-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: transparent;
	color: var(--ldr-navy);
	border: 1.5px solid var(--ldr-navy);
	border-radius: var(--ldr-radius-pill);
	padding: 0.875rem 2rem;
	font-family: var(--ldr-font-heading);
	font-weight: 700;
	letter-spacing: var(--ldr-tracking-cta);
	font-size: var(--ldr-fs-body);
	line-height: 1;
	transition: all var(--ldr-dur-base) var(--ldr-ease);
	text-decoration: none;
}
.ldr-btn-outline:hover {
	background: var(--ldr-navy);
	color: #fff;
}

/* On-dark variant (used over hero/navy sections) */
.ldr-btn-outline-light {
	color: #fff;
	border-color: rgb(255 255 255 / 0.3);
	background: transparent;
}
.ldr-btn-outline-light:hover {
	background: rgb(255 255 255 / 0.1);
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * Section wave divider (used on hero bottom)
 * ------------------------------------------------------------------------- */

.ldr-section-wave {
	position: relative;
}
.ldr-section-wave::before {
	content: '';
	position: absolute;
	inset: -3rem 0 auto 0;
	height: 4rem;
	background: inherit;
	clip-path: ellipse(60% 100% at 50% 100%);
}

/* ---------------------------------------------------------------------------
 * Reduced-motion + accessibility
 * ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Visible focus rings — matches source --ring */
:focus-visible {
	outline: 2px solid var(--ldr-ring);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
 * Hide WordPress / Hello Elementor default page titles. Pages built with
 * Elementor manage their own headings (banner widget, hero, etc.).
 * ------------------------------------------------------------------------- */

body.elementor-page .page-header,
body.elementor-page .entry-header,
body.elementor-page > .site-content > .page-header,
.elementor-default .page-header,
.entry-header.page-header,
h1.entry-title.page-title {
	display: none !important;
}

/* ---------------------------------------------------------------------------
 * Utility helpers used by widgets
 * ------------------------------------------------------------------------- */

.ldr-bg-navy        { background-color: var(--ldr-navy); color: #fff; }
.ldr-bg-bg          { background-color: var(--ldr-bg); }
.ldr-bg-secondary   { background-color: oklch(0.96 0.01 230 / 0.5); }
.ldr-bg-lake-light  { background-color: var(--ldr-lake-light); }

.ldr-text-gold      { color: var(--ldr-gold); }
.ldr-text-lake      { color: var(--ldr-lake); }
.ldr-text-navy      { color: var(--ldr-navy); }
.ldr-text-muted     { color: var(--ldr-muted-fg); }

.ldr-rounded-pill   { border-radius: var(--ldr-radius-pill); }
.ldr-shadow-card    { box-shadow: var(--ldr-shadow-lg); }
.ldr-shadow-card-hover:hover { box-shadow: var(--ldr-shadow-xl); }
