/* General Styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column; /* Ensures the footer stays at the bottom of the page */
    background-color: #f4f9ffd5; /* Light blue background */
    color: #00aeff; /* Black text */
}

/* Header styles */
header {
    display: flex; /* Enables Flexbox */
    align-items: center; /* Vertically aligns content */
    justify-content: space-between; /* Space between the logo and other items */
    padding: 10px 20px;
    background-color: #ffffff; /* Optional: Header background color */
    border-bottom: 1px solid #ccc; /* Optional: Subtle bottom border */
    position: sticky; /* Makes the header sticky at the top */
    top: 0;
    z-index: 1000; /* Ensures the header is above other content */
    height: 60px; /* Set a fixed height for the header */
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('images/hero.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Dark blue overlay */
}
.hero-content {
    position: relative;
    padding: 20px 40px;
    z-index: 1;
}
.hero h1 {
    font-size: 3rem;
    margin: 0;
}
.hero p {
    font-size: 1.5rem;
    margin: 10px 0;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.2rem;
    color: white;
    background-color: #007BFF; /* Deep Royal Blue */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
}
.cta-button:hover {
    background-color: #0056b3;
}
.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center; /* Ensures text alignment inside the container */
}

/* Ensure the product-page takes the full height */
.product-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Logo styles */
header img {
    height: 40px; /* Adjust height to fit your design */
    cursor: pointer;
}

.cart-icon {
    width: 40px; /* Adjust width */
    height: 40px; /* Adjust height to maintain square aspect ratio */
    display: inline-block; /* Ensure it aligns with other nav items */
    vertical-align: middle; /* Center it vertically */
    transition: transform 0.2s ease; /* Optional: Add hover effect */
}

/* Header title styles */
header h1 {
    flex: 1; /* Allows the title to occupy space between logo and nav */
    text-align: left; /* Centers the title */
    margin: 10px; /* Remove default margin */
    font-size: 1.5rem; /* Adjust font size */
    color: #237bff; /* Text color */
    font-weight: bold;
    cursor: pointer; /* Indicates it's clickable */
}

/* Center text in the landing page */
.landing-page {
    display: flex; /* Use Flexbox for alignment */
    justify-content: center; /* Centers content horizontally */
    align-items: center; /* Centers content vertically */
    text-align: center; /* Ensures text alignment inside the flex container */
    height: 25vh; /* Makes the landing page take up the full height of the viewport */
    background-color: #f4f9ffd5; /* Optional: Add a light background color for style */
    color: #000000; /* Optional: Set text color */
    margin-bottom: 0px; /* Adjust this value to reduce spacing */
    margin-top: 0px; /* Adjust this value to increase spacing */
}

.landing-page h1 {
    margin-bottom: 20px; /* Adjust this value to control spacing below the heading */
}

/* Centering the product showcase section */
.product-showcase {
    display: flex; /* Enables Flexbox */
    flex-direction: column; /* Stacks text and image vertically */
    justify-content: center; /* Centers vertically */
    align-items: center; /* Centers horizontally */
    height: auto; /* Makes the section take the full height of the viewport */
    text-align: center; /* Centers the text inside the container */
    background-color: #f4faff; /* Optional: Add a background color */
    color: #000; /* Optional: Text color */
}

.product-showcase h2 {
    margin-bottom: 10px; /* Adjust this value to reduce spacing */
}

.product-showcase a {
    text-decoration: none;
    color: inherit;
}

