* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    background: #1a2e1a;
    color: white;
    line-height: 1.6;
}

/* ========== HEADER ========== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: rgba(8, 20, 8, 0.97);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #8a6a00;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,200,0,0.5));
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffd700, #ffaa00, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(255,200,0,0.3));
}

nav { display: flex; align-items: center; gap: 24px; }

nav a {
    color: #c8e6c8;
    text-decoration: none;
    transition: 0.3s;
    font-weight: 500;
    font-size: 15px;
}
nav a:hover, nav a.active {
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255,215,0,0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffd700;
    border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 90vh;
    background: url('images/obiektzlotuptaka.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 25, 5, 0.65);
}

.hero-text { position: relative; z-index: 2; max-width: 750px; }

.hero h1 {
    font-size: 60px;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero span {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 19px;
    color: #d4ecd4;
    margin-bottom: 30px;
    max-width: 580px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    background: linear-gradient(135deg, #b8860b, #ffd700, #b8860b);
    color: #1a1a00;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(255,215,0,0.3);
    border: none;
    cursor: pointer;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,215,0,0.5);
    filter: brightness(1.1);
}

/* ========== OFERTA ========== */
.offer-section {
    padding: 90px 50px;
    background: #0f1f0f;
}

.offer-section h2 {
    font-size: 38px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    text-align: center;
}

.offer-subtitle {
    text-align: center;
    color: #9ec89e;
    font-size: 17px;
    margin-bottom: 50px;
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.offer-card {
    background: #1a2e1a;
    border: 1px solid #2e5a0e;
    border-top: 3px solid #8a6a00;
    border-radius: 14px;
    padding: 32px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-top-color: #ffd700;
}

/* ===== KLIKALNE KAFELKI OFERTY ===== */
.offer-card--link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.offer-card--link::after {
    content: '↓ Zobacz zdjęcia';
    position: absolute;
    bottom: 14px;
    right: 18px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #8a6a00;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.25s, transform 0.25s, color 0.25s;
    pointer-events: none;
}

.offer-card--link:hover::after {
    opacity: 1;
    transform: translateY(0);
    color: #ffd700;
}

.offer-card--link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border-top-color: #ffd700;
    border-color: #8a6a00;
}

/* ============================= */

.offer-icon { font-size: 36px; margin-bottom: 14px; }
.offer-card h3 { font-size: 18px; color: #ffd700; margin-bottom: 10px; }
.offer-card p { color: #b8d8b8; font-size: 15px; line-height: 1.65; }

/* ========== O NAS ========== */
.about {
    padding: 90px 50px;
    background: #1a2e1a;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.about-text h2 {
    font-size: 38px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}
.about-text p { color: #c8e6c8; font-size: 16px; margin-bottom: 16px; line-height: 1.75; }

.about-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    border: 2px solid #8a6a00;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Klikalne zdjęcie budynku */
.about-img-wrap {
    cursor: zoom-in;
    position: relative;
}
.about-img-wrap::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 14px;
}
.about-img-wrap:hover::after { opacity: 1; }

/* Klikalne zdjęcia w slideshocie */
.slide img { cursor: zoom-in; }
.slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s ease;
}
.slide::after {
    content: '🔍';
    position: absolute;
    bottom: 16px;
    right: 16px;
    font-size: 22px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 5;
}
.slide:hover::after { opacity: 1; }
.slide.active { opacity: 1; }
.slideshow-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: #0f1f0f;
    border: 2px solid #8a6a00;
}

.slideshow { position: relative; width: 100%; aspect-ratio: 16/9; }

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

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #ffd700;
    border: none;
    font-size: 34px;
    padding: 8px 14px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
    border-radius: 6px;
    line-height: 1;
}
.slide-btn:hover { background: rgba(139,106,0,0.8); }
.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

