/* Złote Wzgórze - Layout sprzedażowy, bez animacji */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --nav-height: 96px;
    --color-dark: #000000;
    --color-dark-secondary: #050505;
    --color-gold: #CDAB6B;
    --color-gold-bright: #F2C278;
    --color-gold-light: #E0D095;
    --color-gold-dark: #BA9850;
    --color-gold-accent: #CFBB80;
    --color-text-light: #e5e5e5;
    --color-text-muted: #999999;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --font-heading: 'Cinzel', serif;
    --font-heading-decorative: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

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

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-md); }

/* Navigation */
.navbar {
    position: sticky;
    top: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 1);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    overflow: visible;
}

.navbar.scrolled { border-bottom-color: rgba(218, 165, 32, 0.4); }

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

.nav-brand {
    font-family: var(--font-heading-decorative);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-gold-bright);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover { color: var(--color-gold-light); }

.nav-brand img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu { display: flex; list-style: none; gap: var(--spacing-md); }

.nav-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link:hover { color: var(--color-gold-bright); }

.nav-link.active { color: var(--color-gold-bright); }

/* Language dropdown */
.nav-lang-item { display: flex; align-items: center; }

.lang-dropdown { position: relative; }

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(218, 165, 32, 0.5);
    color: var(--color-gold-bright);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition);
}

.lang-trigger:hover {
    background: rgba(218, 165, 32, 0.1);
    border-color: var(--color-gold-bright);
}

.lang-trigger svg { flex-shrink: 0; transition: transform 0.2s; }

.lang-dropdown.open .lang-trigger svg { transform: rotate(180deg); }

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 140px;
    background: var(--color-dark-secondary);
    border: 1px solid rgba(218, 165, 32, 0.4);
    border-radius: 6px;
    list-style: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    padding: 4px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1001;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.lang-menu a:hover {
    background: rgba(218, 165, 32, 0.15);
    color: var(--color-gold-bright);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

/* Hero */
.hero {
    position: relative;
    margin-top: 0;
    height: calc(100vh - var(--nav-height));
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 0;
}

.hero-slider {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1.4s ease-out, filter 1.4s ease-out;
    z-index: 0;
}

.hero-slide.hero-slide-active {
    opacity: 1;
    filter: blur(0);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.75) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-md);
    max-width: 800px;
    width: 100%;
}

.hero-below {
    margin-top: var(--spacing-md);
}

.hero-title {
    font-family: var(--font-heading-decorative);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 500;
    color: var(--color-gold-bright);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--color-gold-light);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 3px;
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.hero-scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--spacing-lg);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(218, 165, 32, 0.7);
    border-radius: 50%;
    color: var(--color-gold-bright);
    text-decoration: none;
    transition: var(--transition);
    animation: scrollBounce 2s ease-in-out infinite;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.hero-scroll-down svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.hero-scroll-down:hover {
    background: rgba(218, 165, 32, 0.15);
    border-color: var(--color-gold-bright);
    color: var(--color-gold-light);
    box-shadow: 0 6px 24px rgba(218, 165, 32, 0.2);
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(218, 165, 32, 0.6);
    border-radius: 50%;
    color: var(--color-gold-bright);
    text-decoration: none;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s, transform 0.25s, background 0.25s, border-color 0.25s, box-shadow 0.25s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.back-to-top svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: rgba(218, 165, 32, 0.12);
    border-color: var(--color-gold-bright);
    color: var(--color-gold-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(218, 165, 32, 0.25);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold-bright), var(--color-gold-accent));
    color: var(--color-dark);
    border: 2px solid var(--color-gold-bright);
}

.btn-primary:hover {
    background: var(--color-gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold-bright);
    border: 2px solid var(--color-gold-bright);
}

.btn-secondary:hover {
    background: rgba(218, 165, 32, 0.15);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-dark {
    background: linear-gradient(180deg, var(--color-dark-secondary), var(--color-dark));
}

.section-title {
    font-family: var(--font-heading-decorative);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--color-gold-bright);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Sekcje ze zdjęciem – układy dwukolumnowe */
.section-with-image .section-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
}

.section-with-image.section-layout-b .section-body {
    direction: rtl;
}

.section-with-image.section-layout-b .section-text-col,
.section-with-image.section-layout-b .section-image-col {
    direction: ltr;
}

.section-with-image .section-image-col {
    position: relative;
    min-height: 340px;
}

.section-with-image .section-image-wrap {
    position: relative;
    height: 100%;
    min-height: 340px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(218, 165, 32, 0.12);
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-with-image .section-image-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(218, 165, 32, 0.25);
}

