/* Destin Rental Services — coastal theme. Layout, header/footer, page heroes.
   Component styles live in the plugins (drs.css = job board, rentals.css = rentals); both read these tokens. */
:root {
	/* Palette: soft whites + sand, ocean teal accents, one coral call-to-action colour. */
	--drs-primary: #0e6f78;
	--drs-primary-dark: #0a535a;
	--drs-primary-soft: #e2f1f1;
	--drs-navy: #10313d;
	--drs-accent: #e8b765;
	--drs-bg: #fbf8f2;
	--drs-surface: #ffffff;
	--drs-border: #e7dfd0;
	--drs-text: #1d2d33;
	--drs-muted: #5a686d;
	--drs-radius: 16px;
	--drs-shadow: 0 1px 2px rgba(16, 49, 61, .05), 0 8px 24px rgba(16, 49, 61, .07);
	--dc-cta: #c24e2c;
	--dc-cta-dark: #a3401f;
	--dc-sand: #f3ecdf;
	--dc-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--dc-display: "Fraunces", Georgia, "Times New Roman", serif;
	--dc-max: 1240px;
	--dc-gutter: clamp(16px, 4vw, 32px);
	--dc-header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--dc-header-h) + 16px); }
body { margin: 0; font-family: var(--dc-font); font-size: 16px; line-height: 1.65; color: var(--drs-text); background: var(--drs-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--drs-primary); text-underline-offset: 2px; }
a:hover { color: var(--drs-primary-dark); }
h1, h2, h3, h4 { color: var(--drs-navy); line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }
h1, h2 { font-family: var(--dc-display); font-weight: 600; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--dc-cta); outline-offset: 2px; }
.drs-btn { border-radius: 999px; }

.dc-container { width: 100%; max-width: var(--dc-max); margin: 0 auto; padding-inline: var(--dc-gutter); }
.dc-skip { position: absolute; left: -9999px; top: 0; background: var(--drs-navy); color: #fff; padding: .6rem 1rem; z-index: 200; }
.dc-skip:focus { left: 1rem; top: 1rem; color: #fff; }
.dc-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.dc-section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }
.dc-section--sand { background: var(--dc-sand); }
.dc-lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--drs-muted); }

/* Header */
.dc-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 242, .94); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--drs-border); transition: background .25s, border-color .25s, box-shadow .25s; }
.admin-bar .dc-header { top: 32px; }
.dc-header.is-scrolled { box-shadow: 0 6px 24px rgba(16, 49, 61, .08); }
.dc-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--dc-header-h); }
.dc-brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--drs-navy); flex: none; }
.dc-brand:hover { color: var(--drs-navy); }
.dc-brand__mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--drs-primary); color: #fff; }
.dc-brand__mark svg { width: 26px; height: 26px; }
.dc-brand__text { font-family: var(--dc-display); font-weight: 600; font-size: 1.15rem; line-height: 1.05; }
.dc-brand__text small { display: block; font-family: var(--dc-font); font-size: .7rem; font-weight: 700; color: var(--drs-primary); letter-spacing: .1em; text-transform: uppercase; margin-top: 3px; }
.dc-brand__img { max-height: 52px; width: auto; }
.dc-nav { display: flex; align-items: center; gap: 1rem; flex: 1; justify-content: flex-end; }
.dc-menu { list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0; }
.dc-menu a { display: block; padding: .5rem .75rem; border-radius: 999px; color: var(--drs-text); text-decoration: none; font-weight: 600; font-size: .94rem; white-space: nowrap; }
.dc-menu a:hover, .dc-menu .current-menu-item a { background: var(--dc-sand); color: var(--drs-primary-dark); }
.dc-nav__actions { display: flex; align-items: center; gap: .25rem; padding-left: .75rem; border-left: 1px solid var(--drs-border); }
.dc-link { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .7rem; color: var(--drs-text); text-decoration: none; font-weight: 600; font-size: .94rem; border-radius: 999px; white-space: nowrap; }
.dc-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.dc-link:hover { background: var(--dc-sand); color: var(--drs-primary-dark); }
.dc-link--quiet { color: var(--drs-muted); font-weight: 500; }
.dc-book { margin-left: .35rem; }

