/* ==========================================================================
   Daily Cruises — page redesign (2026-07)
   Page-scoped stylesheet. Loaded only on page-templates/day-cruises.php.
   All colour comes from the tokens below — the brand baby blue is a single
   variable (--dc-blue) so the final brand hex is a one-line swap.
   ========================================================================== */

.dc-page {
	/* Brand tokens (baby blue = working value #48ace1 from prepared rebrand) */
	--dc-blue: #48ace1;
	--dc-blue-dark: #2f97cf;      /* hover */
	--dc-blue-tint: #eef7fc;      /* light band background */
	--dc-ink: #0c1e45;            /* headings / navy */
	--dc-body: #3d4657;           /* body text */
	--dc-muted: #7a8598;          /* supporting text */
	--dc-surface: #ffffff;
	--dc-surface-alt: #f7f9fb;    /* off-white cards */
	--dc-line: #e6eaf0;
	--dc-radius: 0;

	/* category tag tints (flat, soft) */
	--dc-tag-blue-bg: #e7f3fb;   --dc-tag-blue-fg: #1f6f9c;
	--dc-tag-green-bg: #e7f5ec;  --dc-tag-green-fg: #2f7d52;
	--dc-tag-purple-bg: #efeafb; --dc-tag-purple-fg: #5b46a6;
	--dc-tag-amber-bg: #fbf1e2;  --dc-tag-amber-fg: #9a6b1f;

	color: var(--dc-body);
	background: var(--dc-surface);
}

/* Typography — refined, medium-weight headings */
.dc-page h1, .dc-page h2, .dc-page h3, .dc-page .dc-h {
	color: var(--dc-ink);
	font-family: GrandGothikVariableLight, Arial, sans-serif;
	font-weight: normal;
	line-height: 1.2;
}
/* Prose paragraphs inherit the theme's sizing (the original text blocks use .uk-h5 = 24px).
   Component text (cards, benefits, CTA) sets its own explicit size, so only prose blocks are affected. */
.dc-page .dc-muted { color: var(--dc-muted); }

/* Generous section rhythm */
.dc-section { padding: 64px 0; }
@media (min-width: 960px) { .dc-section { padding: 96px 0; } }
.dc-section--tint { background: var(--dc-blue-tint); }
.dc-section--alt  { background: var(--dc-surface-alt); }
.dc-rule { border: 0; border-top: 1px solid var(--dc-line); margin: 0; }
.dc-section__title { font-size: clamp(26px, 3vw, 34px); margin: 0 0 6px; }

/* Buttons — refined, flat baby-blue CTA with an understated arrow micro-interaction.
   Resting state is flat (per brief); hover adds a soft brand glow + arrow slide. */
.dc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: var(--dc-blue);
	color: #fff !important;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: 17px 38px;
	border-radius: var(--dc-radius);
	border: 0;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.dc-btn:hover, .dc-btn:focus {
	background: var(--dc-blue-dark);
	color: #fff !important;
	box-shadow: 0 12px 26px -12px rgba(72, 172, 225, .75);
	transform: translateY(-1px);
}
.dc-btn__arrow { width: 16px; height: 16px; flex: none; transition: transform .25s ease; }
.dc-btn:hover .dc-btn__arrow, .dc-btn:focus .dc-btn__arrow { transform: translateX(5px); }
.dc-btn--lg { padding: 20px 48px; font-size: 15px; }

/* Button — OPTION 2 · "luxe outline": hairline border + faint glass, with a slow
   baby-blue fill that sweeps in on hover. Understated = premium. Toggle by adding
   / removing `dc-btn--luxe` on the button (base .dc-btn = Option 1). */
