/* Maestra Zuleica - Estilos Rojo y Negro */

:root {
    --primary-red: #DC2626;
    --dark-red: #991B1B;
    --light-red: #F87171;
    --mystic-black: #0F0F0F;
    --dark-gray: #1F1F1F;
    --text-light: #F8FAFC;
    --gold-accent: #D97706;
    --gradient-primary: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    --gradient-dark: linear-gradient(135deg, var(--mystic-black), var(--dark-gray));
    --flame-gradient: linear-gradient(45deg, #FF6B35, #F7931E, #FFD23F);
}

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

body {
    font-family: 'Crimson Text', serif;
    background: var(--mystic-black);
    color: var(--text-light);
    overflow-x: hidden;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px var(--primary-red); }
    50% { box-shadow: 0 0 40px var(--light-red), 0 0 60px var(--primary-red); }
}

@keyframes flame {
    0%, 100% { transform: scaleY(1) scaleX(1); }
    25% { transform: scaleY(1.1) scaleX(0.9); }
    50% { transform: scaleY(0.9) scaleX(1.1); }
    75% { transform: scaleY(1.05) scaleX(0.95); }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.animate-fade-in { animation: fadeIn 1s ease-out; }
.animate-slide-up { animation: slideUp 1s ease-out 0.3s both; }
.animate-bounce-in { animation: bounceIn 1s ease-out 0.6s both; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    display: flex;
    align-items: center;
}

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

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.flames {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(ellipse at 20% 80%, rgba(255, 107, 53, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(247, 147, 30, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(255, 210, 63, 0.2) 0%, transparent 50%);
    animation: flame 4s ease-in-out infinite;
}

.hero-content {
    z-index: 3;
    position: relative;
}

.maestra-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.7);
    color: var(--gold-accent);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid var(--gold-accent);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.maestra-name {
    background: var(--flame-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    margin-bottom: 2rem;
}

.btn {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-dark);
    color: var(--text-light);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
    color: var(--text-light);
    background: var(--gradient-primary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

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

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

.consultation-info {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.consultation-info p {
    margin: 5px 0;
    font-size: 1.1rem;
}

.consultation-info i {
    color: var(--gold-accent);
    margin-right: 10px;
}

/* Mystical Portrait */
.mystical-portrait {
    position: relative;
    width: 480px;
    height: 480px;
    margin: 0 auto;
    z-index: 3;
}

.portrait-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--light-red), transparent);
    border-radius: 50%;
    animation: glow 3s ease-in-out infinite;
}

.portrait-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px var(--primary-red);
    border: 4px solid var(--primary-red);
    overflow: hidden;
}

.portrait-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
}

.portrait-text {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--gradient-dark);
}

.about-card {
    background: rgba(220, 38, 38, 0.1);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(220, 38, 38, 0.3);
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--gold-accent);
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.about-text.highlight {
    background: rgba(220, 38, 38, 0.2);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-red);
    font-weight: 600;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--mystic-black);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(220, 38, 38, 0.15), transparent 55%),
                radial-gradient(circle at bottom, rgba(153, 27, 27, 0.25), transparent 60%);
    opacity: 0.9;
}

.services-section .container {
    position: relative;
    z-index: 2;
}

.service-card {
    position: relative;
    padding: 36px 32px 40px;
    border-radius: 28px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(220, 38, 38, 0.35);
    box-shadow: 0 18px 45px rgba(153, 27, 27, 0.25);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    text-align: left;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.9), rgba(217, 119, 6, 0.7), rgba(153, 27, 27, 0.8));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(247, 147, 30, 0.2), transparent 70%);
    transform: rotate(25deg);
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-14px) scale(1.01);
    box-shadow: 0 28px 60px rgba(220, 38, 38, 0.3);
}

.service-card:hover::after {
    opacity: 0.6;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(127, 29, 29, 0.95));
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-accent);
    font-size: 2rem;
    position: relative;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) scale(1.05);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    color: var(--gold-accent);
    letter-spacing: 0.5px;
}

.service-card p {
    color: rgba(255, 235, 230, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--mystic-black), var(--dark-gray));
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(220, 38, 38, 0.3);
    border-color: var(--primary-red);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: saturate(1.05);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.08);
}

/* Payment Methods Section */
.payment-section {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--mystic-black), var(--gradient-dark));
    position: relative;
}

.payment-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.payment-logo-item {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(220, 38, 38, 0.4);
    border-radius: 16px;
    padding: 18px 24px;
    min-width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.25);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(25px);
}

.payment-logo-item:hover {
    transform: translateY(0) scale(1.05);
    border-color: var(--gold-accent);
    box-shadow: 0 18px 40px rgba(220, 38, 38, 0.35);
    background: rgba(0, 0, 0, 0.75);
}

.payment-logo {
    max-width: 100%;
    max-height: 64px;
    object-fit: contain;
    filter: saturate(1.1);
}

/* Special Service Section */
.special-service-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
}

.special-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="flames" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23flames)"/></svg>');
    opacity: 0.3;
}

.special-card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid var(--gold-accent);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.special-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--gold-accent);
    margin-bottom: 2rem;
    text-align: center;
}

.special-title i {
    margin-right: 15px;
    color: var(--primary-red);
}

.special-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.9;
}

.special-highlight {
    background: rgba(220, 38, 38, 0.2);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--gold-accent);
    margin-top: 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.special-highlight i {
    color: var(--gold-accent);
    margin-right: 10px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--gradient-dark);
    position: relative;
}

.contact-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.2;
}

.contact-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(220,38,38,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-buttons {
    margin-bottom: 2rem;
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.payment-info {
    background: rgba(220, 38, 38, 0.2);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: inline-block;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

.payment-info i {
    color: var(--gold-accent);
    margin-right: 10px;
}

/* Footer */
.footer {
    background: var(--mystic-black);
    padding: 0;
    text-align: center;
    border-top: 1px solid rgba(220, 38, 38, 0.2);
}

.footer-logo-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 40px 0;
    background: var(--mystic-black);
    border-top: 1px solid rgba(220, 38, 38, 0.2);
    box-sizing: border-box;
}

.footer-logo-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover {
    opacity: 0.85;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer .container {
    padding: 30px 15px;
}

.footer p {
    color: rgba(248, 250, 252, 0.6);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .mystical-portrait {
        width: 320px;
        height: 320px;
    }
    
    .portrait-content {
        width: 220px;
        height: 220px;
    }
    
    .portrait-text {
        font-size: 0.85rem;
        margin-top: 12px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .service-card {
        padding: 20px;
    }

    .gallery-section {
        padding: 60px 0;
    }

    .gallery-item {
        min-height: 220px;
    }
    
    .about-card, .special-card {
        padding: 25px;
    }

    .payment-section {
        padding: 50px 0;
    }

    .payment-logo-item {
        min-width: 120px;
        height: 80px;
        padding: 15px;
    }
}

/* Scroll animations */
.service-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.gallery-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.payment-logo-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 62px;
    height: 62px;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 18px 40px rgba(37, 211, 102, 0.55);
    color: #fff;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 18px;
        right: 18px;
        font-size: 28px;
    }
}
