* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #151515;
    background: #fff;
}

a {
    color: inherit;
}


/* ================= HEADER ================= */

.header {
    height: 76px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo span {
    color: #e5b900;
}

.header nav {
    display: flex;
    gap: 38px;
    align-items: center;
}

.header nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.2s;
}

.header nav a:hover {
    color: #d5aa00;
}

.header-button {
    background: #e5b900;
    padding: 15px 24px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s;
}

.header-button:hover {
    background: #f2c720;
}


/* ================= HERO ================= */

.hero {
    min-height: calc(100vh - 76px);
    position: relative;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.65),
            rgba(0,0,0,0.15)
        ),
        url("images/hero.jpg");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 86%;
    max-width: 1200px;
    margin: auto;
    color: white;
}

.hero-label {
    color: #f0c400;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.98;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 570px;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.main-button {
    display: inline-block;
    background: #e5b900;
    color: #111;
    padding: 16px 25px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s;
}

.main-button:hover {
    background: #f2c720;
    transform: translateY(-2px);
}

.second-button {
    display: inline-block;
    border: 1px solid white;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s;
}

.second-button:hover {
    background: white;
    color: #111;
}


/* ================= WYJAZDY ================= */

.section {
    width: 86%;
    max-width: 1200px;
    margin: auto;
    padding: 100px 0;
}

.section-heading {
    margin-bottom: 45px;
}

.section-heading > p {
    color: #d5a900;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.1;
    margin-bottom: 15px;
}

.section-heading span {
    color: #777;
    font-size: 17px;
}


/* ================= KARTY ================= */

.offers {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}

.offer {
    background: white;
    border: 1px solid #eee;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    box-shadow: 0 10px 35px rgba(0,0,0,0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.offer:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,0.13);
}


/* ZDJĘCIE KARTY */

.offer-image {
    display: block;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #eee;
}

.offer-image img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.offer:hover .offer-image img {
    transform: scale(1.05);
}


/* TREŚĆ KARTY */

.offer-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.offer-country {
    color: #d5a900;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.offer-content h3 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 12px;
}

.offer-content > p {
    color: #777;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.offer-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 20px;
}

.offer-info span {
    background: #f5f5f5;
    padding: 8px 11px;
    color: #555;
    font-size: 12px;
    font-weight: 600;
}

.offer-bottom {
    border-top: 1px solid #eee;
    padding-top: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.offer-bottom strong {
    font-size: 22px;
}

.offer-bottom a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
}

.offer-bottom a:hover {
    color: #d5a900;
}


/* BRAK OFERT */

.no-offers {
    grid-column: 1 / -1;
    padding: 50px;
    background: #f6f6f6;
}

.no-offers h3 {
    font-size: 27px;
    margin-bottom: 10px;
}

.no-offers p {
    color: #777;
}


/* ================= O NAS ================= */

.about {
    min-height: 520px;
    background: #111;
    color: white;

    display: flex;
    align-items: center;

    padding: 80px 7%;
}

.about-content {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.section-label {
    color: #e5b900;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.about h2 {
    max-width: 650px;
    font-size: clamp(40px, 5vw, 60px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.about-content > p:not(.section-label) {
    max-width: 600px;
    color: #ccc;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}


/* ================= KONTAKT ================= */

.contact {
    padding: 100px 7%;
    text-align: center;
    background: #f6f6f6;
}

.contact h2 {
    font-size: clamp(38px, 5vw, 55px);
    margin-bottom: 15px;
}

.contact > p:not(.section-label) {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #777;
    font-size: 17px;
    line-height: 1.7;
}


/* ================= FOOTER ================= */

footer {
    padding: 30px 7%;
    min-height: 100px;

    background: #111;
    color: #888;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

footer .logo {
    color: white;
}

footer p {
    font-size: 13px;
}


/* ================= TABLET ================= */

@media (max-width: 1000px) {

    .offers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header nav {
        gap: 20px;
    }
}


/* ================= TELEFON ================= */

@media (max-width: 700px) {

    .header {
        height: 68px;
        padding: 0 5%;
    }

    .header nav {
        display: none;
    }

    .header-button {
        padding: 12px 15px;
        font-size: 12px;
    }

    .logo {
        font-size: 18px;
    }

    .hero {
        min-height: calc(100vh - 68px);
    }

    .hero-content {
        width: 90%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 15px;
    }

    .section {
        width: 90%;
        padding: 70px 0;
    }

    .offers {
        grid-template-columns: 1fr;
    }

    .offer-image,
    .offer-image img {
        height: 220px;
    }

    .about {
        padding: 70px 5%;
    }

    .contact {
        padding: 70px 5%;
    }

    footer {
        padding: 30px 5%;
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ================= MAŁY TELEFON ================= */

@media (max-width: 420px) {

    .header-button {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .offer-image,
    .offer-image img {
        height: 200px;
    }
}