/* Site header, hero and footer (frontend/includes/header, headercontainer, footer).
   Loaded after base.css: the sw-* classes replace the old theme's header and footer look. */

:root {
	--sw-navy: #0E2340;
	--sw-ink: #12233D;
	--sw-blue: #2A93D3;
	--sw-yellow: #FFD23F;
	--sw-font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--sw-display: "Fredoka", "DM Sans", system-ui, sans-serif;
}

.sw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------------ header */
.sw-header {
	position: relative; z-index: 1000; width: 100%;
	background: linear-gradient(90deg, #3DA9E1 0%, #2E97D6 55%, #2A90D1 100%);
	box-shadow: 0 2px 12px rgba(8, 60, 110, .18);
	font-family: var(--sw-font);
}
.sw-header-inner { max-width: 1320px; height: 64px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 20px; }
.sw-menu { display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; list-style: none; }
.sw-menu > li { position: relative; }
.sw-menu > li > a, .sw-menu > li > button, .sw-login {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none;
	color: #fff; font: 600 15px/1 var(--sw-font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.sw-menu > li > a:hover, .sw-menu > li > button:hover, .sw-login:hover, .sw-menu a.is-current { color: #fff; text-decoration: none; opacity: .85; }
.sw-menu a:focus-visible, .sw-menu button:focus-visible, .sw-login:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 8px; }
.sw-book:focus-visible, .sw-location-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sw-chevron { transition: transform .2s; }
.sw-has-sub.is-open .sw-chevron { transform: rotate(180deg); }

.sw-has-sub { position: relative; }
.sw-sub {
	position: absolute; top: calc(100% + 6px); left: -12px; min-width: 210px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border-radius: 14px; box-shadow: 0 16px 40px rgba(8, 40, 80, .2); display: none; z-index: 10;
}
.sw-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.sw-sub-right { left: auto; right: 0; }
.sw-sub a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--sw-ink); font: 500 14px/1.3 var(--sw-font); text-decoration: none; }
.sw-sub a:hover { background: #EAF4FB; color: var(--sw-navy); text-decoration: none; }
.sw-has-sub.is-open > .sw-sub { display: block; }
@media (hover: hover) and (min-width: 1101px) { .sw-has-sub:hover > .sw-sub { display: block; } }

.sw-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.sw-location-btn {
	display: inline-flex; align-items: center; gap: 8px; height: 42px; margin: 0; padding: 0 14px;
	border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 999px; background: rgba(255, 255, 255, .12);
	color: #fff; font: 600 14px/1 var(--sw-font); cursor: pointer; white-space: nowrap; transition: background .15s;
}
.sw-location-btn:hover, .sw-location.is-open .sw-location-btn { background: rgba(255, 255, 255, .22); }
.sw-location-btn svg { flex: 0 0 auto; }
.sw-location-name { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.sw-location-list { min-width: 260px; max-height: min(70vh, 420px); overflow-y: auto; }
.sw-location-list button {
	display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none;
	color: var(--sw-ink); font: 500 14px/1.3 var(--sw-font); text-align: left; cursor: pointer;
}
.sw-location-list button svg { flex: 0 0 auto; color: var(--sw-blue); }
.sw-location-list button:hover, .sw-location-list button:focus-visible { background: #EAF4FB; outline: none; }
.sw-location-list button[aria-selected="true"] { background: #EAF4FB; color: var(--sw-navy); font-weight: 700; }
.sw-book {
	display: inline-flex; align-items: center; height: 44px; padding: 0 24px; border-radius: 999px; background: #fff;
	color: var(--sw-navy); font: 700 15px/1 var(--sw-font); text-decoration: none; white-space: nowrap; box-shadow: 0 4px 14px rgba(8, 40, 80, .18);
}
.sw-book:hover { color: var(--sw-navy); text-decoration: none; background: #F2F8FD; }

.sw-burger { display: none; width: 42px; height: 42px; margin-left: -8px; padding: 10px 9px; border: 0; background: none; cursor: pointer; }
.sw-burger span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.sw-header.is-open .sw-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sw-header.is-open .sw-burger span:nth-child(2) { opacity: 0; }
.sw-header.is-open .sw-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1100px) {
	.sw-burger { display: block; }
	.sw-nav {
		position: absolute; top: 64px; left: 0; right: 0; display: none; padding: 10px 20px 18px;
		background: #2489C9; box-shadow: 0 14px 30px rgba(8, 40, 80, .25);
	}
	.sw-header.is-open .sw-nav { display: block; }
	.sw-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.sw-menu > li > a, .sw-menu > li > button { width: 100%; padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
	.sw-menu .sw-sub { position: static; display: none; min-width: 0; margin: 4px 0 8px; box-shadow: none; }
	.sw-menu .sw-has-sub.is-open > .sw-sub { display: block; }
}
@media (max-width: 720px) {
	/* Phone row: menu · location (takes the free space) · account · Book. */
	.sw-header-inner { height: 60px; padding: 0 12px; gap: 8px; }
	.sw-burger { flex: 0 0 auto; margin-left: -4px; }
	.sw-nav { top: 60px; }
	.sw-actions { flex: 1 1 auto; min-width: 0; gap: 6px; }
	.sw-location { flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
	.sw-location-btn { width: 100%; max-width: 240px; height: 38px; padding: 0 10px; gap: 6px; font-size: 13px; }
	.sw-location-name { flex: 1 1 auto; min-width: 0; max-width: none; text-align: left; }
	.sw-location-list { position: fixed; top: 64px; left: 12px; right: 12px; min-width: 0; width: auto; }
	.sw-login { flex: 0 0 38px; height: 38px; justify-content: center; border-radius: 50%; font-size: 0; gap: 0; }
	.sw-login svg { width: 20px; height: 20px; }
	.sw-login .sw-chevron { display: none; }
	.sw-book { flex: 0 0 auto; height: 38px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 420px) {
	.sw-header-inner { padding: 0 10px; gap: 6px; }
	.sw-location-btn { padding: 0 9px; gap: 5px; }
	.sw-book { padding: 0 13px; }
	.sw-book-more { display: none; }  /* "Book tickets" → "Book" */
}

/* ------------------------------------------------------------------ hero (headercontainer) */
/* flow-root keeps the logo's top margin inside the hero, so no white gap opens under the header. */
#header_container { display: flow-root; height: clamp(170px, 24vw, 330px); background-position: center bottom; }
#booking_container { display: flow-root; }
/* Icicles hang from the bottom edge of the blue header bar. */
#header_container .iceWrap, #booking_container .iceWrap {
	display: block; top: 0; left: 0; right: 0; height: 71px; z-index: 3; pointer-events: none;
	background: url(../img/ice.png) repeat-x left top;
}
@media (max-width: 720px) { #header_container .iceWrap, #booking_container .iceWrap { height: 48px; background-size: auto 48px; } }
#header_container #logo { margin: clamp(10px, 2vw, 26px) 0 0 clamp(12px, 3.5vw, 50px); }
#header_container .logo { height: clamp(72px, 11vw, 150px); margin-top: 0; }
#header_container > [class*="col-"] { width: auto; float: none; padding: 0; position: relative; z-index: 2; }

/* ------------------------------------------------------------------ footer */
/* Night-blue gradient with the snowy trees (footer_bg.png) along the bottom. */
.sw-footer {
	float: none; clear: both; width: 100%; padding: 56px 24px 96px; color: rgba(255, 255, 255, .82); font: 400 15px/1.6 var(--sw-font);
	background: url(../img/footer_bg.png) repeat-x center bottom, linear-gradient(180deg, #0F2152 0%, #123B78 55%, #0D6AA6 100%);
}
.sw-footer a { color: #fff; text-decoration: none; transition: color .15s; }
.sw-footer a:hover { color: var(--sw-yellow); text-decoration: none; }
.sw-footer p { margin: 0; }
.sw-footer ul { margin: 0; padding: 0; list-style: none; }
.sw-foot-wrap { max-width: 1180px; margin: 0 auto; }

.sw-foot-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 52px; padding: 26px 32px;
	border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: rgba(255, 255, 255, .07);
}
.sw-foot-cta h2 { margin: 0 0 4px; color: #fff; font: 700 26px/1.2 var(--sw-display); letter-spacing: 0; }
.sw-foot-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sw-foot-book, .sw-foot-call { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font: 700 15px/1 var(--sw-font); white-space: nowrap; }
.sw-footer .sw-foot-book { background: var(--sw-yellow); color: var(--sw-ink); box-shadow: 0 8px 22px rgba(255, 210, 63, .25); }
.sw-footer .sw-foot-book:hover { background: #FFDC63; color: var(--sw-ink); }
.sw-footer .sw-foot-call { border: 1.5px solid rgba(255, 255, 255, .5); }
.sw-footer .sw-foot-call:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

.sw-footer-inner { display: grid; grid-template-columns: 1.35fr .8fr .9fr 1.35fr; gap: 40px; align-items: start; }
.sw-foot-logo img { display: block; height: 96px; width: auto; margin: -6px 0 14px; }
.sw-foot-brand p { max-width: 300px; font-size: 14px; }
.sw-foot-title { margin: 0 0 16px; color: var(--sw-yellow); font: 700 18px/1.2 var(--sw-display); letter-spacing: 0; text-transform: none; }
.sw-foot-col li + li { margin-top: 10px; }
.sw-foot-col li a { font-size: 15px; }
.sw-find-name { margin-bottom: 10px !important; color: #fff; font-weight: 700; }
.sw-find-name sup { font-size: .55em; }
.sw-find-line { display: flex; align-items: flex-start; gap: 10px; margin-top: 8px; font-size: 14px; word-break: break-word; }
.sw-find-line svg { flex: 0 0 auto; margin-top: 3px; color: #8CC8F2; }
p.sw-find-line { color: rgba(255, 255, 255, .82); }
.sw-directions { display: flex; align-items: center; margin-top: 16px; padding: 4px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .1); }
.sw-directions:focus-within { border-color: rgba(255, 255, 255, .6); }
.sw-directions input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 8px 0 14px; border: 0; background: transparent; color: #fff; font: 400 14px var(--sw-font); }
.sw-directions input::placeholder { color: rgba(255, 255, 255, .6); }
.sw-directions input:focus { outline: none; }
.sw-directions button { flex: 0 0 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--sw-yellow); color: var(--sw-ink); cursor: pointer; }
.sw-directions button:hover { background: #FFDC63; }

.sw-social { display: flex; gap: 10px; margin-top: 20px !important; }
.sw-social a { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 16px; }
.sw-social a:hover { background: #fff; color: var(--sw-navy); }
.sw-social i::before { margin: 0; }

.sw-foot-bottom {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px;
	margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px;
}
.sw-copy a { text-decoration: underline; }
.sw-legal { display: flex; gap: 20px; }

@media (max-width: 991px) {
	.sw-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
	.sw-footer { padding: 36px 16px 64px; background-size: auto 150px, auto; }
	.sw-foot-cta { padding: 22px 20px; margin-bottom: 40px; }
	.sw-foot-cta-actions, .sw-foot-cta-actions a { flex: 1 1 auto; justify-content: center; }
	.sw-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.sw-foot-brand, .sw-find { grid-column: 1 / -1; }
	.sw-foot-bottom { flex-direction: column; text-align: center; }
}
