/* Reset e Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #1a759f 0%, #164e6b 100%);
    color: #fff;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

header h1 {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

header h1 .icon {
    margin-left: 10px;
    height: 24px;
    width: 24px;
}

header h1 .logo {
    height: 70px;
    width: auto;
}

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

nav ul li {
    margin-left: 2rem;
}

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

nav ul li a:hover {
    color: #00b09b;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/image/wallpapper.webp');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 5rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: both;
}

.btn-primary {
    display: inline-block;
    background-color: #004e92;
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: fadeInUp 1s ease-out 1s;
    animation-fill-mode: both;
}

.btn-primary:hover {
    background-color: #003a6b;
    transform: translateY(-3px);
}

/* Sobre Section */
#sobre {
    padding: 5rem 0;
    background-color: #fff;
    text-align: center;
}

#sobre h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #004e92;
}

#sobre p {
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Serviços Section */
#servicos {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    text-align: center;
}

#servicos h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #004e92;
}

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

.servico-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.servico-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.servico-item .icon,
.portfolio-item .icon {
    height: 48px;
    width: 48px;
    margin-bottom: 1rem;
    color: #004e92;
}

.servico-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #004e92;
}

/* Portfolio Section */
#portfolio {
    padding: 5rem 0;
    background-color: #fff;
    text-align: center;
}

#portfolio h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #004e92;
}

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

.portfolio-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.portfolio-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #004e92;
}

.portfolio-item p {
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-block;
    background-color: #004e92;
    color: #fff;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #003a6b;
    transform: translateY(-3px);
}

/* Contato Section */
#contato {
    padding: 5rem 0;
    background-color: #fff;
    text-align: center;
}

#contato h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #004e92;
}

#contato .logo-section {
    height: 80px;
    width: auto;
    margin-bottom: 2rem;
}

.contato-info {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.contato-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.contato-info .icon-small {
    height: 20px;
    width: 20px;
    margin-right: 10px;
    color: #004e92;
}

#contato-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

#contato-form input,
#contato-form textarea {
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

#contato-form input:focus,
#contato-form textarea:focus {
    border-color: #00b09b;
    outline: none;
}

#contato-form textarea {
    min-height: 150px;
    resize: vertical;
}

#contato-form button {
    cursor: pointer;
}

/* Footer */
footer {
    background-color: #000428;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #00b09b;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

/* Responsividade */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        justify-content: center;
        margin-top: 1rem;
    }

    nav ul li {
        margin: 0 1rem;
    }

    #hero h2 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    #sobre h3,
    #servicos h3,
    #contato h3,
    #portfolio h3 {
        font-size: 2rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
    }

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