/* =========================================
   HEADER
========================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 11, 18, 0.92);
    backdrop-filter: blur(16px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    width: auto;
    height: 82px;
    max-width: 240px;
    object-fit: contain;
    object-position: left center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2.4vw, 30px);
    font-size: 0.94rem;
    font-weight: 700;
}

.nav-links a:not(.button) {
    position: relative;
    transition: color var(--transition);
}

.nav-links a:not(.button)::after {
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.nav-links a:not(.button):hover,
.nav-links a[aria-current="page"] {
    color: var(--gold);
}

.nav-links a:not(.button):hover::after,
.nav-links a[aria-current="page"]::after {
    transform: scaleX(1);
}

/* =========================================
   BUTTONS
========================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background: var(--gold);
    color: #05070b;
    font-weight: 800;
    text-align: center;
    transition:
        transform var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.button:hover {
    transform: translateY(-2px);
    background: var(--gold-light);
    box-shadow: 0 8px 24px rgba(231, 199, 101, 0.15);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
    color: var(--white);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--line-gold);
    box-shadow: none;
}

/* =========================================
   MOBILE MENU
========================================= */

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: transparent;
    color: var(--white);
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
    content: "";
}

/* =========================================
   SECTION HEADINGS
========================================= */

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.section-head h2 {
    max-width: 760px;
    margin-bottom: 0;
}

/* =========================================
   FOOTER
========================================= */

.footer {
    padding: 44px 0 24px;
    border-top: 1px solid var(--line);
    background: #05080d;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 48px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 18px;
}

.footer p {
    max-width: 420px;
    color: var(--muted);
}

.footer h3 {
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-links {
    display: grid;
    gap: 10px;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.85rem;
}
/* =========================================
   FOOTER
========================================= */

.site-footer {
    padding: 56px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #080c12;
    color: #f5f6f8;
}

.footer-main {
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(0, 0.65fr)
        minmax(0, 0.85fr);
    gap: clamp(32px, 6vw, 90px);
    padding-bottom: 36px;
}

/* Marka */

.footer-brand {
    min-width: 0;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo img {
    display: block;
    width: 110px;
    max-width: 110px;
    height: auto;
    border-radius: 4px;
}

.footer-brand-name {
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-description {
    max-width: 360px;
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.8;
}

/* Nagłówki */

.footer-heading {
    margin: 0 0 20px;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Nawigacja */

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    color: #dce1e8;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

/* Kontakt */

.footer-address {
    margin-bottom: 22px;
    font-style: normal;
    font-size: 0.88rem;
    line-height: 1.8;
}

.footer-address a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-address a:hover {
    color: var(--gold);
}

/* Social media */

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #dce1e8;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social svg {
    flex-shrink: 0;
    color: var(--gold);
}

.footer-social:hover {
    color: var(--gold);
}

/* Rezerwacja */

.footer-booking {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-booking-copy strong {
    display: block;
    margin-bottom: 6px;
    color: #f5f6f8;
    font-size: 1rem;
}

.footer-booking-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-booking-copy a {
    color: #70a9ff;
    text-decoration: none;
}

.footer-booking-copy a:hover {
    text-decoration: underline;
}

.footer-booking .button {
    flex-shrink: 0;
}

/* Dolny pasek */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #929baa;
    font-size: 0.75rem;
    line-height: 1.6;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--gold);
}

.footer-credit a {
    color: var(--gold);
    font-weight: 600;
}

.site-footer a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}