/* Transparent header over the homepage photo */
.dc-header--over:not(.is-scrolled) { background: linear-gradient(180deg, rgba(8, 28, 36, .5), rgba(8, 28, 36, 0)); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.dc-header--over:not(.is-scrolled) .dc-brand, .dc-header--over:not(.is-scrolled) .dc-menu a, .dc-header--over:not(.is-scrolled) .dc-link { color: #fff; }
.dc-header--over:not(.is-scrolled) .dc-brand__text small { color: #bfe7e6; }
.dc-header--over:not(.is-scrolled) .dc-menu a:hover, .dc-header--over:not(.is-scrolled) .dc-menu .current-menu-item a, .dc-header--over:not(.is-scrolled) .dc-link:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.dc-header--over:not(.is-scrolled) .dc-nav__actions { border-color: rgba(255, 255, 255, .25); }
.home .dc-header--over { position: fixed; left: 0; right: 0; }
.home.admin-bar .dc-header--over { top: 32px; }

.dc-nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--drs-border); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.dc-nav-toggle span:first-child, .dc-nav-toggle span:first-child::before, .dc-nav-toggle span:first-child::after { position: absolute; left: 50%; width: 20px; height: 2px; background: var(--drs-navy); border-radius: 2px; transform: translateX(-50%); transition: transform .2s, opacity .2s; }
.dc-nav-toggle span:first-child { top: 50%; }
.dc-nav-toggle span:first-child::before { content: ""; top: -6px; }
.dc-nav-toggle span:first-child::after { content: ""; top: 6px; }
.dc-nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.dc-nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.dc-nav-toggle[aria-expanded="true"] span:first-child::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* Page hero */
.dc-page-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 4.6rem); background: linear-gradient(135deg, #0c3a47 0%, var(--drs-primary) 70%, #3fa2a2 130%); }
.dc-page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 38px; background: var(--drs-bg); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20c160 14 320 18 480 8S800 2 960 6s320 22 480 18v16H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 20c160 14 320 18 480 8S800 2 960 6s320 22 480 18v16H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.dc-page-hero--photo { background: linear-gradient(90deg, rgba(8, 30, 38, .78), rgba(8, 30, 38, .35)), var(--hero) center 60% / cover no-repeat; padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3.6rem, 9vw, 6rem); }
.dc-page-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4.6vw, 3.1rem); }
.dc-page-hero p { margin: .6rem 0 0; opacity: .92; max-width: 640px; font-size: 1.08rem; }
.dc-page-hero__actions { margin-top: 1.3rem !important; }
.dc-crumbs { font-size: .88rem; color: var(--drs-muted); margin-bottom: 1rem; }
.dc-crumbs a { color: var(--drs-muted); text-decoration: none; }
.dc-crumbs a:hover { color: var(--drs-primary); }
.dc-crumbs span { margin: 0 .35rem; opacity: .5; }
.dc-crumbs--light, .dc-crumbs--light a { color: rgba(255, 255, 255, .85); }
.dc-prose { max-width: 820px; }
.dc-app { max-width: var(--dc-max); }
.dc-page-login .dc-app, .dc-page-register .dc-app, .dc-page-forgot .dc-app { background: radial-gradient(1000px 420px at 50% -10%, var(--drs-primary-soft), transparent); max-width: none; padding-block: clamp(2rem, 6vw, 4rem); }
.dc-page-booking .dc-app { padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.dc-btn-outline { background: transparent; border-color: rgba(255, 255, 255, .65); color: #fff; }
.dc-btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .12); }

