* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2e2e2e;
    position: relative;
    overflow-x: hidden;
    background: transparent;
}

/* Desktop – celostránkové fixed pozadí */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        url("flowers.png"),
        linear-gradient(135deg, #e9e2da, #dcd4cc);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    z-index: -1;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.content {
    animation: fadeIn 2s ease forwards;
    opacity: 0;
}

.content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 600;
    letter-spacing: 3px;
}

.subtitle {
    
    margin-top: 16px;
    font-size: clamp(1rem, 3vw, 1.6rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.75;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    gap: 28px;
    margin-top: 60px;
    justify-content: center;
    flex-wrap: wrap;
}

.countdown div {
    background: rgba(255, 255, 255, 0.9);
    padding: 28px 32px;
    border-radius: 20px;
    min-width: 110px;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.countdown div:hover {
    transform: translateY(-6px);
}

.countdown span {
    display: block;
    font-size: 3rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.countdown small {
    font-size: 0.9rem;
    opacity: 0.7;
}

.big-day {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-top: 30px;
}

/* SECTIONS */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 30px;
}

/* INFO */
.info {
    background: #ffffff;
}

.info p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.date {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 28px;
    border-radius: 30px;
    background: #2e2e2e;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn:hover {
    background: #000;
}

/* HARMONOGRAM */
.schedule {
    /* na desktopu průhledné, aby bylo vidět globální pozadí */
    background: transparent;
}


.timeline {
    max-width: 600px;
    margin: 0 auto;
}

.event {
    display: flex;
    justify-content: space-between;
    padding: 18px 22px;
    margin-bottom: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.event span {
    font-weight: 600;
}

/* DETAILS */
.details {
    background: #ffffff;
    padding-bottom: 60px; /* aby text nelepil na footer */
}

.details p {
    margin-bottom: 16px;
    line-height: 1.7;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn:hover {
    transform: translateY(-2px);
}

.footer {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff; /* ← TADY JE KLÍČOVÁ ZMĚNA */
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-top: 0; /* ← aby tam nebyla mezera */
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer .small {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 6px;
}



/* ANIMACE */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* MOBIL */
@media (max-width: 600px) {

    /* Na mobilu vypneme globální fixed pozadí a dáme ho jen pod hero + harmonogram */
    body::before {
        display: none;
    }

    .hero,
    .schedule {
        background:
            url("flowers.png"),
            linear-gradient(135deg, #e9e2da, #dcd4cc);
        background-size: cover;
        background-position: center;
        background-repeat: repeat;
        background-blend-mode: overlay;
    }

    .countdown {
        display: flex;
        flex-wrap: nowrap;        /* nedovolí zalomení */
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .countdown div {
        flex: 1;                 /* všechny boxy se rovnoměrně zmenší */
        min-width: 0;            /* klíčové – dovolí zmenšení! */
        padding: 12px 6px;       /* menší padding, aby se vešly */
        border-radius: 14px;
    }

    .countdown span {
        font-size: 1.6rem;       /* menší čísla */
    }

    .countdown small {
        font-size: 0.7rem;       /* menší popisky */
    }
    .footer {
        text-align: center;
        padding: 40px 20px;
        background: #ffffff; /* ← plná bílá, schová pozadí */
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        margin-top: 0;
        border-top: 1px solid rgba(0,0,0,0.1);
    }
    
    
}






