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

body {
    font-family: Arial, sans-serif;
    color: #222;
    background: #f4f6f8;
}


.iwt-trailer-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(to right, #d9d9d9 0%, #f4f4f4 55%);
}

/* obrazek */
.iwt-trailer-hero-img {
    position: absolute;
    top: 60px;
    right: 80px;
    height: 70%;
    width: auto;
    max-width: 55%;
    object-fit: contain;
    z-index: 0;
}



/* overlay (jeśli potrzebny np. pod kontrast) */
.iwt-trailer-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* tekst */
.iwt-trailer-hero-text {
    position: relative;
    z-index: 2;
    padding: 80px 60px;
    max-width: 600px;
}
.iwt-trailer-logo {
    display: block;
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}




.iwt-trailer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.iwt-trailer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.35), rgba(0,0,0,0));
    z-index: 1;
}


.iwt-trailer-hero-text {
    position: absolute;
    left: 60px;
    bottom: 95px;
    z-index: 2;
    color: #fff;
    max-width: 600px;
}


.iwt-trailer-logo {
    position: absolute;
    bottom: 350px;
    left: 20px;
    max-width: 150px;
    z-index: 3;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}



.iwt-trailer-series {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 12px;
    background: rgba(10,61,98,0.85);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.iwt-trailer-hero-text h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.iwt-trailer-hero-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}
.iwt-trailer-thumbnails {
    position: absolute;
    right: 80px;                 /* ta sama oś co obraz */
    top: calc(60px + 70%);       /* dół głównego obrazu */
    margin-top: 12px;            /* mały odstęp */
    display: flex;
    gap: 12px;
    z-index: 3;
}


.iwt-trailer-thumb {
    width: 70px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.25s ease;
}

.iwt-trailer-thumb:hover {
    opacity: 1;
}

.iwt-trailer-thumb.active {
    border-color: #ffffff;
    opacity: 1;
}

/* =========================
   OPIS
========================= */

.iwt-trailer-description {
    padding: 80px 20px;
    background: #fff;
}

.iwt-desc-container {
    max-width: 900px;
    margin: 0 auto;
}

.iwt-desc-container h2 {
    font-size: 2rem;
    color: #0a3d62;
    margin-bottom: 30px;
}

.iwt-desc-container p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 22px;
}

.iwt-highlight {
    padding-left: 20px;
    border-left: 4px solid #0a3d62;
    background: #f2f6fa;
    padding: 18px 20px;
}

.iwt-trailer-gallery {
    padding: 80px 20px;
    background: #f4f6f8;
}

.iwt-trailer-gallery h2 {
    text-align: center;
    font-size: 2rem;
    color: #0a3d62;
    margin-bottom: 50px;
}

.iwt-gallery-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.iwt-gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.iwt-gallery-item:hover {
    transform: translateY(-6px);
}

.iwt-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.iwt-gallery-item figcaption {
    padding: 16px 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    background: #fff;
       font-weight: 750;
    color: #0a3d62; /* granat Ifor Williams */
    letter-spacing: 0.2px;
}
/* ===== INTRO NAD GALERIĄ ===== */

