/*
Theme Name: Barca da Cultura
Theme URI: https://barcadacultura.com
Description: Tema elegante para o livro fotográfico Barca da Cultura - Barca de Sonhos
Author: Dudu Arbex
Version: 4.0
*/

/* Fontes do livro original */
@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@400;700;800&display=swap');

:root {
  --color-azul-bebe: #B8D4E8;
  --color-amarelo-claro: #FFE8A3;
  --color-branco: #FFFFFF;
  --color-cinza-claro: #F8F9FA;
  --color-cinza-escuro: #1A1A1A;
  --color-texto: #2C3E50;
  --color-texto-claro: #E8E8E8;
  --color-destaque: #5DADE2;
  --fonte-principal: 'Alegreya Sans', sans-serif;
  --fonte-display: 'Playfair Display', Georgia, serif;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--fonte-principal);
    background-color: #1a1a1a;
    color: #333;
    line-height: 1.6;
}

/* Layout Boxed - Container centralizado */
.site-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--color-branco);
  box-shadow: 0 0 40px rgba(0,0,0,0.15);
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 3rem;
}

h1, h2, h3 {
  font-family: var(--fonte-display);
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--color-azul-bebe) 0%, var(--color-amarelo-claro) 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-title {
  margin: 0;
}

.site-title a {
  color: var(--color-texto);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
  transition: all 0.3s ease;
}

.site-title a:hover {
  color: var(--color-destaque);
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  color: var(--color-texto);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a:hover {
  color: var(--color-destaque);
  transform: translateY(-2px);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-azul-bebe), var(--color-amarelo-claro));
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Hero Section com PDF Reader */
.hero-section {
  background: linear-gradient(135deg, var(--color-azul-bebe) 0%, var(--color-amarelo-claro) 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/images/capa/capa do livro.jpg') center center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  text-align: left;
  position: relative;
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--color-texto);
  line-height: 1.1;
  text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
}

.hero-section .subtitle {
  font-size: 1.8rem;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--color-destaque);
  font-weight: 600;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--color-texto);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pdf-viewer {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  overflow: hidden;
  height: 600px;
  position: relative;
}

.pdf-viewer iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pdf-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 3rem;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.pdf-placeholder-icon {
  font-size: 5rem;
  margin-bottom: 1.5rem;
  opacity: 0.6;
}

.pdf-placeholder h3 {
  font-size: 1.8rem;
  color: var(--color-texto);
  margin-bottom: 1rem;
}

.pdf-placeholder p {
  color: var(--color-texto);
  opacity: 0.7;
  font-size: 1.1rem;
}

/* Seção de Compra */
.compra-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-amarelo-claro) 0%, var(--color-azul-bebe) 100%);
}

.compra-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 30px;
  padding: 4rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  text-align: center;
}

.compra-content h2 {
  font-size: 3rem;
  color: var(--color-texto);
  margin-bottom: 1rem;
}

.compra-preco {
  font-size: 4rem;
  font-weight: 900;
  color: var(--color-destaque);
  margin: 2rem 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.compra-detalhes {
  margin: 2rem 0;
  text-align: left;
}

.compra-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.compra-item-icon {
  font-size: 1.5rem;
  min-width: 30px;
}

.compra-item p {
  font-size: 1.1rem;
  margin: 0;
}

.btn-comprar {
  display: inline-block;
  padding: 1.5rem 4rem;
  background: linear-gradient(135deg, var(--color-destaque) 0%, #3498db 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(52,152,219,0.3);
  margin-top: 2rem;
  border: none;
  cursor: pointer;
}

.btn-comprar:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(52,152,219,0.4);
}

/* Outras Seções */
.about-section,
.galeria-section,
.paschoal-section,
.acesso-section,
.contato-section {
  padding: 5rem 0;
}

.about-section {
  background: var(--color-branco);
}

.galeria-section {
  background: #1a1a1a !important;
}

.paschoal-section {
  background: linear-gradient(135deg, var(--color-azul-bebe) 0%, var(--color-amarelo-claro) 100%);
}

.acesso-section {
  background: var(--color-branco);
}

.contato-section {
}

h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-texto);
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--color-destaque);
  font-style: italic;
  margin-bottom: 3rem;
}

/* Galeria Grid */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.galeria-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.galeria-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.galeria-image {
  height: 300px;
  background: linear-gradient(135deg, var(--color-azul-bebe), var(--color-amarelo-claro));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.galeria-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeria-card:hover .galeria-image img {
  transform: scale(1.1);
}

.placeholder-icon {
  font-size: 5rem;
  opacity: 0.5;
}

.galeria-card h3 {
  padding: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.galeria-card p {
  padding: 0 1.5rem 1.5rem;
  text-align: center;
  color: var(--color-texto);
  opacity: 0.8;
}

/* Seção Paschoal */
.paschoal-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-branco) 0%, var(--color-azul-bebe) 100%);
}

.paschoal-section h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-texto);
}

.paschoal-section .section-subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: var(--color-texto);
  opacity: 0.7;
  margin-bottom: 2rem;
}

.paschoal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-texto);
}

.paschoal-content p {
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, var(--color-azul-bebe) 0%, var(--color-amarelo-claro) 100%);
  color: var(--color-texto);
  padding: 3rem 2rem;
  text-align: center;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .header-content {
    flex-direction: column;
  }
  
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .compra-content {
    padding: 2rem;
  }
  
  .compra-preco {
    font-size: 3rem;
  }
  
  .galeria-grid {
    grid-template-columns: 1fr;
  }
  
  .paschoal-content {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Galeria Mosaico - Estilo Notion */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem !important;
    margin-top: 3rem !important;
}

.galeria-item {
    background: white !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.galeria-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12) !important;
}

.galeria-image {
    height: 320px !important;
}

.galeria-info {
    padding: 0.75rem 1rem !important;
    background: #fafafa !important;
}
/* MOSAICO 2 COLUNAS - Respeitando boxed */
.galeria-mosaico {
    column-count: 2;
    column-gap: 2rem;
    margin-top: 3rem;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .galeria-mosaico {
        column-count: 1;
        padding: 0 1rem;
    }
}

.mosaico-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    break-inside: avoid;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mosaico-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.mosaico-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.mosaico-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.mosaico-item:hover .mosaico-image img {
    transform: scale(1.03);
}

.mosaico-legenda {
    padding: 0.75rem 1rem;
    background: #2a2a2a;
    font-size: 0.875rem;
    color: #e0e0e0;
    font-weight: 400;
    font-style: italic;
    margin: 0;
    border-top: 1px solid #f0f0f0;
}
