body {
	background-color: #073B3A;
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color: #FDF6EC;
}

.container {
	padding: 0;
}

.navbar {
	width: 100%;
	background-color: #073B3A;
}

.header-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.navbar-brand img {
	height: 60px;
	width: auto;
}

.navbar .nav-link {
	color: #FDF6EC;
	font-weight: 500;
	font-size: 16px;
	text-decoration: none;
	padding: 4px 12px;
	display: inline-block;
}

.table {
	color: #FDF6EC;
	background-color: #1A3C3C;
}
.table th, .table td {
	border-color: #A3D9C8;
	padding: 10px;
	text-align: left;
}
#jetskiTable th:nth-child(2),
#jetskiTable td:nth-child(2) {
	min-width: 200px;
}

.form-control {
	background-color: #FDF6EC;
	color: #073B3A;
	border-radius: 5px;
	border: 1px solid #013C3C;
	padding: 8px 12px;
}
.btn {
	border-radius: 8px;
	font-weight: 600;
}
.btn-primary {
	background-color: #A3D9C8;
	color: #073B3A;
	border: none;
}
.btn-secondary {
	background-color: #025555;
	color: #FDF6EC;
	border: 1px solid #A3D9C8;
}

.modal-content {
	background-color: #073B3A;
	color: #FDF6EC;
}
.modal-header, .modal-footer {
	border-color: #A3D9C8;
}
.modal-title {
	color: #FDF6EC;
}

@media (min-width: 768px) {
	.header-container {
		flex-direction: row;
		justify-content: space-between;
		max-width: 1200px;
		margin: 0 auto;
		align-items: center;
	}
	.navbar-nav.ms-auto {
		display: flex;
		align-items: center;
	}
	.navbar .nav-link {
		font-size: 16px;
	}
}
@media (max-width: 768px) {
	.header-container {
		align-items: flex-start;
	}
	.navbar .nav-link {
		display: block;
		text-align: right;
		font-size: 16px;
		margin: 4px 0;
	}
	.navbar-brand img {
		height: 60px;
		margin-bottom: 8px;
	}
}

.hidden {
	display: none !important;
}

/* --- Calendar Legend --- */
.calendar-legend {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 20px;
	color: #FDF6EC;
	font-size: 0.9em;
}
.legend-item {
	display: flex;
	align-items: center;
	gap: 8px;
}
.legend-color-box {
	width: 15px;
	height: 15px;
	border-radius: 3px;
}

/* --- Desktop Calendar Grid --- */
.calendar-container {
	background-color: #024949;
	border-radius: 12px;
	padding: 15px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 10px;
	background-color: transparent;
}
.day-header {
	text-align: center;
	color: #A3D9C8;
	font-weight: 600;
	padding: 10px 4px;
	background-color: #024949;
}
.day-cell {
	position: relative;
	background-color: #025555;
	min-height: 120px;
	overflow: hidden;
	cursor: pointer;
	padding: 5px;
	border-radius: 10px;
	border: 2px solid #013C3C;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
	transition: background-color 0.2s ease;
}
.day-cell:not(.unavailable):hover {
	background-color: #026868;
}
.day-cell.unavailable {
	cursor: default;
}
.day-number {
	font-weight: bold;
	font-size: 1.1em;
	color: #FDF6EC;
}
.day-cell.selected {
	outline: 3px solid #A3D9C8;
	outline-offset: -3px;
	z-index: 10;
}
.discount-tag {
	position: absolute;
	top: 5px;
	right: 5px;
	background: #ffc107;
	color: #013C3C;
	padding: 2px 6px;
	font-size: 0.8em;
	font-weight: bold;
	border-radius: 4px;
	z-index: 5;
}
.session-block {
	padding-top: 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.session-bar {
	color: white;
	padding: 4px 6px;
	font-size: 0.8em;
	border-radius: 4px;
	font-weight: 600;
	text-align: center;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}
.session-bar.available { background-color: #28a745; }
.session-bar.partial { background-color: #ffc107; color: #333; }
.session-bar.full { background-color: #dc3545; }

.day-cell.is-closed,
.day-cell.is-past {
	background-color: #013C3C;
}
.day-cell.is-closed .day-number,
.day-cell.is-past .day-number,
.day-cell.other-month {
	color: #4a5555;
}
.closed-text, .past-x {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #4a5555;
	font-size: 1.5em;
	font-weight: bold;
}
.past-x {
	font-size: 4em;
	color: rgba(220, 53, 69, 0.3);
}
.day-cell.other-month {
	background-color: #013C3C;
	cursor: default;
}

/* --- Mobile Calendar List --- */
#mobileCalendarList .day-cell {
	display: flex;
	flex-direction: column;
	min-height: auto;
	margin-bottom: 10px;
}
#mobileCalendarList .day-info-mobile {
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
	margin-bottom: 10px;
}
#mobileCalendarList .day-number {
	font-size: 1.5em;
}
#mobileCalendarList .day-of-week-mobile {
	display: inline-block;
	font-size: 1.2em;
	font-weight: 600;
	color: #A3D9C8;
}
#mobileCalendarList .day-indicators {
	width: 100%;
}
#mobileCalendarList .session-block {
	flex-direction: row;
	gap: 5px;
}
#mobileCalendarList .session-bar {
	flex: 1;
	font-size: 0.75em;
	padding: 6px 4px;
}
#mobileCalendarList .discount-tag {
	position: static;
	display: inline-block;
	width: fit-content;
	margin-left: auto;
}
#mobileCalendarList .closed-text,
#mobileCalendarList .past-x {
	position: static;
	transform: none;
	text-align: right;
	width: 100%;
}
#mobileCalendarList .past-x {
	font-size: 2em;
	color: rgba(220, 53, 69, 0.5);
}

