/*
Theme Name: HOF Luxury Accessibility Theme
Theme URI: https://hofdriver.com/
Author: HOF Driver LLC
Author URI: https://hofdriver.com/
Description: A premium, professional theme in Black, Gold, Silver, and White, designed with advanced accessibility features for older adults and individuals with cognitive or physical disabilities.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hof-luxury-theme
*/

/* --- Core Theme Variables --- */
:root {
	--hof-black: #050505;
	--hof-dark-gray: #101010;
	--hof-medium-gray: #1a1a1a;
	--hof-light-gray: #e6e6e6;
	--hof-white: #ffffff;
	--hof-gold: #c9a84c;
	--hof-silver: #d1d5db;
	
	/* Chrome Metallic Gradients */
	--chrome-gold-gradient: linear-gradient(135deg, #a37a28 0%, #dfc26d 25%, #fdf8cd 45%, #c89f3c 70%, #a37a28 100%);
	--chrome-silver-gradient: linear-gradient(135deg, #7f8c8d 0%, #bdc3c7 25%, #f5f6fa 45%, #bdc3c7 70%, #7f8c8d 100%);
	
	/* Font Families */
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--font-display: 'Outfit', sans-serif;
	
	/* Dynamic Sizing (Multiplied by Accessibility scale in JS) */
	--font-scale: 1;
	--size-base: calc(16px * var(--font-scale));
	
	/* Interactive Targets */
	--min-tap-target: 60px;
}

/* --- Base Accessibility & Styling Reset --- */
* {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	background-color: var(--hof-black);
	color: var(--hof-white);
	font-family: var(--font-body);
	font-size: var(--size-base);
	line-height: 1.6;
	overflow-x: hidden !important; /* Force no horizontal scrolling */
	width: 100% !important;
	position: relative;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--hof-white);
	line-height: 1.25;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

h1 { font-size: calc(2.6rem * var(--font-scale)); }
h2 { font-size: calc(2rem * var(--font-scale)); }
h3 { font-size: calc(1.5rem * var(--font-scale)); }
h4 { font-size: calc(1.2rem * var(--font-scale)); }

p, ul, ol {
	margin-top: 0;
	margin-bottom: 1.5em;
	font-size: calc(1.1rem * var(--font-scale));
}

a {
	color: var(--hof-gold);
	text-decoration: underline;
	transition: all 0.2s ease;
}

a:hover, a:focus {
	color: #dfc26d;
	text-decoration: none;
}

/* Metallic Chrome Gradients Utility Classes */
.chrome-gold-text {
	background: var(--chrome-gold-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: var(--hof-gold); /* fallback */
	text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

.chrome-silver-text {
	background: var(--chrome-silver-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: var(--hof-silver); /* fallback */
}

/* Keyboard Accessibility Focus Indicator */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
	outline: 4px solid #fdf8cd !important;
	outline-offset: 4px !important;
	box-shadow: 0 0 15px rgba(253, 248, 205, 0.6) !important;
}

/* Skip link for screen readers */
.skip-link {
	position: absolute;
	top: -100px;
	left: 0;
	background: var(--chrome-gold-gradient);
	color: #000;
	padding: 15px;
	z-index: 10000;
	font-weight: bold;
	text-decoration: none;
}

.skip-link:focus {
	top: 0;
}

/* --- Layout Wrappers --- */
.container {
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 24px;
	width: 100%;
}

/* --- Header / Navigation --- */
.hof-header {
	background-color: rgba(5, 5, 5, 0.95);
	border-bottom: 2px solid #222;
	border-image: linear-gradient(to right, #a37a28, #fdf8cd, #a37a28) 1;
	position: sticky;
	top: 0;
	z-index: 999;
	padding: 12px 0;
}

.hof-header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.hof-logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	gap: 15px;
}

.custom-logo-link img {
	max-height: 55px;
	width: auto;
}

.hof-logo-fallback {
	font-family: var(--font-display);
	font-size: calc(1.8rem * var(--font-scale));
	font-weight: 800;
	color: var(--hof-white);
}

.hof-nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 25px;
	align-items: center;
}

.hof-nav-list a {
	color: var(--hof-white);
	text-decoration: none;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: calc(1.1rem * var(--font-scale));
	border-bottom: 2px solid transparent;
	padding-bottom: 4px;
}

.hof-nav-list a:hover {
	border-bottom: 2px solid var(--hof-gold);
}

/* --- Mobile Navigation Drawer System --- */
.mobile-menu-toggle {
	display: none;
	background: none;
	border: 2px solid var(--hof-gold);
	border-radius: 4px;
	color: var(--hof-white);
	padding: 8px 12px;
	cursor: pointer;
	align-items: center;
	gap: 8px;
	min-height: 44px;
}

.mobile-menu-toggle:hover {
	background: rgba(201, 168, 76, 0.1);
}

.mobile-menu-toggle span {
	font-size: 1.25rem;
}

.mobile-menu-drawer {
	position: fixed;
	top: 0;
	right: -100%;
	width: 320px;
	max-width: 85%;
	height: 100vh;
	background-color: #0c0c0c;
	z-index: 10000;
	box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8);
	transition: right 0.3s ease-in-out, visibility 0.3s ease-in-out;
	padding: 30px 24px;
	display: flex;
	flex-direction: column;
	border-left: 2px solid var(--hof-gold);
	/* Prevent off-screen overflow when closed */
	visibility: hidden;
}

.mobile-menu-drawer.open {
	right: 0;
	visibility: visible;
}

.drawer-close-btn {
	align-self: flex-end;
	background: none;
	border: 1px solid #444;
	color: var(--hof-white);
	font-size: 1.5rem;
	padding: 10px 16px;
	cursor: pointer;
	border-radius: 4px;
	margin-bottom: 30px;
	min-height: 50px;
}

.drawer-close-btn:hover {
	border-color: var(--hof-gold);
	color: var(--hof-gold);
}

.drawer-nav {
	margin-top: 20px;
}

.drawer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.drawer-nav a {
	display: block;
	color: var(--hof-white);
	text-decoration: none;
	font-family: var(--font-display);
	font-size: calc(1.4rem * var(--font-scale));
	font-weight: 700;
	padding: 15px 0;
	border-bottom: 1px solid #222;
	min-height: var(--min-tap-target);
}

.drawer-nav a:hover {
	color: var(--hof-gold);
}

/* Backdrop when drawer is open */
.drawer-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.75);
	z-index: 9999;
	display: none;
}

