/* ============================================
   GLOBAL STYLES - Trote Solidário
   Estética: Grunge/Street Art com Energia Juvenil
   ============================================ */

:root {
  /* Cores Principais - Identidade Visual */
  --color-purple: #A020F0;
  --color-pink: #FF00FF;
  --color-yellow: #FFD700;
  --color-navy: #000080;
  
  /* Cores Neutras */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-dark-gray: #1a1a1a;
  --color-light-gray: #f5f5f5;
  
  /* Tipografia */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Espaçamento */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  
  /* Sombras */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-grunge: 0 8px 16px rgba(0, 0, 0, 0.3);
  
  /* Raios de Borda */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Transições */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-white);
  color: var(--color-dark-gray);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
}

h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
}

p {
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
  font-weight: 400;
}

strong {
  font-weight: 600;
}

/* Links */
a {
  color: var(--color-purple);
  text-decoration: none;
  transition: color var(--transition-normal);
}

a:hover {
  color: var(--color-pink);
}

/* Listas */
ul, ol {
  margin-left: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

li {
  margin-bottom: var(--spacing-xs);
}

/* Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Utilitários */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* ===== MENU HAMBURGUER ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Animações do botão quando ativo */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }

    #nav-menu.active {
        left: 0;
    }

    #nav-menu a {
        color: white !important;
        font-size: 20px;
        margin: 15px 0;
        width: 80%;
        text-align: center;
        padding: 15px !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    #nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.05);
    }

    /* Ajuste para o link de área restrita */
    #nav-menu a[href*="admin"] {
        background: #333 !important;
        color: white !important;
        margin-top: 30px;
    }

    #nav-menu a[href*="admin"]:hover {
        background: #444 !important;
    }

    /* Header precisa de z-index maior */
    header {
        z-index: 1001;
    }
}

/* Para telas muito pequenas */
@media screen and (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .logo span {
        font-size: 16px;
    }

    #nav-menu a {
        font-size: 18px;
        padding: 12px !important;
    }
}
/* Estilos do Header */
header {
    background: linear-gradient(135deg, #A020F0 0%, #FF00FF 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    color: #A020F0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
}

#nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

#nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 14px;
}

#nav-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== MENU HAMBURGUER ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #A020F0 0%, #FF00FF 100%);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 40px;
        transition: left 0.3s ease-in-out;
        z-index: 999;
    }

    #nav-menu.active {
        left: 0;
    }

    #nav-menu a {
        color: white !important;
        font-size: 20px;
        margin: 15px 0;
        width: 80%;
        text-align: center;
        padding: 15px !important;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1) !important;
    }

    #nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(1.05);
    }

    #nav-menu a[href*="admin"] {
        background: #333 !important;
        color: white !important;
        margin-top: 30px;
    }

    #nav-menu a[href*="admin"]:hover {
        background: #444 !important;
    }
}

@media screen and (max-width: 480px) {
    .header-container {
        padding: 0 15px;
    }

    .logo span {
        font-size: 16px;
    }

    #nav-menu a {
        font-size: 18px;
        padding: 12px !important;
    }
}