.section-with-image .section-image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-with-image .section-image-wrap:hover::after {
    opacity: 1;
}

.section-with-image .section-image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-gold-bright);
    border: 2px solid rgba(218, 165, 32, 0.8);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section-with-image .section-image-wrap:hover .section-image-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

.section-with-image .section-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    object-position: center;
}

.section-with-image .section-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-with-image .section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-with-image .section-text-col .content-text {
    max-width: none;
}

.section-with-image .section-text-col .content-text .lead {
    font-size: 1.35rem;
}

.section-with-image .section-text-col .content-text p,
.section-with-image .section-text-col .content-text ul {
    margin-bottom: var(--spacing-sm);
}

.section-with-image .section-text-col .content-text li::before {
    top: 0.6em;
}

.section-with-image .section-text-col .content-text > *:last-child {
    margin-bottom: 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.content-text { font-size: 1.1rem; line-height: 1.9; color: var(--color-text-light); }

.content-text .lead {
    font-family: var(--font-heading-decorative);
    font-size: 1.5rem;
    color: var(--color-gold-light);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.content-text p { margin-bottom: var(--spacing-md); }

.content-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: var(--spacing-md);
}

.content-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.content-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--color-gold-bright);
    border-radius: 50%;
}

.content-text .note {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(218, 165, 32, 0.08);
    border-left: 4px solid var(--color-gold-bright);
    font-style: italic;
}

.content-text .disclaimer {
    margin-top: var(--spacing-lg);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-dark-secondary);
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-icon {
    font-size: 2.5rem;
    color: var(--color-gold-bright);
}

.gallery-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Nasze realizacje – slider przesuwany, pełna szerokość */
.portfolio-slider {
    position: relative;
    width: 100%;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    max-height: 500px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.portfolio-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-out;
}

.portfolio-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.portfolio-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-slider-prev,
.portfolio-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 2px solid rgba(218, 165, 32, 0.6);
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-gold-bright);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    transition: var(--transition);
}

.portfolio-slider-prev { left: 12px; }
.portfolio-slider-next { right: 12px; }

.portfolio-slider-prev:hover,
.portfolio-slider-next:hover {
    background: rgba(218, 165, 32, 0.2);
    border-color: var(--color-gold-bright);
}

/* Plan inwestycji - pełna szerokość, poligony, zoom mobile */
.plan-section { padding-bottom: var(--spacing-lg); }

.plan-header { margin-bottom: var(--spacing-md); }

.plan-intro {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.plan-zoom-hint {
    display: none;
    font-size: 0.85rem;
    opacity: 0.9;
}

.plan-fullwidth {
    width: 100vw;
    margin:  0 auto;
    padding: 0;
    overflow-x: hidden;
    max-width: 1920px;
}

.plan-images {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    padding: 0;
}

.plan-block { width: 100%; padding: 0; }

.plan-label {
    font-size: 0.9rem;
    color: var(--color-gold-light);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 1px;
    padding: 0 var(--spacing-md);
}

.plan-zoom-container {
    position: relative;
    width: 100%;
}

.plan-zoom-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a0a0a;
}

.plan-zoom-mobile {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y pinch-zoom;
    min-height: 55vh;
    max-height: 65vh;
}

.plan-zoom-inner {
    position: relative;
    width: 100%;
    min-width: 100%;
    transition: width 0.2s ease, min-width 0.2s ease;
}

.plan-img {
    width: 100%;
    display: block;
}

.plan-map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.plan-map .plan-poly {
    pointer-events: auto;
}

.plan-poly {
    fill: transparent;
    stroke: transparent;
    stroke-width: 3;
    cursor: pointer;
    transition: fill 0.2s ease, stroke 0.2s ease;
}

.plan-poly:hover {
    fill: rgba(218, 165, 32, 0.35);
    stroke: rgba(218, 165, 32, 0.7);
}

.plan-poly:focus {
    outline: none;
    fill: rgba(218, 165, 32, 0.35);
}

.zoom-buttons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: none;
    gap: 8px;
    z-index: 1100;
}

.plan-zoom-container .zoom-buttons {
    display: none;
}
.plan-zoom-mobile ~ .zoom-buttons  {
    display: flex;
}

.plan-zoom-btn {
    position: relative;
    bottom: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-gold-bright);
    background: rgba(0, 0, 0, 0.85);
    color: var(--color-gold-bright);
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.zoom-buttons .plan-zoom-btn {
    display: flex;
}

.plan-zoom-in {
    order: 1;
}

.plan-zoom-out {
    order: 2;
}

.plan-zoom-btn:hover:not(:disabled) {
    background: rgba(218, 165, 32, 0.2);
}

