/* General Body Styles */
body {
    font-family: 'Lato', sans-serif;
    color: #312a29; /* Secondary Color */
    background-color: #FFF1E6; /* Cream */
}

/* Header Styles */
header {
    background-image: url('images/headerImage.jpg');
    background-size: cover;
    background-position: center;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin: 0px;
    padding: 0px;
}

h1 {
    font-family: 'Lato'; /* Using the Pacifico font */
    font-size: 3rem;
    background-color: rgb(251,184,4); /* Primary Color */
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
}

/* Navigation Styles */
nav ul {
    font-family: 'Lato'; /* font */
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    display: inline;
    margin: 0 20px;
    background-color: rgb(251,184,4); /* Primary Color */
    padding: 5px 10px;
    border-radius: 5px;
    transition: transform 0.3s; /* Smooth transition for scaling */
}

nav ul li:hover, nav ul li:focus {
    transform: scale(1.1); /* Enlarge button on hover */
}

nav ul li a {
    text-decoration: none;
    color: #4b2e2e; /* Dark brown text color */
    font-size: 2rem;
}

/* Social Banner Styles */
.social-banner {
    background-color: rgb(251,184,4); /* Primary Color */
    text-align: center;
    padding-top: 6px;
    padding-bottom: 2px;
}

.social-banner p {
    
    font-size: 2rem;
    color: #312a29;
    margin-bottom: 10px;
}

.social-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.social-nav ul li {
    margin: 0 10px; /* Spacing between social icons */
}

.social-nav ul li a img {
    height: 60px; /* Adjust height as needed */
    width: auto;
    transition: transform 0.3s; /* Smooth transition for scaling */
    border-radius: 15px; /* More rounded corners */
    margin: 0; /* No margin around the icons */
    padding: 0; /* No padding around the icons */
}

.social-nav ul li a img:hover {
    transform: scale(1.1); /* Slightly enlarge icon on hover */
}


/* Main Content Styles */
main {
    padding: 20px;
    margin-top: 40px;
}

section {
    margin-bottom: 20px;
}

/* Container Styles */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 85%;
    margin: auto;
}

.text, .image {
    flex: 1;
}

.text {
    padding-right: 20px;
}

.image img {
    width: 100%;
    height: auto;
}

.text h2, .text p {
    font-size: 2.5rem;
    color: #312a29;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    color: #553930;
    line-height: 1.6;
}

/* FAQ Styles */
.faq-question {
    width: 100%;
    padding: 10px;
    font-size: 1.2rem;
    text-align: left;
    background-color: rgba(53,46,42,255);
    color: white;
    border: none;
    cursor: pointer;
    outline: none;
    margin-bottom: 5px;
}

.faq-answer {
    display: none;
    padding: 10px;
    font-size: 1rem;
    background-color: #fff1e6;
    color: #5d4037;
    border-left: 3px solid #dab894;
    margin-bottom: 10px;
}

#faq {
    padding-bottom: 50px;
}

/* Gallery Styles */
#gallery, .gallery-grid, .gallery-item {
    padding: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates three equal columns */
    gap: 40px; /* Space between grid items */
}

.gallery-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 5px;
    height: 100%; /* Ensures all items have the same height */
}

.gallery-item img, .gallery-item h3, .gallery-item p {
    width: 100%;
    height: auto;
    border-radius: 5px;
    font-size: 1.2rem;
    color: #352e2a;
    margin-top: 5px;
    font-size: 1rem;
    color: #5D4037;
}

.shop-button {
    padding: 10px 20px;
    margin-top: auto;
    background-color: #352e2a;
    color: white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.shop-button:hover {
    background-color: #BAA684;
}

/* Contact Form Styles */
#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact h2, #contact p, #contact form {
    width: 50%;
    margin-bottom: 20px;
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact label {
    margin-top: 10px;
}

#contact input, #contact textarea {
    padding: 8px;
    margin-top: 5px;
}

#contact button {
    padding: 10px 20px;
    margin-top: 20px;
    background-color: #352e2a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

#contact button:hover {
    background-color: #BAA684;
}

/* Footer Styles */
footer {
    background-color: #352e2a;
    text-align: center;
    padding: 10px;
    width: 100%;
    color: white; /* Sets the text color to white */
}

/* Reviews Section Styles */
#reviews {
    padding: 20px;
    background-color: #FFF1E6;
}

#reviews h2 {
    font-size: 2.5rem;
    color: #312a29;
    text-align: center;
    margin-bottom: 20px;
}

.main-review {
    width: 70%;
    margin: 0 auto;
    margin-bottom: 20px;
    background-color: #FFF; /* White background */
    padding: 10px 20px; /* Padding added for consistency */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Box shadow */
    text-align: center; /* Center text horizontally */
}

.normal-review-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.normal-review {
    width: calc(30% - 20px); /* Three items per row, minus margins */
    margin-bottom: 20px;
    background-color: #FFF; /* White background */
    padding: 10px 20px; /* Padding added for consistency */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Box shadow */
}


/* Mobile responsiveness */
@media (max-width: 768px) {
    .gallery-item p {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Header Styles for smaller screens */
    header {
        height: 100%; /* Smaller height for mobile devices */
    }

    h1 {
        font-size: 2rem; /* Smaller font size for mobile readability */
        padding: 5px 10px; /* Smaller padding */
    }

    /* Navigation Styles for smaller screens */
    nav ul {
        flex-direction: column; /* Stack nav items vertically on smaller screens */
        align-items: center; /* Center alignment of nav items */
    }

    nav ul li {
        margin: 10px 0; /* Adjust margin for vertical stacking */
        padding: 8px 16px; /* Larger tap targets */
    }

    nav ul li a {
        font-size: 1.5rem; /* Larger font size for better readability */
    }

    /* Main Content and Container Styles */

    .container {
        flex-direction: column; /* Stack elements vertically */
        width: 90%; /* Utilize more of the screen width */
    }

    main, .container {
        padding: 15px; /* More appropriate padding on mobile */
        width: 100%; /* Full width for better use of space */
    }

    .text, .image {
        flex-direction: column; /* Stack text and images vertically */
    }

    .text {
        padding-right: 0; /* Remove right padding */
    }

    .image img {
        margin-top: 20px; /* Space between text and image */
    }

    /* Section Styles */
    .text h2, .text p {
        font-size: 1.5rem; /* Adjust font size for better mobile readability */
    }

    /* Gallery Styles */
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column layout for gallery items */
        gap: 20px; /* Reduced gap between items */
    }

    /* FAQ Styles */
    .faq-question {
        font-size: 1rem; /* Smaller font size for FAQs */
    }

    .faq-answer {
        font-size: 0.9rem; /* Smaller font size for FAQ answers */
    }

    /* Contact Form Styles */
    #contact h2, #contact p, #contact form {
        width: 100%; /* Full width for form elements */
    }

    /* Footer Styles */
    footer {
        padding: 15px; /* More appropriate padding on mobile */
    }
}

@media (max-width: 768px) {
    .main-review {
        width: 90%; /* Adjust width for smaller screens */
    }
    .normal-review {
        width: calc(45% - 20px); /* Adjust width for smaller screens */
    }
}