.drawer-backdrop.open {
	display: block;
}

/* --- Hero Section --- */
.hero-section {
	padding: 100px 0 80px 0;
	text-align: center;
	border-bottom: 1px solid #151515;
	background: radial-gradient(circle at center, #1c1508 0%, var(--hof-black) 90%);
}

.hero-tagline {
	font-size: calc(1.4rem * var(--font-scale));
	color: var(--hof-gold);
	text-transform: uppercase;
	letter-spacing: 3px;
	font-weight: 700;
	margin-bottom: 15px;
}

.hero-title {
	font-size: calc(3.6rem * var(--font-scale));
	margin-top: 0;
	margin-bottom: 25px;
	letter-spacing: -1px;
}

.hero-desc {
	max-width: 800px;
	margin: 0 auto 50px auto;
	font-size: calc(1.3rem * var(--font-scale));
	color: var(--hof-light-gray);
	line-height: 1.65;
}

/* --- Hero Emergency / Top Buttons --- */
.hero-cta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 20px;
	max-width: 1050px;
	margin: 0 auto 30px auto;
}

.giant-cta-btn {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	min-height: 110px;
	padding: 22px;
	text-decoration: none !important;
	border-radius: 10px;
	font-weight: 800;
	text-transform: uppercase;
	font-family: var(--font-display);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
	transition: all 0.25s ease;
	max-width: 100% !important;
	overflow: hidden;
}

.giant-cta-btn:hover {
	transform: translateY(-4px);
}

.giant-cta-btn .btn-subtitle {
	font-size: 0.85em;
	font-weight: 500;
	text-transform: none;
	margin-top: 6px;
	opacity: 0.9;
}

.btn-phone {
	background: #113813;
	color: #ffffff !important;
	border: 3px solid #2e7d32;
}

.btn-phone:hover {
	background: #1e5c21;
	box-shadow: 0 0 15px rgba(46, 125, 50, 0.4);
}

.btn-text {
	background: #10344d;
	color: #ffffff !important;
	border: 3px solid #1565c0;
}

.btn-text:hover {
	background: #154d73;
	box-shadow: 0 0 15px rgba(21, 101, 192, 0.4);
}

.btn-book {
	background: var(--chrome-gold-gradient);
	color: #000000 !important;
	border: 3px solid #ffffff;
}

.btn-book:hover {
	transform: translateY(-4px);
	box-shadow: 0 0 20px rgba(253, 248, 205, 0.5);
}

.btn-account {
	background: var(--chrome-silver-gradient);
	color: #000000 !important;
	border: 3px solid #ffffff;
}

.btn-account:hover {
	transform: translateY(-4px);
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-icon {
	font-size: 2rem;
	margin-bottom: 5px;
}

/* --- Section Container Styles --- */
.section-wrapper {
	padding: 80px 0;
	border-bottom: 1px solid #1a1a1a;
}

.section-wrapper.alternate {
	background-color: var(--hof-dark-gray);
}

.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-header h2 {
	margin-top: 0;
	font-size: calc(2.4rem * var(--font-scale));
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
}

.section-header h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: var(--chrome-gold-gradient);
}