.plan-zoom-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.plan-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .plan-zoom-hint { display: inline; }
}

/* Domek popup */
.domek-popup {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.domek-popup[data-open="true"] {
    opacity: 1;
    visibility: visible;
}

.domek-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.domek-popup-box {
    position: relative;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    background: var(--color-dark-secondary);
    border: 2px solid var(--color-gold-bright);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    overflow: hidden;
}

.domek-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(218, 165, 32, 0.5);
    color: var(--color-gold-bright);
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 2;
}

.domek-popup-close:hover {
    background: rgba(218, 165, 32, 0.2);
}

.domek-popup-content {
    padding: var(--spacing-lg);
    overflow-y: auto;
    max-height: 75vh;
}

.domek-popup-content h3 {
    font-family: var(--font-heading-decorative);
    color: var(--color-gold-bright);
    font-size: 1.6rem;
    margin-bottom: var(--spacing-sm);
    padding-right: 2.5rem;
}

.domek-popup-content .domek-params {
    font-size: 1rem;
    color: var(--color-gold-bright);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.domek-popup-content .domek-param-line {
    display: block;
}

.domek-popup-content .domek-price {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-gold-bright);
    margin-bottom: var(--spacing-md);
}

.domek-popup-content .domek-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.domek-popup-content ul {
    margin: var(--spacing-sm) 0;
    padding-left: 1.25rem;
}

.domek-popup-content li { margin-bottom: 0.4rem; }

.domek-popup-content .domek-cta {
    display: inline-block;
    margin-top: var(--spacing-md);
    padding: 0.6rem 1.2rem;
    background: var(--color-gold-bright);
    color: var(--color-dark);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.domek-popup-content .domek-cta:hover {
    background: var(--color-gold-light);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    box-sizing: border-box;
}

.lightbox.active { display: flex; }

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--color-gold-bright);
    color: var(--color-gold-bright);
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev, .lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(218, 165, 32, 0.2);
}

.lightbox picture,
.lightbox #lightboxPicture {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
}

.lightbox img,
.lightbox #lightboxImage {
    max-width: 100%;
    max-height: calc(100vh - 120px);
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Section video – autoplay przy scrollu */
.section-video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.section-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Video gallery – zachowane na wypadek przywrócenia */
.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.video-gallery-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(218, 165, 32, 0.3);
    transition: var(--transition);
    background: var(--color-dark-secondary);
}

.video-gallery-item:hover {
    border-color: var(--color-gold-bright);
    transform: translateY(-4px);
}

.video-thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumb img[src=""] {
    display: none;
}

.video-play-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(218, 165, 32, 0.9);
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    padding-left: 4px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.video-gallery-item:hover .video-play-icon {
    background: var(--color-gold-bright);
    transform: scale(1.1);
}

.video-title {
    display: block;
    padding: var(--spacing-sm);
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Video popup */
.video-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.video-popup.active {
    display: flex;
}

.video-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--color-gold-bright);
    color: var(--color-gold-bright);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: var(--transition);
}

.video-popup-close:hover {
    background: rgba(218, 165, 32, 0.2);
}

.video-popup-content {
    width: 90%;
    max-width: 900px;
}

.video-popup-content video {
    width: 100%;
    max-height: 80vh;
    display: block;
    border: 2px solid rgba(218, 165, 32, 0.4);
    border-radius: 8px;
}

