/*
Theme Name: John's Pass Marina
Theme URI: https://example.com/johnspass-marina
Author: Abhinav Thakur (Exzeo India)
Author URI: https://example.com
Description: A production-ready custom WordPress theme for John's Pass Marina. Full-width top navigation, a fixed 320px left sidebar (logo, features, latest news, phone numbers, weather), a right-hand content area with a hero slider and dynamic homepage content, and a full-width footer. Built with modern WordPress APIs, theme.json, no page builders, no jQuery, WCAG AA accessible, SEO ready, and translation ready.
Version: 1.0.0
Requires at least: 5.6
Tested up to: 6.9
Requires PHP: 7.4
License: Proprietary
License URI: https://example.com/license
Text Domain: johnspass
Domain Path: /languages
Tags: custom-menu, featured-images, translation-ready, accessibility-ready, custom-logo, threaded-comments
*/

/*
 * This file intentionally contains only the theme header plus a small set of
 * base resets. All substantive styling is modularized under assets/css/ and
 * enqueued individually for cache-friendliness. See assets/css/main.css.
 */

:root {
	--jpm-sidebar-width: 320px;
	--jpm-max-content: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	padding: 0;
}

img,
picture,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--wp--preset--color--primary, #0b5d8f);
}

/* Accessibility: visually hidden but screen-reader available. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Skip link */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
}

.skip-link:focus {
	left: 6px;
	top: 6px;
	background: #fff;
	color: #0b5d8f;
	padding: 10px 16px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
