@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/playfair-display-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 300 700;
    font-stretch: 100%;
    font-display: swap;
    src: url('fonts/nunito-sans-latin.woff2') format('woff2');
}

:root {
    --nav-bg: #cbcbcb;
    --text: #181818;
    --accent: #052765;
    --accent-dark: #031a43;
    --muted: #525252;
    --page-width: 980px;
    --content-width: 940px;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--text);
    background: #ffffff;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.875;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

a:hover {
    color: var(--accent);
}

h1,
h2,
h3 {
    margin: 0 0 0.6em;
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.3;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.35;
}

h3 {
    font-size: 1.15rem;
    margin-top: 1.6em;
}

p {
    margin: 0 0 1.2em;
}

ul {
    margin: 0 0 1.2em;
    padding-left: 1.2em;
}

li {
    margin-bottom: 0.35em;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header */

.site-header {
    background: #ffffff;
}

.nav-bar {
    position: relative;
    background: var(--nav-bg);
}

.site-nav {
    display: flex;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0.55rem 1rem;
    gap: 2rem;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.79;
}

.site-nav a {
    display: inline-block;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
    border-bottom-color: var(--text);
}

.brand-row {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 1.1rem 1rem;
    text-align: center;
}

.brand {
    font-family: var(--serif);
    font-size: 1.375rem;
    line-height: 1.41;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.nav-toggle-label {
    display: none;
    position: absolute;
    top: 0.35rem;
    left: 1rem;
    width: 44px;
    height: 44px;
    cursor: pointer;
    color: var(--text);
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    position: absolute;
    display: block;
    width: 26px;
    height: 2px;
    background: currentColor;
    content: '';
}

.nav-toggle-label span {
    top: 21px;
    left: 9px;
}

.nav-toggle-label span::before {
    top: -8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

/* Hero */

.hero {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 0.05em;
}

.hero-subtitle {
    margin-bottom: 1.5rem;
    font-family: var(--serif);
    font-size: 1.25rem;
    line-height: 1.67;
}

/* Carousel */

.carousel {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
    aspect-ratio: 980 / 510;
}

.carousel-track {
    position: absolute;
    inset: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.is-active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    font-family: var(--serif);
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease;
}

.carousel-nav:hover {
    background: #ffffff;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    display: flex;
    gap: 0.55rem;
    transform: translateX(-50%);
}

.carousel-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
}

.carousel-dot.is-active {
    background: #ffffff;
}

/* Sections */

.page-section {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.page-section.narrow {
    max-width: 820px;
}

.intro {
    text-align: center;
}

.intro h2 {
    margin-bottom: 0.8em;
}

.intro p {
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}

.content-block {
    max-width: var(--page-width);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.block-image {
    width: min(460px, 100%);
    margin: 0 0 1.75rem;
}

.block-image.align-left {
    margin-right: auto;
    margin-left: 0;
}

.block-image.align-right {
    margin-right: 0;
    margin-left: auto;
}

.block-image img {
    width: 100%;
    aspect-ratio: 460 / 410;
    object-fit: cover;
    cursor: zoom-in;
}

.block-copy {
    text-align: left;
}

.offer-list {
    margin: 0 0 1.5em;
}

.offer-list dt {
    margin-top: 1.1rem;
    font-family: var(--serif);
    font-size: 1.1rem;
}

.offer-list dd {
    margin: 0.15rem 0 0;
}

/* Offers */

.offers {
    max-width: var(--page-width);
}

.offers h1 {
    margin-bottom: 1.2em;
}

.offers-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
    column-gap: 3rem;
    row-gap: 3.5rem;
    align-items: start;
}

.offers-copy {
    min-width: 0;
}

.offers-copy h2 {
    margin-top: 0;
}

.offers-copy h3:first-child {
    margin-top: 0;
}

.offers-image {
    margin: 0;
}

.offers-image img {
    width: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

.offers-image--captain img {
    aspect-ratio: 4 / 5;
    object-position: 50% 35%;
}

.offers-image--food img {
    aspect-ratio: 1 / 2;
    object-position: 50% 50%;
}

.offers-image--boat img {
    aspect-ratio: 3 / 2;
    object-position: 50% 50%;
}

/* Contact */

.contact {
    text-align: center;
}

.contact address {
    font-style: normal;
}

.contact p {
    margin-bottom: 0.4em;
}

.map-embed {
    margin-top: 2rem;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 470px;
    border: 0;
}

.map-link {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

/* Footer */

.site-footer {
    padding: 2rem 1rem 2.5rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.79;
}

.site-footer a {
    text-decoration: none;
}

.site-footer p {
    margin: 0.5rem 0 0;
}

/* Lightbox */

dialog.lightbox {
    max-width: 95vw;
    max-height: 95vh;
    padding: 0;
    border: 0;
    background: transparent;
}

dialog.lightbox::backdrop {
    background: rgba(0, 0, 0, 0.86);
}

dialog.lightbox img {
    width: auto;
    max-width: 95vw;
    max-height: 90vh;
    margin: 0 auto;
}

dialog.lightbox .lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

/* Small screens */

@media (max-width: 760px) {
    .nav-bar {
        min-height: 54px;
    }

    .nav-toggle-label {
        display: block;
    }

    .site-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 3.1rem 0 0;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .site-nav a {
        padding: 0.75rem 1.25rem;
        border-top: 1px solid rgba(0, 0, 0, 0.12);
    }

    .site-nav a:hover,
    .site-nav a.active {
        border-bottom-color: transparent;
        background: rgba(255, 255, 255, 0.35);
    }

    .carousel {
        aspect-ratio: 4 / 3;
    }

    .carousel-nav {
        width: 38px;
        height: 38px;
        font-size: 1.6rem;
    }

    .carousel-prev {
        left: 0.6rem;
    }

    .carousel-next {
        right: 0.6rem;
    }

    .content-block {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .block-image.align-left,
    .block-image.align-right {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }

    .offers-image--food img {
        aspect-ratio: 4 / 5;
    }

    .map-embed iframe {
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.001ms !important;
    }
}
