/* Basic styles */

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}


/* Navigation styles */

header {
    background-color: #333;
    padding: 1rem 0;
}

header h1 {
    color: #fff;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 0.5rem;
}

nav ul li a {
    display: block;
    padding: 0.4rem 1rem;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

nav ul li a:hover {
    background-color: #555;
}


/* Main content styles */

main {
    padding: 1rem;
}


/* Photo gallery styles */

.photo-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.photo-gallery img {
    width: 100%;
    object-fit: cover;
    height: 200px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}


/* Call to action button styles */

.cta-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    margin: 1rem 0;
    border-radius: 5px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    background-color: #555;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

form {
    display: grid;
    grid-gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

input,
textarea,
button {
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

button {
    background-color: #4b778d;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #356272;
}


/* Footer styles */

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-gap: 1rem;
    padding: 1rem;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background-color: white;
}

.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* Floating cart button styles */

#floating-cart {
    position: fixed;
    bottom: 20px;
    right: 340px;
}

#cart-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

#cart-button:hover {
    background-color: #0056b3;
}

#chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
    height: 400px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: height 0.3s;
}

#chat-header {
    background-color: #007BFF;
    color: #ffffff;
    padding: 10px;
    cursor: pointer;
}

#chat-content {
    height: 340px;
    padding: 10px;
    overflow-y: scroll;
}

.chat-closed {
    height: 40px;
}

#chat-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
    height: 40px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: height 0.3s;
}

#chat-header {
    background-color: #007BFF;
    color: #ffffff;
    padding: 10px;
    cursor: pointer;
}

#chat-menu {
    padding: 10px;
    display: none;
}

#chat-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#chat-menu li {
    margin-bottom: 10px;
}

#chat-menu a {
    text-decoration: none;
    color: #007BFF;
}

#chat-menu a:hover {
    color: #0056b3;
}

.chat-open {
    height: 200px;
}