/*
 Theme Name: AuraNet
 Theme URI: https://auranet.com/
 Author: AuraNet Team
 Author URI: https://auranet.com/
 Description: A custom WordPress theme for AuraNet, providing innovative technology solutions.
 Version: 1.0
 Requires at least: 6.0
 Tested up to: 6.5
 Requires PHP: 7.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: auranet
 Tags: block-patterns, full-site-editing
*/

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wp-site-blocks {
    flex: 1 0 auto;
}

.wp-block-group.alignwide {
    width: 100%; /* Substitui max-width: 1000px por width: 100% para respeitar wideSize: 100% */
    margin-left: 0;
    margin-right: 0;
}

.wp-block-heading.alignwide {
    text-align: center;
}

.wp-block-columns.alignwide {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.wp-block-column {
    flex: 1;
    text-align: center;
}

.service-card {
    background-color: var(--wp--preset--color--background); /* Corrige para usar a variável definida no theme.json */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s; /* Adiciona transição para transform */
}

.service-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05); /* Adiciona efeito de escala no hover */
}

.wp-block-image img {
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-button__link {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--foreground);
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: #e07a00;
    color: var(--wp--preset--color--background);
}

.has-text-align-center {
    text-align: center;
}

/* Header and Footer Styling */
.wp-block-template-part[aria-label="Header"] {
    background-color: var(--wp--preset--color--header-footer);
    color: var(--wp--preset--color--background);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.wp-block-template-part[aria-label="Footer"] {
    background-color: var(--wp--preset--color--header-footer);
    color: var(--wp--preset--color--background);
    padding: 0.5rem 0;
    text-align: center;
    margin-top: auto;
    width: 100%;
}

.wp-block-navigation__responsive-container {
    width: 100%; /* Força 100% de largura */
    justify-content: center; /* Mantém centralizado, mas agora ocupa 100% */
    padding: 0 1rem; /* Espaçamento interno opcional */
}

.wp-block-navigation-item {
    flex-grow: 0; /* Evita que os itens cresçam desproporcionalmente */
}

.wp-block-navigation-item a {
    color: var(--wp--preset--color--background);
    text-decoration: none;
    margin: 0 1rem;
    display: block; /* Garante que o link ocupe a largura do item */
}

.wp-block-navigation-item a:hover {
    color: var(--wp--preset--color--secondary);
}

/* Estilização responsiva */
@media (max-width: 600px) {
    .wp-block-navigation__responsive-container {
        width: 100%; /* Mantém 100% em telas menores */
        flex-direction: row; /* Evita modo hambúrguer */
        padding: 0;
    }
    .wp-block-navigation-item a {
        margin: 0 0.5rem; /* Reduz margens em telas pequenas */
    }
    .service-card {
        padding: 10px; /* Reduz padding em telas menores */
    }
}
.wp-site-blocks {
    flex: 1 0 auto;
}

.wp-block-group.alignwide {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-heading.alignwide {
    text-align: center;
}

.wp-block-columns.alignwide {
    display: flex;
    gap: 2rem;
}

.wp-block-column {
    flex: 1;
    text-align: center;
}

.service-card {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.wp-block-image img {
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-button__link {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    background-color: var(--wp--preset--color--secondary);
    color: var(--wp--preset--color--foreground);
    text-decoration: none;
}

.wp-block-button__link:hover {
    background-color: #e07a00;
    color: var(--wp--preset--color--background);
}

.has-text-align-center {
    text-align: center;
}

/* Header and Footer Styling */
.wp-block-template-part[aria-label="Header"] {
    background-color: var(--wp--preset--color--header-footer);
    color: var(--wp--preset--color--background);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.wp-block-template-part[aria-label="Footer"] {
    background-color: var(--wp--preset--color--header-footer);
    color: var(--wp--preset--color--background);
    padding: 0.5rem 0;
    text-align: center;
    margin-top: auto;
}

.wp-block-navigation__responsive-container {
    justify-content: center;
}

.wp-block-navigation-item a {
    color: var(--wp--preset--color--background);
    text-decoration: none;
    margin: 0 1rem;
}

.wp-block-navigation-item a:hover {
    color: var(--wp--preset--color--secondary);
}