.dc-btn--luxe {
	position: relative;
	z-index: 0;
	overflow: hidden;
	background: rgba(255, 255, 255, .05);
	-webkit-backdrop-filter: blur(3px);
	backdrop-filter: blur(3px);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, .85);
	letter-spacing: .2em;
	padding: 21px 54px;
	transition: border-color .35s ease, color .35s ease;
}
.dc-btn--luxe::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--dc-blue);
	opacity: 0;
	transition: opacity .4s ease;
}
.dc-btn--luxe:hover, .dc-btn--luxe:focus {
	color: #fff !important;
	border-color: var(--dc-blue);
	box-shadow: none;
	transform: none;
}
.dc-btn--luxe:hover::before, .dc-btn--luxe:focus::before { opacity: 1; }
.dc-btn--ghost {
	background: transparent;
	color: var(--dc-blue) !important;
	box-shadow: inset 0 0 0 1.5px var(--dc-blue);
}
.dc-btn--ghost:hover { background: var(--dc-blue); color: #fff !important; }
@media (max-width: 639px) { .dc-btn--block-mobile { display: block; width: 100%; } }

/* ---- Section 1 · Hero ------------------------------------------------- */
.dc-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;        /* vertically centred in the banner */
	background-size: cover;
	background-position: center;
	color: #fff;
}
.dc-hero::after {           /* even, subtle darkening so centred text stays legible */
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(6,18,40,.34) 0%, rgba(6,18,40,.52) 100%);
	pointer-events: none;
}
.dc-hero__inner { position: relative; z-index: 1; width: 100%; text-align: left; }
/* Hero uses the theme heading classes (uk-h1/uk-h2 + font-sans-serif-light + text-white), like About.
   Ensure .text-white beats the .dc-page heading colour. */
.dc-page .text-white { color: #fff; }
.dc-hero .dc-btn { margin-top: 32px; }

/* ---- Section 2 · Intro + stats --------------------------------------- */
.dc-intro__text { max-width: 560px; }
.dc-intro__media { margin: 0; border-radius: var(--dc-radius); overflow: hidden; }
.dc-intro__img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.dc-stats {
	display: grid;
	grid-template-columns: 1fr;      /* mobile: 1 per row, centered */
	gap: 34px;
	text-align: center;
}
@media (min-width: 640px) { .dc-stats { grid-template-columns: repeat(2, 1fr); } }   /* tablet: 2×2 */
@media (min-width: 960px) {
	.dc-stats { grid-template-columns: repeat(4, 1fr); gap: 0; }                      /* desktop: 4 in a row */
	.dc-stats .dc-stat { border-left: 1px solid var(--dc-line); }                    /* dividers between */
	.dc-stats .dc-stat:first-child { border-left: 0; }
}
.dc-stat { padding: 6px 14px; }
.dc-stat__num {
	font-size: clamp(42px, 5.5vw, 60px);
	font-weight: 600;
	color: var(--dc-blue);
	line-height: 1;
	letter-spacing: -0.01em;
}
.dc-stat__label {
	font-size: 14px;
	color: var(--dc-muted);
	margin-top: 12px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

/* ---- Section 3 · Fleet cards ----------------------------------------- */
.dc-fleet__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;                 /* mobile < 640px → 1 per row */
}
@media (min-width: 640px)  { .dc-fleet__grid { grid-template-columns: repeat(2, 1fr); } }  /* tablet 640–1023px → 2 per row */
@media (min-width: 1024px) { .dc-fleet__grid { grid-template-columns: repeat(4, 1fr); } }  /* desktop ≥1024px → 4 per row */

a.dc-card { text-decoration: none; color: inherit; }
.dc-card {
	background: var(--dc-surface);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-radius);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: border-color .25s ease, transform .25s ease;
}
.dc-card:hover { border-color: var(--dc-blue); transform: translateY(-2px); }
.dc-card:hover .dc-card__name { color: var(--dc-blue); }
.dc-card__media { aspect-ratio: 16 / 10; background: var(--dc-surface-alt) center/cover no-repeat; }
.dc-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.dc-page .dc-card__name { font-size: 21px; margin: 2px 0 0; transition: color .25s ease; font-family: GrandGothikVariableRegular, Arial, sans-serif; color: #0b377f; }
.dc-page .dc-card__best { font-size: 13px; color: var(--dc-muted); margin: 0; }
.dc-card__best-label { color: var(--dc-ink); font-weight: 500; }
.dc-page .dc-card__desc { font-size: 15px; line-height: 1.65; color: var(--dc-muted); margin: 4px 0 2px; }
.dc-tag {
	align-self: flex-start;
	font-size: 11px; font-weight: 500;
	padding: 4px 11px;
	background: #0b377f; color: #fff;
}
.dc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.dc-chip {
	font-size: 12px; color: var(--dc-body);
	padding: 5px 10px; border-radius: 0;
	border: 1px solid var(--dc-line);
}

/* ---- Map section CTA spacing ---------------------------------------- */
.dc-mapcopy__cta { margin-top: 30px; }

/* Map section: map block on the left, text on the right (desktop) */
@media (min-width: 960px) {
	.dc-map-grid > div:first-child { order: 2; }  /* text column → right */
	.dc-map-grid > div:last-child  { order: 1; }  /* map column  → left  */
}

/* ---- Mid-page CTA ---------------------------------------------------- */
.dc-cta { background: var(--dc-blue-tint); text-align: center; }
.dc-cta__inner { max-width: 680px; margin: 0 auto; }
.dc-page .dc-cta__title { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 14px; }
.dc-page .dc-cta__sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--dc-muted); margin: 0 auto 34px; max-width: 560px; }

