@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #a7736c;
    --secondary-color: #6c757d;
    --background-color: #6f403a;
    --logo-text-color: #fff;
    --text-color: #fff;
    --white-color: #fff;
    --container-width: 1100px;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --bannerHero-primario: #6f403a;
    --bannerHero-secundario: #b78c87;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.navbar {
    background-color: var(--background-color);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--logo-text-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(var(--bannerHero-primario), var(--bannerHero-secundario)), url('https://via.placeholder.com/1920x1080.png?text=Fundo+Abstrato') no-repeat center center/cover;
    color: var(--white-color);
    text-align: center;
    padding: 6rem 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: transparent;
    color: var(--white-color);
    border-color: var(--white-color);
}

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

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    text-align: center;
    padding-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 242px;
    object-fit: cover;
}

.product-card h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 1.5rem;
    color: var(--secondary-color);
}

/* About Section */
.about {
    background-color: var(--white-color);
}
.about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.contact-form button {
    align-self: center;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-color: var(--primary-color);
}

.contact-form button:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Dynamic Product Banner */
#dynamic-product-banner {
    background-color: #a7736c; /* Alterado o fundo da sessão */
    padding: 4rem 0;
    min-height: 300px;
}

#dynamic-product-banner h2 {
    color: var(--white-color);
    margin-bottom: 2rem;
}

#dynamic-product-banner .product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

#dynamic-product-banner .product-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-color: #c1a4a0; /* Alterado o fundo dos cards */
}

#dynamic-product-banner .product-card h3 {
    color: #fff; /* Alterado a cor do texto do título */
}

#dynamic-product-banner .product-card p {
    color: #fff; /* Alterado a cor do texto da descrição */
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--white-color);
        position: absolute;
        top: 60px; /* Adjust based on navbar height */
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
        align-items: center;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section h2 {
        font-size: 2rem;
    }
}
