* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Great Vibes', cursive;
    background-color: #d9c9d9;
    color: #800080;
        font-size: 1.8rem;
    
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    overflow-x: hidden;
}

#parallax-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 100%;
    padding: 20px;
}
a {
    color: #800080;
    text-decoration: none;
}
header {
    text-align: center;
    padding: 120px 20px 40px;
    position: relative;
    background: url('images/couple.jpg') center top/cover no-repeat;
    color: #800080;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.lang-switch {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.1rem;
}

.lang-switch .active {
    color: #800080;
}

.lang-switch a {
    color: #800080;
    text-decoration: none;
    opacity: 0.7;
}

.lang-switch a:hover {
    color: #800080;
    opacity: 1;
}

section {
    margin-bottom: 10px;
    padding: 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #000;
    border-bottom: 1px solid #800080;
    padding-bottom: 10px;
    font-family: 'Great Vibes', cursive;
}

.location {
    text-align: center;
}

.location p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.location a {
    display: block;
    margin-bottom: 20px;
}

.location img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.schedule ul {
    list-style: none;
}

.schedule li {
    padding: 15px;
    margin-bottom: 10px;
    background: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.schedule .time {
    color: #800080;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.countdown-item {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    min-width: 65px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.countdown-item span {
    display: block;
    font-size: 1.6rem;
    color: #800080;
    text-align: center;
}

.countdown-item p {
    margin-top: 10px;
    opacity: 0.8;
    text-align: center;
}

.carousel-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slides {
    display: flex;
    list-style: none;
    gap: 2vw;
    flex-wrap: nowrap;
    width: 1768vw;
    animation: auto-scroll 30s linear infinite;
    -webkit-animation: auto-scroll 30s linear infinite;
}

.carousel-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50vh;
    width: 50vw;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.carousel-slides li {
    flex: 0 0 auto;
}

.carousel-image-wrapper img {
    object-position: center;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    display: block;
}

@-webkit-keyframes auto-scroll {
    0% { -webkit-transform: translateX(0); }
    100% { -webkit-transform: translateX(-50%); }
}

@keyframes auto-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.wishes p {
    font-size: 1.8rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 15px;
    text-align: center;
}

.wishes .sign-off {
    margin-top: 25px;
    font-style: italic;
}

.contact-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    min-width: 200px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.contact-item p {
    font-size: 1.2rem;
}

.contact-item a {
    color: #800080;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-item .whatsapp {
    color: #25D366;
}

.contact-item .whatsapp:hover {
    text-decoration: none;
    opacity: 0.8;
}


@media (min-width: 768px) {
    .carousel-slides {
        animation-duration: 30s;
        -webkit-animation-duration: 30s;
    }
    header h1 {
        font-size: 3rem;
    }
    .countdown-item {
        min-width: 120px;
    }
    .countdown-item span {
        font-size: 3rem;
    }
    .carousel-image-wrapper {
        height: 80vh;
    }
}
