/* Importação de fontes (estilo Horizon) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* Variáveis de cores */
:root {
    --color-dark: #0d0d0d;
    --color-dark-secondary: #1a1a1a;
    --color-red: #b30000;
    --color-red-light: #ff1a1a;
    --color-white: #ffffff;
    --color-gray: #cccccc;
    --color-gold: #d4af37;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-dark);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(179, 0, 0, 0.5);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-red), transparent);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

a:hover {
    color: var(--color-red-light);
}

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

/* Efeitos místicos gerais */
.mystic-glow {
    position: relative;
}

.mystic-glow::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: inherit;
    background: linear-gradient(45deg, var(--color-red), transparent, var(--color-red));
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
    animation: glowPulse 3s infinite alternate;
}

@keyframes glowPulse {
    0% {
        opacity: 0.5;
        filter: blur(15px);
    }
    100% {
        opacity: 0.8;
        filter: blur(20px);
    }
}

/* Estilos para o background de vídeo */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

/* Estilos para o header (menu) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 5%;
    background-color: rgba(13, 13, 13, 0.9);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(179, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(179, 0, 0, 0.3);
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(179, 0, 0, 0.7);
    letter-spacing: 1px;
}

.logo span {
    color: var(--color-red);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Estilos para o conteúdo principal */
main {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

section {
    padding: 60px 5%;
    position: relative;
}

/* Seção de introdução */
#introducao {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.intro-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 3px solid var(--color-red);
    box-shadow: 0 0 20px rgba(179, 0, 0, 0.7);
}

/* Elementos místicos animados */
.floating-crystal {
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url('../images/crystal-ball.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
    animation: float 15s infinite ease-in-out;
    z-index: 1;
}

.floating-card {
    position: absolute;
    width: 80px;
    height: 120px;
    background-image: url('../images/tarot-card.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
    filter: drop-shadow(0 0 10px rgba(179, 0, 0, 0.7));
    animation: floatCard 20s infinite ease-in-out;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(5deg);
    }
    50% {
        transform: translateY(10px) translateX(20px) rotate(-5deg);
    }
    75% {
        transform: translateY(-10px) translateX(-20px) rotate(3deg);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) translateX(20px) rotate(10deg);
    }
    66% {
        transform: translateY(20px) translateX(-30px) rotate(-8deg);
    }
}

/* Seção de trabalhos espirituais */
#trabalhos {
    position: relative;
    overflow: hidden;
}

.trabalhos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.trabalho-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(13, 13, 13, 0.9));
    border: 1px solid rgba(179, 0, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.trabalho-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(179, 0, 0, 0.4);
}

.trabalho-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(179, 0, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.trabalho-card:hover::before {
    opacity: 1;
}

.trabalho-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.trabalho-card p {
    margin-bottom: 20px;
    color: var(--color-gray);
    position: relative;
    z-index: 1;
}

.trabalho-card .emoji {
    font-size: 1.5rem;
    margin-left: 5px;
    vertical-align: middle;
}

.trabalho-card .btn-whatsapp {
    margin-top: 10px;
}

.consulta-card ul {
    list-style-type: none;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.consulta-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.consulta-card ul li::before {
    content: '✧';
    position: absolute;
    left: 0;
    color: var(--color-red);
}

.btn-whatsapp {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* Seção de feedback em texto */
#feedback-texto {
    position: relative;
    overflow: hidden; /* Manter para evitar que elementos flutuantes saiam */
    /* Reduzir padding se necessário, mas o problema principal é o layout do carrossel */
}

.feedback-carousel {
    position: relative; /* Necessário para posicionamento absoluto dos filhos */
    max-width: 800px;
    margin: 50px auto 0 auto; /* Ajustar margem superior, remover margem inferior */
    padding: 0; /* Remover padding vertical */
    min-height: 350px; /* Altura mínima para conter um item de feedback. Ajustar conforme necessário. */
}

.feedback-item {
    background: rgba(26, 26, 26, 0.7);
    border: 1px solid rgba(179, 0, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    /* margin: 20px 0; Remover margem que contribuía para o espaço */
    position: absolute; /* Fazer itens sobreporem-se em vez de empilharem */
    top: 0;
    left: 0;
    width: 100%; /* Garantir que o item ocupe a largura do carrossel */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease, transform 0.5s ease; /* Manter transições */
    opacity: 0;
    transform: translateY(20px);
    /* visibility: hidden; /* Alternativa para opacity: 0 */
}

.feedback-item.active {
    opacity: 1;
    transform: translateY(0);
    /* visibility: visible; */
    z-index: 1; /* Garantir que o item ativo fique por cima */
}

.feedback-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(179, 0, 0, 0.2);
    line-height: 1;
}

.feedback-item p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feedback-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.feedback-author span {
    font-weight: 600;
    font-size: 1.1rem;
}

.feedback-author .gender {
    font-size: 0.9rem;
    color: var(--color-gray);
    margin-left: 10px;
}

/* Seção de mural de feedback */
#feedback-mural {
    background-color: rgba(26, 26, 26, 0.7);
    position: relative;
}

.mural-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.mural-item {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    aspect-ratio: 9/16;
}

.mural-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(179, 0, 0, 0.4);
}

