
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
}

.vetsi {
    padding-top: 20px;
    font-size: 20px;
}
a {
    color: inherit;
    text-decoration: none;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    text-align: center;
    overflow: hidden;
}

.hero-gallery {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    background: #fff;
}

.hero-image {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(45, 32, 26, 0.306);
}

.hero-image-1 {
    background-image: url("../img/pozadi.JPEG");
}

.hero-image-2 {
    background-image: url("../img/pozadi2.JPEG");
}

.hero-image-3 {
    background-image: url("../img/pozadi3.JPEG");
}

.hero-image-4 {
    background-image: url("../img/pozadi4.JPEG");
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

.save-the-date {
    margin-bottom: 15px;
    font-family: "WindSong", cursive;
    font-size: clamp(70px, 9vw, 130px);
    font-weight: 500;
    line-height: 0.9;
    color: #fff;
    transform: rotate(-4deg);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.65);
}

.hero-content {
    width: 100%;
    max-width: 800px;
    padding: 45px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(40, 28, 23, 0.742);
    backdrop-filter: blur(3px);
}

.hero-small-text {
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 15px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 9vw, 100px);
    font-weight: normal;
    line-height: 1.1;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.hero-date {
    margin-bottom: 30px;
    font-size: 24px;
}

.button {
    display: inline-block;
    padding: 13px 28px;
    color: #fff;
    background: #9b7460;
    border: 1px solid #9b7460;
    border-radius: 3px;
    transition: 0.2s;
}

.button:hover {
    color: #765d4d;
    background: #fff;
    transform: translateY(-2px);
}

footer {
    padding: 35px 20px;
    text-align: center;
    color: #ffffff;
    background: #b9c69c;
}

@media (max-width: 700px) {
    .hero {
        min-height: 100svh;
        padding: 30px 15px;
    }

    .hero-gallery {
        gap: 10px;
        padding: 10px;
    }

    .save-the-date {
        margin-bottom: 10px;
        font-size: clamp(58px, 18vw, 90px);
    }

    .hero-content {
        padding: 30px 20px;
    }

    .hero-small-text {
        font-size: 14px;
        letter-spacing: 3px;
    }

    .hero-date {
        font-size: 18px;
    }
}

@media (max-width: 450px) {

    .hero-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);

        gap: 8px;
        padding: 8px;
    }

    /* Zmenšení celého informačního bloku */
    .hero-wrapper {
        transform: scale(0.82);
        transform-origin: center;
    }

    .save-the-date {
        margin-bottom: 8px;
        font-size: 54px;
    }

    .hero-content {
        padding: 18px 14px;
    }

    .save-the-date {
        margin-bottom: 8px;
        font-size: 54px;
    }

    .hero-small-text {
        font-size: 11px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 30px;
        padding: 10px 0px;
    }

    .hero-date {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.4;
    }

    .button {
        padding: 10px 18px;
        font-size: 13px;
    }
}