/* Map */
.map-container {
    margin-top: var(--spacing-lg);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.map { width: 100% !important; height: 400px !important; }

.custom-marker { background: transparent; border: none; }

.marker-pin {
    position: relative;
    width: 40px;
    height: 50px;
}

.marker-pin-inner {
    width: 36px;
    height: 36px;
    background: var(--color-gold-bright);
    border: 3px solid var(--color-gold-dark);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.leaflet-popup-content-wrapper {
    background: var(--color-dark-secondary) !important;
    border: 1px solid var(--color-gold-accent) !important;
}

.leaflet-control-zoom a {
    background: var(--color-dark-secondary) !important;
    color: var(--color-gold-bright) !important;
    border: 1px solid rgba(218, 165, 32, 0.4) !important;
}

/* Contact */
.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
}

.contact-info h3 {
    font-family: var(--font-heading-decorative);
    color: var(--color-gold-bright);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
}

.contact-details { margin-top: var(--spacing-md); }

.contact-item { margin-bottom: var(--spacing-md); }

.contact-item strong {
    color: var(--color-gold-bright);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.contact-item a {
    color: var(--color-gold-light);
    text-decoration: none;
}

.contact-item a:hover { color: var(--color-gold-bright); }

.contact-form {
    padding: var(--spacing-lg);
    border: 2px solid rgba(218, 165, 32, 0.3);
}

.form-group { margin-bottom: var(--spacing-md); }

.form-group label {
    display: block;
    color: var(--color-gold-light);
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    background: var(--color-dark);
    border: 2px solid rgba(218, 165, 32, 0.3);
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold-bright);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-label input { width: auto; margin-top: 3px; }

.form-hint { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.25rem; }

.form-message { padding: var(--spacing-sm); margin-bottom: var(--spacing-md); border-radius: 4px; }
.form-message-success { background: rgba(76,175,80,0.2); color: #4caf50; }
.form-message-error { background: rgba(244,67,54,0.2); color: #f44336; }

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid rgba(218, 165, 32, 0.2);
}

.footer p { color: var(--color-text-light); font-size: 0.9rem; margin: 0.3rem 0; }

.footer-author { font-size: 0.85rem; color: var(--color-text-muted); }

.footer-author a { color: var(--color-gold-light); text-decoration: none; }

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

/* Responsive */
@media (max-width: 768px) {
    .nav-brand img {
        height: 70px;
        filter: drop-shadow(0 1px 2px rgba(0,0,0,0.8)) drop-shadow(0 2px 4px rgba(0,0,0,0.6));
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        padding-top: var(--spacing-lg);
        gap: var(--spacing-md);
        transition: var(--transition);
    }

    .nav-menu.active { left: 0; }

    .nav-toggle { display: flex; }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        display: grid;
        grid-template-rows: 50vh auto;
        grid-template-areas: "slider" "below";
        margin-top: 0;
        height: auto;
        min-height: auto;
        align-items: stretch;
        overflow: visible;
    }

    .hero-slider {
        grid-area: slider;
        position: relative;
    }

    .hero-content {
        display: contents;
    }

    .hero-subtitle {
        grid-area: slider;
        align-self: end;
        justify-self: center;
        margin-bottom: var(--spacing-sm);
        padding: 0 var(--spacing-md);
        z-index: 3;
        text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    }

    .hero-below {
        grid-area: below;
        margin-top: 0;
        padding: var(--spacing-md);
        background: var(--color-dark);
        text-align: center;
    }

    .hero-scroll-down {
        display: none;
    }

    .hero-description {
        margin-bottom: var(--spacing-md);
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .portfolio-slider {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }

    .portfolio-slider-prev,
    .portfolio-slider-next {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .portfolio-slider-prev { left: 8px; }
    .portfolio-slider-next { right: 8px; }

    .section-video-wrapper {
        aspect-ratio: 16 / 9;
        max-height: 280px;
    }

    .back-to-top svg { width: 20px; height: 20px; }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn { width: 100%; max-width: 280px; }

    .section-with-image .section-body {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
        direction: ltr;
    }

    .section-with-image.section-layout-b .section-body {
        direction: ltr;
    }

    .section-with-image .section-image-col {
        order: 1;
    }

    .section-with-image .section-text-col {
        order: 2;
    }

    .section-with-image .section-image-col {
        min-height: 0;
    }

    .section-with-image .section-image-wrap {
        margin: 0 calc(-1 * var(--spacing-md));
        border-radius: 0;
        min-height: 0;
    }

    .section-with-image .section-image {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 11;
    }

    .section-with-image .section-text-col {
        justify-content: flex-start;
    }

    .section-with-image .section-image-icon {
        opacity: 0.7;
    }

    .section-with-image .section-title {
        margin-bottom: var(--spacing-md);
    }

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

    .gallery-item { aspect-ratio: 16/9; }

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

    .lightbox {
        padding: 50px 16px 16px;
    }
    .lightbox img,
    .lightbox #lightboxImage {
        max-height: calc(100vh - 100px);
    }
    .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.8rem; }

    .lang-dropdown .lang-menu {
        right: auto;
        left: 50%;
        transform: translateX(-50%) translateY(-8px);
    }
    .lang-dropdown.open .lang-menu {
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--spacing-sm); }

    .hero-title { font-size: 2rem; letter-spacing: 3px; }

    .section { padding: var(--spacing-lg) 0; }

    .section-with-image .section-image-wrap {
        margin-left: calc(-1 * var(--spacing-sm));
        margin-right: calc(-1 * var(--spacing-sm));
        border-radius: 0;
    }

    .section-with-image .section-body {
        gap: var(--spacing-sm);
    }
}

/* Animacje on scroll */
.scroll-animate {
    opacity: 0.7;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-delay-1 { transition-delay: 0.1s; }
.scroll-animate-delay-2 { transition-delay: 0.2s; }
.scroll-animate-delay-3 { transition-delay: 0.3s; }
