/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* --- NAVBAR AJUSTADA E MODERNA --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: 0.4s;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar .container {
  max-width: 1200px;
  margin: auto;
  padding: 8px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #00c4ff;
  font-weight: 700;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.95em;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00c4ff;
}

body {
  padding-top: 90px;
}


.logo {
  color: #00c4ff;
  font-weight: 700;
  font-size: 1.5em;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00c4ff;
}

/* HERO COM IMAGEM DE FUNDO CENTRALIZADO */
.hero
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  flex-direction: column;
  padding 20px;



.hero-content h1 {
  font-size: 3em;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.btn {
  background: #00c4ff;
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #009dcc;
}

/* SEÇÕES INTERNAS */
.content {
  padding: 100px 20px;
  text-align: center;
  color: white;
}

/* SERVIÇOS / EQUIPE */
.services, .team {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.card {
  background-color: #1e1e1e;
  border: 1px solid #2a2a2a;
  padding: 25px;
  box-shadow: 0 0 10px rgba(0,180,216,0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
  text-align: center;
  color:white;
} 

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0,183,255,0.2);
    border-color: rgba(0,183,255,0.25);
}

/* FORMULÁRIO DE CONTATO CENTRALIZADO */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 40px auto;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  resize: none;
  background: rgba(255,255,255,0.8);
}

.contact-form button {
  background: #00c4ff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #009dcc;
}

 body {
  padding-top: 200px;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
              url('https://images.unsplash.com/photo-1522075469751-3a6694fb2f61') center/cover;
  background-attachment: fixed;
  color: white;
}
.portfolio-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background: rgba(255,255,255,0.05);
  min-height: 100vh;
}

.portfolio-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 90%;
  max-width: 1200px;
  margin-top: 40px;
}

.portfolio-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  text-align: center;
  padding: 20px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.portfolio-card h3 {
  margin-top: 15px;
  color: #fff;
  font-size: 1.4rem;
}

.portfolio-card p {
  color: #ddd;
  font-size: 1rem;
  margin-top: 10px;
}

.sem-projetos {
  color: #fff;
  font-size: 1.2rem;
  margin-top: 50px;
}
/* PAINEL ADMIN */
.admin-section {
  min-height: 100vh;
  background: linear-gradient(to right, #00111a, #002233);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 20px;
  color: #fff;
}

.admin-content {
  max-width: 900px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
}

.admin-content h1, 
.admin-content h2 {
  text-align: center;
  color: #00c4ff;
  margin-bottom: 20px;
}

.admin-content p {
  text-align: center;
  color: #ddd;
  margin-bottom: 40px;
}
/* LOGIN PAGE */
.login-section {
  height: 100vh;
  background: linear-gradient(to right, #00111a, #002233);
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  width: 350px;
  text-align: center;
  color: #fff;
}

.login-box h1 {
  color: #00c4ff;
  margin-bottom: 20px;
}
/* ===== PAINEL ADMIN ===== */
.admin-container {
  display: flex;
  height: 100vh;
  background: #0b1220;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Sidebar lateral */
.sidebar {
  width: 250px;
  background: #111b2a;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
}

.sidebar h2 {
  color: #00c4ff;
  text-align: center;
  margin-bottom: 30px;
}

.sidebar nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 12px 0;
  padding: 10px 15px;
  border-radius: 8px;
  transition: 0.3s;
}

.sidebar nav a:hover,
.sidebar nav a.active {
  background: #00c4ff;
  color: #00111a;
  box-shadow: 0 0 10px #00c4ff;
}

.logout-btn {
  background: transparent;
  color: #fff;
  border: 1px solid #00c4ff;
  padding: 8px 18px;
  border-radius: 25px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

.logout-btn:hover {
  background: #00c4ff;
  color: #00111a;
  box-shadow: 0 0 10px #00c4ff;
}

/* Conteúdo principal */
.admin-content {
  flex: 1;
  padding: 50px;
  background: linear-gradient(135deg, #0b1220, #09111f);
  overflow-y: auto;
}

.admin-header h1 {
  font-size: 26px;
  color: #00c4ff;
  margin-bottom: 10px;
}

.admin-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  margin-top: 30px;
  box-shadow: 0 0 15px rgba(0, 196, 255, 0.1);
}
.login-text {
  text-align: center;
  margin-bottom: 20px;
}
.register-text {
  text-align: center;
  margin-bottom: 20px;
}
body
	
/* ====== FOOTER ====== */
.footer {
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin-top: 100px;
}

.footer h2 {
  color: #00c4ff;
  margin-bottom: 15px;
}

.footer p {
  max-width: 700px;
  margin: 10px auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

.social-icons {
  margin: 30px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.social-icons img {
  width: 35px;
  height: 35px;
  transition: 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
  filter: invert(68%) sepia(96%) saturate(326%) hue-rotate(161deg) brightness(94%) contrast(89%);
}

.copy {
  margin-top: 25px;
  font-size: 0.9em;
  color: #999;
}

/* Navbar personalizada */
.navbar {
  transition: background-color 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.nav-link {
  color: #fff !important;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: #0dcaf0 !important; /* azul claro */
  transform: scale(1.1);
}

/* Efeito de fundo ao rolar */
.navbar.scrolled {
  background-color: #111 !important;
}
/* Navbar padrão */
#mainNav {
  transition: all 0.3s ease;
}

/* Navbar encolhida */
#mainNav.shrink {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
  background-color: rgba(0,0,0,0.95); /* mais escura ao rolar */
}

#mainNav .navbar-brand {
  transition: font-size 0.3s ease;
}

#mainNav.shrink .navbar-brand {
  font-size: 1.2rem; /* diminui o logo */
}
#chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background: #222;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  font-family: Arial, sans-serif;
}

#chat-header {
  background: #0dcaf0;
  padding: 10px;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
}

#chat-body {
  height: 200px;
  overflow-y: auto;
  padding: 10px;
}

#chat-footer {
  display: flex;
  border-top: 1px solid #444;
}

#chat-input {
  flex: 1;
  padding: 8px;
  border: none;
  outline: none;
}

#chat-footer button {
  background: #0dcaf0;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}
<style>
#chatbox {
  max-width: 500px;
  width: 100%;
}
</style>

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
body.light-mode {
  background: #f8f9fa;
  color: #212529;
}

body.dark-mode {
  background: #000;
  color: #f8f9fa;
}
