:root {
    --primary-color: #ff7f7f;
    --secondary-color: #fff0f0;
    --accent-color: #cc6666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: var(--secondary-color);
    color: #333;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

.floral-border {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg ...>'); /* Add floral SVG pattern */
    pointer-events: none;
    opacity: 0.1;
    z-index: 1;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.lang-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.lang-btn.active {
    background: var(--accent-color);
    transform: scale(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
}

.title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-family: 'Dancing Script', cursive;
    animation: fadeIn 1s ease-in;
}

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    height: 60vh;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.carousel-btn {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

.message-container {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    animation: slideUp 1s ease-out;
}

.message {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.hearts {
    font-size: 2rem;
    color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.footer{
    padding: 2rem;
    display: flex;
    justify-content: center;
    background-color: #cc6666;
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    font-family: 'Dancing Script', cursive;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
    }  
    .title {
        font-size: 2rem;
    }
    
    .message {
        font-size: 1rem;
    }
}
@media(min-width : 768px){
    .carousel-item{
        height: 70vh;
    }
    .carousel-inner img:nth-child(2),.carousel-inner img:nth-child(3){
        object-position: 0 25%;
    }
}