/*
Theme Name: Underwater Scooter Rentals
Theme URI: https://example.com/underwater-scooter-rentals
Author: Autobyte Solution
Author URI: https://example.com
Description: A premium, pixel-accurate custom WordPress theme for Underwater Scooter Rentals (Santa Rosa Beach, FL). Built from a 1920px Figma reference with a background-video hero, glass navigation, bento galleries and full Elementor / Elementor Pro theme-builder support.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: underwater-scooter
Tags: custom-theme, one-column, full-width-template, block-styles, wide-blocks, editor-style, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
 * ---------------------------------------------------------------------------
 * NOTE
 * ---------------------------------------------------------------------------
 * This file exists because WordPress requires it for theme discovery, and it
 * carries only the reset + design tokens. All presentational rules live in:
 *
 *   assets/css/main.css        -> layout, components, sections
 *   assets/css/responsive.css  -> breakpoint behaviour
 *
 * Keeping them separate means the browser can cache the heavy files
 * independently of the (rarely changing) theme header.
 * ---------------------------------------------------------------------------
 */

/* ===========================================================================
   1. DESIGN TOKENS
   =========================================================================== */

:root {
	/* Brand palette (exact Figma values) */
	--color-primary: #028fa8;
	--color-primary-dark: #02798e;
	--color-heading: #073b4c;
	--color-dark: #002431;
	--color-body: #41484b;
	--color-cream: #f7f3ea;
	--color-white: #ffffff;

	/* Derived / support tones */
	--color-primary-deep: #01798e;
	--color-primary-soft: rgba(2, 143, 168, 0.08);
	--color-surface-muted: #efefef;
	--color-badge: #b9e2ec;
	--color-line: #dfe4e6;
	--color-line-strong: #cfd7da;
	--color-icon-bg: rgba(57, 100, 118, 0.1); /* #3964761A */
	--color-header-veil: rgba(255, 255, 255, 0.56); /* #FFFFFF8F */
	--color-hero-overlay: rgba(0, 36, 49, 0.3); /* #0024314D */
	--color-glass: rgba(255, 255, 255, 0.7);
	--color-glass-border: rgba(255, 255, 255, 0.3);

	/* Typography */
	--font-heading: "Sora", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	/* Radii */
	--radius-large: 24px;
	--radius-tile: 25px;
	--radius-card: 19px;
	--radius-small: 10px;
	--radius-pill: 999px;

	/* Elevation */
	--shadow-soft: 0 15px 45px rgba(7, 59, 76, 0.08); /* #073B4C14 */
	--shadow-card: 0 15.66px 46.97px rgba(7, 59, 76, 0.08);
	--shadow-button: 0 10px 24px rgba(2, 143, 168, 0.25);
	--shadow-button-hover: 0 16px 34px rgba(2, 143, 168, 0.32);
	--shadow-header: 0 10px 30px rgba(7, 59, 76, 0.1);

	/* Layout */
	--container-max: 1804px;
	--container-gutter: clamp(20px, 3.02vw, 58px);
	/* 180px visible header at the 1920 reference (217px frame, 36px above the
	   canvas edge in Figma). Scales proportionally, floors on small screens. */
	--header-height: clamp(88px, 9.375vw, 180px);
	--header-height-scrolled: clamp(76px, 5.625vw, 108px);

	/* Motion */
	--ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
	--ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
	--speed-fast: 200ms;
	--speed: 350ms;
	--speed-slow: 600ms;

	/* Z-index scale */
	--z-header: 900;
	--z-nav-panel: 950;
	--z-skip: 1000;
}

/* ===========================================================================
   2. RESET
   =========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
}

html,
body {
	overflow-x: clip;
}

body {
	margin: 0;
	background-color: var(--color-white);
	color: var(--color-body);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--font-heading);
	color: var(--color-heading);
	font-weight: 700;
	line-height: 1.3;
}

p {
	margin: 0 0 1em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--color-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color var(--speed-fast) var(--ease-soft);
}

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

img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

figure {
	margin: 0;
}

hr {
	height: 1px;
	border: 0;
	background-color: var(--color-line);
	margin: 2.5rem 0;
}

table {
	width: 100%;
	border-collapse: collapse;
}

/* Accessibility utilities ------------------------------------------------- */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: var(--z-skip);
	padding: 14px 24px;
	background-color: var(--color-primary);
	color: var(--color-white);
	font-family: var(--font-body);
	font-weight: 600;
	border-radius: 0 0 12px 12px;
	text-decoration: none;
	transition: top var(--speed-fast) var(--ease-out);
}

.skip-link:focus {
	top: 0;
	color: var(--color-white);
}

:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 3px;
	border-radius: 4px;
}
