/*
Theme Name: kanoatransportation
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Web Master Services Hawaii
Author URI: https://www.webmasterserviceshawaii.com/
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.7.1776945232
Updated: 2026-04-23 11:53:52

*/


/* =====================================================================
   Fleet components (inc/kanoa-fleet.php shortcodes)
   Matches the Elementor design: CallunaSans, black sections, #E7D0BA accent.
   ===================================================================== */

.kanoa-specs,
.kanoa-sections,
.kanoa-faqs,
.kanoa-gallery,
.kanoa-fleet-grid {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
	font-family: "CallunaSans", sans-serif;
	color: #fff;
}

/* Spec table */
.kanoa-specs {
	border-collapse: collapse;
	font-size: 20px;
	line-height: 28px;
	font-weight: 300;
	max-width: 800px;
}
.kanoa-specs th,
.kanoa-specs td {
	padding: 14px 18px;
	border-bottom: 1px solid #3b3b3b;
	text-align: left;
	vertical-align: top;
	background: transparent;
}
.kanoa-specs th {
	width: 35%;
	color: #e7d0ba;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 15px;
}
.kanoa-specs ul {
	margin: 0;
	padding-left: 18px;
}

/* Expanded vehicle sections + FAQs */
.kanoa-sections {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 40px;
}
.kanoa-sections__item,
.kanoa-faqs__item {
	background: #3b3b3b;
	padding: 25px 28px;
}
.kanoa-sections h3,
.kanoa-faqs h3 {
	margin: 0 0 12px;
	font-family: "CallunaSans", sans-serif;
	font-size: 24px;
	line-height: 30px;
	font-weight: 600;
	color: #e7d0ba;
}
.kanoa-sections p,
.kanoa-sections li,
.kanoa-faqs p {
	font-size: 19px;
	line-height: 28px;
	font-weight: 300;
	margin: 0 0 8px;
}
.kanoa-sections ul {
	margin: 0;
	padding-left: 20px;
}
.kanoa-faqs {
	display: grid;
	gap: 20px;
	max-width: 900px;
}
.kanoa-faqs a,
.kanoa-sections a {
	color: #e7d0ba;
}

/* Gallery */
.kanoa-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 15px;
}
.kanoa-gallery__item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #fff;
}

/* Fleet cards (Fleet page + "rest of the fleet") */
.kanoa-fleet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 25px;
}
.kanoa-fleet-card {
	background: #3b3b3b;
	padding: 0 0 25px;
	text-align: center;
}
.kanoa-fleet-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #fff;
}
.kanoa-fleet-card__title {
	margin: 20px 15px 6px;
	font-family: "CallunaSans", sans-serif;
	font-size: 24px;
	line-height: 30px;
	font-weight: 600;
	text-transform: uppercase;
}
.kanoa-fleet-card__title a {
	color: #fff;
	text-decoration: none;
}
.kanoa-fleet-card__model,
.kanoa-fleet-card__specs {
	margin: 0 15px 6px;
	font-size: 18px;
	line-height: 26px;
	font-weight: 300;
}
.kanoa-fleet-card__model {
	color: #e7d0ba;
}
/* `.kanoa-fleet-card a.` outranks the Elementor kit's link colour
   (.elementor-kit-6 a, Kanoa Sand), which otherwise turned the label the
   same colour as the button. Same look as the site's primary buttons. */
.kanoa-fleet-card a.kanoa-fleet-card__link,
.kanoa-fleet-card a.kanoa-fleet-card__link:visited {
	display: inline-block;
	margin-top: 12px;
	padding: 14px 24px;
	background: #e7d0ba;
	color: #000;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none;
}
.kanoa-fleet-card a.kanoa-fleet-card__link:hover,
.kanoa-fleet-card a.kanoa-fleet-card__link:focus,
.kanoa-fleet-card a.kanoa-fleet-card__link:active {
	background: #b9a695;
	color: #000;
}
.kanoa-fleet-card a.kanoa-fleet-card__link:focus-visible {
	outline: 2px solid #e7d0ba;
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.kanoa-sections {
		grid-template-columns: 1fr;
	}
	.kanoa-specs {
		font-size: 18px;
	}
	.kanoa-specs th,
	.kanoa-specs td {
		display: block;
		width: 100%;
		border-bottom: 0;
		padding: 8px 0;
	}
	.kanoa-specs tr {
		display: block;
		border-bottom: 1px solid #3b3b3b;
		padding: 8px 0;
	}
}

