/* Estilos Gerais */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

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

.btn {
    display: inline-block;
    background: #ff6600; /* Laranja da nova logo */
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e65c00; /* Laranja mais escuro */
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

/* Header */
header {
    background-color: #2c3e50;
    color: white;
    padding: 15px 0; /* Padding compacto */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom: 4px solid #ff6600; /* Linha laranja */
}

header .container {
    display: flex;
    justify-content: space-between; /* Logo à esquerda, menu à direita */
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaçamento entre logo e texto */
}

header img {
    height: 60px; /* Logo em tamanho equilibrado */
    width: auto;
    margin: 0;
}

.company-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 24px; /* Texto do nome em destaque */
    font-weight: bold;
    color: #ff6600; /* Cor laranja para destaque */
    line-height: 1;
    margin: 0;
}

.company-subtitle {
    font-size: 12px; /* Subtítulo menor */
    color: #ffffff;
    margin: 0;
    margin-top: 2px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px; /* Espaçamento entre itens do menu */
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Seletor de idioma */
.language-selector {
    margin-left: 20px;
}

.language-selector select {
    background-color: #ff6600;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background-color: #e55a00;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    background-color: #ff6600;
    color: white;
}

/* Linha laranja decorativa entre header e hero */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #ff6600 0%, #ff8533 50%, #ff6600 100%);
    z-index: 10;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    text-align: center;
    padding: 100px 0 100px; /* Padding ajustado para cabeçalho compacto */
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 0.3;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Services Section */
.services {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.services h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #1a1a2e;
    font-weight: 700;
}

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

.service-item {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.service-item img {
    max-width: 80px;
    margin-bottom: 25px;
    filter: brightness(0.8);
    transition: filter 0.3s ease;
}

.service-item:hover img {
    filter: brightness(1);
}

.service-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1a1a2e;
    font-weight: 600;
}

.service-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
}

/* About Section */
.about {
    background: #f8f9fa;
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #1a1a2e;
    font-weight: 700;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #495057;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.contact h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: #1a1a2e;
    font-weight: 700;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.contact .form-group {
    margin-bottom: 25px;
}

.contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact input[type="text"]:focus,
.contact input[type="email"]:focus,
.contact textarea:focus {
    outline: none;
    border-color: #ff6600; /* Laranja da nova logo */
}

.contact textarea {
    resize: vertical;
    min-height: 120px;
}

.contact .btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Footer */
footer {
    background: #1a1a2e; /* Azul escuro da nova logo */
    color: #ecf0f1;
    text-align: center;
    padding: 30px 0;
    margin-top: 0;
}

footer p {
    margin: 0;
    font-size: 0.95rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }

    header .container {
        flex-direction: column;
        padding: 10px 0;
    }

    header nav ul {
        margin-top: 15px;
    }

    header nav ul li {
        margin: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
        margin-top: 80px;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2.2rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-item {
        padding: 30px 20px;
    }

    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .service-item h3 {
        font-size: 1.4rem;
    }

    header nav ul li {
        margin: 0 10px;
    }

    header nav ul li a {
        font-size: 0.9rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover,
.close:focus {
    color: #ff6600;
}

.modal h3 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #495057;
}

.modal ul {
    margin: 15px 0;
    padding-left: 20px;
}

.modal li {
    margin-bottom: 8px;
    color: #495057;
}

/* Service Item Hover Enhancement */
.service-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #ff6600;
}

.service-item:active {
    transform: translateY(-5px);
}

