/* Wedding Invitation Styles */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:wght@400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');

:root {
    --earth-green: #006400; /* Dark Green */
    --earth-brown: #8B4513; /* Saddle Brown */
    --text-color: #A0522D; /* Sienna (slightly lighter brown for text) */
}

html, body {
    height: 100%;
}

body {
    font-family: 'Playfair Display', serif;
    color: var(--text-color);
    background-color: white; /* Fill horizontal blank space with white */
    margin: 0;
    padding: 10px; /* Reduce padding to the body */
    padding-bottom: 20px; /* Add padding to the bottom of the body */
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-y: auto; /* Allow vertical scrolling */
    overflow-x: hidden; /* Hide horizontal overflow */
    position: relative;
    /* Remove previous background gradients */
    /* background-image:
        radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 195, 74, 0.07) 0%, transparent 50%); */
    
    /* Add background image */
    background-image: url('/background.jpg');
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-attachment: fixed; /* Keep background fixed when scrolling */
}

.container {
    text-align: center;
    padding: 20px 15px; /* Reduce top/bottom padding */
    padding-top: 20px; /* Ensure enough space at the top for the title */
    background-color: rgba(255, 255, 255, 0.7); /* 50% transparent white background */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-width: 90%;
    width: 550px;
    margin: 10px; /* Reduce margin top/bottom and center horizontally */
    margin-bottom: 20px; /* Add bottom margin for spacing */
    position: relative;
    z-index: 1; /* Ensure content is above animations */
    border: 3px solid rgba(0, 100, 0, 0.5); /* Dark Green with transparency, bolder */
}


h1 {
    font-family: 'Great Vibes', cursive;
    color: var(--earth-green);
    font-size: 2em; /* Mobile first, further reduced */
    margin-top: 0; /* Ensure no top margin pushes it down */
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    position: relative;
    display: inline-block;
}


h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2em; /* Mobile first, further reduced */
    color: var(--earth-brown);
    margin-top: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

p {
    font-family: 'Playfair Display', serif;
    font-size: 0.95em; /* Mobile first, further reduced */
    line-height: 1.6;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color);
}

.date {
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1.1em; /* Mobile first, further reduced */
    color: var(--earth-green);
    position: relative;
    display: inline-block;
    padding: 5px 15px;
}


.venue {
    margin-top: 15px;
    padding: 10px;
    border-top: 1px dashed rgba(0, 100, 0, 0.5); /* Dark Green with transparency */
    border-bottom: 1px dashed rgba(0, 100, 0, 0.5); /* Dark Green with transparency */
}
.rsvp-section {
    margin-top: 20px; /* Add some space above the RSVP section */
    margin-bottom: 20px; /* Add bottom margin for spacing */
    padding: 20px 15px;
    background-color: rgba(255, 255, 255, 0.7); /* Same as container */
    border-radius: 15px; /* Same as container */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Same as container */
    border: 3px solid rgba(0, 100, 0, 0.5); /* Same as container */
}


.language-toggle {
    margin-top: 25px;
    margin-bottom: 20px; /* Add bottom margin for spacing */
    font-size: 0.9em;
}

.language-toggle a {
    color: var(--earth-green);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 10px;
    border: 1px solid var(--earth-brown);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.language-toggle a:hover {
    background-color: var(--earth-brown);
    color: white; /* White text on hover for contrast */
    text-decoration: none;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    h1 {
        font-size: 3em; /* Reduced */
    }
    h2 {
        font-size: 1.4em; /* Reduced */
    }
    p {
        font-size: 1em; /* Reduced */
    }
    .date {
        font-size: 1.2em; /* Reduced */
    }
    .flower, .leaf, .rose, .tulip {
        width: 40px;
        height: 40px;
    }
    .branch {
        width: 50px;
        height: 50px;
    }
    .vine {
        width: 60px;
        height: 60px;
    }
    .container {
        padding: 20px; /* Reduced */
        width: 600px;
    }
}