/* ============================================================
   IVENT – style.css  (premium)
   Palette:
     --c-dark    #080f1e  (tło header/footer)
     --c-navy    #0d1b35  (tło hero)
     --c-blue    #1a56c4  (akcent główny)
     --c-gold    #c49a28  (złoty akcent premium)
     --c-surface #f5f7fc  (tło sekcji jasnych)
     --c-text    #1c2333
     --c-muted   #6b7694
   Font: Inter (Google Fonts)
   ============================================================ */

/* -------  CSS Variables  ------- */
:root {
    --c-dark:    #080f1e;
    --c-navy:    #0d1b35;
    --c-blue:    #1a56c4;
    --c-blue-lt: #e8f0fd;
    --c-gold:    #c49a28;
    --c-surface: #f5f7fc;
    --c-border:  #e2e7f0;
    --c-text:    #1c2333;
    --c-muted:   #6b7694;
    --c-white:   #ffffff;

    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;

    --shadow-sm: 0 1px 3px rgba(12,20,44,.06), 0 2px 8px rgba(12,20,44,.04);
    --shadow-md: 0 4px 16px rgba(12,20,44,.1);
    --shadow-lg: 0 20px 56px rgba(0,0,0,.38);

    --trans: .22s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--c-text);
    background: var(--c-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* -------  Kontener  ------- */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

/* -------  Nagłówek  ------- */
header {
    background: var(--c-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: .24em;
    color: var(--c-white);
    text-transform: uppercase;
}

.logo em {
    font-style: normal;
    color: var(--c-gold);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
}

nav ul li a {
    color: rgba(255,255,255,.55);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding-bottom: 3px;
    border-bottom: 1px solid transparent;
    transition: color var(--trans), border-color var(--trans);
}

nav ul li a:hover {
    color: var(--c-white);
    border-bottom-color: var(--c-gold);
}

/* -------  Hero  ------- */
#start {
    background:
        radial-gradient(ellipse 55% 80% at 85% 50%, rgba(26,86,196,.2) 0%, transparent 65%),
        radial-gradient(ellipse 40% 60% at 10% 85%, rgba(196,154,40,.07) 0%, transparent 60%),
        var(--c-navy);
    padding: 96px 0 88px;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 72px;
}

.hero-text { flex: 1 1 480px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-gold);
    border: 1px solid rgba(196,154,40,.3);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 28px;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--c-gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--c-white);
    letter-spacing: -.02em;
    margin-bottom: 22px;
}

.hero-text h1 em {
    font-style: normal;
    color: var(--c-gold);
}

.hero-text p {
    font-size: 1.02rem;
    color: rgba(255,255,255,.55);
    line-height: 1.75;
    max-width: 490px;
    margin-bottom: 40px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-gold);
    color: var(--c-dark);
    font-size: .82rem;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    letter-spacing: .07em;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(196,154,40,.32);
    transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}

.btn-cta::after {
    content: '→';
    font-size: 1rem;
    transition: transform var(--trans);
}

.btn-cta:hover {
    background: #d4a82f;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196,154,40,.44);
}

.btn-cta:hover::after { transform: translateX(3px); }

.hero-image {
    flex: 0 0 auto;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    outline: 1px solid rgba(196,154,40,.18);
    outline-offset: 6px;
}

/* -------  Sekcje – nagłówki  ------- */
section { padding: 88px 0; }

.section-label {
    display: block;
    text-align: center;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--c-blue);
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-text);
    letter-spacing: -.025em;
    margin-bottom: 14px;
}

.section-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: var(--c-gold);
    border-radius: 2px;
    margin: 14px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--c-muted);
    font-size: .95rem;
    max-width: 520px;
    margin: 0 auto 56px;
}

/* -------  Oferta  ------- */
#oferta { background: var(--c-surface); }

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}

.offer-card {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 18px 18px 18px 22px;
    border: 1px solid var(--c-border);
    font-size: .875rem;
    font-weight: 500;
    color: var(--c-text);
    line-height: 1.45;
    position: relative;
    transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
}

/* animowany lewy pasek */
.offer-card::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--c-blue);
    border-radius: 0 2px 2px 0;
    transition: height var(--trans);
}

.offer-card:hover {
    border-color: rgba(26,86,196,.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.offer-card:hover::before { height: 56%; }

/* -------  Dlaczego IVENT  ------- */
#dlaczego { background: var(--c-white); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--c-surface);
    border-radius: var(--radius-lg);
    padding: 40px 28px 36px;
    border: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
    transition: box-shadow var(--trans), transform var(--trans), border-color var(--trans);
}

.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(26,86,196,.2);
}

/* duży numer w tle */
.why-num {
    position: absolute;
    top: 12px; right: 18px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(26,86,196,.05);
    line-height: 1;
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
}

.why-icon {
    width: 48px;
    height: 48px;
    background: var(--c-blue-lt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--c-blue);
    transition: background var(--trans);
}

.why-card:hover .why-icon { background: var(--c-blue); color: var(--c-white); }

.why-icon svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none;
    stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

.why-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 10px;
}

.why-card p {
    font-size: .875rem;
    color: var(--c-muted);
    line-height: 1.65;
}

/* -------  Kontakt  ------- */
#kontakt {
    background: var(--c-dark);
    padding: 88px 0;
}

#kontakt .section-label { color: var(--c-gold); }

#kontakt .section-title {
    color: var(--c-white);
}

#kontakt .section-title::after { background: var(--c-gold); }

#kontakt .section-subtitle { color: rgba(255,255,255,.38); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
    gap: 20px;
}

.contact-item {
    background: rgba(255,255,255,.04);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.07);
    transition: background var(--trans), border-color var(--trans);
}

.contact-item:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(196,154,40,.28);
}

.contact-icon {
    width: 52px; height: 52px;
    background: rgba(196,154,40,.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    color: var(--c-gold);
    transition: background var(--trans);
}

.contact-item:hover .contact-icon { background: rgba(196,154,40,.18); }

.contact-icon svg {
    width: 22px; height: 22px;
    stroke: currentColor; fill: none;
    stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

.contact-item h4 {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255,255,255,.38);
    margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
    font-size: .97rem;
    font-weight: 500;
    color: var(--c-white);
    word-break: break-word;
    transition: color var(--trans);
}

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

/* -------  Stopka  ------- */
footer {
    background: #040912;
    border-top: 1px solid rgba(255,255,255,.05);
    padding: 26px 0;
    font-size: .82rem;
    color: rgba(255,255,255,.3);
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    font-weight: 800;
    color: var(--c-white);
    font-size: .9rem;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.footer-links a {
    color: rgba(255,255,255,.35);
    transition: color var(--trans);
}

.footer-links a:hover { color: var(--c-gold); }
.footer-links .sep   { margin: 0 10px; opacity: .3; }

/* -------  Lightbox  ------- */
.hero-image img { cursor: zoom-in; }

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4,9,18,.9);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,.65);
    transform: scale(.94);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
}

.lightbox.is-open img { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--trans);
}

.lightbox-close:hover { background: rgba(255,255,255,.22); }

/* -------  Responsywność  ------- */
@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .hero-badge { margin: 0 auto 28px; }

    .hero-text h1 { font-size: 2.1rem; }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
    }

    .hero-image {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .container { padding: 0 20px; }

    section { padding: 64px 0; }

    .logo { font-size: 1.2rem; }

    nav ul { gap: 18px; }

    nav ul li a { font-size: .75rem; }

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

    .hero-text h1 { font-size: 1.75rem; }

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

    footer .container { flex-direction: column; text-align: center; }
}
