/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    padding-top: 70px; /* Espaço para evitar sobreposição com o menu fixo */
}

/* Navegação */
.navbar {
    background-color: #000; /* Preto, conforme sua alteração */
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed; /* Menu fixo no topo */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Garante que o menu fique acima de outros elementos */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #F97316; /* Laranja */
}

.nav-menu li a i {
    margin-right: 0.5rem;
}

/* Ícone do hamburger */
.hamburger {
    display: none; /* Escondido em telas maiores */
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background-image: url('https://images.pexels.com/photos/546819/pexels-photo-546819.jpeg');
    background-size: cover;
    background-position: center;
    background-color: #000; /* Fallback preto, conforme sua alteração */
    position: relative;
    color: white;
}

/* Sobreposição para melhorar legibilidade */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay escuro */
    z-index: 1;
}

/* Conteúdo da hero com z-index maior */
.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Sombra para legibilidade */
}

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

.cta-button {
    background-color: #F97316; /* Laranja */
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #10B981; /* Verde */
}

/* Serviços */
.services {
    padding: 2rem;
    background-color: #f4f4f4;
    text-align: center;
}

.services h2 {
    font-size: 2rem;
    color: #1E3A8A; /* Azul */
    margin-bottom: 2rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.service-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: #F97316; /* Laranja */
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1E3A8A; /* Azul */
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1rem;
}

/* Clientes */
.clients {
    padding: 2rem;
    text-align: center;
}

.clients h2 {
    font-size: 2rem;
    color: #1E3A8A; /* Azul */
    margin-bottom: 2rem;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.client-card {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.client-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.client-card h3 {
    font-size: 1.2rem;
    color: #1E3A8A; /* Azul */
    margin-bottom: 0.5rem;
}

.client-card a {
    color: #F97316; /* Laranja */
    text-decoration: none;
    font-weight: bold;
}

.client-card a:hover {
    color: #10B981; /* Verde */
}

/* Portfólio (Cartões de Visita e Flyers) */
.portfolio {
    padding: 2rem;
    text-align: center;
    background-color: #f4f4f4;
}

.portfolio h2 {
    font-size: 2rem;
    color: #1E3A8A; /* Azul */
    margin-bottom: 2rem;
}

.portfolio h3 {
    font-size: 1.5rem;
    color: #1E3A8A; /* Azul */
    margin: 2rem 0 1rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.portfolio-card {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.portfolio-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.portfolio-card h4 {
    font-size: 1.2rem;
    color: #1E3A8A; /* Azul */
    margin-bottom: 0.5rem;
}

.portfolio-card p {
    font-size: 1rem;
    color: #333;
}

/* Rodapé */
footer {
    background-color: #000; /* Preto, conforme sua alteração */
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #F97316; /* Laranja */
    text-decoration: none;
}

footer a:hover {
    color: #10B981; /* Verde */
}

footer i {
    margin-right: 0.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row; /* Mantém logo e hamburger na mesma linha */
        padding: 1rem;
    }

    .hamburger {
        display: block; /* Mostra o ícone de hamburger */
    }

    .nav-menu {
        display: none; /* Esconde o menu por padrão */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Abaixo do menu fixo */
        left: 0;
        width: 100%;
        background-color: #000; /* Preto, conforme sua alteração */
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex; /* Mostra o menu quando ativado */
    }

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

    .nav-menu li a {
        font-size: 1.2rem;
        display: block;
        padding: 0.5rem;
    }

    body {
        padding-top: 70px; /* Mantém o espaço para o menu fixo */
    }

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

    .service-grid, .client-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
}