.mural-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.mural-item:hover img {
    transform: scale(1.05);
}

.mural-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.mural-item:hover .mural-overlay {
    transform: translateY(0);
}

/* Estilos para o rodapé */
footer {
    padding: 50px 5%;
    background-color: var(--color-dark-secondary);
    text-align: center;
    margin-top: 50px;
    position: relative;
    border-top: 1px solid rgba(179, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    flex-direction: row; /* Alterado para linha */
    justify-content: center; /* Centralizar horizontalmente */
    align-items: center;
    margin-bottom: 30px;
    gap: 40px; /* Aumentado espaçamento entre os links */
}

.social-links a {
    display: flex;
    align-items: center;
    color: var(--color-white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a i {
    margin-right: 10px;
    font-size: 1.3rem;
    color: var(--color-white);
}

.social-links a:hover {
    color: var(--color-red);
    transform: translateY(-3px);
}

.social-links a:hover i {
    color: var(--color-red);
}

.copyright {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-top: 20px;
}

/* Estilos para o botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* Partículas místicas */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-500px) translateX(100px);
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .consultas-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    header {
        padding: 10px 5%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(13, 13, 13, 0.95);
        padding: 20px 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    nav.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 15px 0;
    }
    
    section {
        padding: 60px 5%;
    }
    
    .consultas-grid {
        grid-template-columns: 1fr;
    }
    
    .mural-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .intro-image {
        width: 150px;
        height: 150px;
    }
    
    .mural-grid {
        grid-template-columns: 1fr;
    }
}


/* Seção de consultas (Restaurado) */
#consultas {
    background-color: rgba(26, 26, 26, 0.7);
    position: relative;
}

.consultas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.consulta-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.9), rgba(13, 13, 13, 0.9));
    border: 1px solid rgba(179, 0, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.consulta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(179, 0, 0, 0.4);
}