.slide-dots { display: flex; justify-content: center; gap: 8px; padding: 10px 0; background: #0a150a; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #3a4a1a; cursor: pointer; transition: background 0.3s; }
.dot.active { background: #ffd700; }

/* ========== GALERIA ========== */
.gallery-section { padding: 90px 50px; background: #0f1f0f; }

.gallery-section h2 {
    font-size: 38px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.gallery-label {
    font-size: 18px;
    font-weight: bold;
    color: #c8e6c8;
    margin: 50px 0 16px 0;
    letter-spacing: 1px;
    border-left: 4px solid #ffd700;
    padding-left: 12px;
    scroll-margin-top: 90px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    background: #1a2e1a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    aspect-ratio: 3 / 4;
    border: 1px solid #2a3a1a;
    cursor: pointer;
    position: relative;
}
.gallery-item::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.4s ease;
    pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-grid--landscape { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.gallery-item--landscape { aspect-ratio: 4 / 3; }

/* Ulotki */
.ulotki-grid { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.ulotka-item {
    aspect-ratio: auto !important;
    max-width: 280px;
    flex: 0 0 auto;
}
.ulotka-item img { object-fit: contain !important; object-position: center !important; }

/* ========== LIGHTBOX ========== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox.active { display: flex; }

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.93);
}

.lightbox img {
    position: relative;
    z-index: 2;
    max-width: calc(100vw - 140px);
    max-height: 88vh;
    border-radius: 10px;
    object-fit: contain;
    border: 2px solid #8a6a00;
    box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 28px;
    font-size: 48px;
    color: #ffd700;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}
.lightbox-close:hover { color: white; transform: scale(1.1); }

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.5);
    color: #ffd700;
    border: 2px solid #8a6a00;
    font-size: 48px;
    width: 60px;
    height: 80px;
    cursor: pointer;
    border-radius: 8px;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-btn:hover { background: rgba(139,106,0,0.7); border-color: #ffd700; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #ffd700;
    font-size: 15px;
    background: rgba(0,0,0,0.5);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* ========== KONTAKT ========== */
.contact { padding: 90px 50px; background: #1a2e1a; border-top: 2px solid #8a6a00; text-align: center; }
.contact h2 {
    font-size: 38px;
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.contact-sub { color: #9ec89e; font-size: 17px; margin-bottom: 40px; }
.contact-grid { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.contact-item {
    background: #0f1f0f;
    border: 1px solid #8a6a00;
    border-radius: 12px;
    padding: 22px 28px;
    font-size: 16px;
    color: #c8e6c8;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 210px;
    justify-content: center;
    transition: border-color 0.3s;
}
.contact-item:hover { border-color: #ffd700; }
.contact-item span { font-weight: 500; }

/* ========== FORMULARZ KONTAKTOWY ========== */
.contact-form-wrap {
    max-width: 760px;
    margin: 60px auto 0;
    background: #0f1f0f;
    border: 1px solid #8a6a00;
    border-radius: 16px;
    padding: 40px 40px 36px;
    text-align: left;
}

.contact-form-title {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 28px;
    font-weight: bold;
    letter-spacing: 1px;
    border-left: 4px solid #ffd700;
    padding-left: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    color: #9ec89e;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    background: #1a2e1a;
    border: 1px solid #2e5a1a;
    border-radius: 8px;
    padding: 12px 16px;
    color: #e8f5e8;
    font-size: 15px;
    transition: border-color 0.25s, box-shadow 0.25s;
    outline: none;
    width: 100%;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #4a6a4a;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 2px rgba(255,215,0,0.12);
}

.btn--form {
    align-self: flex-start;
    margin-top: 6px;
    padding: 13px 32px;
    font-size: 15px;
}

.btn--form:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

.form-success {
    display: none;
    align-items: center;
    gap: 16px;
    background: #0d2a0d;
    border: 1px solid #4a8a4a;
    border-radius: 10px;
    padding: 24px 28px;
    color: #c8e6c8;
    font-size: 16px;
    margin-top: 4px;
}

.form-success span {
    font-size: 32px;
    flex-shrink: 0;
}

/* ========== FOOTER ========== */
footer { text-align: center; padding: 20px; background: #060e06; color: #8a6a00; border-top: 1px solid #8a6a00; font-size: 14px; }

/* ========== TABLET ========== */
@media (max-width: 900px) {
    header { padding: 10px 24px; }
    .hero, .offer-section, .about, .gallery-section, .contact { padding-left: 24px; padding-right: 24px; }
    .hero h1 { font-size: 44px; }
    .about-inner { grid-template-columns: 1fr; gap: 36px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
    .gallery-grid--landscape { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .lightbox-btn { font-size: 36px; width: 46px; height: 64px; }
    .contact-form-wrap { padding: 30px 24px; }
}

/* ========== MOBILE ========== */
@media (max-width: 600px) {
    header { padding: 10px 16px; }
    .logo-img { height: 44px; width: 44px; }
    .logo-text { font-size: 18px; }
    .hamburger { display: flex; }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(8,20,8,0.98);
        padding: 10px 0;
        z-index: 999;
        border-bottom: 2px solid #8a6a00;
    }
    nav.open { display: flex; }
    nav a { padding: 14px 24px; width: 100%; font-size: 16px; border-bottom: 1px solid #1a2e1a; }

    .hero { min-height: 75vh; padding: 0 20px 50px; align-items: flex-end; }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }
    .btn { padding: 12px 24px; font-size: 15px; }

    .offer-section, .about, .gallery-section, .contact { padding: 60px 16px; }
    .offer-section h2, .about-text h2, .gallery-section h2, .contact h2 { font-size: 28px; }
    .offer-grid { grid-template-columns: 1fr; }
    .slide-btn { font-size: 26px; padding: 6px 11px; }

    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .gallery-grid--landscape { grid-template-columns: 1fr; }
    .gallery-item { border-radius: 8px; }
    .gallery-label { font-size: 15px; margin: 36px 0 12px 0; }
    .ulotki-grid { gap: 10px; }
    .ulotka-item { flex: 1 1 calc(50% - 5px); max-width: 100%; }

    .lightbox img { max-width: calc(100vw - 30px); max-height: 80vh; }
    .lightbox-btn { font-size: 28px; width: 38px; height: 54px; }
    .lightbox-prev { left: 6px; }
    .lightbox-next { right: 6px; }

    .contact-grid { flex-direction: column; align-items: center; }
    .contact-item { width: 100%; max-width: 320px; }

    .contact-form-wrap { padding: 24px 16px; margin-top: 40px; }
    .form-row { grid-template-columns: 1fr; }
    .btn--form { width: 100%; text-align: center; }
}