/* Mini Calendar Modal */
#miniCalendarGrid {
	gap: 5px;
}
#miniCalendarGrid .day-header {
	padding: 5px 2px;
	font-size: 0.8em;
}
#miniCalendarGrid .day-cell {
	min-height: 40px;
	font-size: 0.9em;
	display: flex;
	align-items: center;
	justify-content: center;
}
#miniCalendarGrid .day-cell.unavailable {
	background-color: #013C3C;
	color: #4a5555;
}

#selectSkisModal .form-check-label {
	cursor: pointer;
}

/* --- New Fullscreen Hero Styles --- */
.hero-section-fullscreen {
	position: relative;
	height: calc(100vh - 60px);
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url('/images/deck_view_1.jpg');
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
}
.hero-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
	color: #FDF1E6;
	padding: 2rem;
	width: 90%;
	max-width: 900px;
}

/* Homepage Styles */
.responsive-heading { font-size: clamp(24px, 4vw, 32px); }
.responsive-paragraph { font-size: clamp(14px, 4vw, 18px); }
.responsive-icon { height: clamp(60px, 10vw, 80px); margin-bottom: 0.5rem; }
.responsive-label { font-size: clamp(12px, 3vw, 14px); font-weight: 600; line-height: 1.4; }
.btn-book-now { background-color: #A3D9C8; color: #073B3A; padding: 12px 24px; border-radius: 6px; text-decoration: none; font-weight: bold; display: inline-block; font-size: clamp(14px, 4vw, 18px); }
.btn-book-now.disabled, .disabled { background-color: #ccc; color: #666; pointer-events: none; }
.btn-instagram {
	background-color: transparent;
	color: #A3D9C8;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	border: 2px solid #A3D9C8;
	font-size: 1.2rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.location-banner-top {
	background-color: #A3D9C8;
	color: #013C3C;
	padding: 1rem;
	border-radius: 12px;
	width: 100%;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}
.location-banner-top .location-banner-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}
.location-banner-top p {
	margin: 0;
	font-weight: 600;
	font-size: clamp(1rem, 3vw, 1.1rem);
	text-align: center;
	flex-grow: 1;
}
.location-banner-top .btn-directions {
	background-color: #025555;
	color: #FDF1E6;
	padding: 10px 20px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;
	border: 1px solid #013C3C;
	flex-shrink: 0;
}

.directions-desktop { display: none; }
@media (min-width: 768px) {
	.directions-desktop { display: inline-block; }
	.directions-mobile { display: none; }
}

/* Carousel Control Styles */
#deckCarousel .carousel-control-prev-icon,
#deckCarousel .carousel-control-next-icon {
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	width: 3rem;
	height: 3rem;
	background-size: 50% 50%;
}

@media (max-width: 767px) {
	.hero-section-fullscreen {
		height: auto;
		min-height: 70vh;
		background-image: url('/images/deck_view_2.jpg'); /* Mobile-specific background */
		background-attachment: scroll; /* Disable parallax on mobile for performance */
	}
	.hero-content {
		margin-top: 1rem;
		padding: 1rem;
		justify-content: flex-start;
	}
	.location-banner-top .location-banner-content {
		justify-content: center;
	}
}

html, body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: env(safe-area-inset-top);
}

