/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #393629;
    background-color: #f8f5f0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #393629;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #b9b587;
}

/* Hero Section */
#hero {
    background: url('hero-background.png') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(57, 54, 41, 0.6);
}

#hero .container {
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    margin-bottom: 0.5rem;
    color: #fffaf0;
}

#hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    margin-bottom: 1rem;
    color: #f0e0c0;
}

#hero p {
    font-size: 1.1em;
    margin-bottom: 2rem;
}

/* Sections */
.section-padded {
    padding: 4rem 0;
}

section h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5em;
    color: #393629;
}

section p {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* About Section */
#sobre p {
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
    text-align: justify;
    color: #393629;
}

/* Products Section */
#produtos .product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 2rem;
}

.product-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-10px);
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-item h3 {
    font-family: 'Playfair Display', serif;
    margin: 1rem 0.5rem 0.5rem 0.5rem;
    color: #393629;
}

.product-item p {
    padding: 0 1rem 1rem 1rem;
    font-size: 0.9em;
    color: #393629;
    text-align: center;
}

/* How to Order Section */
#pedido ol {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    text-align: left;
    padding-left: 20px;
    color: #393629;
}

#pedido li {
    margin-bottom: 1rem;
}

#pedido .note {
    font-size: 0.9em;
    color: #5a5a5a;
    margin-top: 1rem;
}

/* WhatsApp Button Wrapper - Centraliza o botão */
.whatsapp-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* WhatsApp Button */
.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}

.whatsapp-button:active {
    transform: scale(0.98);
}

/* Contact Section */
#contato p {
    text-align: center;
    color: #393629;
}

#contato a {
    color: #b9b587;
    text-decoration: none;
    font-weight: bold;
}

#contato a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #393629;
    color: #f8f5f0;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 1rem;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 5px 0;
    }

    #hero {
        padding: 4rem 0;
    }

    #hero h1 {
        font-size: 2.5em;
    }

    #hero h2 {
        font-size: 1.2em;
    }

    section h2 {
        font-size: 2em;
    }

    #produtos .product-list {
        flex-direction: column;
        align-items: center;
    }

    .product-item {
        max-width: 90%;
    }
}
