/*
Theme Name: Moné Costura
Description: Tema profesional para academia de costura
Version: 2.0
Author: Moné by Marinecs
*/

/* ===================================
   RESET Y CONFIGURACIÓN BASE
   =================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #FFF0F5;
    color: #8B2942;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===================================
   HEADER - DISEÑO ACTUALIZADO
   =================================== */

.site-header {
    background: #FFF0F5;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 10px rgba(139, 41, 66, 0.1);
}

.header-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
}

/* Logo SIN círculo oval */
.logo-oval {
    width: auto;
    height: auto;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.logo-oval::before,
.logo-oval::after {
    display: none !important;
    content: none !important;
    border: none !important;
}

.logo-svg {
    width: auto;
    height: 60px;
    max-width: none;
    max-height: 60px;
    object-fit: contain;
    z-index: 1;
    border: none !important;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: #8B2942;
    letter-spacing: 2px;
    z-index: 1;
}

.logo-link {
    display: inline-block;
    border: none !important;
    background: transparent !important;
}

.logo-link::before,
.logo-link::after {
    display: none !important;
}

.logo-professional {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: none !important;
    background: transparent !important;
}

.logo-professional::before,
.logo-professional::after {
    display: none !important;
}

.logo-tagline {
    font-size: 12px;
    color: #8B2942;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Navegación */
.nav-bar {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 40px;
}

.nav-container {
    background: #FFB6C1;
    border-radius: 50px;
    border: 5px solid #8B2942;
    padding: 0 50px;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(139, 41, 66, 0.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-link {
    display: block;
    color: #8B2942;
    font-weight: 700;
    font-size: 16px;
    padding: 18px 24px;
    border-radius: 35px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #8B2942;
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 35px;
}

.nav-link:hover::before,
.nav-link.active::before {
    left: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

/* Botones Header */
.header-actions {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.btn-registro {
    background: #E3A857;
    color: #8B2942;
    padding: 18px 35px;
    border-radius: 35px;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 3px solid #E3A857;
    box-shadow: 0 4px 15px rgba(227, 168, 87, 0.3);
}

.btn-registro:hover {
    background: #8B2942;
    color: white;
    border-color: #8B2942;
}

.btn-youtube {
    background: #8B2942;
    color: white;
    padding: 18px 30px;
    border-radius: 35px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 3px solid #8B2942;
}

.btn-youtube:hover {
    background: #6D1F34;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
    background: linear-gradient(135deg, #FFF0F5 0%, #ffffff 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: #8B2942;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #8B2942;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    color: #8B2942;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0;
    margin-bottom: 40px;
    border-top: 2px solid #FFB6C1;
    border-bottom: 2px solid #FFB6C1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #8B2942;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #8B2942;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #8B2942;
    color: white;
    border: 2px solid #8B2942;
    box-shadow: 0 4px 15px rgba(139, 41, 66, 0.3);
}

.btn-primary:hover {
    background: #6D1F34;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 41, 66, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #8B2942;
    border: 2px solid #8B2942;
}

.btn-secondary:hover {
    background: #8B2942;
    color: white;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 41, 66, 0.2);
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   PATTERNS SECTION
   =================================== */

.patterns-section {
    padding: 100px 0;
    background: white;
}

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

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: #FFB6C1;
    color: #8B2942;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #8B2942;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: #8B2942;
    line-height: 1.7;
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.pattern-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.pattern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(139, 41, 66, 0.15);
}

.pattern-card.featured {
    border: 3px solid #8B2942;
}

.pattern-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.pattern-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pattern-card:hover .pattern-image img {
    transform: scale(1.05);
}

.pattern-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #8B2942;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.pattern-content {
    padding: 30px 24px;
}

.pattern-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B2942;
    margin-bottom: 16px;
}

.pattern-excerpt {
    color: #8B2942;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pattern-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin-bottom: 20px;
    border-top: 1px solid #FFB6C1;
}

.difficulty {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.difficulty.easy {
    background: #d4edda;
    color: #155724;
}

.difficulty.medium {
    background: #fff3cd;
    color: #856404;
}

.difficulty.hard {
    background: #f8d7da;
    color: #721c24;
}

.downloads {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8B2942;
    font-weight: 600;
    font-size: 14px;
}

.btn-download {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #FFB6C1, #FFB6C1);
    color: #8B2942;
    padding: 14px 0;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #8B2942;
    color: white;
    transform: translateY(-2px);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
    padding: 100px 0;
    background: #FFF0F5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(139, 41, 66, 0.2);
}

.about-description {
    font-size: 17px;
    line-height: 1.8;
    color: #8B2942;
    margin-bottom: 20px;
}

.about-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: #8B2942;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    fill: white;
}

.feature-text h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #8B2942;
    margin-bottom: 6px;
}

.feature-text p {
    color: #8B2942;
    line-height: 1.6;
}

.about-buttons {
    display: flex;
    gap: 20px;
}

/* ===================================
   COURSES SECTION
   =================================== */

.courses-section {
    padding: 100px 0;
    background: white;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(139, 41, 66, 0.15);
}

.course-card.featured {
    border: 3px solid #8B2942;
}

.course-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-level {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #8B2942;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.course-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #E3A857;
    color: #8B2942;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.course-content {
    padding: 30px 24px;
}

.course-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #8B2942;
    margin-bottom: 16px;
}

.course-description {
    color: #8B2942;
    line-height: 1.6;
    margin-bottom: 24px;
}

.course-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 20px;
    border-top: 1px solid #FFB6C1;
    border-bottom: 1px solid #FFB6C1;
}

.course-stats .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8B2942;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-price {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 16px;
}

.price-current {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #8B2942;
}

.btn-course {
    background: #8B2942;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-course:hover {
    background: #6D1F34;
    transform: translateY(-2px);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */

.testimonials-section {
    padding: 100px 0;
    background: #FFF0F5;
}

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

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-rating svg {
    fill: #E3A857;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #8B2942;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: #8B2942;
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: #8B2942;
}

/* ===================================
   NEWSLETTER SECTION
   =================================== */

.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #8B2942, #6D1F34);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.newsletter-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.95;
}

.newsletter-form .form-group {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.form-input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid white;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
}

.newsletter-form .btn-primary {
    background: white;
    color: #8B2942;
    border-color: white;
}

.newsletter-form .btn-primary:hover {
    background: #FFB6C1;
}

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.9;
}