/* =====================================================================
   Home hero: poster first, Vimeo after the page has rendered
   (container class .kanoa-hero-video, data-kanoa-vimeo="<Vimeo link>")
   - The poster (Elementor background image, preloaded by
     inc/kanoa-hero.php) is a frame of the video, so the hero paints at once.
   - assets/js/kanoa-hero-video.js adds the Vimeo background player after
     the load event, when the browser is idle, and fades it in over the
     poster once it is playing. Reduced motion / data saver: poster only.
   - The footage has black letterbox bars baked into its 16:9 frame (about
     8% of the height top and bottom). Poster and player use the same
     geometry: a 16:9 frame covering the hero, enlarged 1.22x (the bars need
     1.19x), so the swap doesn't shift and no bars show at any width.
   ===================================================================== */
.kanoa-hero-video {
	background-size: auto 122%;
}

/* Hero wider than 16:9: size by width. Above 767px the hero is 100vw x 86vh,
   so that's a viewport wider than 16/9 x 0.86 = 1.529. */
@media (min-width: 768px) and (min-aspect-ratio: 1529/1000) {
	.kanoa-hero-video {
		background-size: 122% auto;
	}
}

.kanoa-hero-video > .kanoa-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	container-type: size;
	pointer-events: none;
}

.kanoa-hero-media iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: max(100cqw, 177.78cqh);
	height: max(100cqh, 56.25cqw);
	border: 0;
	opacity: 0;
	transform: translate(-50%, -50%) scale(1.22);
	transition: opacity 0.8s ease;
}

.kanoa-hero-media.is-playing iframe {
	opacity: 1;
}

/* Keep Elementor's dark overlay above the video, as it was. */
.kanoa-hero-video::before {
	z-index: 1;
}

/* Mobile/tablet menu: 44px tap areas for the header hamburger and the
   menu popup's close button, with a visible keyboard focus ring. */
.kanoa-menu-toggle .elementor-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

.elementor-popup-modal .dialog-close-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

/* Header menu between breakpoints. The nine-item menu needs ~940px at its
   32px item spacing, so it wrapped to two rows below ~1366px.
   1200-1365px: half the spacing (~800px), one row.
   1025-1199px: not enough room even then, so the hamburger shows instead
   (it already shows up to 1024px via Elementor's tablet/mobile settings). */
@media (min-width: 1200px) and (max-width: 1365px) {
	body .elementor .elementor-element.kanoa-desktop-nav {
		--e-nav-menu-horizontal-menu-item-margin: 8px;
	}
}

@media (min-width: 1025px) and (max-width: 1199px) {
	body .elementor .elementor-element.kanoa-desktop-nav {
		display: none;
	}

	body .elementor .elementor-element.kanoa-menu-toggle {
		display: block;
	}
}

/* Footer PUC badge (Footer #52, container kpuc001): State of Hawaii seal
   plus the licence line, sized like the PAX / Moovs badges beside it. */
.elementor .e-con.kanoa-puc-badge {
	flex: 0 1 auto;
	width: auto;
	max-width: 100%;
}

.kanoa-puc-badge .elementor-widget-text-editor p {
	margin: 0;
}

@media (max-width: 767px) {
	.elementor .e-con.kanoa-puc-badge {
		justify-content: center;
	}
}

/* Header logo (Header #18, HTML widget khl0001): KANOA / TRANSPORTATION
   wordmark, WebP with PNG fallback at 2x the 64px desktop height. */
.kanoa-header-logo {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}

/* max-height (not a fixed height) so a narrow column scales the logo down
   in proportion instead of squashing it sideways. */
.elementor .kanoa-header-logo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 64px;
}

@media (max-width: 1024px) {
	.elementor .kanoa-header-logo img {
		max-height: 56px;
	}
}

@media (max-width: 767px) {
	.elementor .kanoa-header-logo img {
		max-height: 52px;
	}
}

.kanoa-menu-toggle .elementor-icon:focus-visible,
.elementor-popup-modal .dialog-close-button:focus-visible,
.elementor-popup-modal .elementor-nav-menu a:focus-visible {
	outline: 2px solid #e7d0ba;
	outline-offset: 2px;
}

