:root {
    /* Colors */
    --color-accent: #0077b6; /* Wodny niebieski, pasuje do tematyki morskiej */
    --color-accent-light: #0096c7;
    --color-accent-dark: #023e8a;
    --color-bg-dark: #0f1419;
    --color-bg-light: #faf8f6;
    --color-text: #e8e6e3;
    --color-text-dark: #2d3436;
    --color-text-muted: #8b9298;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 8rem 0;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

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

.accent {
    color: var(--color-accent);
}

/* Sections */
.section {
    padding: var(--section-padding);
    position: relative;
    overflow: hidden;
}

.section-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text);
}

.section-dark::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: inherit;
    opacity: 0.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 119, 182, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
}

.section-dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-medium);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.navbar:not(.scrolled) .nav-logo {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-logo img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform var(--transition-fast);
}

.nav-logo img:hover {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.navbar.scrolled .nav-links a {
    text-shadow: none;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-accent-light);
}

.lang-switcher {
    display: flex;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lang-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.lang-link:hover, .lang-link.active {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.navbar.scrolled .lang-switcher {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .lang-link {
    color: rgba(255, 255, 255, 0.6);
}

.navbar.scrolled .lang-link:hover, .navbar.scrolled .lang-link.active {
    color: var(--color-accent-light);
    text-shadow: none;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-accent-light);
}

.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    position: absolute;
    transition: var(--transition-fast);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }

/* Hero */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Use one of the extracted images here */
    background: url('../images/hero/hero1.webp') center/cover no-repeat;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 20, 25, 0.4), rgba(15, 20, 25, 0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Cards (Glassmorphism & Light) */
.card {
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-medium);
}

.section-dark .card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.section-light .card {
    background: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
}

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

.section-dark .card:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 119, 182, 0.15);
}

.section-light .card:hover {
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 119, 182, 0.1);
    color: var(--color-accent);
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.feature-card p {
    color: var(--color-text-muted);
}
.section-light .feature-card p {
    color: #636e72;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 2rem;
}

.course-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-accent-light);
}

.course-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.course-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.course-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Pricing / Charter */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing-card .price {
    margin-bottom: 1.5rem;
}

.pricing-card .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.pricing-card .currency {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: top;
    margin-left: 0.2rem;
}

.pricing-card .period {
    color: #636e72;
    font-size: 1rem;
}

.pricing-card p {
    margin-bottom: 2rem;
    color: #636e72;
    flex-grow: 1;
}

.pricing-card.featured {
    border: 2px solid var(--color-accent);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-card .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay svg {
    color: #fff;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox button {
    position: absolute;
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 1rem;
}

.lightbox button:hover {
    color: var(--color-accent);
}

.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid {
    max-width: 900px;
    margin: 0 auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(0, 119, 182, 0.1);
    border-radius: 8px;
}

.contact-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.contact-card p {
    color: #636e72;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.contact-link {
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--color-accent-dark);
}

/* CTA Final */
.cta-final {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-bg-dark), #1a242f);
    color: #fff;
    position: relative;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/gallery/wielkanoc.webp') center/cover no-repeat;
    opacity: 0.1;
    mix-blend-mode: overlay;
}

.cta-final h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-final p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: #0a0d12;
    color: #e8e6e3;
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    opacity: 0.7;
    max-width: 400px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
}

.footer ul li {
    margin-bottom: 0.8rem;
}

.footer ul a {
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer ul a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 4rem 0;
    }
    .hamburger {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-medium);
        padding: 2rem;
        display: flex;
    }
    .nav-right {
        gap: 1rem;
    }
    .lang-switcher {
        margin-top: 0;
        padding: 0.3rem 0.6rem;
        gap: 0.5rem;
    }
    .lang-link {
        font-size: 0.75rem;
    }
    .nav-links.active {
        right: 0;
    }
    .hero-cta {
        flex-direction: column;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
