/* Scrolling Message */
.scrolling-message {
    background-color: #fff; /* White background */
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: fixed; /* Fix the message at the top */
    top: 0; /* Position at the top */
    left: 0;
    z-index: 1000; /* Ensure it's above other elements */
}

.scroll-text {
    color: #000; /* Black text color */
    font-size: 0.9em; /* Small font size */
    display: inline-block;
    padding-left: 100%; /* Start off-screen */
    animation: scroll-text 15s linear infinite; /* Medium scrolling speed */
    white-space: nowrap; /* Prevent text from wrapping */
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%); /* Start from the right */
    }
    100% {
        transform: translateX(-100%); /* Move to the left */
    }
}

/* Duplicate the text for seamless scrolling */
.scroll-text::after {
    content: " " attr(data-text); /* Add a space and duplicate the text */
    display: inline-block;
    padding-left: 20px; /* Add space between repetitions */
}

/* Adjust body padding to prevent content from being hidden behind the fixed message */
body {
    padding-top: 40px; /* Add padding to the top of the body */
    font-family: Arial, sans-serif;
    background: linear-gradient(to bottom, #4B0082, #808080); /* Dark purple to grey gradient */
    margin: 0;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    min-height: 100vh;
}

/* Home Button */
.home-button {
    position: absolute; /* Position it at the top-left */
    top: 60px; /* Adjusted to account for the scrolling message */
    left: 20px;
    padding: 10px 20px;
    background-color: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #25D366;
}

/* Welcome Heading */
.welcome-heading {
    font-size: 3em; /* Big font size */
    color: #fff; /* White color for better contrast */
    margin: 20px 0 10px; /* Spacing around the heading */
    text-align: center;
}

/* Store Container */
.store-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
}

.product {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-10px);
}

.product img {
    max-width: 100%;
    border-radius: 10px;
}

.product h3 {
    font-size: 1.5em;
    margin: 15px 0 10px;
}

.product p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

/* Contact Icons */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between icons */
    margin-top: 15px;
}

.contact-icons .icon {
    width: 30px; /* Adjust size as needed */
    height: 30px;
    transition: transform 0.3s ease;
}

.contact-icons .icon:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* WhatsApp and Messenger Pop-up Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
    z-index: 1000; /* Ensure it's above other elements */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.chat-buttons {
    display: flex;
    gap: 10px; /* Space between buttons */
    justify-content: center;
}

.whatsapp-link {
    display: inline-block;
    background-color: #25D366; /* WhatsApp green */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.whatsapp-link:hover {
    background-color: #128C7E; /* Darker green on hover */
}

.messenger-link {
    display: inline-block;
    background-color: #0084FF; /* Messenger blue */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.messenger-link:hover {
    background-color: #0066CC; /* Darker blue on hover */
}

#close-popup {
    display: block;
    margin: 10px auto 0;
    background-color: #ccc;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

#close-popup:hover {
    background-color: #bbb;
}