/* Header top bar (Header #18): keep "Book or Quote Now" on one line. From
   tablet up, the promo text takes the space the button doesn't need,
   instead of a fixed 82% that left the button too narrow. */
.kanoa-btn-nowrap .elementor-button {
	white-space: nowrap;
}

@media (min-width: 768px) {
	.elementor .e-con.kanoa-topbar-text {
		flex: 1 1 auto;
		width: auto;
		min-width: 0;
	}

	.elementor .e-con.kanoa-topbar-cta {
		flex: 0 0 auto;
		width: auto;
		margin-left: 16px;
	}
}

/* =====================================================================
   Home H1 on two lines (one H1, two spans; the space between them keeps
   the accessible text "Kanoa Transportation Oʻahu's ...")
   ===================================================================== */
.kanoa-h1-line,
.kanoa-h1-sub {
	display: block;
}

/* Shrinks on phones so "Kanoa Transportation" stays on one line (its width is ~12.5x the font size). */
.kanoa-h1-line {
	font-size: min(1em, calc((100vw - 56px) / 12.8));
}

.kanoa-h1-sub {
	margin-top: 0.3em;
	font-size: 0.6em;
	line-height: 1.35;
}

/* =====================================================================
   Petroglyph section backgrounds (sitewide)
   - Every top-level content section of every page / post / vehicle page
     (Elementor documents), excluding header, footer, popups and the Home
     video hero. Opt out per section with the class .kanoa-no-glyph.
   - Rotates through the four client glyphs. A CSS pseudo-element behind
     the content (never an <img>).
   - 1200px and up: assets/js/kanoa-glyphs.js measures each section's
     visible content and places the glyph in the free space beside it,
     sized to fit (--kanoa-glyph-size, --kanoa-glyph-x), alternating sides.
     Sections without room get no glyph, so it never sits behind content.
   - 768-1199px: a faint watermark centred behind the content, low enough
     not to hurt text contrast (white text on it is still about 19:1).
   - Below 768px: hidden.
   ===================================================================== */
:root {
	--kanoa-glyph-opacity: 0.09;            /* side placement */
	--kanoa-glyph-watermark-opacity: 0.06;  /* behind content */
	--kanoa-glyph-color: #e7d0ba;           /* Kanoa Sand */
}

@media (min-width: 768px) {
	.elementor[data-elementor-type="wp-page"] > .e-con:not(.kanoa-hero-video):not(.kanoa-no-glyph),
	.elementor.elementor-location-single > .e-con:not(.kanoa-no-glyph) {
		position: relative;
		isolation: isolate;
	}

	.elementor[data-elementor-type="wp-page"] > .e-con:not(.kanoa-hero-video):not(.kanoa-no-glyph)::after,
	.elementor.elementor-location-single > .e-con:not(.kanoa-no-glyph)::after {
		content: "";
		position: absolute;
		z-index: -1;
		top: 50%;
		left: 50%;
		/* Sized by the script to fit the section; small fallback without JS. */
		width: var(--kanoa-glyph-size, min(40%, 200px));
		aspect-ratio: 1;
		transform: translate(-50%, -50%);
		background-color: var(--kanoa-glyph-color);
		-webkit-mask: var(--kanoa-glyph) center / contain no-repeat;
		mask: var(--kanoa-glyph) center / contain no-repeat;
		opacity: var(--kanoa-glyph-watermark-opacity);
		pointer-events: none;
	}

	/* Rotate the four glyphs. */
	.elementor[data-elementor-type="wp-page"] > .e-con:nth-child(4n+1)::after,
	.elementor.elementor-location-single > .e-con:nth-child(4n+1)::after { --kanoa-glyph: url("assets/glyphs/kanoa-glyph-1-paddler.png"); }
	.elementor[data-elementor-type="wp-page"] > .e-con:nth-child(4n+2)::after,
	.elementor.elementor-location-single > .e-con:nth-child(4n+2)::after { --kanoa-glyph: url("assets/glyphs/kanoa-glyph-2-turtle.png"); }
	.elementor[data-elementor-type="wp-page"] > .e-con:nth-child(4n+3)::after,
	.elementor.elementor-location-single > .e-con:nth-child(4n+3)::after { --kanoa-glyph: url("assets/glyphs/kanoa-glyph-3-canoe.png"); }
	.elementor[data-elementor-type="wp-page"] > .e-con:nth-child(4n+4)::after,
	.elementor.elementor-location-single > .e-con:nth-child(4n+4)::after { --kanoa-glyph: url("assets/glyphs/kanoa-glyph-4-warrior.png"); }
}