/* ---- Section 5 · Why choose (benefits) ------------------------------- */
/* Minimal: icons in a single row on desktop, wrap on smaller screens; titles only. */
.dc-benefits__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 40px; }
.dc-benefit { text-align: center; display: flex; flex-direction: column; align-items: center; width: 140px; }
.dc-benefit__badge {
	width: 68px;
	height: 68px;
	border-radius: 0;
	background: var(--dc-blue-tint);
	color: var(--dc-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	transition: background .25s ease, color .25s ease;
}
.dc-benefit__badge svg { width: 30px; height: 30px; }
.dc-benefit:hover .dc-benefit__badge { background: var(--dc-blue); color: #fff; }
.dc-page .dc-benefit__label { font-size: 18px; color: #0b377f; margin: 0 0 8px; font-family: GrandGothikVariableRegular, Arial, sans-serif; }
@media (min-width: 960px) { .dc-page .dc-benefit__label { font-size: 24px; } }
.dc-page .dc-benefit__text { font-size: 15px; line-height: 1.6; color: var(--dc-muted); margin: 0; max-width: 300px; }

/* ---- Gallery --------------------------------------------------------- */
.dc-gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 960px) { .dc-gallery { grid-template-columns: repeat(4, 1fr); } }
.dc-gallery__item {
	display: block;
	aspect-ratio: 1 / 1;              /* uniform square blocks */
	border-radius: var(--dc-radius);
	overflow: hidden;
	background: var(--dc-surface-alt);
}
.dc-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;               /* fill the square, no distortion */
	display: block;
	transition: transform .45s ease;
}
.dc-gallery__item:hover img { transform: scale(1.06); }

/* ---- Section 8 · Social proof ---------------------------------------- */
.dc-social__num { font-size: clamp(32px, 4vw, 46px); font-weight: 500; color: var(--dc-ink); line-height: 1.05; }
.dc-social__label { font-size: 14px; color: var(--dc-muted); margin-top: 8px; }

/* ---- Sections 4 & 9 · Enquiry form ----------------------------------- */
.dc-form-card {
	background: var(--dc-surface-alt);
	border: 1px solid var(--dc-line);
	border-radius: var(--dc-radius);
	padding: 32px;
	max-width: 720px;
	margin: 0 auto;
}
@media (min-width: 960px) { .dc-form-card { padding: 44px; } }
.dc-form-card .wpcf7-form-control:not(.wpcf7-submit):not([type=checkbox]) {
	width: 100%;
	border: 1px solid var(--dc-line);
	border-radius: 0;
	padding: 12px 14px;
	background: #fff;
}

/* Map markers — baby-blue pin icon (replaces the legacy pulsing red dot) */
.section-map .marker .dc-map-pin { display: block; width: 19px; height: 26px; line-height: 0; transform: translateY(-11px); }
.section-map .marker .dc-map-pin svg { display: block; width: 19px; height: 26px; }
