/* Reset e variáveis de tema futurístico simplificado */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #ffffff;
  --accent: #00d9ff;
  --background: #0a0a16;
  --surface: #15152a;
  --transition: all 0.3s ease;
}

/* Corpo com tema espacial limpo */
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--background);
  color: var(--primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
     background-image: url(img/cid.png);
  background-size: cover;
  background-repeat: no-repeat;
}

/* Efeito de grade sutil */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 217, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

/* Navbar minimalista */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 22, 0.95);
  padding: 1rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 217, 255, 0.3);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links a:hover {
  color: var(--accent);
}

/* Conteúdo principal limpo */
.main-content {
  max-width: 1200px;
  background: rgba(21, 21, 42, 0.6);
  margin: 100px auto 40px;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 217, 255, 0.2);
  backdrop-filter: blur(5px);
}

/* Seção hero simplificada */
.hero {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 300;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--accent);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Seções de conteúdo minimalistas */
.historia-section {
  background: rgba(26, 26, 46, 0.4);
  margin-bottom: 2rem;
  padding: 2rem;
  border-radius: 8px;
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}

.historia-section:hover {
  transform: translateX(5px);
  border-left-color: var(--primary);
}

.historia-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 600;
}

.historia-section p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* TAMANHO PADRÃO PARA TODAS AS IMAGENS */
.historia-section img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: 350px; /* Altura fixa para todas */
  object-fit: cover; /* Mantém proporção e preenche o espaço */
  margin: 1.5rem auto;
  border-radius: 6px;
  border: 1px solid rgba(0, 217, 255, 0.3);
  transition: var(--transition);
}

.historia-section img:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

/* Responsividade para imagens */
@media (max-width: 768px) {
  .historia-section img {
    height: 300px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .historia-section img {
    height: 250px;
  }
}

/* Responsividade geral */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .main-content {
    margin: 140px 1rem 2rem;
    padding: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .historia-section {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .historia-section {
    padding: 1rem;
  }
  
  .historia-section img {
    height: 200px;
  }
}

/* Footer */
.footer {
    background: rgba(10, 10, 22, 0.95);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 217, 255, 0.3);
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.footer .social-links a {
    color: var(--primary);
    font-size: 1.5rem;
    transition: var(--transition);
}

.footer .social-links a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

.footer p:last-of-type {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsividade do footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
        margin-top: 3rem;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer .social-links {
        gap: 1rem;
        margin: 1.5rem 0;
    }
    
    .footer .social-links a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer .social-links {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .footer .social-links a {
        font-size: 1.2rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
}

/*responsividade do hamburguer*/
.hamburguer{
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 25px;
  right: 20px;
  z-index: 1000;
}
.hamburguer span{
  height: 3px;
  width: 25px;
  background: #8b5cf6;
  margin-bottom: 4px;
  border-radius: 2px;
  transition: all 0.3s ease;
}
#menu-toggle{
  display: none;
}
@media (max-width: 900px){
  .hamburguer{
    display: flex;
  }
  .nav-links{
    position: fixed;
    right: 0;
    height: 100vh;
    top: 0;
    background: rgba(10, 10, 22, 0.95);
    flex-direction: column;
    width: 200px;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: var(--transition);
  }
  .nav-links a{
    font-size: 1.2rem;
  }
  #menu-toggle:checked + .hamburguer span:nth-child(1){
    transform: rotate(45deg) translate(5px, 5px);
  }
  #menu-toggle:checked + .hamburguer span:nth-child(2){
    opacity: 0;
  }
  #menu-toggle:checked + .hamburguer span:nth-child(3){
    transform: rotate(-45deg) translate(5px, -5px);
  }
  #menu-toggle:checked ~ nav .nav-links{
    transform: translateX(0);
  }
}