h1, h2, h3, p {
	margin-top: 0.75rem;
	margin-bottom: 0.75rem;
	line-height: 1.5;
	word-break: break-word;
}

.ig-webview h1,
.ig-webview h2,
.ig-webview p {
	font-size: 1rem;
	line-height: 1.4;
}

@supports (font-size: 1svh) {
	.hero-section-fullscreen {
		min-height: 100svh;
	}
}

.rule-icon {
	font-size: 1.2rem;
	vertical-align: middle;
	margin-right: 0.5rem;
}

.table-dark, .table-dark th, .table-dark td {
	color: #FDF1E6 !important;
}

/*
==========================================================================
Crewdeck Shift Operations Hub Styles
==========================================================================
*/

.session-group-card {
	background-color: #024949 !important;
	border: 1px solid #013C3C !important;
}

.session-group-card.locked {
	opacity: 0.5;
	pointer-events: none;
}

.session-group-card.completed .card-header {
	background-color: #013C3C;
}

.session-group-card.completed .card-body {
	padding: 1rem;
	text-align: center;
	background-color: #013C3C;
}

.booking-card .card-header, .manifest-booking-card .card-header {
	padding: 0.75rem 1rem;
	background-color: #013C3C;
}

.booking-card .card-body {
	padding: 1rem;
	background-color: #025555;
}

.booking-card .add-waiver-btn {
	background-color: #A3D9C8;
	color: #073B3A;
	font-weight: 600;
}

.new-guest-name-input {
	background-color: #FDF6EC;
	color: #073B3A;
	border-color: #013C3C;
}

/* Polished Checklist Styles */
.checklist-item {
	display: flex;
	align-items: center;
	padding: 0.75rem 1rem;
	background-color: #014B4A;
	border-radius: 8px;
	margin-bottom: 0.5rem;
	cursor: pointer;
}

.checklist-item .form-check-input {
	flex-shrink: 0;
	-webkit-appearance: none;
	appearance: none;
	background-color: #FDF6EC;
	margin: 0;
	font: inherit;
	color: currentColor;
	width: 1.5em;
	height: 1.5em;
	border: 0.15em solid #013C3C;
	border-radius: 0.35em;
	transform: translateY(-0.075em);
	display: grid;
	place-content: center;
	margin-right: 0.75rem;
}

.checklist-item .form-check-input::before {
	content: "";
	width: 0.8em;
	height: 0.8em;
	transform: scale(0);
	transition: 120ms transform ease-in-out;
	box-shadow: inset 1em 1em #28a745;
	transform-origin: bottom left;
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checklist-item .form-check-input:checked::before {
	transform: scale(1);
}

.checklist-item .form-check-label {
	cursor: pointer;
	color: #FDF1E6 !important; /* FIX: Ensure label text is light */
}

/* Shift Manifest Styling */
.shift-manifest-container {
	border-top: 1px solid #014B4A;
	margin-top: 1.5rem;
	padding-top: 1rem;
}

.manifest-booking-card {
	background-color: #013C3C !important;
	border-radius: 8px;
	border: 1px solid #025555;
	font-size: 0.9em;
	color: #FDF1E6;
}

.manifest-booking-card .card-body {
	padding: 0.75rem;
	background-color: transparent !important;
}

/* Guided Inspection Modal Styling */
.photo-slot {
	position: relative;
	width: 100%;
	padding-top: 75%; /* 4:3 Aspect Ratio */
	background-color: #013C3C;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 2px dashed #025555;
}

.photo-slot .photo-slot-label {
	color: #A3D9C8;
	font-weight: 600;
}

.photo-slot img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-slot-actions {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	opacity: 0;
	transition: opacity 0.2s ease-in-out;
	cursor: pointer;
}

.photo-slot:hover .photo-slot-actions {
	opacity: 1;
}

.damage-photo-item {
	position: relative;
}