/*
 * Design "Coastal": light and airy, sea and sand, rounded shapes.
 * Loaded after main.css for villas with "villa.design": "coastal". Same sections and markup as
 * Classic; only the look changes. Default colours (sea blue) are in villa_designs().
 */

/* ==========================================================================
   Fonts (self-hosted, latin + latin-ext)
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-ext-500-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/dm-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	--color-text: #1f3440;
	--color-text-muted: #5d6f78;
	--color-bg-soft: #f4f1ea;
	--color-bg-sand: #f4efe6;
	--color-footer: #15323f;
	--color-border: rgb(31 52 64 / 0.1);
	--color-day-available: #e3f0f4;
	--font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--radius: 18px;
	--radius-large: 28px;
	--shadow-card: 0 18px 50px rgb(21 50 63 / 0.1);
}

h1,
h2,
h3,
h4 {
	font-weight: 500;
	letter-spacing: -0.01em;
}

/* ==========================================================================
   Buttons, labels, titles
   ========================================================================== */

.button {
	min-height: 46px;
	padding: 0 26px;
	border-radius: 999px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: none;
	font-size: 14px;
}

.section-label {
	color: var(--color-accent);
}

.section-label--light {
	color: #fff;
}

.section-title {
	font-size: clamp(30px, 2.6vw, 50px); /* Cormorant runs small: a touch above Classic */
}

/* ==========================================================================
   Header: light, rounded buttons, nav in normal case
   ========================================================================== */

.site-header {
	background: rgb(255 255 255 / 0.94);
	backdrop-filter: blur(10px);
	border-bottom-color: transparent;
	box-shadow: 0 1px 0 var(--color-border);
}

.site-branding__name {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: none;
}

.site-branding__location {
	letter-spacing: 0.08em;
}

.site-nav__menu a {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
}

/* ==========================================================================
   Hero: centred like Classic, a soft sea-blue tint, the form as a pill
   ========================================================================== */

.hero::after {
	background: rgb(13 40 52 / 0.32);
}

.hero__title {
	font-size: clamp(48px, 5.4vw, 86px); /* Classic's size, adjusted for Cormorant */
	font-weight: 500;
}

.availability-form {
	max-width: calc(var(--container) * 0.85);
	padding: 18px 18px 18px 32px;
	border-radius: 999px;
}

.availability-form input,
.availability-form .choices__inner {
	border-radius: 999px !important;
}

.availability-form .button {
	min-height: 52px;
	padding: 0 34px;
}

@media (max-width: 900px) {
	.availability-form {
		border-radius: var(--radius-large);
		padding: 24px;
	}
}

@media (max-width: 768px) {
	.hero__title {
		font-size: 38px;
	}
}

/* ==========================================================================
   About: the photo in an arch
   ========================================================================== */

.about__photo {
	border-radius: 999px 999px var(--radius) var(--radius);
}

.about__photo img {
	border-radius: 999px 999px var(--radius) var(--radius);
}

.about__signature {
	color: var(--color-accent);
}

/* ==========================================================================
   Gallery, video band, prices: rounded, inside the page width
   ========================================================================== */

.small-gallery__grid,
.small-gallery__row {
	gap: 18px;
}

.small-gallery__row {
	margin-top: 18px;
}

.small-gallery__item {
	border-radius: var(--radius-large);
}

.video-band {
	width: calc(100% - 2 * var(--gutter));
	max-width: calc(var(--container) + 2 * var(--gutter) + 160px);
	margin-inline: auto;
	border-radius: var(--radius-large);
}

.video-band::after {
	background: linear-gradient(180deg, rgb(13 40 52 / 0.1), rgb(13 40 52 / 0.45));
}

.video-band__title {
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: none;
}

.prices__band {
	width: calc(100% - 2 * var(--gutter));
	max-width: calc(var(--container) + 2 * var(--gutter) + 160px);
	margin-inline: auto;
	border-radius: var(--radius-large);
}

.prices__band::after {
	background: rgb(13 40 52 / 0.42);
}

.prices__card {
	border-radius: var(--radius-large);
}

.calendar-day {
	border-radius: 10px;
}

/* ==========================================================================
   Amenities, reviews, house rules: soft cards on sand
   ========================================================================== */

.amenities {
	padding-top: var(--section-space);
	background: var(--color-bg-sand);
}

.amenity {
	align-items: center;
	text-align: center;
	border-radius: var(--radius);
	box-shadow: none;
}

.amenity__icon {
	width: 52px;
	height: 52px;
	padding: 13px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--color-accent) 12%, #fff);
}

.amenity__label {
	font-weight: 500;
}

.video-band + .amenities,
.amenities + .prices {
	margin-top: 0;
}

.amenities + .prices {
	padding-top: var(--section-space);
}

.review {
	position: relative;
	padding-top: 44px;
	border-radius: var(--radius-large);
	box-shadow: var(--shadow-card);
}

.review::before {
	content: "“";
	position: absolute;
	top: 6px;
	left: 22px;
	color: var(--color-accent);
	font-family: var(--font-heading);
	font-size: 56px;
	line-height: 1;
	opacity: 0.25;
}

.review__name {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 600;
}

.house-rules__list {
	border: 0;
	border-radius: var(--radius-large);
	background: var(--color-bg-sand);
}

.house-rule {
	border-bottom-color: rgb(31 52 64 / 0.08);
}

/* ==========================================================================
   Get in touch and footer
   ========================================================================== */

.get-in-touch {
	width: calc(100% - 2 * var(--gutter));
	max-width: calc(var(--container) + 2 * var(--gutter) + 160px);
	margin: 0 auto var(--section-space);
	border-radius: var(--radius-large);
	overflow: hidden;
}

.contact-item__icon {
	color: var(--color-accent);
}

.contact-item__title {
	font-size: 22px;
	font-weight: 600;
}

.site-footer {
	color: #b8cbd3;
}

.platform-link {
	border-color: rgb(255 255 255 / 0.25);
}

/* ==========================================================================
   Theme pages (About, Gallery, Availability, Privacy)
   ========================================================================== */

.theme-page__band {
	width: calc(100% - 2 * var(--gutter));
	margin: 18px auto 0;
	border-radius: var(--radius-large);
}

.theme-page__card {
	border-radius: var(--radius-large);
}

.availability-result .photo-slider,
.about-page__photo,
.about-page__photo img,
.gallery-grid img {
	border-radius: var(--radius);
}

.owner-card,
.house-rules--small .house-rules__list {
	border-radius: var(--radius);
}

@media (max-width: 768px) {
	.video-band,
	.prices__band,
	.get-in-touch,
	.theme-page__band {
		width: 100%;
		border-radius: 0;
	}
}
