/* Nakochna River Lodge — extra styles on top of theme.json */

/* Eyebrow labels: spaced capitals */
.is-style-eyebrow, .nk-eyebrow {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	line-height: 1.4;
}

/* Header */
.nk-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--wp--preset--color--line); }
.admin-bar .nk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .nk-header { top: 0; } .nk-header { position: relative; } }
.nk-header .nk-logo img { width: 190px; height: auto; display: block; }
.nk-header .nk-phone a { color: var(--wp--preset--color--slate); text-decoration: none; font-weight: 600; white-space: nowrap; }
.nk-header .wp-block-navigation a:hover { color: var(--wp--preset--color--ochre); }
.nk-header .wp-block-navigation .wp-block-navigation__submenu-container { border: 1px solid var(--wp--preset--color--line) !important; padding: 0.5rem 0; min-width: 220px; }
@media (max-width: 900px) { .nk-header .nk-phone { display: none; } .nk-header .nk-logo img { width: 150px; } }

/* Hero covers: darker at the bottom so text reads over photos */
.nk-hero .wp-block-cover__background { background: linear-gradient(180deg, rgba(20,30,36,0.45) 0%, rgba(20,30,36,0.05) 40%, rgba(20,30,36,0.85) 100%) !important; opacity: 1 !important; }
.wp-block-cover.nk-hero .wp-block-cover__inner-container { width: 100% !important; max-width: none !important; }
.wp-block-cover.nk-hero { padding-left: 0; padding-right: 0; }
.nk-hero h1, .nk-hero p { text-shadow: 0 1px 12px rgba(0,0,0,0.25); }

/* Outline button on dark backgrounds */
.wp-block-button.is-style-outline-light .wp-block-button__link {
	background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.85);
	padding: calc(0.85rem - 2px) calc(1.5rem - 2px);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { background: #fff; color: var(--wp--preset--color--slate); }

/* Text link with ochre underline */
.nk-textlink a { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--ochre); padding-bottom: 2px; }

/* Adventure menu: icon tiles */
.nk-menu-grid { display: grid !important; grid-template-columns: repeat(var(--nk-cols, 4), minmax(0, 1fr)); gap: 0.75rem !important; }
.nk-menu-heli .nk-menu-grid { --nk-cols: 3; }
.nk-tile { margin: 0 !important; }
.nk-tile a { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; padding: 1.25rem 0.75rem 1rem;
	border: 1px solid var(--wp--preset--color--line); border-radius: 6px; background: #fff;
	text-decoration: none; color: var(--wp--preset--color--slate); font-weight: 600; font-size: var(--wp--preset--font-size--small);
	text-align: center; line-height: 1.3; transition: border-color .15s, transform .15s, box-shadow .15s; height: 100%; box-sizing: border-box; }
.nk-tile a:hover, .nk-tile a:focus-visible { border-color: var(--wp--preset--color--ochre); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(31,43,51,0.08); color: var(--wp--preset--color--ochre); }
.nk-tile img { width: 56px; height: 56px; }
.nk-tile figcaption { display: none; }
.nk-menu-compact .nk-tile a { padding: 0.9rem 0.5rem 0.75rem; }
.nk-menu-compact .nk-tile img { width: 40px; height: 40px; }

/* Photo tiles with label */
.nk-photo-tile { position: relative; overflow: hidden; border-radius: 6px; }
.nk-photo-tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.nk-photo-tile:hover img { transform: scale(1.04); }
.nk-photo-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 !important; padding: 2.5rem 1rem 0.9rem;
	background: linear-gradient(180deg, rgba(20,30,36,0) 0%, rgba(20,30,36,0.85) 100%); color: #fff !important; font-weight: 800;
	font-size: var(--wp--preset--font-size--medium); text-align: left; }
