/* Resetando margens e padding do body e html */
html, body {
    background-color: #000000; /* Fundo preto */
    margin: 0;
    padding: 0;
    height: 100%; /* Garantir que o body e html tenham altura total */
}

/* Aplicando Palatino Linotype em todo o projeto */
body {
    font-family: 'Palatino Linotype', serif; /* Serif como fallback */
}

/* Header com imagem de fundo que preenche a tela */
header {
    background-image: url('https://img.freepik.com/fotos-premium/conceito-de-direito-e-justica-malho-do-juiz-livros-balanca-da-justica-tema-do-tribunal_151992-11.jpg?ga=GA1.1.1663196028.1747605886&semt=ais_hybrid&w=740');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Título do Header (LORENZZATTO) */
header h1 {
    font-size: 4rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Menu de navegação */
nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

/* Estilo de containers para manter o layout responsivo */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Seções */
.section {
    padding: 50px 0;
}

/* Seção Sobre */
#about {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 60px 0;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 30px auto;
    max-width: 1200px;
    text-align: center;
}

#about .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#about h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

#about p {
    font-size: 1.2rem;
    line-height: 1.8;
    width: 80%;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    max-width: 900px;
}

.imagem-escritorio .imagem-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.imagem-escritorio img {
    width: 45%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: 15px;
}

.imagem-escritorio img:hover {
    transform: scale(1.05);
}

/* Seção Serviços */
#services .container {
    max-width: 1200px;
    width: 90%;
}

#services h2 {
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.table-header {
    display: table-row;
    background-color: #006400;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
}

.table-header-cell {
    display: table-cell;
    padding: 15px;
    text-align: center;
    border-radius: 50px;
}

.table-container {
    display: table;
    width: 100%;
    margin-bottom: 40px;
    border-spacing: 20px;
}

.table-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background-color: #191970;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 15px;
    width: 220px;
    height: 120px;
    border-radius: 50px;
    box-sizing: border-box;
    overflow: hidden;
    white-space: normal;
    word-wrap: break-word;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.table-cell:hover {
    background-color: #4169E1;
    transform: scale(1.05);
}

/* Seção Contato */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
    padding: 20px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    color: black;
    z-index: 1;
}

#contactForm::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('caminho/para/sua-imagem.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}

#contactForm input,
#contactForm textarea {
    padding: 12px;
    font-size: 1.1rem;
    font-family: 'Palatino Linotype', serif;
    border: 2px solid #3498db;
    border-radius: 5px;
    background-color: #ecf0f1;
    color: black;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
    border-color: #2980b9;
    outline: none;
    transform: scale(1.02);
}

#contact h2 {
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
}

button {
    padding: 12px 25px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 20px;
}

button:hover {
    background-color: #2980b9;
    transform: scale(1.1);
}

/* Rodapé */
footer {
    background-color: #444;
    color: #fff;
    padding: 15px 20px;
    text-align: center;
    font-family: 'Palatino Linotype', serif;
    position: relative;
    z-index: 1;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    font-size: 0.85rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

footer .footer-links {
    margin-top: 10px;
}

footer .footer-links a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin: 0 10px;
}

footer .footer-links a:hover {
    color: #2980b9;
}

footer .social-icons {
    margin-top: 15px;
}

footer .social-icons a {
    font-size: 1.4rem;
    margin: 0 12px;
    color: #fff;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .social-icons a:hover {
    transform: scale(1.2);
    color: #3498db;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

/* Estilizando o link "Sênior Tech" */
.made-with-love {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #fff;
}

.made-with-love a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.made-with-love a:hover {
    color: #2980b9;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
}

.whatsapp-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.whatsapp-icon img:hover {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .imagem-escritorio .imagem-container {
        flex-direction: column;
    }

    .imagem-escritorio img {
        width: 100%;
        margin-bottom: 20px;
    }

    .table-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .table-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .table-cell {
        width: 100%;
    }

    .table-header-cell {
        width: 100%;
    }

    #contactForm {
        width: 100%;
    }

    footer {
        padding: 15px 10px;
    }

    footer p {
        font-size: 0.8rem;
    }

    footer .footer-links a {
        font-size: 0.85rem;
    }

    footer .social-icons a {
        font-size: 1.3rem;
    }

    .made-with-love {
        font-size: 0.8rem;
    }
}