/* Speciální tlačítko pouze pro rsvp.html s prohozenými barvami */
.rsvp-back-btn-special {
    display: inline-block;
    margin: 32px auto 0 auto;
    padding: 12px 32px;
    background: #f0cddb;
    color: #5a5757;
    font-size: 1.15em;
    font-weight: 600;
    border: none;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(180,138,120,0.10);
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.rsvp-back-btn-special:hover {
    background: #5a5757;
    color: #fff;
}
.back-btn {
    display: inline-block;
    margin: 32px auto 0 auto;
    padding: 12px 32px;
    background: #5a5757;
    color: #fff;
    font-size: 1.15em;
    font-weight: 600;
    border: none;
    border-radius: 24px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.back-btn:hover {
    background: #f0cddb;
    color: #5a5757;
}
/* Úvodní blok – vše v jednom bílém boxu s rádiusem a stínem */
.intro-block {
    background: #5a5757;
    border-radius: 0;
    margin: 0 !important;
    width: 100vw;
    max-width: 100vw;
    padding: 0;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 2%;
}
/* Moderní úvodní stránka */
.main-nav {
    width: 100%;
    height: 1%;
    background: transparent;
    box-shadow: none;
    padding: 30px 0 0 0;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}
.main-nav ul {
    display: flex;
    gap: 24px;
    list-style: none !important;
}
.harmonogram-list li {
    list-style: none !important;
    padding: 5px 0;
    margin: 0;
    text-align: center;
}
.harmonogram-list li strong {
    color: #b48a78;
    min-width: 54px;
    display: inline-block;
    font-size: 1.08em;
}
.harmonogram-list .note {
    color: #8a6a4f;
    font-size: 0.92em;
    font-style: italic;
    margin-left: 8px;
    background: rgba(180,138,120,0.08);
    border-radius: 8px;
    padding: 3px 10px 3px 10px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.main-nav ul li a {
    background: #5a5757;
    color: #dad5d0;
    border-radius: 18px;
    padding: 8px 20px;
    font-size: 1.1em;
    font-weight: 500;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-style: normal;
    text-decoration: none;
    
    transition: background 0.18s, color 0.18s;
}
.main-nav ul li a:hover {
    background: hsla(324, 48%, 89%, 0.973);
    color: #5a5757;
}
.countdown-bar {
    width: 100%;
    background: transparent;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 8px 0;
    position: relative;
    z-index: 5;
}
.countdown-side {
    background: #f7ede2;
    color: #7a5c3e;
    font-size: 1.18em;
    font-weight: 600;
    border-radius: 16px;
    padding: 10px 28px;
    box-shadow: 0 2px 12px rgba(180,138,120,0.13);
    display: inline-block;
}
.hero-bar {
    width: 100%;
    background: linear-gradient(90deg, #5a5757 0%, #5a5757 100%);
    color: #f0cddb;
    text-align: center;
    padding: 0 0 4px 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1.18em;
    font-weight: 500;
    letter-spacing: 2px;
    box-shadow: 0 -16px 24px -8px #5a5757 inset, 0 16px 24px -8px #5a5757 inset;
    position: relative;
    z-index: 2;
}
.hero-bar .hero-title {
    font-size: 2.5em;
    font-weight: 500;
    letter-spacing: 2px;
    position: relative;
    z-index: 3;
    margin: 0;
    padding: 0% 0 1% 0;
    color: #f0cddb;
    text-shadow: 0 1px 8px rgba(180,138,120,0.10);
    -webkit-text-stroke: 1.5px #fff;

}
.hero-bar .motto {
    font-size: 1.15rem;
    font-style: italic;
    font-size: 1em;
    margin-top: 8px;
    color: #fff;
}
.harmonogram-section .gmap-btn {
    display: block;
    margin: 18px auto 0 auto;
    padding: 10px 22px;
    max-width: 620px;
    width: 90%;
    background: linear-gradient(90deg, #5a5757 0%, #5a5757 100%);
    color: #fff;
    font-size: 1.13em;
    font-weight: 600;
    border-radius: 24px;
    box-shadow: 0 4px 18px rgba(180,138,120,0.13);
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.5px;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s, border 0.22s;
    cursor: pointer;
    outline: none;
}
.harmonogram-section .gmap-btn:hover {
    background: linear-gradient(90deg, #f0cddb 0%, #f0cddb 100%);
    color: #5a5757;
    box-shadow: 0 6px 24px rgba(180,138,120,0.18);
}
/* Zarovnání 'Kdy:' a 'Kde:' vlevo v harmonogramu */
.harmonogram-section p,
.harmonogram-section a,
.harmonogram-section .note {
    text-align: left;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 32px;
    box-sizing: border-box;
    display: block;
}
/* Základní stylování pro svatební homepage */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #5a5757;
    color: #333;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
h1 {
    margin-top: 40px;
    font-size: 2.5em;
    color: #5a5757;
    text-align: center;
    letter-spacing: 1px;
}
h2, h3 {
    color: #5a5757;
}
p {
    font-size: 1.142em;
    margin: 20px 0 10px 0;
}
#countdown {
    /* původní styl pro odpočet, který je nyní přepsán .countdown-side */
    font-size: unset !important;
    margin-top: 0;
    color: unset;
    font-weight: unset;
}
.countdown-side {
    position: absolute;
    top: 10px;
    left: 32px;
    right: auto;
    background: linear-gradient(90deg, #fff 0%, #eec8de 100%);
    color: #7a5c3e;
    font-size: 1.5em;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
 .harmonogram-wrap {
    position: relative;
    z-index: 2;
    background: linear-gradient(120deg, #fff 0%, #f0dae3 100%);
    max-width: 700px;
    margin: 60px auto 40px auto;
    border-radius: 24px;
    padding: 36px 28px 28px 28px;
    text-align: center;
}
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 200;
}
 .harmonogram-section {
    width: 100%;
    margin: 32px 0 0 0;
    background: 0;
    border-radius: 32px;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    text-align: center;
}
nav ul li {
    display: inline;
}
nav ul li a {
    text-decoration: none;
    color: #5a5757;
h1 {
    margin-top: 40px;
    font-size: 2.5em;
    color: #5a5757;
    text-align: center;
}
nav ul li a:hover {
    background: #5a5757;
    color: #fff;
}
.hero-bar {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100vw;
    background: linear-gradient(90deg, #f3bda1 0%, #e7a977 100%);
    box-shadow: 0 4px 18px rgba(180,138,120,0.18);
    z-index: 150;
    padding: 24px 0 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* RSVP stránka – samostatné styly */
.rsvp-wrap {
    background: #f5f7fa;
}
.rsvp-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(66,133,244,0.10);
    padding: 32px 32px 24px 32px;
    max-width: 700px;
    width: 95vw;
    border: 1.5px solid #e3eafc;
    margin: 32px auto;
}
.rsvp-wrap h1 {
    color: #4285f4;
    letter-spacing: 1px;
}
.wedding-info {
    display: flex;
    justify-content: center;
    margin: 40px 0 0 0;
}
.wedding-date-place {
    background: rgba(255,255,255,0.85);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 22px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.wedding-date-place .date {
    font-size: 1.5em;
    color: #b48a78;
    font-weight: 600;
}
.wedding-date-place .place {
    font-size: 1.1em;
    color: #7a5c3e;
}
.welcome {
    text-align: center;
    margin-top: 40px;
    font-size: 1.2em;
    color: #333;
    background: rgba(255,255,255,0.7);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 16px;
}
.wedding-photo-wrap {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 6px 32px rgba(0,0,0,0.13);
    z-index: 5;
}
.wedding-photo {
    width: 100vw;
    height: 56vw;
    max-height: 520px;
    min-height: 320px;
    display: block;
    border-radius: 0;
    object-fit: cover;
    object-position: center bottom;
}
.wedding-date-place.photo-overlay {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255,255,255,0.92);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    padding: 18px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 220px;
}
.harmonogram-wrap {
    position: relative;
    z-index: 2;
    background: linear-gradient(120deg, #fff8f0 0%, #f7e3d0 100%);
    max-width: 700px;
    margin: 60px auto 40px auto;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(180,138,120,0.10);
    padding: 36px 28px 28px 28px;
}

    font-style: italic;
    font-size: 1em;
    margin-top: 8px;
}
.harmonogram-list {
    list-style: none !important;
    padding: 0 0 0 0;
    margin: 0 0 24px 0;
    font-size: 1.15em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.harmonogram-list li {
    margin-bottom: 7px;
    padding-left: 0;
    color: #5a5757;
    padding: 18px 20px 12px 20px;
    width: 100%;
    margin: 32px 0 0 0;
    padding: 32px 0;
    border-radius: 10px;
    padding: 4px 10px;
}
.harmonogram-list li strong {
    color: #b48a78;
    min-width: 54px;
    display: inline-block;
    font-size: 1.08em;
}
.harmonogram-list .note {
    color: #8a6a4f;
    font-size: 0.92em;
    font-style: italic;
    margin-left: 8px;
    background: rgba(180,138,120,0.08);
    border-radius: 8px;
    padding: 3px 10px 3px 10px;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.side-photo {
    position: fixed;
    top: 0;
    width: 220px;
    height: 100vh;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.side-photo.left {
    left: 0;
}
.side-photo.right {
    right: 0;
}
.side-photo img {
    max-width: 180px;
    max-height: 80vh;
    border-radius: 32px;
    opacity: 0.92;
    box-shadow: 0 4px 32px rgba(180,138,120,0.13);
    object-fit: cover;
}

/* Moderní galerie – malé obrázky v gridu, zaoblené, s efektem na hover */
.gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 18px 14px;
    margin: 32px auto 24px auto;
    max-width: 100%;
    padding: 0 10px;
    justify-content: center;
}
.gallery img {
    width: 98% !important;
    height: auto !important;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center bottom;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(180,138,120,0.10);
    border: 2px solid #fff;
    background: #fff;
    transition: transform 0.22s, box-shadow 0.22s, border-radius 0.22s, border 0.22s;
    cursor: pointer;
}
.gallery img:hover {
    transform: scale(1.12);
    box-shadow: 0 10px 32px rgba(180,138,120,0.18);
    border-radius: 24px;
    border: 2.5px solid #5a5757;
}

@media (max-width: 1100px) {
    .side-photo { display: none; }
}
@media (max-width: 700px) {
    nav { top: 0; }
    .hero-bar { top: 48px; padding: 14px 0 10px 0; }
    .countdown-side { top: 48px; right: 5px; font-size: 0.8em; padding: 5px 8px; }
    body { padding-top: 110px; }
    .wedding-photo-wrap {
        max-width: 98vw;
        margin: 30px auto 0 auto;
    }
    .wedding-date-place.photo-overlay {
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
        padding: 12px 16px;
        min-width: 0;
    }

