/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Barvy podle barvy.jpg */
:root {
    --inkwell: #3C3838;
    --lunar-eclipse: #3F4E4F;
    --creme-brulee: #A27B58;
    --au-lait: #DCD7C9;
    --white: #FFFFFF;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--inkwell);
    line-height: 1.6;
    background-color: var(--au-lait);
    margin: 0;
    padding: 0;
}

/* Uvítací banner */
.welcome-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(220, 215, 201, 0.6);
    backdrop-filter: blur(3px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 0;
    visibility: hidden;
}

.welcome-banner.show {
    opacity: 1;
    visibility: visible;
}

.welcome-banner.hidden {
    opacity: 0;
    visibility: hidden;
}

.welcome-content {
    max-width: 900px;
    padding: 60px 40px;
    text-align: center;
}

.welcome-text {
    font-size: 2rem;
    color: var(--inkwell);
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 40px;
}

.welcome-hint {
    font-size: 0.9rem;
    color: var(--creme-brulee);
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

h1, h2, h3 {
    font-family: 'Aboreto', serif;
    font-weight: 400;
}

/* Jména nad menu */
.top-names {
    background-color: var(--white);
    padding: 30px 40px 20px;
    text-align: center;
}

.top-names h1 {
    font-family: 'Aboreto', serif;
    font-size: 2rem;
    color: var(--lunar-eclipse);
    letter-spacing: 3px;
    font-weight: 400;
    margin: 0;
}

/* Navigace */
.navbar {
    background-color: var(--white);
    padding: 20px 20px 20px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-mobile {
    display: none;
    align-items: center;
    gap: 15px;
}

.logo {
    font-family: 'Aboreto', serif;
    font-size: 1.8rem;
    color: var(--creme-brulee);
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 3px;
    transition: color 0.3s;
}

.logo:hover {
    color: var(--inkwell);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--inkwell);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--creme-brulee);
}

.btn-cta {
    background-color: var(--creme-brulee);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 80px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}

.btn-cta:hover {
    background-color: var(--inkwell);
    transform: translateY(-2px);
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--inkwell);
    transition: all 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.btn-cta-mobile {
    background-color: var(--creme-brulee);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 80px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    display: none;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    max-height: 400px;
}

.mobile-menu a {
    padding: 15px 20px;
    color: var(--inkwell);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    border-bottom: 1px solid var(--au-lait);
    transition: background-color 0.3s;
}

.mobile-menu a:hover {
    background-color: var(--au-lait);
}

/* Hero sekce s fotkou */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.85) contrast(1.1) sepia(0.3) saturate(0.9);
}

/* Specifické fotky - posunout dolů aby byly vidět obličeje */
.hero-carousel-image:nth-child(3) { /* 1_PHOTO */
    object-position: center 65%;
}

.hero-carousel-image:nth-child(6) { /* 4_PHOTO */
    object-position: center 65%;
}

.hero-carousel-image:nth-child(8) { /* 6_PHOTO */
    object-position: center 65%;
}

.hero-carousel-image:nth-child(10) { /* 8_PHOTO */
    object-position: center 65%;
}

.hero-carousel-image:nth-child(14) { /* 12_PHOTO */
    object-position: center 65%;
}

.hero-carousel-image:nth-child(15) { /* 13_PHOTO */
    object-position: center 65%;
}

/* Carousel - skrytý na desktopu */
.hero-carousel {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-carousel-image.active {
    opacity: 1;
    z-index: 1;
}

/* Carousel tlačítka */
.hero-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 3rem;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    line-height: 1;
}

.hero-carousel-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-carousel-prev {
    left: 20px;
}

.hero-carousel-next {
    right: 20px;
}

/* Carousel dots */
.hero-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-carousel-dot.active {
    background: rgba(255, 255, 255, 1);
}

/* Statická fotka viditelná na desktopu */
.hero-image-static {
    display: block;
}

/* Text overlay na fotce */
.hero-overlay {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    text-align: center;
    z-index: 2;
}

.hero-text {
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 1px;
    font-weight: 300;
    line-height: 2;
    margin: 0 auto;
}

/* Odpočet a info sekce - šedé pozadí jako na předloze */
.countdown-info-section {
    background-color: #F3F3F1;
    padding: 60px 20px 80px;
}

/* Odpočet v bílém boxu */
.countdown-box {
    background-color: var(--white);
    padding: 30px 60px 50px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 1300px;
    margin: -100px auto 100px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.countdown-box h2 {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.5px;
    font-family: 'Aboreto', serif;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--inkwell);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.countdown-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #666666;
    margin-top: 10px;
    font-weight: 400;
    text-transform: capitalize;
}

.countdown-separator {
    font-size: 3rem;
    color: var(--inkwell);
    font-weight: 300;
    margin: 0 10px;
    align-self: flex-start;
}

/* Informační kartičky pod odpočtem */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 40px;
}

.info-item {
    text-align: center;
}

.info-icon {
    font-size: 46px;
    color: var(--lunar-eclipse);
    margin-bottom: 20px;
}