@media (min-width: 1200px) {
	/* Side placement: only where the script found room (.kanoa-glyph-on). */
	.elementor[data-elementor-type="wp-page"] > .e-con:not(.kanoa-hero-video):not(.kanoa-no-glyph)::after,
	.elementor.elementor-location-single > .e-con:not(.kanoa-no-glyph)::after {
		display: none;
	}

	.elementor[data-elementor-type="wp-page"] > .e-con.kanoa-glyph-on:not(.kanoa-hero-video):not(.kanoa-no-glyph)::after,
	.elementor.elementor-location-single > .e-con.kanoa-glyph-on:not(.kanoa-no-glyph)::after {
		display: block;
		left: var(--kanoa-glyph-x);
		width: var(--kanoa-glyph-size);
		opacity: var(--kanoa-glyph-opacity);
	}
}

/* =====================================================================
   Mobile / tablet review (2026-11-06)
   ===================================================================== */

/* Home hero poster on phones (the Vimeo player isn't loaded below 768px).
   "auto 122%" on the 500px-tall phone hero drew the KANOA wordmark wider
   than the screen, cut at both edges. Sized by width instead, the wordmark
   (35% of the frame) is ~84% of the screen width at any phone size. The
   poster's edges are black like the hero, so no seam shows. */
@media (max-width: 767px) {
	.kanoa-hero-video {
		background-size: 240% auto;
	}
}

/* Footer menu (Footer #52, class .kanoa-footer-menu). Its links were 22px
   tall, and wrapping left a "|" divider dangling at the end of a line.
   Tablet: wraps without dividers, 44px tap rows. Phone: one link per row. */
@media (max-width: 1024px) {
	/* Elementor draws the divider as an empty ::after with a border. */
	.elementor-widget-nav-menu.kanoa-footer-menu .elementor-nav-menu > li::after {
		display: none;
	}

	.kanoa-footer-menu .elementor-nav-menu {
		justify-content: center;
		column-gap: 20px;
	}

	.kanoa-footer-menu .elementor-nav-menu a.elementor-item {
		min-height: 44px;
		display: flex;
		align-items: center;
	}
}

@media (max-width: 767px) {
	.kanoa-footer-menu .elementor-nav-menu {
		flex-direction: column;
		align-items: center;
	}

	/* "Terms, Conditions & Privacy Policy" is wider than a 360px phone. */
	.kanoa-footer-menu .elementor-nav-menu a.elementor-item {
		white-space: normal;
		text-align: center;
		justify-content: center;
	}
}

/* Footer phone, email, clock and PUC links: 18-19px tall text links.
   Padding grows the tap area without moving the text. */
@media (max-width: 1024px) {
	.elementor-location-footer a[href^="tel:"],
	.elementor-location-footer a[href^="mailto:"],
	.elementor-location-footer #time_is_link,
	.kanoa-puc-badge .elementor-widget-text-editor a {
		display: inline-block;
		padding: 11px 0;
	}
}

/* Booking form (Gravity Forms #2): the "Agent Name", "Passenger Name" and
   "Add-on Services" headings were #333 on black (about 1.7:1). Kanoa Sand,
   like the form's other headings. */
.gform_wrapper h3.agent-name {
	color: #e7d0ba;
}

/* Theme fallback archive + search templates (no Elementor template): light
   sand post titles sat on a white page. Black page like the rest of the site. */
body.archive,
body.search {
	background-color: #000;
	color: #fff;
}

body.archive .page-header .entry-title,
body.search .page-header .entry-title {
	color: #fff;
}

@media (max-width: 767px) {
	body.archive .site-main,
	body.search .site-main {
		padding-inline: 20px;
	}
}

/* About and Services H1s (class .kanoa-h1-fit): "TRANSPORTATION:" is one
   ~8.8em word, wider than 320-360px phones at 38px, so the page scrolled
   sideways. Shrinks only as far as needed (still 38px on a 390px phone). */
@media (max-width: 767px) {
	/* Outranks Elementor's per-widget rule (four classes). */
	body .elementor .elementor-element.elementor-widget-heading.kanoa-h1-fit .elementor-heading-title {
		font-size: min(38px, calc((100vw - 56px) / 8.9));
	}
}
