/*
Theme Name: Dancaplay
Theme URI: https://dancaplay.com.br
Description: Tema WordPress responsivo para a plataforma Dancaplay, especializado em gestão de eventos de dança.
Version: 1.0.0
Author: Manus AI
Author URI: https://manus.im
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dancaplay
Domain Path: /languages
*/

/* ========================================
   VARIÁVEIS DE COR - PALETA DO LOGO
   ======================================== */

:root {
  --color-primary-yellow: #ffe061;
  --color-primary-cyan: #88c0d0;
  --color-primary-pink: #ff85c7;
  --color-primary-green: #a3be8c;
  --color-text-dark: #000000;
  --color-text-light: #ffffff;
  --color-bg-light: #f5f5f5;
  --color-bg-white: #ffffff;
  --color-border: #e0e0e0;
  --color-accent: #ff85c7;
}

/* ========================================
   RESET E ESTILOS GLOBAIS
   ======================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-bg-white);
}

/* ========================================
   TIPOGRAFIA
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--color-primary-pink);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--color-primary-cyan);
}

/* ========================================
   BOTÕES
   ======================================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary-yellow);
  color: var(--color-text-dark);
}

.btn-primary:hover {
  background-color: #ffdb3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: var(--color-primary-pink);
  color: var(--color-text-light);
}

.btn-secondary:hover {
  background-color: #ff6ab5;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-tertiary {
  background-color: var(--color-primary-green);
  color: var(--color-text-light);
}

.btn-tertiary:hover {
  background-color: #8fb07a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */

.site-header {
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.site-logo img {
  max-height: 50px;
  width: auto;
}

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

.site-nav a {
  color: var(--color-text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-nav a:hover {
  color: var(--color-primary-pink);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, rgba(255, 224, 97, 0.1) 0%, rgba(136, 192, 208, 0.1) 100%);
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background-color: var(--color-primary-cyan);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 300px;
  height: 300px;
  background-color: var(--color-primary-pink);
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #666;
}

/* ========================================
   CONTAINER E LAYOUT
   ======================================== */

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

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* ========================================
   CARDS DE EVENTO
   ======================================== */

.event-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.event-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card-content {
  padding: 1.5rem;
}

.event-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.event-card-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}

.event-card-meta span {
  display: block;
  margin-bottom: 0.25rem;
}

.event-card-footer {
  display: flex;
  gap: 0.5rem;
}

/* ========================================
   SEÇÃO DE EVENTOS
   ======================================== */

.events-section {
  padding: 4rem 1rem;
  background-color: var(--color-bg-light);
}

.events-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text-dark);
}

/* ========================================
   FILTROS DE EVENTO
   ======================================== */

.event-filters {
  background-color: var(--color-bg-white);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid var(--color-border);
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
}

/* ========================================
   PÁGINA DE DETALHES DO EVENTO
   ======================================== */

.event-detail {
  padding: 3rem 1rem;
}

.event-detail-header {
  margin-bottom: 3rem;
}

.event-detail-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.event-detail-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.event-detail-content {
  color: #666;
  line-height: 1.8;
}

.event-detail-sidebar {
  background-color: var(--color-bg-light);
  padding: 2rem;
  border-radius: 8px;
  height: fit-content;
}

.event-detail-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary-pink);
  margin-bottom: 1rem;
}

.event-detail-cta {
  width: 100%;
  margin-bottom: 1rem;
}

/* ========================================
   BLOG
   ======================================== */

.blog-post {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.blog-post:last-child {
  border-bottom: none;
}

.blog-post-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.blog-post-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
}

.blog-post-excerpt {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ========================================
   FOOTER
   ======================================== */

.site-footer {
  background-color: var(--color-text-dark);
  color: var(--color-text-light);
  padding: 3rem 1rem 1rem;
  margin-top: 4rem;
}

.site-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer-section h3 {
  color: var(--color-primary-yellow);
  margin-bottom: 1rem;
}

.site-footer-section ul {
  list-style: none;
}

.site-footer-section li {
  margin-bottom: 0.5rem;
}

.site-footer-section a {
  color: var(--color-text-light);
}

.site-footer-section a:hover {
  color: var(--color-primary-yellow);
}

.site-footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .site-nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .event-detail-info {
    grid-template-columns: 1fr;
  }

  .site-footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .site-header-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .btn {
    width: 100%;
  }
}