/* Styling the image */
.product-showcase img {
    width: 300px; /* Limits the maximum width of the image */
    height: 300px; /* Maintains the aspect ratio */
    margin-top: 20px; /* Adds space between the text and the image */
    object-fit: cover; /* Ensures the image fills the container without distortion */
    border-radius: 10px; /* Optional: Adds rounded corners to the image */
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.product-showcase p {
    margin-top: 10px; /* Adjust this value to control spacing */
    margin-bottom: 40px; /* Adjust this value to control spacing */
    font-size: 1.2rem;
    color: #000000;
}

.product-details img {
    width: 400px;
    height: 400px;
    object-fit: cover; /* Adjust size for the details page */
}

.product-images img {
    max-width: 100%;
    height: auto;
    width: 300px; /* Set the desired width */
    height: 300px; /* Set the desired height to make it a square */
    object-fit: cover; /* Ensures the image covers the area without distortion */
    margin: 10px; /* Optional: Add margin between images */
    border-radius: 10px; /* Optional: Adds rounded corners to the image */
}

header nav a {
    text-decoration: none;
    color: #77c9f8;
    font-size: 1rem;
    font-weight: bold;
    margin: 10px;
    transition: color 0.3s;
}

header nav a:hover {
    color: #a7dcff; /* Darker Blue on hover */
}

nav a:hover .cart-icon {
    transform: scale(1.15); /* Optional: Slight zoom on hover */
}

/* Ensure links in the header always look the same */
header a:link, 
header a:visited {
    text-decoration: none; /* Removes the underline */
    color: #68c3ff; /* Black text color */
    font-weight: bold; /* Ensures consistent weight */
    transition: color 0.3s; /* Optional: Smooth transition on hover */
}

header a:hover {
    color: #68c3ff; /* Optional: Changes color when hovered over */
}


main {
    flex: 1; /* Allows the main content to take up the remaining space */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Buttons */
button {
    background: linear-gradient(45deg, #1eacff, #528bac);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: linear-gradient(45deg, #8ad3fd, #5f90ad);
}

.cart-button {
    background-color: #f0f0f0; /* Light grey background */
    border: 1px solid #ccc; /* Light grey border */
    color: #ffffff; /* Dark grey text */
    padding: 5px 10px; /* Padding */
    margin: 5px; /* Margin between buttons */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 3px; /* Rounded corners */
    font-size: 14px; /* Font size */
}

.cart-button:hover {
    background-color: #e0e0e0; /* Slightly darker grey on hover */
}

.checkout-button {
    background-color: #00aeff; /* Blue background */
    border: none; /* No border */
    color: white; /* White text */
    padding: 10px 20px; /* Padding */
    margin: 10px 0; /* Margin */
    cursor: pointer; /* Pointer cursor on hover */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size */
}

.checkout-button:hover {
    background-color: #007bbf; /* Darker blue on hover */
}

/* Footer styles */
footer {
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1; /* Light grey background */
    border-top: 1px solid #ccc; /* Optional: Subtle top border */
    color: black; /* Change text color to black */
}

.reserved-text {
    margin-right: 150px;
}

.social-media {
    margin-top: 10px;
    margin-right: 150px;
}

.social-icon {
    margin: 0 10px;
    color: black;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #00aeff;
}

.cart-item {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.cart-item-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.cart-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.cart-items {
    flex: 2;
    margin-right: 20px;
}

.cart-summary {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    text-align: center;
}

.quantity-input {
    width: 50px;
    padding: 5px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    text-align: center;
}

.empty-cart {
    text-align: center;
    margin-top: 20px;
}

.empty-cart-image {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.continue-shopping-button {
    background-color: #00aeff;
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.continue-shopping-button:hover {
    background-color: #007bbf;
}

.empty-cart {
    text-align: center;
    margin-top: 20px;
}

.empty-cart-image {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.continue-shopping-button {
    background-color: #00aeff;
    border: none;
    color: white;
    padding: 10px 20px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}

.continue-shopping-button:hover {
    background-color: #007bbf;
}

.contact-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    height: auto;
}

.form-container {
    width: auto;
    max-width: 600px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.name-fields {
    display: flex;
    justify-content: space-between;
    width: auto;
    margin-bottom: 10px;
}

.name-fields input {
    width: calc(50% - 10px); /* Adjust width to add space between inputs */
}

.contact-form input,
.contact-form textarea,
.contact-form button,
.success-message button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button,
.success-message button {
    background-color: #00aeff;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover,
.success-message button:hover {
    background-color: #007bbf;
}

.success-message {
    text-align: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    margin-bottom: 5px;
}

.form-group input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wishlist-form {
    max-width: 400px;
    margin: 0 auto;
}

.wishlist-form button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.wishlist-form button:hover {
    background-color: #0056b3;
}

.wishlist-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.wishlist-form h2,
.wishlist-form .wishlist-info-text {
    margin: 10px 0;
}

.confirmation-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
    font-size: 20px;
}

.confirmation-screen .social-media {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.confirmation-screen .back-to-main-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.language-selection {
    text-align: right;
    margin-top: 10px;
}

.language-link {
    color: grey;
    text-decoration: none;
    margin-left: 5px;
    margin-right: 5px;
}

.language-link:hover {
    text-decoration: underline;
}

.mission-statement {
    text-align: center;
    margin: 20px 0;
}

.mission-statement h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.mission-statement p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.team-presentation {
    text-align: center;
    margin: 40px 0;
}

.team-presentation h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.team-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.team-profile {
    flex: 1;
    max-width: 30%;
    margin: 10px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-profile h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.team-profile p {
    font-size: 1em;
    line-height: 1.5;
}

.footer-left {
    float: left;
}

.footer-logo {
    width: 150px; /* Adjust the size as needed */
    height: auto;
}

.values h2, .vision h2, .vision p {
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        text-align: center;
    }

    header h1 {
        font-size: 20px;
    }

    header nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    header nav a {
        margin-left: 0;
        margin-top: 10px;
        margin: 5px 0;
    }

    footer p {
        font-size: 12px;
    }

    footer .social-media a img {
        height: 18px;
    }

    main {
        padding: 10px;
    }

    .landing-page h1 {
        font-size: 28px;
    }

    .landing-page p {
        font-size: 16px;
    }

    .container {
        font-size: 16px;
        height: auto;
    }

    .product-showcase h2 {
        font-size: 20px;
    }

    .product-showcase p {
        font-size: 16px;
    }

    button {
        font-size: 14px;
        padding: 8px 16px;
    }
    .cart-container {
        flex-direction: column; /* Ensure flex direction remains row for even smaller screens */
    }
    .product-page {
        padding: 10px;
    }

    .product-page h1 {
        font-size: 24px;
    }

    .product-page p {
        font-size: 16px;
    }

    .product-page button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .confirmation-screen {
        padding: 20px;
    }

    .confirmation-screen h2 {
        font-size: 1.5em;
    }

    .confirmation-screen p {
        font-size: 1em;
        margin: 15px 0;
    }

    .confirmation-screen .back-to-main-button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .cart-icon {
        width: 30px; /* Adjust size as needed */
        height: auto;
    }

    .footer-left {
        float: none;
        margin: 0 auto 10px;
        text-align: center;
    }

    .footer-content {
        text-align: center;
        margin: 0 auto;
    }

    .reserved-text,
    .social-media,
    .language-selection {
        margin: 10px 0;
    }

    .social-icon {
        font-size: 20px; /* Adjust size as needed */
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    header img {
        height: 40px;
    }

    header h1 {
        font-size: 18px;
    }

    header nav a {
        font-size: 14px;
    }

    header nav a img {
        height: 25px;
    }

    footer p {
        font-size: 10px;
    }

    .container {
        font-size: 12px;
        height: auto;
    }

    footer .social-media a img {
        height: 16px;
    }

    main {
        padding: 5px;
    }

    .landing-page h1 {
        font-size: 24px;
    }

    .landing-page p {
        font-size: 14px;
    }

    .product-showcase h2 {
        font-size: 18px;
    }

    .product-showcase p {
        font-size: 14px;
    }

    button {
        font-size: 12px;
        padding: 6px 12px;
    }
    .cart-container {
        flex-direction: column; /* Ensure flex direction remains row for even smaller screens */
    }
    .product-page {
        padding: 5px;
    }

    .product-page h1 {
        font-size: 20px;
    }

    .product-page p {
        font-size: 14px;
    }

    .product-page button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .confirmation-screen h2 {
        font-size: 1.2em;
    }

    .confirmation-screen p {
        font-size: 0.9em;
    }

    .confirmation-screen .back-to-main-button {
        font-size: 12px;
        padding: 6px 12px;
    }
}