/* Reset y Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Respetar prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Lora', serif;
    background-color: #000;
    color: #FFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Cinzel', serif;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #FFF;
}

/* Particles Container */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 90px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    font-weight: 700;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover {
    color: #FFD700;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
#hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    max-width: 100%;
    max-height: 100%;
}

/* Responsive adjustments for hero carousel */
@media (min-width: 769px) {
    .hero-slide {
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    #hero {
        height: 80vh;
    }

    .hero-slide {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 480px) {
    #hero {
        height: 70vh;
    }

    .hero-slide {
        object-fit: contain;
    }
}

.hero-slide.active {
    opacity: 1;
}


/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
    will-change: transform;
}

/* Master Class Section */
#master-class {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(255, 215, 0, 0.05));
}

.master-class-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.master-class-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    transition: transform 0.3s ease;
}

.master-class-image img:hover {
    transform: scale(1.05);
    will-change: transform;
}

.master-class-text {
    text-align: center;
    flex: 1;
}

.pay-button {
    display: inline-block;
    background: #FFD700;
    color: #000;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.pay-button:hover {
    background: #FFC107;
    transform: translateY(-2px);
    will-change: transform;
}

.paypal-form input[type="image"] {
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.paypal-form input[type="image"]:hover {
    transform: scale(1.05);
    will-change: transform;
}

.pay-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #FFF;
    text-align: center;
}

/* Despierta Section */
#despierta {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    text-align: center;
}

#despierta h2 {
    margin-bottom: 2rem;
}

#despierta p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#despierta ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

#despierta li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 5px solid #FFD700;
    text-align: center;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
    will-change: transform;
}

.service-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-top: 1rem;
}

/* Testimonials Section */
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.testimonial-slide p {
    font-style: italic;
    margin-bottom: 1rem;
}

.hero-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.hero-controls button {
    background: rgba(255, 215, 0, 0.2);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    color: #FFD700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero-controls button:hover {
    background: rgba(255, 215, 0, 0.5);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #FFD700;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-controls button {
    background: rgba(255, 215, 0, 0.2);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    color: #FFD700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-controls button:hover {
    background: rgba(255, 215, 0, 0.5);
}


/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 1rem 0;
    gap: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

#social p {
    text-align: center;
    margin: 1rem 0;
    font-size: 1.3rem;
}

#social p a {
    color: #FFF;
}

.social-links a {
    font-size: 2rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
    color: #FFD700;
    will-change: transform;
}

.social-links a[href*="instagram"] i { color: #E4405F; }
.social-links a[href*="tiktok"] i { color: #FFF; }
.social-links a[href*="youtube"] i { color: #FF0000; }
.social-links a[href*="patreon"] i { color: #FFF; }
.social-links a[href*="spotify"] i { color: #1DB954; }
.social-links a[href*="wa.me"] i { color: #25D366; }

#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 215, 0, 0.2);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    color: #FFD700;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#back-to-top.show {
    opacity: 1;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.5);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card:nth-child(odd) {
    animation: float 3s ease-in-out infinite;
}

.service-card:nth-child(even) {
    animation: float 3s ease-in-out infinite 1.5s;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .master-class-content {
        flex-direction: column;
        gap: 2rem;
    }
    .master-class-image img {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        padding: 1rem 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 0.5rem 0;
        text-align: center;
    }
    .hamburger {
        display: block;
    }
    section {
        padding: 3rem 1rem;
    }
    section h2 {
        font-size: 2rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-carousel {
        height: auto;
    }
    .testimonial-slide {
        padding: 1rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    .social-links {
        gap: 1rem;
    }
    .social-links a {
        font-size: 1.8rem;
    }
    .master-class-content {
        flex-direction: column;
        gap: 2rem;
    }
    .master-class-image img {
        max-width: 250px;
    }
    .pay-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    .paypal-form input[type="image"] {
        width: 150px;
        height: auto;
    }
    .pay-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .cta-button {
        padding: 0.75rem 1.5rem;
    }
    .service-card {
        padding: 1.5rem;
    }
    .service-card i {
        font-size: 2.5rem;
    }
    .master-class-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .master-class-image img {
        max-width: 200px;
    }
    .pay-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    .paypal-form input[type="image"] {
        width: 120px;
        height: auto;
    }
    .pay-text {
        font-size: 0.9rem;
    }
}