.iwt-gallery-intro {
    max-width: 1100px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.iwt-intro-block {
    background: #ffffff;
    padding: 32px 36px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.iwt-intro-block h3 {
    font-size: 1.4rem;
    color: #0a3d62;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.iwt-intro-block p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
}

/* ===== RESPONSYWNOŚĆ ===== */

@media (max-width: 992px) {
    .iwt-gallery-intro {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .iwt-intro-block {
        padding: 28px 26px;
    }
}

@media (max-width: 480px) {
    .iwt-intro-block h3 {
        font-size: 1.25rem;
    }

    .iwt-intro-block p {
        font-size: 0.9rem;
    }
}


.iwt-trailer-spec {
    padding: 90px 20px;
    background: #ffffff;
}

.iwt-trailer-spec h2 {
    text-align: center;
    font-size: 2rem;
    color: #0a3d62;
    margin-bottom: 40px;
}

.iwt-spec-table-wrap {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.iwt-spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.iwt-spec-table th {
    background: #0a3d62;
    color: #fff;
    padding: 14px 12px;
    text-align: center;
}

.iwt-spec-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.iwt-spec-table tbody tr:hover {
    background: #f2f6fa;
}
.iwt-trailer-spec p {
    max-width: 1200px;
    margin: 0 auto 12px auto;
    font-size: 1rem;
    color: #2c3e50;
    text-align: center;
    line-height: 1.5;
}

.iwt-trailer-spec p strong {
    color: #0a3d62;
    font-weight: 600;
}

.iwt-brochures {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
}

.iwt-brochures h2 {
    font-size: 2rem;
    color: #0a3d62;
    margin-bottom: 40px;
}

.iwt-brochure-grid {
    display: flex;
    justify-content: center;
}

.iwt-brochure-card {
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
    text-decoration: none;
    color: #0a3d62;
    transition: transform 0.3s ease;
}

.iwt-brochure-card:hover {
    transform: translateY(-6px);
}

.iwt-brochure-card img {
    width: 260px;
    display: block;
}

.iwt-brochure-card span {
    display: block;
    padding: 16px;
    font-weight: 600;
}
.iwt-expert {
    padding: 70px 20px;
    background: #e9edf1;
    
}

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

.iwt-expert-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.iwt-expert-text p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: #555;
}

.iwt-expert-btn {
    display: inline-block;
    padding: 14px 26px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
}

.iwt-expert-card {
    text-align: center;
}

.iwt-expert-card img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 18px auto;
}


.iwt-expert-card h3 {
    margin-bottom: 6px;
}

.iwt-expert-card span {
    display: block;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 12px;
}

.iwt-expert-card a {
    display: block;
    color: #0a3d62;
    text-decoration: none;
    margin-bottom: 6px;
    font-weight: 500;
}

/* =========================
   RESPONSYWNOŚĆ HERO
========================= */


@media (max-width: 767px) {

    /* usuwamy cały tekst */
    .iwt-trailer-hero-text,
    .iwt-trailer-series,
    .iwt-trailer-logo {
        display: none !important;
    }

    /* hero dopasowany do obrazów */
    .iwt-trailer-hero {
        height: auto;
        min-height: auto;
        padding: 20px 0 30px;
    }

    /* główne zdjęcie na środku */
    .iwt-trailer-hero-img {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        height: auto;
        max-width: 92%;
        margin: 0 auto;
        display: block;
    }

    /* miniatury pod zdjęciem */
    .iwt-trailer-thumbnails {
        position: relative;
        top: auto;
        right: auto;
        margin: 14px auto 0;
        justify-content: center;
    }
}



@media (max-width: 768px) {

    .iwt-trailer-description { padding: 60px 18px; }
    .iwt-desc-container h2 { font-size: 1.7rem; }
    .iwt-desc-container p { font-size: 0.95rem; }

    .iwt-gallery-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

    .iwt-spec-table { font-size: 0.9rem; }
    .iwt-spec-table th, .iwt-spec-table td { padding: 12px 10px; white-space: nowrap; }
}

@media (max-width: 600px) {
    .iwt-trailer-hero { height: 45vh; min-height: 300px; }
    .iwt-trailer-hero-text { bottom: 40px; }
    .iwt-trailer-hero-text h1 { font-size: 1.7rem; }

    .iwt-gallery-grid { grid-template-columns: 1fr; gap: 20px; }
    .iwt-gallery-item img { height: 220px; }
    .iwt-gallery-item figcaption { font-size: 0.9rem; }

    .iwt-trailer-spec { padding: 60px 15px; }
    .iwt-trailer-spec h2 { font-size: 1.6rem; }
}
@media (max-width: 900px) {
    .iwt-expert-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
