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

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 50vh;
    overflow-x: hidden;
    position: relative;
    color: black;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./images/background.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0.7, 0.2),
        rgba(0, 0, 0.7, 0.1)
    );
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.9);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.countdown {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

        .countdown-item span:first-child {
            font-size: 3.5rem;
            font-weight: bold;
            color: #000;
            text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
        }
        
        .countdown-item .label {
            font-size: 1rem;
            color: #000;
            margin-top: 0.5rem;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
        }

.site-header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 1.5rem;
    width: 100%;
    max-width: 800px;
}

        .main-title {
            font-family: 'Playfair Display', serif;
            font-size: 4rem;
            font-weight: 700;
            color: #000;
            text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3);
            margin-bottom: 1rem;
            letter-spacing: 2px;
        }

.main-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

        .nav-link {
            color: #000;
            text-decoration: none;
            font-size: 1.2rem;
            font-weight: 300;
            padding: 0.5rem 1rem;
            border-radius: 25px;
            transition: all 0.3s ease;
            text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
        }

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.content-frame {
    width: 100%;
    height: calc(100vh - 200px);
    margin-top: 2rem;
    overflow: hidden;
}

.content-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

.registry-frame {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
}

.registry-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .countdown {
        flex-wrap: wrap;
        justify-content: center;
        padding: 1rem;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-item span:first-child {
        font-size: 2.5rem;
    }
    
    .carousel {
        height: 300px;
    }
} 