:root {
    --accent-blue: #3b5998;     /* Ta modrá z tvého obrázku */
    --soft-purple: #f3e8ff;     /* Velmi jemná fialová na pozadí */
    --text-black: #1a1a1a;      /* Černý text */
    --font-heading: 'Amatic SC', cursive;
    --font-body: 'Josefin Sans', sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: white;
    color: var(--text-black);
    text-align: center;
}

header {
    background: linear-gradient(135deg, #ffffff 0%, var(--soft-purple) 50%, #e0e7ff 100%);
    min-height: 80vh; /* Trochu jsme snížili výšku, aby druhá sekce vykoukla dřív */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px 20px; /* Horní, pravý, spodní, levý */
}
.header-content {
    max-width: 800px;
}

.names {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
    color: var(--text-black);
}

.invite {
    font-family: var(--font-heading);
    font-size: 5.5rem; /* Velký nápis jako na obrázku */
    line-height: 0.9;
    margin: 20px 0;
    font-weight: 700;
}

.info-block {
    margin: 40px 0;
}

.date, .time {
    font-size: 1.8rem;
    margin: 5px 0;
    letter-spacing: 2px;
}

.divider {
    font-size: 2rem;
    margin: 30px 0;
    opacity: 0.7;
}

/* --- ODPOČET --- */
#countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.time-unit span {
    font-size: 2.5rem;
    display: block;
    font-weight: 600;
    /* Čísla budou v té tvé modré barvě */
    color: var(--accent-blue);
}

.time-unit p {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

/* Úprava pro mobily */
@media (max-width: 600px) {
    .invite { font-size: 3.5rem; }
    #countdown { gap: 15px; }
    .time-unit span { font-size: 1.8rem; }
}
.welcome-section {
    padding: 30px 20px 60px 20px; /* První číslo (30px) zmenšilo mezeru shora */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 650px; /* Užší blok textu se lépe čte */
    text-align: center;
}

.headline {
    font-family: var(--font-heading); /* Amatic ponecháme jen na nadpis */
    font-size: 4.5rem;
    color: var(--text-black);
    margin-bottom: 30px;
    line-height: 1;
}

.main-text {
    font-family: var(--font-body); /* Čitelný Josefin Sans */
    font-size: 1.4rem;
    line-height: 1.8; /* Větší mezery mezi řádky */
    font-weight: 400;
    margin-bottom: 30px;
    color: #000000; /* Čistě černá pro maximální kontrast */
}

.sub-text {
    font-family: var(--font-body);
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333333; /* Stále velmi tmavá pro čitelnost */
    font-weight: 300;
    margin-bottom: 40px;
    padding: 0 10px;
}

.thanks {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue); /* Modrá barva pro zvýraznění konce */
}

.location-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #ffffff, #f8faff);
    text-align: center; /* Základní vycentrování všeho textu */
}

.location-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* Vycentrování prvků pod sebou */
    justify-content: center;
}

.address-card {
    background: white;
    border: 1px solid #eef2ff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 20px 0 40px 0;
    width: 100%;
    max-width: 350px; /* Aby karta nebyla moc široká */
}

/* Styl pro kontejner mapy */
.map-container {
    width: 100%;
    max-width: 700px; /* Šířka mapy ladí s textem nahoře */
    border-radius: 20px;
    overflow: hidden; /* Aby mapa měla kulaté rohy */
    box-shadow: 0 10px 30px rgba(59, 89, 152, 0.1);
    margin-bottom: 30px;
    border: 5px solid white; /* Elegantní bílý rám okolo mapy */
}

.map-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-button:hover {
    transform: scale(1.05);
    background-color: var(--soft-purple);
    color: var(--text-black);
}
html {
    scroll-behavior: smooth !important;
}