/* --- About Us Layout --- */
.about-grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-text {
	font-size: calc(1.15rem * var(--font-scale));
	line-height: 1.75;
}

.about-features {
	background-color: var(--hof-dark-gray);
	border: 2px solid #222;
	border-image: linear-gradient(to bottom, #a37a28, transparent) 1;
	padding: 35px;
	border-radius: 0;
}

.about-feature-item {
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
}

.about-feature-item:last-child {
	margin-bottom: 0;
}

.about-feature-icon {
	font-size: 2rem;
	line-height: 1;
}

.about-feature-title {
	font-weight: bold;
	color: var(--hof-gold);
	font-size: calc(1.2rem * var(--font-scale));
	margin-bottom: 6px;
}

/* --- Booking Widget Container & Strict Responsive Overrides --- */
.booking-container-card {
	background-color: var(--hof-dark-gray);
	border: 2px solid #333;
	border-image: linear-gradient(135deg, #a37a28, #fdf8cd, #a37a28) 1;
	border-radius: 0; /* image border overrides radius */
	padding: 45px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
	margin-top: 20px;
	max-width: 100% !important;
}

.booking-container-card:has(.hof-booking-closed-notice) {
	border-image: linear-gradient(135deg, #a37a28, #ffffff, #a37a28) 1;
}

/* Force all elements inside booking form to respect screen bounds */
.hof-booking-wrapper,
.hof-booking-form,
#hof-map,
#hof-map-container,
.pac-container,
iframe,
table,
img {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* Override plugin styling for input visibility */
.hof-booking-wrapper input,
.hof-booking-wrapper select,
.hof-booking-wrapper textarea {
	font-size: calc(1.15rem * var(--font-scale)) !important;
	padding: 14px !important;
	min-height: 52px !important;
	background: #000 !important;
	color: #fff !important;
	border: 2px solid #444 !important;
	border-radius: 4px !important;
	max-width: 100% !important;
}

.hof-booking-wrapper input:focus,
.hof-booking-wrapper select:focus,
.hof-booking-wrapper textarea:focus {
	border-color: var(--hof-gold) !important;
}

.hof-booking-wrapper label {
	font-size: calc(1.15rem * var(--font-scale)) !important;
	font-weight: 700 !important;
	margin-bottom: 10px !important;
	display: block;
}

/* Make booking submit buttons look like Chrome Gold */
.hof-booking-wrapper .hof-btn-gold {
	background: var(--chrome-gold-gradient) !important;
	color: #000000 !important;
	font-weight: 800 !important;
	font-family: var(--font-display) !important;
	border: 2px solid #fff !important;
	text-transform: uppercase !important;
	padding: 16px 30px !important;
	min-height: 56px !important;
	box-shadow: 0 5px 15px rgba(201, 168, 76, 0.3) !important;
	transition: all 0.25s ease !important;
	max-width: 100% !important;
}

.hof-booking-wrapper .hof-btn-gold:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 25px rgba(253, 248, 205, 0.5) !important;
}

/* --- Loyalty Program Card Section --- */
.loyalty-card {
	background: linear-gradient(145deg, #0e0e0e, #1a1a1a);
	border: 3px solid #222;
	border-image: linear-gradient(135deg, #a37a28, #fdf8cd, #a37a28) 1;
	padding: 40px;
	margin: 50px auto 0 auto;
	max-width: 950px;
	border-radius: 0;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	text-align: center;
}

.loyalty-badge {
	font-size: 3rem;
	margin-bottom: 15px;
	display: inline-block;
}

.loyalty-card h3 {
	margin-top: 0;
	font-size: calc(1.8rem * var(--font-scale));
}

.facebook-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: #1877f2; /* Facebook Blue */
	color: #ffffff !important;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: calc(1.15rem * var(--font-scale));
	text-decoration: none !important;
	padding: 16px 35px;
	border-radius: 8px;
	margin-top: 20px;
	min-height: 60px;
	box-shadow: 0 5px 15px rgba(24, 119, 242, 0.3);
	transition: all 0.2s ease;
	max-width: 100% !important;
}

.facebook-cta-btn:hover {
	background: #166fe5;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(24, 119, 242, 0.5);
}

/* --- Floating Bottom Contact Dock --- */
.bottom-dock {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: rgba(5, 5, 5, 0.98);
	border-top: 3px solid var(--hof-gold);
	padding: 12px 12px;
	box-shadow: 0 -5px 25px rgba(0,0,0,0.8);
	z-index: 1000;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.dock-btn {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 10px;
	text-decoration: none !important;
	border-radius: 8px;
	font-weight: 800;
	font-size: calc(0.95rem * var(--font-scale));
	font-family: var(--font-display);
	color: #fff !important;
	min-height: 60px;
	text-align: center;
	line-height: 1.25;
	box-shadow: 0 3px 10px rgba(0,0,0,0.4);
	transition: all 0.2s ease;
}

.dock-btn:hover {
	transform: translateY(-3px);
}

.dock-btn span {
	font-size: 1.35rem;
	margin-bottom: 2px;
}

.dock-call {
	background: #1b5e20;
	border: 1px solid #2e7d32;
}

.dock-text {
	background: #0d47a1;
	border: 1px solid #1565c0;
}

.dock-book {
	background: var(--chrome-gold-gradient);
	color: #000000 !important;
	border: 1px solid #ffffff;
}

.dock-book:hover {
	box-shadow: 0 0 15px rgba(253, 248, 205, 0.4);
}

body {
	/* Avoid bottom overlapping with floating bar */
	padding-bottom: 100px !important;
}

/* --- Footer --- */
.hof-footer {
	background-color: #030303;
	border-top: 2px solid #111;
	padding: 60px 0 150px 0; /* extra padding at bottom for dock */
	text-align: center;
}

.footer-logo {
	max-height: 90px;
	width: auto;
	margin-bottom: 20px;
}

.footer-company {
	font-family: var(--font-display);
	font-size: calc(1.6rem * var(--font-scale));
	font-weight: 800;
	color: var(--hof-white);
	margin-bottom: 20px;
}

.footer-disclaimer {
	font-size: calc(0.9rem * var(--font-scale));
	color: #777;
	max-width: 850px;
	margin: 0 auto 30px auto;
	line-height: 1.65;
}

.footer-links {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
}

.footer-links a {
	color: var(--hof-silver);
	text-decoration: none;
	font-size: calc(1.05rem * var(--font-scale));
}

.footer-links a:hover {
	color: var(--hof-gold);
}

.footer-copy {
	font-size: calc(0.85rem * var(--font-scale));
	color: #444;
}

/* --- Responsive Layout Rules for Tablets & Mobile --- */

@media (max-width: 991px) {
	/* Tablet View Rules */
	.container {
		padding: 0 20px;
	}
	
	.about-grid {
		grid-template-columns: 1fr; /* Stack text and pillars vertically */
		gap: 35px;
	}
	
	.about-features {
		border-radius: 8px;
		border-image: none;
		border: 2px solid #222;
	}
	
	.hero-title {
		font-size: calc(3rem * var(--font-scale));
	}
	
	.section-wrapper {
		padding: 60px 0;
	}

	.hero-cta-grid {
		grid-template-columns: repeat(2, 1fr); /* 2x2 Grid for tablets */
		gap: 20px;
	}
}

@media (max-width: 767px) {
	/* Mobile View Rules */
	body {
		font-size: calc(15px * var(--font-scale));
	}
	
	.container {
		padding: 0 16px;
	}
	
	.hof-nav-list {
		display: none; /* Hide standard menu on mobile */
	}
	
	.mobile-menu-toggle {
		display: flex; /* Show hamburger toggle on mobile */
	}
	
	.hero-section {
		padding: 60px 0 50px 0;
	}
	
	.hero-tagline {
		font-size: calc(1.1rem * var(--font-scale));
		letter-spacing: 2px;
	}
	
	.hero-title {
		font-size: calc(2.2rem * var(--font-scale));
	}
	
	.hero-desc {
		font-size: calc(1.15rem * var(--font-scale));
		margin-bottom: 35px;
	}
	
	.hero-cta-grid {
		grid-template-columns: 1fr; /* Full width vertical buttons on mobile */
		gap: 16px;
	}
	
	.giant-cta-btn {
		min-height: 90px;
		padding: 16px;
	}
	
	.section-header {
		margin-bottom: 40px;
	}
	
	.section-header h2 {
		font-size: calc(1.8rem * var(--font-scale));
	}
	
	.booking-container-card {
		padding: 25px 16px;
	}
	
	.loyalty-card {
		padding: 25px 16px;
		margin-top: 30px;
	}
}

@media (max-width: 480px) {
	/* Small screen overrides */
	.bottom-dock {
		padding: 8px 8px;
		gap: 6px;
	}
	
	.dock-btn {
		font-size: calc(0.8rem * var(--font-scale));
		min-height: 54px;
		padding: 6px 2px;
	}
	
	.dock-btn span {
		font-size: 1.1rem;
	}
}