.info-icon-image img {
    width: 60px;
    height: 60px;
    filter: invert(25%) sepia(10%) saturate(500%) hue-rotate(140deg) brightness(90%);
}

.info-item h3 {
    font-family: 'Aboreto', serif;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 12px;
    color: var(--inkwell);
    font-weight: 400;
}

.info-item p {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 5px;
    line-height: 1.5;
}

.info-sub {
    font-size: 0.85rem;
    color: #999999;
    line-height: 1.4;
}

/* Tlačítko pod kartičkami */
.info-button {
    text-align: center;
}

.btn-info {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--white);
    color: var(--inkwell);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 0;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.btn-info:hover {
    background-color: var(--inkwell);
    color: var(--white);
}

/* O nás sekce */
.about {
    background-color: var(--white);
    padding: 100px 40px;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--inkwell);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.about-text p {
    font-size: 1rem;
    color: var(--lunar-eclipse);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Tlačítka */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 80px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--creme-brulee);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--inkwell);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--creme-brulee);
    border: 2px solid var(--creme-brulee);
}

.btn-secondary:hover {
    background-color: var(--creme-brulee);
    color: var(--white);
}

/* CTA sekce */
.cta-section {
    background-color: var(--lunar-eclipse);
    padding: 100px 40px;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--au-lait);
    margin-bottom: 40px;
}

/* Galerie */
.gallery {
    background-color: var(--au-lait);
    padding: 100px 40px;
}

.gallery h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--inkwell);
    margin-bottom: 60px;
    letter-spacing: 3px;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Kontakt */
.contact {
    background-color: var(--white);
    padding: 100px 40px;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    color: var(--inkwell);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.contact p {
    font-size: 1rem;
    color: var(--lunar-eclipse);
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--au-lait);
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--inkwell);
    background-color: var(--white);
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--creme-brulee);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: 20px;
}

/* Footer */
footer {
    background-color: var(--inkwell);
    color: var(--au-lait);
    text-align: center;
    padding: 40px 20px;
}

footer p {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Password Page */
.password-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--au-lait);
}

.password-container {
    width: 100%;
    max-width: 450px;
    padding: 0 20px;
}

.password-box {
    background: var(--white);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.password-box h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.password-heart {
    margin-bottom: 5px;
    margin-top: -20px;
    width: 100%;
}

.password-heart img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
}

.password-box h2 {
    font-family: 'Aboreto', serif;
    color: var(--creme-brulee);
    margin-bottom: 20px;
    font-size: 2rem;
    letter-spacing: 2px;
}

.password-box p {
    color: var(--lunar-eclipse);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.password-box input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid var(--au-lait);
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.password-box input:focus {
    outline: none;
    border-color: var(--creme-brulee);
}

.password-box button {
    width: 100%;
    padding: 15px;
    background-color: var(--creme-brulee);
    color: white;
    border: none;
    border-radius: 80px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.password-box button:hover {
    background-color: var(--inkwell);
}

.error {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 15px;
}

/* Stránka svatba.html */
.svatba-hero {
    background-color: var(--lunar-eclipse);
    padding: 150px 40px 100px;
    text-align: center;
    margin-top: 72px;
}

.svatba-hero-content h1 {
    font-family: 'Aboreto', serif;
    font-size: 4rem;
    color: var(--au-lait);
    font-weight: 400;
    line-height: 1.3;
}

.svatba-info {
    background-color: var(--white);
    padding: 80px 40px;
}

.svatba-container {
    max-width: 1200px;
    margin: 0 auto;
}

.svatba-container h2 {
    font-family: 'Aboreto', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--inkwell);
}

.svatba-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.svatba-info-item h3 {
    font-family: 'Aboreto', serif;
    font-size: 1.5rem;
    color: var(--creme-brulee);
    margin-bottom: 15px;
}

.svatba-info-item p {
    color: var(--inkwell);
    line-height: 1.8;
    margin-bottom: 8px;
}

.svatba-info-item p strong {
    font-weight: 600;
}

.svatba-program {
    background-color: #F3F3F1;
    padding: 80px 40px;
}

.program-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.program-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #DCD7C9;
}

.program-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.program-time {
    font-family: 'Aboreto', serif;
    font-size: 2rem;
    color: var(--creme-brulee);
    font-weight: 400;
}

.program-content h3 {
    font-family: 'Aboreto', serif;
    font-size: 1.5rem;
    color: var(--inkwell);
    margin-bottom: 10px;
}

.program-content p {
    color: #666666;
    line-height: 1.8;
}

.svatba-ubytovani {
    background-color: var(--au-lait);
    padding: 80px 40px;
}

.svatba-ubytovani p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--inkwell);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.svatba-misto {
    background-color: var(--lunar-eclipse);
    padding: 80px 40px;
}

.svatba-misto h2 {
    color: var(--au-lait);
}

