body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;

    /* Background settings Test*/
    background: url('https://www.colourfuljourneys.co.uk/media/cjbackground.png') no-repeat center center fixed;
    background-size: cover; /* Ensures full coverage without gaps */
    background-color: #d5e1e1; /* Fallback color for loading or gaps */
}



/* Header */
header {
    background: rgba(64, 224, 208, 0.6); /* Semi-transparent background */
    color: white;
    text-align: center;
    padding: 1.3rem 0; /* Reduced padding to shrink height */
    border-bottom: 2px solid #ff7f50; /* Optional: Adds a subtle border for separation */
}

header .logo {
    max-width: 200px; /* Shrink the logo to match the smaller header */
    height: auto;
    margin-bottom: 0.5rem;
}

header p {
    font-size: 1rem; /* Adjust font size for the reduced header */
    margin: 0;
}

/* Main Content */
main {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #fff;
}

section {
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ff7f50;
}

/* Highlights Section */
ul {
    list-style: disc;
    margin: 1rem 0 0 1.5rem;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    align-self: flex-start;
    background: #ff7f50;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #ff5722;
}

/* Under Construction Section */
#under-construction {
    text-align: center;
    margin: 2rem 0;
}

.construction-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent background for readability */
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.construction-image {
    max-width: 80px; /* Adjust as needed for the image size */
    height: auto;
    border-radius: 4px; /* Optional: Adds slightly rounded corners to the image */
}

.construction-box p {
    margin: 0;
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 100px;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
}

.modal-content h2 {
    margin-top: 0;
}



form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form label {
    font-weight: bold;
}

form input,
form textarea {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    align-self: flex-start;
    background: #ff7f50;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

form button:hover {
    background: #ff5722;
}

/* Product Showcase */
#product-showcase .product {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap; /* Allows wrapping for mobile adjustment */
}

#product-showcase .product img {
    max-width: 200px;
    border-radius: 5px;
    flex-shrink: 0; /* Prevents image from shrinking in small spaces */
}

#product-showcase .product-details {
    flex: 1;
}

#product-showcase .product-details h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
}

#product-showcase .product-details p {
    margin: 0 0 1rem;
    line-height: 1.6;
}

#product-showcase .button {
    display: inline-block;
    background: #ff7f50;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
}

#product-showcase .button:hover {
    background: #ff5722;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    #product-showcase .product {
        flex-direction: column; /* Stacks items vertically */
        text-align: center; /* Centers text and content */
    }

    #product-showcase .product img {
        margin-bottom: 1rem; /* Adds spacing below the image */
        max-width: 100%; /* Adjusts to full width on smaller screens */
    }

    #product-showcase .product-details {
        text-align: center; /* Aligns product details in the center */
    }
}

/* Amazon Buttons */
.amazon-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.flag-button {
    display: inline-block;
    width: 60px; /* Adjust width to accommodate rectangular flags */
    height: 40px; /* Match the height of the rectangular flags */
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    transition: transform 0.2s, border-color 0.3s;
    overflow: hidden;
    text-align: center;
}

.flag-button img {
    width: 100%; /* Allow the image to scale proportionally */
    height: auto; /* Maintain the flag's aspect ratio */
    display: block; /* Prevent inline spacing issues */
}

.flag-button:hover {
    transform: scale(1.1); /* Slightly enlarge on hover */
    border-color: #ff5722; /* Highlight on hover */
}

/* Support Message Box */
#support-message {
    text-align: center;
    margin: 2rem 0;
}

.message-box {
    display: inline-block;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white for readability */
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
}

.message-box p {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}


/* Footer */
footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem 0;
}

.footer-box {
    display: inline-block; /* Makes the box wrap tightly around the text */
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white box */
    border: 1px solid #ccc; /* Adds a subtle border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional subtle shadow */
}

footer p {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
}
