/*
 * Hivex Theme - Estilos personalizados
 * Este arquivo contém estilos personalizados para o tema Hivex
 */

/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* Variáveis de cores */
:root {
  --hivex-gold: #F8C249;
  --hivex-purple: #9945FF;
  --hivex-green: #14F195;
  --hivex-gradient: linear-gradient(135deg, var(--hivex-gold), var(--hivex-purple));
  --hivex-gradient-dark: linear-gradient(135deg, var(--hivex-gold), var(--hivex-green));
}

/* Tipografia */
body {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.dark-theme body {
  color: #e0e0e0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #333;
  margin-bottom: 1rem;
}

.dark-theme h1, .dark-theme h2, .dark-theme h3, .dark-theme h4, .dark-theme h5, .dark-theme h6 {
  color: #f0f0f0;
}

h1 {
  font-size: 2rem; /* 32px */
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem; /* 28px */
  line-height: 1.3;
}

h3 {
  font-size: 1.5rem; /* 24px */
  line-height: 1.4;
}

h4 {
  font-size: 1.25rem; /* 20px */
}

h5 {
  font-size: 1.125rem; /* 18px */
}

h6 {
  font-size: 1rem; /* 16px */
}

/* Texto com destaque */
.text-light {
  font-weight: 300;
}

.text-regular {
  font-weight: 400;
}

.text-medium {
  font-weight: 500;
}

.text-semibold {
  font-weight: 600;
}

.text-bold {
  font-weight: 700;
}

.text-spacing-wide {
  letter-spacing: 1px;
}

.text-spacing-normal {
  letter-spacing: 0.5px;
}

.text-spacing-tight {
  letter-spacing: -0.5px;
}

.text-gradient {
  background: var(--hivex-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.dark-theme .text-gradient {
  background: var(--hivex-gradient-dark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Estilos para links */
a {
  color: var(--hivex-purple);
  transition: color 0.3s ease;
  text-decoration: none;
}

a:hover {
  color: var(--hivex-gold);
}

.dark-theme a {
  color: var(--hivex-green);
}

.dark-theme a:hover {
  color: var(--hivex-gold);
}

/* Estilos para parágrafos */
p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Estilos para listas */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Estilos para texto pequeno */
small, .text-small {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Elementos Hexagonais */

/* Título com destaque hexagonal */
.hex-title {
  position: relative;
  display: inline-block;
  padding: 0 0 10px 0;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #333;
}

.dark-theme .hex-title {
  color: #f0f0f0;
}

.hex-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--hivex-gradient);
  clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

.dark-theme .hex-title::after {
  background: var(--hivex-gradient-dark);
}

/* Card com borda hexagonal */
.hex-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
}

.hex-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--hivex-gradient);
  z-index: -1;
  border-radius: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hex-card:hover::before {
  opacity: 1;
}

.hex-card .card-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.dark-theme .hex-card .card-title {
  color: #f0f0f0;
}

.hex-card .card-text {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
}

.dark-theme .hex-card .card-text {
  color: #d0d0d0;
}

/* Ícones hexagonais */
.hex-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  position: relative;
  margin: 10px;
  z-index: 1;
}

/* Ícone hexagonal mini para navegação */
.hex-icon-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  position: relative;
  margin-right: 5px;
  z-index: 1;
  vertical-align: middle;
}

.hex-icon-mini::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--hivex-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
  opacity: 0.8;
}

.hex-icon-mini i {
  color: white;
  font-size: 10px;
  position: relative;
  z-index: 2;
}

.dark-theme .hex-icon-mini::before {
  background: var(--hivex-gradient-dark);
}

.hex-icon::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--hivex-gradient);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: -1;
}

.hex-icon i, 
.hex-icon span {
  color: white !important;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

/* Avatares hexagonais */
.hex-avatar {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.hex-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Botões hexagonais */
.hex-button {
  position: relative;
  padding: 12px 24px;
  background: var(--hivex-gradient);
  color: white;
  border: none;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.hex-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.dark-theme .hex-button {
  background: var(--hivex-gradient-dark);
}

/* Fundo com padrão hexagonal */
.hex-background {
  position: relative;
  background-color: #f9f9f9;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%239945FF' fill-opacity='0.05' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Estilos diretos para os botões de navegação */
#main-wrapper .header .navigation .navbar .navbar-nav .nav-item {
  margin: 0 10px;
}

#main-wrapper .header .navigation .navbar .navbar-nav .nav-item .nav-link {
  background-color: #9945FF;
  color: white;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 12px 25px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(153, 69, 255, 0.3);
  transition: all 0.3s ease;
  margin: 5px;
  border: none;
}

#main-wrapper .header .navigation .navbar .navbar-nav .nav-item .nav-link:hover {
  background-color: #7a37cc;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(153, 69, 255, 0.4);
}

#main-wrapper .header .navigation .navbar .navbar-nav .nav-item.active .nav-link {
  background: linear-gradient(135deg, #F8C249, #9945FF);
  font-weight: 700;
}

/* Responsividade */
@media (max-width: 991px) {
  #main-wrapper .header .navigation .navbar .navbar-nav .nav-item {
    margin: 5px 0;
  }
  
  #main-wrapper .header .navigation .navbar .navbar-nav .nav-item .nav-link {
    width: 100%;
    font-size: 1rem;
    padding: 10px 15px;
  }
}

.navbar-nav .nav-link {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 28px;
  color: white;
  transition: all 0.3s ease;
  border-radius: 0;
  background: var(--hivex-purple);
  border: 2px solid transparent;
  clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
  margin: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link:hover {
  color: white;
  background: var(--hivex-gradient);
  border-color: transparent;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(153, 69, 255, 0.4);
}

.navbar-nav .nav-item.active .nav-link {
  color: white;
  background: var(--hivex-gradient);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(153, 69, 255, 0.4);
}

/* Versão para tema escuro */
.dark-theme .navbar-nav .nav-link {
  color: white;
  background: #333366;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .navbar-nav .nav-link:hover {
  color: white;
  background: var(--hivex-gradient-dark);
  border-color: transparent;
}

.dark-theme .navbar-nav .nav-item.active .nav-link {
  color: white;
  background: var(--hivex-gradient-dark);
}

/* Adaptações para tema escuro */
.dark-theme .hex-background {
  background-color: #1a1a2e;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%2314F195' fill-opacity='0.05' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