/* ===================================
   FOOTER
   =================================== */

.section-footer {
    text-align: center;
    margin-top: 60px;
}

.btn-outline-primary {
    background: transparent;
    color: #8B2942;
    border: 2px solid #8B2942;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
}

.btn-outline-primary:hover {
    background: #8B2942;
    color: white;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

@media (max-width: 1024px) {
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .patterns-grid,
    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-bar,
    .header-actions {
        display: none;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .patterns-grid,
    .courses-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form .form-group {
        flex-direction: column;
    }
}

/* ===================================
   ANIMACIONES
   =================================== */

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

.hero-content,
.pattern-card,
.course-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ====================================
   ELIMINAR CÍRCULO ROJO - COMPLETO
   ==================================== */

.decoracion-costura,
.hero-decoration,
.circle-decoration,
div[class*="decoracion"],
div[class*="circle"],
div[class*="oval"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Eliminar todos los pseudoelementos decorativos */
.hero-img-frame::before,
.hero-img-frame::after,
.hero-imagen::before,
.hero-imagen::after,
.logo-image::before,
.logo-image::after,
img[class*="logo"]::before,
img[class*="logo"]::after {
    display: none !important;
    content: none !important;
}

/* ===================================
   ICONOS FLOTANTES DE FONDO
   =================================== */

.floating-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    font-size: 30px;
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

/* Posiciones iniciales diferentes para cada icono */
.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.icon-2 {
    top: 20%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 30s;
}

.icon-3 {
    top: 50%;
    left: 15%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.icon-4 {
    top: 70%;
    left: 70%;
    animation-delay: 6s;
    animation-duration: 28s;
}

.icon-5 {
    top: 30%;
    left: 50%;
    animation-delay: 8s;
    animation-duration: 26s;
}

.icon-6 {
    top: 80%;
    left: 20%;
    animation-delay: 3s;
    animation-duration: 24s;
}

.icon-7 {
    top: 40%;
    left: 90%;
    animation-delay: 5s;
    animation-duration: 27s;
}

.icon-8 {
    top: 60%;
    left: 40%;
    animation-delay: 7s;
    animation-duration: 23s;
}

.icon-9 {
    top: 15%;
    left: 60%;
    animation-delay: 1s;
    animation-duration: 29s;
}

.icon-10 {
    top: 90%;
    left: 85%;
    animation-delay: 9s;
    animation-duration: 21s;
}

/* Animación de flotación suave */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(5deg);
    }
    50% {
        transform: translateY(-60px) translateX(-15px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) translateX(20px) rotate(3deg);
    }
}

/* Asegurar que el contenido esté por encima */
.site-header,
.hero-section,
.patterns-section,
.courses-section,
.newsletter-section {
    position: relative;
    z-index: 1;
}