.mapa-container {
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mapa-container iframe {
    width: 100%;
    height: 450px;
    display: block;
}

/* Scroll offset pro sticky navigaci */
section[id] {
    scroll-margin-top: 80px;
}

/* Stránka příběhu */
.pribeh-content {
    background-color: var(--white);
    padding: 100px 40px;
}

.pribeh-container {
    max-width: 900px;
    margin: 0 auto;
}

.pribeh-text h2 {
    font-family: 'Aboreto', serif;
    font-size: 2rem;
    color: var(--creme-brulee);
    margin-bottom: 20px;
    margin-top: 50px;
}

.pribeh-text h2:first-child {
    margin-top: 0;
}

.pribeh-text p {
    font-size: 1.1rem;
    color: var(--inkwell);
    line-height: 2;
    margin-bottom: 30px;
}

/* Responzivní design */
@media (max-width: 1200px) {
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .info-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .svatba-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .program-item {
        grid-template-columns: 100px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Hero carousel aktivní na mobilu */
    .hero-image-static {
        display: none;
    }

    .hero-carousel {
        display: block;
    }


    .hero-carousel-btn {
        font-size: 2rem;
        padding: 5px 15px;
    }

    .hero-carousel-prev {
        left: 10px;
    }

    .hero-carousel-next {
        right: 10px;
    }

    .hero-carousel-dots {
        bottom: 20px;
    }

    .hero-carousel-dot {
        width: 10px;
        height: 10px;
    }

    .welcome-text {
        font-size: 1.4rem;
    }

    .welcome-content {
        padding: 40px 30px;
    }

    /* Password page responsive */
    .password-page {
        padding: 0;
        margin: 0;
    }

    .password-container {
        padding: 0 15px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .password-box {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    .password-heart {
        margin-top: -10px;
        margin-bottom: 10px;
    }

    .password-heart img {
        max-width: 250px;
    }

    .password-box h2 {
        font-size: 1.5rem;
    }

    .password-box p {
        font-size: 0.9rem;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-desktop {
        display: none;
    }

    .nav-mobile {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .btn-cta-mobile {
        display: inline-block;
    }


    .hero {
        height: 50vh;
        min-height: 400px;
    }

    .top-names h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .top-names {
        padding: 20px 30px 15px;
    }

    .hero-text {
        font-size: 1.2rem;
        padding: 30px 40px;
    }

    .countdown-box {
        padding: 40px 30px;
    }

    .countdown-box h2 {
        font-size: 1.1rem;
    }

    .countdown {
        gap: 8px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
        margin: 0 2px;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .about {
        padding: 80px 20px;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .about-image {
        height: 400px;
    }

    .cta-section {
        padding: 80px 20px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .gallery {
        padding: 80px 20px;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 20px;
    }

    .gallery-item {
        flex: 0 0 85%;
        max-width: 85%;
        scroll-snap-align: center;
    }

    .contact {
        padding: 80px 20px;
    }

    .svatba-hero-content h1 {
        font-size: 2.8rem;
    }

    .svatba-hero {
        padding: 120px 20px 80px;
    }

    .svatba-info,
    .svatba-program,
    .svatba-misto {
        padding: 60px 20px;
    }

    .svatba-container h2 {
        font-size: 2rem;
    }

    .program-item {
        grid-template-columns: 80px 1fr;
        gap: 20px;
        margin-bottom: 30px;
        padding-bottom: 30px;
    }

    .program-time {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .welcome-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .welcome-content {
        padding: 30px 20px;
    }

    .welcome-hint {
        font-size: 0.75rem;
    }

    .hero {
        height: 40vh;
        min-height: 300px;
    }

    .top-names h1 {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
    }

    .top-names {
        padding: 15px 20px 10px;
    }

    .hero-text {
        font-size: 1rem;
        padding: 25px 30px;
        line-height: 1.8;
    }

    .countdown-box {
        padding: 30px 20px;
    }

    .countdown-box h2 {
        font-size: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .info-icon {
        font-size: 36px;
    }

    .info-icon-image img {
        width: 48px;
        height: 48px;
    }

    .info-item h3 {
        font-size: 1.2rem;
    }

    .about-text h2 {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .gallery h2 {
        font-size: 1.5rem;
    }

    .contact h2 {
        font-size: 1.5rem;
    }

    .svatba-hero-content h1 {
        font-size: 2rem;
    }

    .svatba-hero {
        padding: 100px 15px 60px;
    }

    .svatba-container h2 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .svatba-info,
    .svatba-program,
    .svatba-misto {
        padding: 50px 15px;
    }

    .svatba-info-item h3,
    .program-content h3 {
        font-size: 1.2rem;
    }

    .program-item {
        grid-template-columns: 70px 1fr;
        gap: 15px;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }

    .program-time {
        font-size: 1.2rem;
    }
}

/* Music toggle button */
.music-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--creme-brulee);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0.7;
}

.music-toggle:hover {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.music-icon {
    width: 24px;
    height: 24px;
    color: var(--white);
}

@media (max-width: 768px) {
    .music-toggle {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    .music-icon {
        width: 20px;
        height: 20px;
    }
}
