/* Couple Name Styles */
.ww-couple-name {
    font-family: 'Parisienne', cursive; /* Font style for couple name */
    font-size: 70px; /* Main size */
    font-weight: 600; /* Boldness */
    text-align: center; /* Center align */
    color: #fff; /* White color for visibility */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
    margin-bottom: 10px; /* Space below */
}

/* Wedding Date Styles */
.wedding-date {
    font-family: 'Great Vibes', cursive; /* Font style for wedding date */
    font-size: 3rem; /* Size of wedding date text */
    font-weight: 500; /* Normal boldness */
    text-align: center; /* Center align */
    color: #fff; /* White color for visibility */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Shadow for depth */
    margin-top: 20px; /* Space above */
}

/* Save the Date Image Styles */
.save-date-image {
    max-width: 80%; /* Responsive width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures the image is treated as a block element */
    margin: 20px auto; /* Center the image horizontally */
}

/* General Image Styles */
.img-fluid {
    max-width: 50%; /* Adjust this percentage as needed */
    height: auto; /* Maintain aspect ratio */
}

/* Home Page Styles */
.ww-home-page {
    background: url("../images/car.jpg") no-repeat center center;
    background-size: cover; /* Cover the entire viewport */
    height: 100vh; /* Full viewport height */
    position: relative; /* To contain the absolute positioning of the overlay */
}

.ww-home-page .ww-wedding-announcement {
    width: 100%;
    max-width: 1200px; /* Set maximum width for larger screens */
    margin: 0 auto; /* Center horizontally */
    height: 100%; /* Full height to center content */
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
    letter-spacing: 2px;
    padding: 20px; /* Padding for better spacing */
    text-align: center; /* Center align for all devices */
    display: flex; /* Enable flexbox for vertical centering */
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center vertically */
}

/* Announcement Container */
.ww-home-page .ww-wedding-announcement .ww-announcement-container {
    max-width: 600px;
    margin: 0 auto; /* Center the container */
    z-index: 999;
}

.ww-home-page .ww-wedding-announcement img {
    max-height: 350px;
    width: auto; /* Maintain aspect ratio */
}

/* Countdown Styles */
.countdown-container {
    text-align: center;
    margin-top: 20px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between countdown items */
    flex-wrap: wrap; /* Allow items to wrap */
}

.countdown-item {
    background-color: #efefef;
    padding: 8px 10px; /* Reduced padding for smaller items */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1; /* Allow items to grow */
    min-width: 100px; /* Minimum width for countdown items */
    max-width: 130px; /* Maximum width to maintain style */
    text-align: center; /* Center text within items */
}

.countdown-number {
    font-size: 1.5em; /* Reduced size for countdown numbers */
    font-weight: bold;
    color: #e91e63; /* Heart color */
}

.countdown-label {
    font-size: 0.9em; /* Reduced size for countdown labels */
    color: #555;
}

.hearts {
    font-size: 1.2em; /* Reduced size for hearts */
    margin-top: 10px;
}

/* Overlay Styles */
.ww-home-page:before {
    content: "";
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay */
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 998; /* Ensure the overlay sits above background */
}

/* Scroll Down Arrow Styles */
.scroll-down {
    margin-top: 30px; /* Space above the arrow */
    text-align: center; /* Center the arrow */
    animation: bounce 2s infinite; /* Bounce animation */
}

.scroll-down i {
    font-size: 30px; /* Size of the arrow */
    color: #fff; /* Color matching the theme */
    transition: color 0.3s; /* Smooth color transition */
}

.scroll-down:hover i {
    color: #fff; /* Darker shade on hover */
}

/* Bounce Animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px); /* Bounce up */
    }
    60% {
        transform: translateY(-5px); /* Bounce down */
    }
}


/* Responsive Adjustments */
@media (max-width: 1200px) {
    .ww-home-page .ww-wedding-announcement img {
        max-height: 300px; /* Adjust image size for medium screens */
    }

    .ww-home-page .ww-wedding-announcement .ww-couple-name {
        font-size: 60px; /* Reduce size for smaller screens */
    }

    .ww-home-page .ww-wedding-announcement .wedding-date {
        font-size: 2.5rem; /* Reduce date size */
    }
}

@media (max-width: 992px) {
    .ww-home-page .ww-wedding-announcement img {
        max-height: 250px; /* Adjust image size for smaller screens */
    }

    .ww-home-page .ww-wedding-announcement {
        padding: 10px; /* Less padding for medium screens */
    }

    .countdown-item {
        flex: 1 1 45%; /* Allow countdown items to take up 45% width */
    }
}

@media (max-width: 768px) {
    .ww-home-page {
        background: url("../images/car-mobile.jpg") no-repeat center center; /* Change background image for mobile */
        background-size: cover; /* Ensure the background covers the area */
    }

    .ww-home-page .ww-wedding-announcement {
        padding: 10px; /* Adjust padding for smaller screens */
        text-align: center; /* Center align text for mobile */
    }

    .ww-home-page .ww-wedding-announcement .ww-couple-name {
        font-size: 50px; /* Reduce size for smaller screens */
    }

    .countdown-item {
        flex: 1 1 100%; /* Full width countdown items on small screens */
    }
}

@media (max-width: 576px) {
    .ww-home-page .ww-wedding-announcement .ww-couple-name {
        font-size: 40px; /* Further reduce for very small screens */
    }

    .ww-home-page .ww-wedding-announcement .wedding-date {
        font-size: 2rem; /* Further reduce for very small screens */
    }

    .countdown-item {
        margin-bottom: 10px; /* Space between stacked items */
    }

    .countdown-number {
        font-size: 1.3em; /* Smaller number size for very small screens */
    }
}

@media (max-width: 360px) {
    .ww-home-page .ww-wedding-announcement .ww-couple-name {
        font-size: 35px; /* Reduce for very small mobile screens */
    }

    .countdown-number {
        font-size: 1em; /* Further reduce number size for tiny screens */
    }

    .countdown-label {
        font-size: 0.8em; /* Smaller label size */
    }

    .hearts {
        font-size: 1em; /* Adjust heart size */
    }
}
