/* Reset y Variables */
:root {
    --bg-color: #0b0714;
    --text-color: #f0e6ff;
    --primary-color: #5c2d91;
    --secondary-color: #d4af37; /* Dorado oscuro */
    --accent-color: #9b51e0;
    --whatsapp-color: #25D366;
}

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

body {
    font-family: 'Lora', serif;
    background: linear-gradient(rgba(11, 7, 20, 0.8), rgba(11, 7, 20, 0.95)), url('imagenes/hero_bg.png') center/cover fixed no-repeat;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Cinzel', serif;
}

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

/* Header */
.header {
    background: rgba(11, 7, 20, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 40px;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-size: 2rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(11, 7, 20, 0.6), rgba(11, 7, 20, 0.9)), url('imagenes/Imagen\ de\ Fondo.jpg') center/cover no-repeat;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
}

/* Partículas/Estrellas de fondo simuladas */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding: 0 20px;
    margin: auto;
}

.hero-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
    white-space: nowrap;
}

.hero-icon-large {
    height: 180px;
    width: auto;
    object-fit: contain;
}

.hero-title {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 0;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #c4b5fd;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: bold;
    border: 1px solid var(--secondary-color);
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(92, 45, 145, 0.5);
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.6);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: transparent;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(26, 11, 46, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 40px 30px;
    text-align: center;
    border-radius: 15px;
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-btn {
    display: inline-block;
    transition: transform 0.3s ease;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.consulta-btn-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.consulta-btn-img-lg {
    height: 140px;
}

.service-btn:hover {
    transform: scale(1.05);
}

.service-btn:hover .consulta-btn-img {
    filter: drop-shadow(0 4px 10px rgba(37, 211, 102, 0.4));
}

/* Invitacion Section */
.invitacion {
    padding: 80px 0;
    background-color: rgba(11, 7, 20, 0.7);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.invitacion-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.invitacion-image {
    flex: 1;
}

.invitacion-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.invitacion-text {
    flex: 1;
}

.invitacion-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.invitacion-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #e2d8f0;
}

/* Testimonios Section */
.testimonios {
    padding: 80px 0;
    background-color: transparent;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonio-card {
    background: rgba(26, 11, 46, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.testimonio-text {
    font-style: italic;
    color: #e2d8f0;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.audio-player {
    width: 100%;
    outline: none;
    height: 40px;
    border-radius: 20px;
}

.audio-player::-webkit-media-controls-panel {
    background-color: rgba(92, 45, 145, 0.8);
}

/* Footer */
.footer {
    background-color: #05030a;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Botón de WhatsApp Flotante (Imagen del usuario) */
.whatsapp-float-img-link {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.whatsapp-float-img {
    width: 100px; /* Tamaño por defecto para el ícono de imagen */
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}

.whatsapp-float-img-link:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* Animación pulsante para llamar la atención */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.float-btn {
    animation: pulse 2s infinite;
}

/* Botón en tarjetas de servicio */
.service-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--secondary-color);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    border: 1px solid var(--secondary-color);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background-color: var(--secondary-color);
    color: var(--bg-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }
    .hero-title-container {
        flex-direction: column;
        white-space: normal;
    }
    .hero-icon-large {
        height: 120px;
    }
    .nav-links {
        display: none;
    }
    .whatsapp-float-img-link {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float-img {
        width: 80px;
    }
    .consulta-btn-img {
        height: 90px;
    }
    .consulta-btn-img-lg {
        height: 100px;
    }
    .invitacion-content {
        flex-direction: column;
        text-align: center;
    }
    .header-content {
        padding: 0 20px;
    }
}
