/*
Theme Name: Harry's Wishes
Theme URI: https://harryswishesfl.com
Description: Coastal child theme for Harry's Wishes St. George Island Beach Retreat. Parent: Astra.
Author: Harry's Wishes
Template: astra
Version: 1.0.0
Text Domain: harrys-wishes
*/

:root {
	--hw-sand: #e8dcc8;
	--hw-sand-deep: #c4a574;
	--hw-ocean: #2c6b8a;
	--hw-ocean-deep: #1a4458;
	--hw-foam: #f7f4ef;
	--hw-white: #fffcf8;
	--hw-ink: #243038;
	--hw-muted: #5c6b73;
	--hw-gold: #b8864a;
}

body.theme-harrys-wishes {
	background: var(--hw-foam);
	color: var(--hw-ink);
}

.hw-topbar {
	background: var(--hw-ocean-deep);
	color: #fff;
	text-align: center;
	padding: 0.45rem 1rem;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
}

.hw-badge {
	display: inline-block;
	background: var(--hw-gold);
	color: #fff;
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
}

.hw-hero {
	position: relative;
	min-height: 78vh;
	display: grid;
	place-items: end stretch;
	background:
		linear-gradient(180deg, rgba(26, 68, 88, 0.15) 0%, rgba(26, 68, 88, 0.72) 100%),
		url("https://images.unsplash.com/photo-1499793983690-e29da59ef1c2?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
	color: #fff;
}

.hw-hero-inner {
	width: min(1120px, calc(100% - 2rem));
	margin: 0 auto 3rem;
}

.hw-hero h1 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2.2rem, 5vw, 4rem);
	line-height: 1.1;
	margin: 0.4rem 0 0.6rem;
	color: #fff;
}

.hw-hero p.lede {
	max-width: 38rem;
	font-size: 1.1rem;
	opacity: 0.95;
}

.hw-search {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 0.75rem;
	background: var(--hw-white);
	color: var(--hw-ink);
	padding: 1rem;
	border-radius: 14px;
	margin-top: 1.5rem;
	box-shadow: 0 18px 40px rgba(26, 68, 88, 0.25);
}

.hw-search label {
	display: block;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--hw-muted);
}

.hw-search input {
	width: 100%;
	border: 1px solid var(--hw-sand);
	border-radius: 8px;
	padding: 0.65rem 0.75rem;
	margin-top: 0.25rem;
}

.hw-btn {
	align-self: end;
	background: var(--hw-ocean);
	color: #fff !important;
	border: 0;
	border-radius: 10px;
	padding: 0.85rem 1.4rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
}

.hw-btn:hover {
	background: var(--hw-ocean-deep);
	color: #fff !important;
}

.hw-section {
	width: min(1120px, calc(100% - 2rem));
	margin: 3.5rem auto;
}

.hw-section h2 {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(1.8rem, 3vw, 2.6rem);
	margin-bottom: 0.4rem;
}

.hw-kicker {
	color: var(--hw-ocean);
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-size: 0.75rem;
	font-weight: 700;
}

.hw-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	margin-top: 1.5rem;
}

.hw-card {
	background: var(--hw-white);
	border: 1px solid var(--hw-sand);
	border-radius: 16px;
	padding: 1.4rem;
}

.hw-card h3 {
	margin-top: 0.4rem;
	font-family: "Cormorant Garamond", Georgia, serif;
}

.hw-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 180px 180px;
	gap: 0.6rem;
}

.hw-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.hw-gallery img:first-child {
	grid-row: 1 / span 2;
}

.hw-amenity-groups {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
}

.hw-amenity-groups ul {
	margin: 0.5rem 0 0;
	padding-left: 1.1rem;
}

.hw-split {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2rem;
	align-items: start;
}

.hw-quote {
	background: var(--hw-ocean-deep);
	color: #fff;
	padding: 2rem;
	border-radius: 16px;
}

.hw-footer-note {
	text-align: center;
	padding: 2rem 1rem 3rem;
	color: var(--hw-muted);
	font-size: 0.9rem;
}

.hw-invoice {
	background: var(--hw-white);
	border: 1px solid var(--hw-sand);
	border-radius: 14px;
	padding: 1.25rem;
}

.hw-invoice row,
.hw-line {
	display: flex;
	justify-content: space-between;
	padding: 0.35rem 0;
}

.hw-line.total {
	border-top: 1px solid var(--hw-sand);
	margin-top: 0.5rem;
	font-weight: 700;
}

.hw-cal {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
	font-size: 0.85rem;
}

.hw-cal span {
	text-align: center;
	padding: 0.45rem 0;
	border-radius: 6px;
	background: #fff;
}

.hw-cal .blocked {
	background: #edd5d5;
	color: #8a3a3a;
	text-decoration: line-through;
}

.hw-cal .open {
	background: #dff3ea;
	color: #1f6b4a;
}

.hw-map {
	width: 100%;
	min-height: 280px;
	border: 0;
	border-radius: 12px;
}

.hw-alert {
	background: #fff6e5;
	border: 1px solid var(--hw-sand-deep);
	padding: 0.85rem 1rem;
	border-radius: 10px;
	margin: 1rem 0;
}

@media (max-width: 800px) {
	.hw-search,
	.hw-cards,
	.hw-split,
	.hw-amenity-groups,
	.hw-gallery {
		grid-template-columns: 1fr;
		grid-template-rows: none;
	}

	.hw-gallery img:first-child {
		grid-row: auto;
		min-height: 220px;
	}

	.hw-hero {
		min-height: 88vh;
	}
}