/* Section heads */
.dc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.dc-head h2 { margin: 0; font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.dc-head--center { justify-content: center; text-align: center; }
.dc-more { font-weight: 700; text-decoration: none; white-space: nowrap; }

/* Area + unit pages */
.dc-area-intro { max-width: 820px; margin-bottom: 1.5rem; font-size: 1.05rem; }
.dc-area-search { margin-bottom: 2rem; }
.dc-unit-page { padding-top: clamp(1rem, 3vw, 2rem); }

/* CTA band */
/* CTA: a rounded card on the sand background, so it doesn't collide with the dark footer below. */
.dc-cta { padding: 0 0 clamp(3.5rem, 7vw, 5rem); color: #fff; }
.dc-cta__inner { position: relative; overflow: hidden; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; padding: clamp(1.8rem, 4.5vw, 3rem) clamp(1.5rem, 5vw, 3.5rem); border-radius: 28px; background: linear-gradient(120deg, var(--drs-primary) 0%, #0c4f5a 55%, var(--drs-navy) 100%); box-shadow: 0 24px 60px rgba(16, 49, 61, .22); }
.dc-cta__inner::before { content: ""; position: absolute; right: -70px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 183, 101, .35), transparent 70%); z-index: -1; }
.dc-cta__inner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; opacity: .14; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30c120 20 240 30 360 20S600 10 720 14s240 30 360 30 240-20 360-24v40H0z' fill='%23fff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat; }
.dc-cta h2 { color: #fff; margin: 0 0 .35rem; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.dc-cta p { margin: 0; opacity: .88; }
.dc-cta + .dc-footer { margin-top: 0; }

/* Footer */
.dc-footer { position: relative; background: #0b2630; color: #b8c9cd; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .94rem; margin-top: 2rem; }
.dc-footer__wave { position: absolute; top: -40px; left: 0; right: 0; height: 42px; color: #0b2630; line-height: 0; }
.dc-footer__wave svg { width: 100%; height: 100%; }
.dc-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.dc-footer h4 { color: #fff; font-size: .95rem; margin: .4rem 0 1rem; }
.dc-footer ul { list-style: none; margin: 0; padding: 0; }
.dc-footer li { margin-bottom: .5rem; }
.dc-footer a { color: #b8c9cd; text-decoration: none; }
.dc-footer a:hover { color: #fff; }
.dc-footer__brand p { max-width: 340px; margin: 1rem 0 0; }
.dc-brand--light, .dc-brand--light:hover { color: #fff; }
.dc-brand--light .dc-brand__text small { color: #8fd0cf; }
.dc-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.dc-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.dc-social a:hover { background: var(--drs-primary); }
.dc-social svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dc-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.3rem; font-size: .85rem; }
.dc-footer__bottom p { margin: 0; }
.dc-footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.dc-footer__legal li { margin: 0; }

.dc-404 { text-align: center; max-width: 680px; }
.dc-404 h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.dc-single-bg { background: linear-gradient(180deg, #fff 0, var(--drs-bg) 260px); }

/* Job board pages in the new style */
.dc-page-jobs .drs-job-card, .dc-page-employers .drs-employer-card { border-radius: 16px; }
.drs-card { border-radius: 16px; }
.drs-eyebrow { color: var(--drs-primary); }

/* Scroll reveal (only when JS runs) */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1180px) {
	.dc-nav-toggle { display: block; }
	.dc-header--over:not(.is-scrolled) .dc-nav-toggle { background: rgba(255, 255, 255, .9); border-color: transparent; }
	.dc-nav { position: fixed; inset: var(--dc-header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: .5rem; padding: 1rem var(--dc-gutter) 1.5rem; border-bottom: 1px solid var(--drs-border); box-shadow: 0 20px 40px rgba(16, 49, 61, .12); transform: translateY(-130%); visibility: hidden; transition: transform .25s ease, visibility .25s; max-height: calc(100vh - var(--dc-header-h)); overflow-y: auto; }
	.admin-bar .dc-nav { top: calc(var(--dc-header-h) + 32px); }
	.dc-nav.is-open { transform: none; visibility: visible; }
	.dc-menu { flex-direction: column; }
	.dc-menu a { padding: .8rem .9rem; border-radius: 12px; }
	.dc-header--over:not(.is-scrolled) .dc-nav .dc-menu a, .dc-header--over:not(.is-scrolled) .dc-nav .dc-link { color: var(--drs-text); }
	.dc-nav__actions { flex-direction: column; align-items: stretch; border-left: 0; border-top: 1px solid var(--drs-border); padding: .75rem 0 0; }
	.dc-header--over:not(.is-scrolled) .dc-nav__actions { border-color: var(--drs-border); }
	.dc-link { padding: .8rem .9rem; }
	.dc-book { margin: .5rem 0 0; }
}
@media (max-width: 960px) {
	.dc-footer__grid { grid-template-columns: 1fr 1fr; }
	.dc-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) { .admin-bar .dc-header, .home.admin-bar .dc-header--over { top: 46px; } .admin-bar .dc-nav { top: calc(var(--dc-header-h) + 46px); } }
@media (max-width: 640px) {
	:root { --dc-header-h: 66px; }
	.dc-brand__mark { width: 38px; height: 38px; }
	.dc-brand__text { font-size: 1.02rem; }
	.dc-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.dc-cta__inner .drs-btn-row { width: 100%; }
	.dc-cta__inner .drr-btn { flex: 1; }
	.dc-head { margin-bottom: 1.4rem; }
}
