body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f7f1;
    margin: 0;
    padding: 0;
}

/* Header styling */
header {
    color: white;
    /* padding: 20px; */
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#grad1 {
    height: 250px;
    width: 100%;
    background-color: #1fc8db;
    background: linear-gradient(140deg,#bc70a4 25%,#99b017 75%);
}
#logo {
    width: 170px;
    height: 150px;
}

#hd-sm {font-size: .25px;}

header h1 {
    font-size: 3em;
    margin: 0;
}

/* Navigation Bar */
nav {
    background: linear-gradient(90deg, #16222e, #1892a5, #a683c1);
    background-size: 400% 400%; /* Allows animation */
    animation: gradientMove 15s ease infinite; /* Smooth animation */
    display: flex;
    justify-content: center;
    padding: 10px;
    color: #ffffff; /* Ensure good contrast with text */
    font-weight: bold; /* Helps with readability */
    text-shadow: 1px 1px 2px #000000; /* Adds clarity for the text */
    /* */
}

/* Add keyframes for the gradient animation */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


nav a {
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 1.1em;
    border-radius: 4px;
    border: 2px solid rgba(255,255,255,0.6);
    margin: 0 15px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #ff4500;
    border-color: #fff;
}

.nav-active {
    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
}
.nav-active a {
    display: block;
    margin: 5px 0;
}
nav a.active {
    border:2px solid #fff;
    background-color: rgba(255,255,255,0.3);
}

.content {
    padding: 30px;
}

.category-section {
    margin-bottom: 40px;
}

.category-section h2 {
    font-size: 2.5em;
    color: #0d13ca;
    text-align: center;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.product-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-name {
    font-size: 1.5em;
    color: #0f6703;
    margin: 15px 0;
}

.product-description {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.3em;
    color: #007BFF;
}

.product-details {
    margin-top: 15px;
    font-size: 0.9em;
    color: #555;
}

.dietary-symbols {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.dietary-symbols img {
    width: 30px;
    height: 30px;
}

.footer {
    background-color: #a23209d7;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: white;
    padding: 10px;
}

/* Code for hamburger menu when screen size is below min value */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        position: relative;
    }
    
    nav a {
        margin: 5px 0;
        display: none;
    }
    
    /* Hamburget navigation */
    .hamburger::before {
        content: "☰ << Open Menu"; /* Default hamburger icon */
    }
    
    .hamburger.close::before {
        content: "✖ << Close menu"; /* Close icon */
    }
    
    
    .nav-active a {
        display: block;
    }
    
    .content {
        padding: 15px;
    }
    
    .testimonial-card {
        margin: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
}

span {
    color: rgb(0, 255, 34);
}


/*  */
/* Product List */
.product-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 20px;
}

.product {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    width: 30%;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product h3 {
    color: #0f6703;
    font-size: 1.5em;
}

.product p {
    font-size: 1.2em;
    margin: 10px 0;
}

.add-to-basket {
    background-color: #022e71;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-basket:hover {
    background-color: #812b00;
}

/* Basket Page */
.basket {
    max-width: 600px;
    margin: 30px auto;
    text-align: center;
}

.basket ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.basket ul li {
    font-size: 1.2em;
    margin: 10px 0;
    padding: 10px;
    background: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 4px;
}