.nk-photo-tile figcaption a { color: #fff; text-decoration: none; }

/* Rate cards (Plan Your Trip) */
.nk-rate-card { border-radius: 6px; box-sizing: border-box; }
.nk-rate-row { border-radius: 4px; }
.nk-rate-card ul { padding-left: 1.1rem; }
.nk-rate-card li { margin-bottom: 0.35rem; }
.nk-price { font-variant-numeric: tabular-nums; }

/* Tables */
.nk-table table { border-collapse: collapse; width: 100%; background: #fff; }
.nk-table th { background: var(--wp--preset--color--slate); color: var(--wp--preset--color--birch); text-align: left; font-weight: 600; }
.nk-table th, .nk-table td { border: 1px solid var(--wp--preset--color--line) !important; padding: 0.7rem 0.9rem; }
.nk-table td:not(:first-child), .nk-table th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 600px) { .nk-table { overflow-x: auto; } }
.nk-table tbody tr:nth-child(even) td { background: #FAF9F6; }
.nk-table figcaption { text-align: left; }

/* Cards */
.nk-card { border-radius: 6px; box-sizing: border-box; }
.wp-block-columns > .wp-block-column > .nk-card:only-child, .wp-block-columns > .wp-block-column > .nk-rate-card:only-child { height: 100%; }
.nk-table td small { color: var(--wp--preset--color--muted); font-size: 0.8125rem; }
.nk-list-tight li { margin-bottom: 0.3rem; }

/* Images */
.nk-rounded img { border-radius: 6px; }
.nk-cover-img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Footer */
.nk-footer a { color: var(--wp--preset--color--birch); text-decoration: none; }
.nk-footer a:hover { color: var(--wp--preset--color--ochre-light); }
.nk-footer .nk-logo img { width: 220px; height: auto; }
.nk-footer .wp-block-button__link { color: #fff !important; }

/* Video embeds */
.wp-block-embed.is-type-video { margin-top: 0; }

/* Mobile tweaks */
@media (max-width: 781px) {
	.nk-hero { min-height: 72vh !important; }
	.nk-menu-grid, .nk-menu-heli .nk-menu-grid { --nk-cols: 2; }
}

/* Full-width bands stack with no gaps */
.wp-site-blocks > * + * { margin-block-start: 0; }
.nk-main { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.nk-band-icon img { width: 64px; height: 64px; }
.nk-band-hero h1 { margin-top: 0.25rem; }
html { scroll-behavior: smooth; }
#packages, #menu, #inquiry { scroll-margin-top: 110px; }

.nk-footer { border-top: 1px solid rgba(242,241,236,0.12); }

/* Inquiry form on the dark band */
.nk-form-band .wp-block-jetpack-contact-form { gap: 1rem; }
.nk-form-band .wp-block-jetpack-contact-form label,
.nk-form-band .wp-block-jetpack-contact-form .grunion-field-label { color: var(--wp--preset--color--birch) !important; font-weight: 600; font-size: var(--wp--preset--font-size--small); }
.nk-form-band .wp-block-jetpack-contact-form input,
.nk-form-band .wp-block-jetpack-contact-form textarea { background: #fff !important; color: var(--wp--preset--color--ink) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 4px !important; padding: 0.7rem 0.8rem !important; font-family: inherit; font-size: 1rem; }
.nk-form-band .wp-block-jetpack-contact-form textarea { min-height: 140px; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--slate); border: 2px solid var(--wp--preset--color--slate); padding: calc(0.85rem - 2px) calc(1.5rem - 2px); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--slate); color: #fff; }
.wp-block-cover.nk-hero .wp-block-cover__inner-container { padding-left: var(--wp--style--root--padding-left) !important; padding-right: var(--wp--style--root--padding-right) !important; box-sizing: border-box; }
.nk-header .wp-block-button__link { white-space: nowrap; }
@media (max-width: 600px) {
	.nk-header .wp-block-button__link { padding: 0.6rem 0.9rem; font-size: 0.8125rem; }
	.nk-header .nk-logo img { width: 130px; }
}
@media (max-width: 600px) { .nk-table td:not(:first-child), .nk-table th:not(:first-child) { white-space: normal; } .nk-table th, .nk-table td { padding: 0.55rem 0.6rem; } }

/* Rates page: Lake Clark-style price menus */
.nk-rates-panel { border-radius: 4px; box-sizing: border-box; height: 100%; }
.nk-rates-panel > * + * { margin-block-start: 1.1rem !important; }
.nk-rates-row { background: #3A4D57; padding: 1.25rem 1.4rem; border-radius: 2px; }
.nk-rates-head { background: #46606C; }
.nk-rates-row .wp-block-columns { margin: 0; align-items: flex-start; }
.nk-rates-row p { margin: 0; line-height: 1.45; }
.nk-rates-title { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.2rem; line-height: 1.2 !important; }
.nk-rates-price { margin-top: 0.6rem !important; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.nk-rates-basis { font-size: 0.9em; }
.nk-rates .wp-block-columns > .wp-block-column > .nk-rates-panel:only-child { height: 100%; }
#packages, #heli, #guided { scroll-margin-top: 110px; }
@media (max-width: 781px) { .nk-rates-row .wp-block-columns { gap: 0.6rem !important; } }

/* Portrait photo (Willow guest house) */
.nk-portrait img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
