/* Base styles for the header */
body {
    font-family: 'Didot', serif;
    margin: 0;
    padding: 0;
    background-image: url('images/background-logo.png'); /* Placeholder for your background image */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

header {
    background-color: #f1fbf2;
    padding: 10px 0;
    text-align: center;
}
.link {
    color: #333;
    transition: color .5s;    
}
.link.active, .link:hover {
    color: #518302;
}
nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav .nav-left,
nav .nav-right {
    display: flex;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.logo {
    margin: 0 30px;
}

.logo img {
    height: 100px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav .nav-left,
    nav .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 5px 0;
    }

    .logo {
        margin: 10px 0;
    }

    .logo img {
        height: 80px;
    }
}

.slogan {
    text-align: center;
    margin: 20px 0;
    font-size: 2em;
    color: #333;
}

.products-grid {
    text-align: center;
    margin: 40px 0;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.grid-item p {
    margin-top: 10px;
    color: #333;
}

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

.testimonial {
    margin: 20px 0;
}

.testimonial p {
    font-size: 1.2em;
    color: #666;
}

.before-after {
    width: 30%; /* Adjusted size */
    margin: 10px;
}

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

.newsletter form {
    display: inline-block;
}

.newsletter input[type="email"] {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.newsletter button {
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

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

.contact form {
    display: inline-block;
    text-align: left;
}

.contact input,
.contact textarea {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact button {
    padding: 10px 20px;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.handmade {
    text-align: center;
    margin: 20px 0;
    font-size: 1.2em;
    color: #666;
}

footer {
    background-color: #f1fbf2;
    text-align: center;
    padding: 10px 0;
    position: relative; /* Changed from fixed to relative */
}

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

.carousel-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.carousel-container .slick-slide {
    display: flex;
    justify-content: center;
}

.carousel-container img {
    width: 100%;
    height: auto;
    max-width: 600px; /* Adjust this value as needed */
    max-height: 600px; /* Adjust this value as needed */
    object-fit: cover;
    border-radius: 10px;
}

.slick-prev, .slick-next {
    background-color: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.slick-prev:hover, .slick-next:hover {
    background-color: #555;
}

.explore-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 20px 0;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.5s, background-color 0.5s;
}

.explore-button.active, .explore-button:hover {
    background-color: #555;
}