@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/*-------------------------
  Variáveis de Cor (Tema Claro)
---------------------------*/
:root {
    --primary-color: #0077c2; /* Azul principal */
    --secondary-color: #f0f0f0; /* Cinza claro para fundos de seção */
    --accent-color: #00bfff; /* Azul ciano para detalhes e hover */
    --background-color: #ffffff; /* Fundo geral branco */
    --text-color: #333333; /* Texto principal escuro */
    --text-light-color: #555555; /* Texto secundário */
    --border-color: #dddddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/*-------------------------
  Tema Escuro
---------------------------*/
body.dark-theme {
    --primary-color: #008fdb;
    --secondary-color: #1e2a38;
    --accent-color: #00bfff;
    --background-color: #121a23;
    --text-color: #e0e0e0;
    --text-light-color: #bbbbbb;
    --border-color: #334150;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/*-------------------------
  Estilos Gerais
---------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
    width: 100%;
    overflow-x: hidden;
}

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

section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--secondary-color);
    transition: background-color 0.3s;
}

h1, h2, h3 {
    color: var(--primary-color);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/*-------------------------
  Cabeçalho
---------------------------*/
header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: background-color 0.3s, border-color 0.3s;
}

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

.logo {
    height: 100px;
}

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

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: color 0.3s, background-color 0.3s;
}

nav a:hover, nav a.active {
    color: #fff;
    background-color: var(--primary-color);
}

/*-------------------------
  Botão de Tema
---------------------------*/
#theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

#theme-toggle .fa-fir, #theme-toggle .fa-snowflake {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.4s ease-in-out;
}

#theme-toggle .fa-snowflake {
    transform: translate(-50%, 150%);
}

body.dark-theme #theme-toggle .fa-fire {
    transform: translate(-50%, -150%);
}

body.dark-theme #theme-toggle .fa-snowflake {
    transform: translate(-50%, -50%);
}


/*-------------------------
  Seção Hero (Início)
---------------------------*/
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    z-index: -2;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 41, 0.7);
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

/*-------------------------
  Seção de Serviços
---------------------------*/
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--background-color);
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light-color);
    line-height: 1.6;
}

/*-------------------------
  Seção Sobre Nós
---------------------------*/
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-light-color);
}

.about-image {
    flex: 1;
    position: relative;
}

.slider {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 100%;
    flex-shrink: 0;
    border-radius: 10px;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.controls button {
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
}


/*-------------------------
  Seção de Contato
---------------------------*/
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 50px;
}

.contact-info, .contact-map {
    flex: 1;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 15px;
    width: 25px;
    text-align: center;
}
.social-icons {
  position: flex;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* espaço uniforme entre os ícones */
  margin-top: 5px;
}

.social-icons a {
  display: inline-block; /* necessário para aplicar transform corretamente */
  transition: transform 0.3s ease;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.5);
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    margin-top: 20px;
}

/*-------------------------
  Rodapé
---------------------------*/
footer {
  background: #00000000;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}
p a {
    font-size: 17px;
    color: #ff0000;
    text-decoration: none;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0,5rem;
}

.footer-logo {
  width: 50px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
  transform: scale(1.5);
}

/*-------------------------
  Responsividade (Mobile)
---------------------------*/
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    /* --- INÍCIO DAS MUDANÇAS --- */

    header {
        /* Garante que o padding não seja muito grande no mobile */
        padding: 10px 0; 
    }

    header .container {
        /* MUDANÇA: Altera para o modo linha e centraliza o conteúdo principal (a logo) */
        flex-direction: row;
        justify-content: center;
        position: relative; /* Necessário para posicionar o botão de tema */
        height: 60px; /* Altura fixa para alinhar melhor os itens */
    }

    nav {
        /* MUDANÇA: Esconde o menu de navegação em telas pequenas */
        display: none;
    }

    #theme-toggle {
        /* MUDANÇA: Posiciona o botão de tema no canto direito, independente da logo */
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .logo {
        /* Garante que a logo não fique muito grande e quebre o layout */
        height: 45px;
    }
    
    /* --- FIM DAS MUDANÇAS --- */
    
    .hero {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    section {
        padding: 60px 0;
    }

    .about-flex, .contact-content {
        flex-direction: column;
    }
}
