@import url('https://fonts.googleapis.com/css2?family=Parisienne&family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,400;0,700;1,400;1,700&family=Playfair+Display:wght@400;700&display=swap');

.romantic-message {
    font-family: 'Merriweather', serif; /* A warm, readable font with style */
    font-size: 1.2em; /* Adjust size as needed */
    color: #d6336c; /* A rich, romantic color */
    line-height: 1.6; /* Improves readability by adjusting the spacing between lines */
    text-align: center; /* Centers the text, adjust as needed for your design */
    margin: 20px 0; /* Adds space around the text */
    font-weight: 400; /* Adjust the weight as needed, Merriweather looks great in normal or bold */
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #fcd2d1, #f2cee6); /* Soft peach to gentle lavender */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-x: hidden;
}


header {
    width: 100%;
    color: white;
    padding: 10px 0;
    background-color: #e78fa1; /* Soft pink for the header */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
}

header h1 {
    font-family: 'Parisienne', cursive;
    font-size: 2.5em;
}

.love-note {
    background-color: rgba(255, 255, 255, 0.8); /* Light background for contrast */
    /* Keep your existing styles, but remove global padding here */
    margin-top: 100px; /* Adjusted to ensure content starts below the fixed header */
    padding: 20px;
    text-align: center;
    max-width: 800px; /* Optional: Control the max width for better readability */
    margin-bottom: 60px; /* Add bottom margin to ensure space at the bottom */
}

.image-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px; /* This creates space between the images */
    margin: 20px 0;
}

.image-gallery img {
    flex: 1;
    max-width: calc(33% - 40px); /* Adjusts based on the gap to ensure 3 images per row */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.love-note h2, .love-note p {
    margin: 10px 0;
    font-size: 1em;
    line-height: 1.4;
    color: #6d4c71; /* Complementary soft color for body text */
}

.love-note h2 {
    font-family: 'Parisienne', cursive;
    font-size: 2em;
    color: #cc7696; /* Deeper shade for headings */
}

.love-note p {
    font-size: 1em;
    line-height: 1.4;
    color: #555;
}

.love-note img {
    width: 80%; /* Adjusted size */
    height: auto;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

/* Adding heart shapes */
.love-note:before, .love-note:after {
    content: "❤";
    font-size: 2em;
    color: #ff4466;
    position: absolute;
    animation: float 5s ease-in-out infinite;
}

.love-note:before {
    top: 10px;
    left: 10px;
}

.love-note:after {
    bottom: 10px;
    right: 10px;
}

.reasons-container p {
    font-size: 1em;
    line-height: 1.4;
    color: #6d4c71; /* Complementary soft color for body text */
}

.reasons-container button {
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    color: #ffffff; /* Keeps text color white for contrast */
    background-color: #cc7696; /* More vibrant pink */
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Slightly deeper shadow for pop effect */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transitions for interaction */
}

.reasons-container button:hover, .reasons-container button:focus {
    background-color: #DF80BD; /* Darker shade on hover/focus for feedback */
    transform: scale(1.05); /* Slightly enlarges the button on hover/focus */
    outline: none; /* Removes the outline to keep the design clean */
}

.signature {
    font-family: 'Playfair Display', serif;
    font-size: 1.4em;
    color: #d6336c;
    display: block; /* Change to block-level for margin to apply as expected */
    font-weight: 700;
    line-height: 1.6;
    margin-top: 50px; /* Adjust this as needed */
}



/* Simple floating animation for hearts */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .love-note {
        width: 90%;
    }
    header h1 {
        font-size: 2em;
    }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .image-gallery img {
        max-width: calc(50% - 40px); /* Adjust to show 2 images per row on smaller screens */
    }
}

@media (max-width: 480px) {
    .image-gallery img {
        max-width: 100%; /* Adjust to show 1 image per row on very small screens */
    }
}
