:root {
    --primary: #0F172A;
    /* Deep Navy */
    --secondary: #CCA43B;
    /* Gold */
    --accent: #38BDF8;
    /* Sky Blue */
    --light: #F8FAFC;
    --dark: #334155;
    --white: #FFFFFF;
    --text-main: #334155;
    --text-light: #64748B;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 8px;
    --container: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Subpages: push content below fixed navbar */
body.has-fixed-nav {
    padding-top: 80px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.bg-light {
    background-color: var(--light);
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    margin: 10px 0;
}

.text-center .section-title::after {
    margin: 10px auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--secondary);
    color: var(--primary);
    border-color: var(--secondary);
}

.btn-outline-white {
    border-color: var(--white);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary);
}

.btn-outline-white svg,
.btn-outline-white i {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Highlighted CTA button */
.btn-highlight {
    background: var(--secondary);
    color: var(--primary);
    border: 2px solid var(--secondary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
    background: #c9a227;
    border-color: #c9a227;
    color: var(--primary);
}

.btn-highlight svg {
    width: 18px;
    height: 18px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

.logo .highlight {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--light);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-nav {
    border: 1px solid var(--secondary);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--secondary) !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.btn-nav:hover {
    background-color: var(--secondary);
    color: #0f172a !important;
}

/* Active state — high specificity to guarantee visible text */
.nav-links a.btn-nav.active,
.nav-links a.btn-nav:hover {
    background-color: var(--secondary);
    color: #0f172a !important;
}

.nav-links a.active:not(.btn-nav) {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.6) 0%, rgba(30, 41, 59, 0.6) 100%), url('../images/exterior/Na cumach pod żaglami.webp') center/cover no-repeat fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #e2e8f0;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* About / USP */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
    align-items: flex-start;
    line-height: 1.5;
}

.check-list li strong {
    display: inline;
}

.check-list i {
    color: var(--secondary);
    min-width: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
}

.about-image-placeholder {
    height: 400px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
}

.placeholder-box {
    text-align: center;
    color: var(--text-light);
}

/* Specs */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.spec-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.spec-card:hover {
    transform: translateY(-5px);
}

.spec-card i {
    color: var(--secondary);
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
}

.spec-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.spec-card p {
    font-size: 0.95rem;
    margin-bottom: 5px;
    color: var(--text-light);
}

.spec-card strong {
    color: var(--primary);
}

/* Equipment Tabs */
.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--text-light);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--secondary);
    border-color: var(--primary);
}

.tab-content {
    display: none;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeIn 0.5s;
}

.tab-content.active {
    display: block;
}

.equipment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.equipment-list li {
    position: relative;
    padding-left: 20px;
}

.equipment-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

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

.rounded {
    border-radius: var(--radius);
}

.shadow {
    box-shadow: var(--shadow);
}

/* Pricing – spójne kafelki UI/UX */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 12px rgba(10, 25, 47, 0.08);
    min-height: 220px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
    box-shadow: 0 4px 20px rgba(10, 25, 47, 0.12);
    border-color: #cbd5e1;
}

.pricing-card--recommended {
    border: 2px solid var(--secondary);
    box-shadow: 0 6px 24px rgba(212, 175, 55, 0.28);
    z-index: 1;
    transform: scale(1.03);
}

.pricing-card--recommended:hover {
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.35);
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d4af37 0%, #b8962e 100%);
    color: #0a192f;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.season-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 6px 0;
}

.season-dates {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.price-details {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.price-details li {
    margin-bottom: 12px;
    font-size: 0.9375rem;
    color: #334155;
}

.price-details li:last-child {
    margin-bottom: 0;
}

.price-details strong {
    color: var(--primary);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

.extra-item {
    background: var(--light);
    padding: 15px;
    border-radius: var(--radius);
    font-size: 0.9rem;
}

/* Regulations */
.regulations-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
}

.regulations-box h3 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 5px;
}

.regulations-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Reservation */
.reservation-section {
    background: var(--primary);
    color: var(--white);
}

.reservation-placeholder-box {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 60px;
    margin: 30px 0;
}

/* Footer */
.footer {
    background: #020617;
    /* Darker than primary */
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.footer-contact p {
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    font-size: 0.85rem;
    color: #64748B;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--primary);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .about-image-placeholder {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .pricing-card {
        min-height: auto;
    }
    .pricing-card--recommended {
        transform: none;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Fix check-list items on mobile - stack bold + text naturally */
    .check-list {
        padding: 0;
    }

    .check-list li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
    }

    .check-list li>span,
    .check-list li>strong {
        display: inline;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Reservation CTA Box (index.html) ─────────────────────────── */
.reservation-cta-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.res-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.res-feature svg {
    color: var(--secondary);
    width: 28px;
    height: 28px;
}

/* ── Nav Active State ─────────────────────────────────────────── */
.nav-links a.btn-nav.active {
    background: var(--secondary);
    color: var(--primary) !important;
}

/* ── Btn Large ────────────────────────────────────────────────── */
.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}