/* Archivo principal de estilos para templodealabanza.com */

/* Paleta de colores elegante */
:root {
  --primary-900: #0f172a;
  --primary-800: #1e293b;
  --primary-700: #334155;
  --accent-gold: #d4af37;
  --accent-gold-light: #e8c468;
  --accent-gold-dark: #b8941f;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-600: #475569;
  --neutral-900: #0f172a;
}

/* Scroll suave y animaciones */
html {
  scroll-behavior: smooth;
}

/* Animaciones de reveal al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

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

/* Animación para el botón volver arriba */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQS */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.faq-content.hidden {
    display: none;
}

.faq-tab-button {
    background: transparent;
    color: #9ca3af;
    border: none;
    border-bottom: 3px solid transparent;
    position: relative;
}

.faq-tab-button:hover {
    color: #e5e7eb;
    border-bottom-color: rgba(212, 175, 55, 0.3);
}

.faq-tab-button.active-tab {
    color: var(--accent-gold) !important;
    border-bottom: 3px solid var(--accent-gold) !important;
    background: transparent !important;
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 1;
}

.sticky-nav {
    transition: background-color 0.3s;
    background-color: var(--primary-900);
}

/* Menú desplegable */
.dropdown-container {
    position: relative;
}

.dropdown-container:hover .dropdown-content {
    display: block !important;
}

.dropdown-content {
    display: none;
}

/* Rotación del ícono chevron */
.rotate-180 {
    transform: rotate(180deg);
}
.sticky-nav.scrolled {
    background-color: var(--primary-900);
}

#menu {
    transition: all 0.3s ease-in-out;
}
@media (min-width: 768px) {
    #menu {
        display: flex !important;
    }
}
@media (max-width: 767px) {
    #menu {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        color: black;
    }
    #menu.show {
        display: flex;
    }
    #menu a {
        color: black;
        padding: 10px 0;
        width: 100%;
        text-align: center;
    }
}

@keyframes fadeInHero {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(6px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}
.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 8vw, 6rem);
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7), 0 4px 20px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInHero 5s ease forwards;
}

/* Hero moderno */
.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-title-modern {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
}

.hero-word-1 {
    animation: wordSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.5s;
}

.hero-word-2 {
    animation: wordSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.8s;
    margin: 0 0.3em;
}

.hero-word-3 {
    animation: wordSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.1s;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 50%, var(--accent-gold) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wordSlideIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 1.1s, 
               gradientShift 3s ease infinite;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
}

.hero-divider {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s;
}

.hero-description {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.8s;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease forwards 2.1s;
}

.hero-scroll {
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s;
}

@keyframes wordSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* SECCION NOTICIAS */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    transition: opacity 0.3s ease;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 0.8;
}

@keyframes resaltarDar {
    0% {
        opacity: 0;
        transform: translateY(20px);
        color: #ffffff;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        color: var(--accent-gold);
    }
}
.animate-dar {
    animation: resaltarDar 1s ease-out forwards;
}

/* Cards Swiper Noticias */
.slide-container {
    max-width: 1120px;
    width: 100%;
    padding: 40px 0;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 25px;
}

.card {
    border-radius: 25px;
    background-color: #FFFFFF;
}

.image-content, .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

@media screen and (max-width: 480px) {
    .card-content {
        padding: 10px 8px;
    }
}

.image-content { 
    row-gap: 5px; 
    position: relative;
    padding: 25px 0;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--accent-gold);
    border-radius: 25px 25px 0 25px;
}

.overlay::before, .overlay::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: var(--accent-gold);
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: #FFFFFF;
}

.card-image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 480px) {
    .card-image {
        height: 120px;
        width: 120px;
    }
}

.card-icon {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid var(--accent-gold);
    background-color: #FFFFFF;
}

.card-icon i {
    font-size: 4rem;
    color: var(--accent-gold);
}

@media screen and (max-width: 480px) {
    .card-icon i {
        font-size: 3rem;
    }
}

.name {
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 10px;
}

@media screen and (max-width: 480px) {
    .name {
        font-size: 16px;
    }
}

.description {
    font-size: 14px;
    color: #707070;
    text-align: center;
}

@media screen and (max-width: 480px) {
    .description {
        font-size: 13px;
        padding: 0 5px;
    }
}

.button {
    border: none;
    font-size: 16px;
    color: #FFFFFF;
    padding: 8px 16px;
    background-color: var(--accent-gold);
    border-radius: 6px;
    margin: 14px;
    cursor: pointer;
    transition: all .3s ease;
}

.button:hover { 
    background: var(--accent-gold-dark); 
}

.swiper-navBtn {
    color: var(--accent-gold-light) !important;
    transition: all .3s ease;
}

.swiper-navBtn:hover { 
    color: var(--accent-gold) !important; 
}

.swiper-navBtn::before, .swiper-navBtn::after { 
    font-size: 30px !important; 
}

#noticias .swiper-button-next { 
    right: 20% !important;
    top: auto !important;
    bottom: 0 !important;
    transform: translateY(0) !important;
}

#noticias .swiper-button-prev { 
    left: 20% !important;
    top: auto !important;
    bottom: 0 !important;
    transform: translateY(0) !important;
}

#noticias .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 20px;
}

.swiper-pagination-bullet { 
    background-color: var(--accent-gold-light) !important; 
    opacity: 1 !important; 
}

.swiper-pagination-bullet-active { 
    background-color: var(--accent-gold) !important; 
}

@media screen and (max-width: 768px) {
    .swiper-navBtn { 
        display: none !important; 
    }
}

#titulo-horarios {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