.consulta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(179, 0, 0, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.consulta-card:hover::before {
    opacity: 1;
}

.consulta-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.consulta-card p {
    margin-bottom: 20px;
    color: var(--color-gray);
    position: relative;
    z-index: 1;
}



/* Estilos para ícones SVG das consultas */
.consulta-icon {
    width: 1.5rem; /* Ajustar tamanho conforme necessário */
    height: 1.5rem; /* Ajustar tamanho conforme necessário */
    vertical-align: middle; /* Alinhar com o texto */
    margin-left: 8px; /* Espaçamento do título */
    stroke: var(--color-white); /* Cor do contorno */
    fill: none; /* Remover preenchimento se for apenas contorno */
    transition: stroke 0.3s ease;
}

.consulta-card:hover .consulta-icon {
    stroke: var(--color-red); /* Mudar cor no hover do card */
}



/* === Added/Modified Styles for User Request === */

/* Header Layout Adjustments */
header {
    align-items: center; /* Keep this */
}

/* --- Desktop Menu Centering Removed - Replaced by Dropdown Logic --- */
/* @media (min-width: 769px) {
    header nav {
        flex-grow: 1; 
        display: flex;
        justify-content: center; 
        margin: 0 20px; 
        order: 2; 
    }

    header nav ul {
        display: flex;
        justify-content: center; 
        align-items: center;
        padding: 0; 
    }
} */

/* Menu Toggle Always Visible */
.menu-toggle {
    display: block; /* Override display: none */
    order: 3; /* Place it after logo on desktop */
    margin-left: auto; /* Push toggle and audio to the right */
    margin-right: 15px; /* Space before audio controls */
}

/* Apply Mobile Menu Styles Globally (Dropdown) */
nav {
    position: fixed;
    /* Determine top based on header height, adjust if needed */
    top: 65px; /* Example: Adjust based on final header height */
    left: 0;
    width: 100%;
    background-color: rgba(13, 13, 13, 0.95);
    padding: 20px 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: all 0.5s ease;
    z-index: 999;
    /* Remove desktop-specific flex styles */
    /* flex-grow: 0; */
    /* justify-content: flex-start; */
    margin: 0;
    order: initial; /* Reset order */
}

nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

nav ul {
    /* Apply column layout globally for the dropdown */
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: flex; /* Ensure flex is applied */
    list-style: none; /* Ensure list style is none */
    padding: 0; /* Reset padding */
}

nav ul li {
    /* Apply mobile margin globally */
    margin: 15px 0;
    margin-left: 0; /* Reset desktop margin */
}

/* Show mobile-only link globally in the dropdown */
nav ul li.mobile-only {
    display: list-item; /* Or block, depending on li styling */
}


/* Audio Controls Styling & Positioning */
#audio-controls {
    order: 4; /* Place it last */
    /* margin-left: 15px; /* Space from menu toggle - handled by toggle margin-right */
}

#play-pause-button {
    background: none;
    border: 1px solid var(--color-red);
    color: var(--color-red);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, color 0.3s;
}

#play-pause-button:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

/* Mobile-Only Menu Item - Already handled above */
/* .mobile-only {
    display: none; 
} */

/* Responsive Adjustments for Mobile - Simplify as global styles handle dropdown */
@media (max-width: 768px) {
    /* Adjust header padding if needed */
    header {
        padding: 10px 5%; /* Keep existing */
    }

    /* Adjust nav top position if header height changes */
    nav {
        top: 60px; /* Example: Adjust if mobile header height is different */
    }

    /* Ensure logo, toggle, audio order is correct (already set globally) */
    .logo {
        order: 1;
        margin-right: 0; /* Reset desktop push */
    }
    .menu-toggle {
        order: 2; /* Place toggle after logo */
        margin-left: auto; /* Push toggle and audio to right */
        margin-right: 15px;
    }
    #audio-controls {
         order: 3; /* Place audio last */
         margin-left: 0;
    }
}

/* === End Added/Modified Styles === */



    /* Adjust logo alignment for mobile */
    .logo {
        order: 1;
        /* margin-right: 0; /* Remove margin-right */
        flex-grow: 1; /* Allow logo to take available space */
        text-align: center; /* Center the text within the logo container */
        /* Adjust font size slightly if needed for better centering/fit */
        font-size: 1.6rem; /* Optional: Adjust as needed */
        margin-left: 50px; /* Add some left margin to push it away from edge, counteracting controls on right */
        margin-right: 50px; /* Add some right margin for balance */
    }
    .menu-toggle {
        order: 2; /* Place toggle after logo */
        margin-left: auto; /* Keep pushing toggle and audio to right */
        margin-right: 15px;
        flex-shrink: 0; /* Prevent toggle from shrinking */
    }
    #audio-controls {
         order: 3; /* Place audio last */
         margin-left: 0;
         flex-shrink: 0; /* Prevent audio control from shrinking */
    }

