/*
Theme Name: Carlos Ribeiro - Onde Todos São Amados
Description: Tema WordPress personalizado para o site de Carlos Ribeiro, um santuário digital de sabedoria e acolhimento.
Author: Manus AI
Version: 1.0
Text Domain: carlos-ribeiro
*/

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-gold: #FFD700;
    --secondary-gold: #FFA500;
    --accent-gold: #FFED4E;
    --deep-black: #000000;
    --soft-black: #1a1a1a;
    --charcoal: #2d2d2d;
    --dark-gray: #404040;
    --cream-white: #FFFEF7;
    --gold-gradient: linear-gradient(135deg, #FFD700, #FFA500);
    --black-gradient: linear-gradient(135deg, #000000, #1a1a1a);
}

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.6;
    color: var(--cream-white);
    background: var(--deep-black);
    overflow-x: hidden;
}

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

/* WordPress específico */
.wp-block-group {
    margin: 0;
}

.wp-site-blocks {
    padding: 0;
}

.wp-block-post-content {
    margin: 0;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes goldGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-navigation {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-title {
    font-family: 'Cinzel', serif;
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    margin: 0;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--cream-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--primary-gold);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mandala-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mandala-bg {
    width: 80%;
    height: 80%;
    object-fit: contain;
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
    filter: sepia(100%) saturate(200%) hue-rotate(35deg) brightness(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-text {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: goldGlow 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cream-white);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--cream-white);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-gold);
    font-size: 2rem;
    animation: float 2s ease-in-out infinite;
    cursor: pointer;
    z-index: 2;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--deep-black);
    border-color: var(--primary-gold);
}

.btn-primary:hover {
    background: var(--deep-black);
    color: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--deep-black);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

/* Seções Gerais */
.content-section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--cream-white);
    font-style: italic;
    opacity: 0.9;
}

/* Sobre Section */
.sobre-section {
    background: var(--soft-black);
}

.sobre-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.sobre-image {
    text-align: center;
}

.carlos-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.carlos-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.6);
}

.story-card, .message-card {
    background: rgba(255, 215, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
    margin-bottom: 2rem;
}

.story-card h3, .message-card h3 {
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.story-card p, .message-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

blockquote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    position: relative;
    padding-left: 2rem;
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
}

cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    color: var(--primary-gold);
    font-weight: 600;
}

.video-container {
	      overflow: hidden;
          padding-bottom: 56.25%; /* Proporção 16:9, ajuste conforme necessário */
          position: relative;
          height: 0;
}

.video-container iframe {
          left: 0;
          top: 0;
	      height: 100%;
          width: 100%;
          position: absolute;
}


/* Versos Section */
.versos-section {
    background: var(--deep-black);
}

.versos-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.versos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.verso-card {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.verso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
}

.verso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-gold);
}

.verso-header {
    margin-bottom: 1.5rem;
}

.verso-header h3 {
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.verso-source {
    color: var(--cream-white);
    opacity: 0.7;
    font-size: 0.9rem;
    font-style: italic;
}

.verso-content blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cream-white);
    margin: 1.5rem 0;
    padding-left: 0;
}

.verso-content blockquote::before {
    display: none;
}

.verso-footer {
    text-align: right;
    margin-top: 1rem;
}

.verso-author {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

.versos-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 15px;
}

.versos-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Livros Section */
.livros-section {
    background: var(--soft-black);
}

.livros-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.livro-card {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.livro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gold-gradient);
}

.livro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-gold);
}

.livro-image {
    margin-bottom: 1.5rem;
}

.livro-image i {
    font-size: 3rem;
    color: var(--primary-gold);
    animation: pulse 2s ease-in-out infinite;
}

.livro-content h3 {
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.livro-count {
    color: var(--secondary-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.livro-content p {
    line-height: 1.6;
    color: var(--cream-white);
}

.livros-note {
    margin-top: 3rem;
}

.note-card {
    background: rgba(255, 215, 0, 0.1);
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.note-card h3 {
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.note-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Seção Interativa */
.interacao-section {
    background: var(--deep-black);
}

.interacao-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.verso-form-container {
    max-width: 600px;
    margin: 0 auto 4rem auto;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
}

.verso-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    padding: 12px;
    color: var(--cream-white);
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* WordPress Comments */
.comments-area {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.comments-title {
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.comment-author {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-content {
    color: var(--cream-white);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: var(--deep-black);
    border-top: 2px solid var(--primary-gold);
    padding: 3rem 0 1rem 0;
}

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

.footer-section h3,
.footer-section h4 {
    color: var(--primary-gold);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--cream-white);
    opacity: 0.8;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: var(--cream-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    color: var(--cream-white);
    opacity: 0.7;
}

/* WordPress específico */
.wp-block-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wp-block-navigation__container {
    display: flex;
    gap: 2rem;
}

.wp-block-navigation-item a {
    color: var(--cream-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.wp-block-navigation-item a:hover {
    color: var(--primary-gold);
}

/* Responsividade */
@media (max-width: 768px) {
    .main-navigation ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .main-navigation ul.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-text {
        padding: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .sobre-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .carlos-image {
        width: 250px;
        height: 250px;
    }

    .section-title {
        font-size: 2rem;
    }

    .versos-grid {
        grid-template-columns: 1fr;
    }

    .livros-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .carlos-image {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-text {
        padding: 1.5rem;
    }
}

/* Animações de entrada */
.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

