/* Estilos Globais */
:root {
    --azul-escuro: #0b1d2e;
    --dourado: #e19f17;
    --preto: #000;
    --branco: #fff;
    --cinza-claro: #f8f9fa;
    --transicao: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--azul-escuro);
    background-color: var(--branco);
    overflow-x: hidden;
}

/* Efeitos Globais */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transicao);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Botões */
.btn {
    border-radius: 0;
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transicao);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transicao);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
    transform: skewX(-15deg);
}

.btn-primary {
    background-color: var(--dourado);
    border-color: var(--dourado);
    color: var(--azul-escuro);
}

.btn-primary:hover {
    background-color: var(--azul-escuro);
    border-color: var(--azul-escuro);
    color: var(--dourado);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--dourado);
    border-color: var(--dourado);
}

.btn-outline-primary:hover {
    background-color: var(--dourado);
    color: var(--azul-escuro);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    color: var(--branco);
    border-color: var(--branco);
}

.btn-outline-light:hover {
    background-color: var(--branco);
    color: var(--azul-escuro);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    background-color: var(--azul-escuro);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transicao);
}

.header.scrolled {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(11, 29, 46, 0.95);
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img.logo {
    height: 60px;
    transition: var(--transicao);
}

.header.scrolled .navbar-brand img.logo {
    height: 50px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--branco);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
    transition: var(--transicao);
}

.navbar-dark .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--dourado);
    transition: var(--transicao);
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
    width: 70%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--dourado);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, #1a3b5d 100%);
    color: var(--branco);
    padding: 120px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 5;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imagens/pattern.png');
    opacity: 0.05;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dourado);
}

.hero h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
}

.hero-image {
    max-width: 100%;
    border-radius: 10px;
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); */
    transition: var(--transicao);
}

.hero-image:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); */
}

/* Seções Gerais */
section {
    padding: 100px 0;
    position: relative;
}

/* Carousel da seção Sobre */
#carouselSobre {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

#carouselSobre .carousel-item img {
    width: 100%;
    object-fit: contain;
}

#carouselSobre .carousel-control-prev,
#carouselSobre .carousel-control-next {
    opacity: 0;
    transition: var(--transicao);
}

#carouselSobre:hover .carousel-control-prev,
#carouselSobre:hover .carousel-control-next {
    opacity: 0.8;
}

#carouselSobre .carousel-indicators {
    margin-bottom: 0.5rem;
}

#carouselSobre .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

#carouselSobre .carousel-indicators button.active {
    background-color: var(--dourado);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    color: var(--azul-escuro);
}

.cultos .section-title {
    color: var(--branco);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--dourado);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Sobre */
.sobre {
    background-color: var(--branco);
}

.sobre img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transicao);
}

.sobre img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.sobre .lead {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--azul-escuro);
}

/* Cultos */
.cultos {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, #1a3b5d 100%);
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

.cultos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imagens/pattern.png');
    opacity: 0.05;
}

.cultos .card {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    transition: var(--transicao);
    overflow: hidden;
    color: var(--branco);
}

.cultos .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.15);
}

.cultos .card i {
    font-size: 3rem;
    color: var(--dourado);
    margin-bottom: 20px;
}

.cultos .card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--branco);
}

.cultos .horario {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dourado);
    margin-bottom: 15px;
}

/* Mídia */
.midia {
    background-color: var(--cinza-claro);
}

.midia .embed-responsive {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transicao);
}

.midia .embed-responsive:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.midia h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--azul-escuro);
}

/* Livro */
.livro {
    background-color: var(--branco);
}

.livro .livro-img {
    position: relative;
    transition: var(--transicao);
    /* box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); */
    border-radius: 10px;
    overflow: hidden;
}

.livro .livro-img:hover {
    transform: translateY(-10px) rotate(2deg);
    /* box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); */
}

.livro .livro-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 29, 46, 0.2) 0%, rgba(225, 159, 23, 0.2) 100%);
    opacity: 0;
    transition: var(--transicao);
}

.livro .livro-img:hover::after {
    opacity: 1;
}

.livro h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--azul-escuro);
}

.livro .destaque {
    font-size: 1.2rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--dourado);
    border-left: 4px solid var(--dourado);
    padding-left: 20px;
}

/* Contato */
.contato {
    background: linear-gradient(135deg, var(--azul-escuro) 0%, #1a3b5d 100%);
    color: var(--branco);
    position: relative;
    overflow: hidden;
}

.contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../imagens/pattern.png');
    opacity: 0.05;
}

.contato .info-item {
    margin-bottom: 30px;
    transition: var(--transicao);
}

.contato .info-item:hover {
    transform: translateY(-5px);
}

.contato .info-item i {
    font-size: 2.5rem;
    color: var(--dourado);
    margin-bottom: 15px;
}

.contato .info-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.contato .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0;
    padding: 15px;
    color: var(--branco);
    margin-bottom: 20px;
    transition: var(--transicao);
}

.contato .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.contato .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background-color: var(--azul-escuro);
    color: #fff;
    padding: 80px 0 40px;
    position: relative;
}

.footer h4 {
    color: var(--dourado);
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.footer h5 {
    color: var(--dourado);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-logo-container {
    margin-bottom: 20px;
}

.logo-footer-horizontal {
    max-width: 300px;
    margin: 0 auto;
    transition: transform 0.8s ease;
}

.footer-logo-container:hover .logo-footer-horizontal {
    transform: scale(1.05);
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 18px;
    transition: var(--transicao);
}

.footer .social-links a:hover {
    background-color: var(--dourado);
    color: var(--preto);
    transform: translateY(-3px);
}

.footer-about p,
.footer-cultos p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-endereco {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--dourado);
}

.footer-cultos .footer-links {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 10px;
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dourado);
}

.footer .footer-links a {
    display: block;
    color: var(--branco);
    margin-bottom: 15px;
    transition: var(--transicao);
}

.footer .footer-links a:hover {
    color: var(--dourado);
    padding-left: 10px;
}

.footer .copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transicao);
    animation: whatsapp-glow 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Animações */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes whatsapp-glow {
    0% {
        box-shadow: 0 0 5px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.8), 0 0 30px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 0 5px rgba(37, 211, 102, 0.5);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsividade */
@media (max-width: 991.98px) {
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-collapse {
        background-color: rgba(11, 29, 46, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 130px 0 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.4rem;
    }
    
    .hero-image-container {
        margin-bottom: 30px;
    }
    
    .hero-image {
        max-width: 80%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 70px 0;
    }
    
    .sobre .text-content {
        margin-top: 30px;
    }
    
    #carouselSobre .carousel-item img {
        width: 100%;
    }
    
    #carouselSobre .carousel-control-prev,
    #carouselSobre .carousel-control-next {
        opacity: 0.8;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        line-height: 50px;
        bottom: 20px;
        right: 20px;
    }
}
