/* ====== VARIABLES DEL TEMA ====== */
:root {
    /* Colores de la marca */
    --brand-pink: #f686b8;
    --brand-pink-light: #ffa6cc;
    --brand-pink-dark: #e5629e;
    --brand-turquoise: #65c9c5;
    --brand-turquoise-light: #8edbd8;
    --brand-turquoise-dark: #4c9e9b;
    --brand-yellow: #ffe478;
    --brand-yellow-light: #fff0b3;
    --brand-yellow-dark: #ffd740;
    
    /* Variables de accesibilidad para contraste */
    --contrast-ratio: 1; /* Se ajusta por JavaScript para temas */
}

/* TEMA CLARO - colores por defecto */
.theme-light {
    /* Colores base */
    --background-primary: #ffffff;
    --background-secondary: #f7f7f7;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-accent: var(--brand-pink);
    --divider: rgba(0, 0, 0, 0.1);
    
    /* Colores específicos de secciones */
    --hero-bg-overlay: rgba(0, 0, 0, 0.5);
    --hero-text: #ffffff;
    --subscribe-bg: var(--brand-pink-light);
    --subscribe-text: #ffffff;
    --social-bg: var(--brand-turquoise-light);
    --social-text: #ffffff;
    --footer-bg: #333333;
    --footer-text: #ffffff;
    
    /* Colores de iconos sociales */
    --icon-bg: #ffffff;
    --icon-color: var(--brand-turquoise);
    --icon-instagram-hover: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    --icon-facebook-hover: #4267B2;
    --icon-tiktok-hover: linear-gradient(45deg, #69C9D0 0%, #EE1D52 50%, #000000 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    
    /* Indicador visual de tema */
    --theme-toggle-bg: #f0f0f0;
}

/* TEMA OSCURO */
.theme-dark {
    /* Colores base */
    --background-primary: #121212;
    --background-secondary: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-accent: var(--brand-pink-light);
    --divider: rgba(255, 255, 255, 0.1);
    
    /* Colores específicos de secciones */
    --hero-bg-overlay: rgba(0, 0, 0, 0.7);
    --hero-text: #ffffff;
    --subscribe-bg: #2a1a24;
    --subscribe-text: #ffffff;
    --social-bg: #1a2a29;
    --social-text: #ffffff;
    --footer-bg: #0a0a0a;
    --footer-text: #cccccc;
    
    /* Colores de iconos sociales */
    --icon-bg: #333333;
    --icon-color: var(--brand-turquoise-light);
    --icon-instagram-hover: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    --icon-facebook-hover: #4267B2;
    --icon-tiktok-hover: linear-gradient(45deg, #69C9D0 0%, #EE1D52 50%, #000000 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
    
    /* Indicador visual de tema */
    --theme-toggle-bg: #333333;
}

/* ====== ESTILOS BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background-color: var(--background-primary);
    overflow-x: hidden;
    line-height: 1.6;
    opacity: 1; /* Visible inmediatamente, sin transición */
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Contenedores principales */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Clase para elementos visualmente ocultos (accesibilidad) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ====== SELECTOR DE TEMA ====== */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.theme-toggle button {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: var(--theme-toggle-bg);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.theme-toggle button:hover {
    transform: scale(1.1);
}

.theme-icon-light,
.theme-icon-dark {
    position: absolute;
    font-size: 1.2rem;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.theme-light .theme-icon-light {
    opacity: 0;
    transform: rotate(90deg);
}

.theme-light .theme-icon-dark {
    opacity: 1;
    transform: rotate(0);
}

.theme-dark .theme-icon-light {
    opacity: 1;
    transform: rotate(0);
}

.theme-dark .theme-icon-dark {
    opacity: 0;
    transform: rotate(-90deg);
}

/* ====== LUCIÉRNAGAS ====== */
.fireflies-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 100;
}

.firefly {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--brand-yellow);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

.firefly::before, .firefly::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    opacity: 0.3;
    filter: blur(2px);
}

.firefly::before {
    animation: pulse-glow 2s infinite alternate;
}

.firefly::after {
    animation: pulse-glow 3s infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}
/* ====== HEADER ====== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: clamp(0.8rem, 3vw, 1.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo-container {
    position: relative;
}

.logo {
    width: clamp(80px, 25vw, 120px);
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.sound-toggle {
    position: fixed; /* Cambiar a fixed para que flote */
    bottom: 20px; /* Mover a la parte inferior */
    right: 20px; /* Mantener a la derecha */
    z-index: 1001;
    border-radius: 50%;
}

.sound-toggle button {
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    background-color: var(--theme-toggle-bg);/* Fondo ligeramente más opaco */
    box-shadow: var(--shadow-md); /* Añadir sombra para que sea más visible */
    cursor: pointer;
    color: var(--text-primary); /* Usar variable para mantener consistencia con el tema */
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.sound-toggle button:hover {
    transform: scale(1.1);
    background-color: rgba(255, 255, 255, 0.3); /* Más visible al pasar el cursor */
}

.sound-on, .sound-off {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Por defecto, sonido apagado */
.sound-on {
    opacity: 0;
    transform: scale(0.8);
}

.sound-off {
    opacity: 1;
    transform: scale(1);
}

/* Cuando está activo */
.sound-toggle button[aria-pressed="false"] .sound-on {
    opacity: 1;
    transform: scale(1);
}

.sound-toggle button[aria-pressed="false"] .sound-off {
    opacity: 0;
    transform: scale(0.8);
}
/* ====== HÉROE ====== */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
    color: var(--hero-text);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(var(--hero-bg-overlay), var(--hero-bg-overlay)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--hero-text);
    max-width: 800px;
    padding: clamp(1rem, 5vw, 2rem);
    width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 5rem);
    line-height: 1.1;
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
    color: var(--brand-pink);
    letter-spacing: clamp(2px, 1vw, 5px);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 1; /* Visible desde el inicio */
    transform: translateY(0); /* Sin transformación inicial */
}

.hero-subtitle {
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-weight: 400;
    color: var(--brand-turquoise);
    margin-bottom: clamp(1rem, 4vw, 2rem);
    letter-spacing: clamp(1px, 0.5vw, 3px);
    opacity: 1; /* Visible desde el inicio */
    transform: translateY(0); /* Sin transformación inicial */
}

.tagline {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(1.5rem, 5vw, 3rem);
    font-style: italic;
    opacity: 1; /* Visible desde el inicio */
    transform: translateY(0); /* Sin transformación inicial */
}

.coming-soon {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 700;
    letter-spacing: clamp(5px, 2vw, 10px);
    margin-bottom: clamp(1rem, 4vw, 2rem);
    color: var(--brand-yellow);
    text-shadow: 0 0 10px rgba(255, 228, 120, 0.5);
    opacity: 1; /* Visible desde el inicio */
    transform: translateY(0); /* Sin transformación inicial */
}

/* Contador mejorado */
.countdown-container {
    margin-top: clamp(1rem, 4vw, 2rem);
    width: 100%;
    opacity: 1; /* Visible desde el inicio */
    transform: translateY(0); /* Sin transformación inicial */
}

.countdown {
    display: flex;
    justify-content: center;
    gap: clamp(0.5rem, 3vw, 2rem);
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: clamp(60px, 15vw, 80px);
    padding: clamp(0.5rem, 2vw, 1rem);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
}

.countdown-item span:first-child {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    color: var(--hero-text);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.countdown-label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    opacity: 0.8;
}
/* ====== SECCIÓN DE SUSCRIPCIÓN ====== */
.subscribe {
    position: relative;
    padding: clamp(4rem, 15vw, 8rem) clamp(1rem, 3vw, 2rem);
    background-color: var(--subscribe-bg);
    overflow: hidden;
}

.subscribe::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background-primary);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.subscribe-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    color: var(--subscribe-text);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.subscribe-text {
    color: var(--subscribe-text);
    margin-bottom: clamp(1rem, 4vw, 2rem);
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
    width: 100%;
}

.subscribe-form input {
    padding: clamp(0.8rem, 3vw, 1rem);
    border: none;
    border-radius: 50px;
    font-size: clamp(0.9rem, 3vw, 1rem);
    box-shadow: var(--shadow-sm);
    width: 100%;
    background-color: white; /* Color de fondo fijo para contraste */
    color: #333; /* Color de texto fijo para contraste */
}

.subscribe-form button {
    padding: clamp(0.8rem, 3vw, 1rem);
    border: none;
    border-radius: 50px;
    background-color: var(--brand-turquoise);
    color: white;
    font-size: clamp(0.9rem, 3vw, 1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.subscribe-form button:hover {
    background-color: var(--brand-turquoise-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.form-message {
    min-height: 20px;
    font-weight: 600;
}

.form-message.success {
    color: #4caf50;
}

.form-message.error {
    color: #f44336;
}

/* ====== SECCIÓN SOBRE NOSOTROS ====== */
.about {
    padding: clamp(4rem, 15vw, 8rem) clamp(1rem, 3vw, 2rem);
    background-color: var(--background-primary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--subscribe-bg);
    clip-path: polygon(0 100%, 100% 0, 0 0);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 8vw, 4rem);
    align-items: center;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    color: var(--text-accent);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.about-text p {
    margin-bottom: 1rem;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: var(--text-primary);
}

/* Grid de imágenes mejorado */
.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 4vw, 2rem);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.image-container {
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* Proporción 3:2 */
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    margin: 0 auto;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-container:hover .product-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: clamp(0.5rem, 2vw, 1rem);
    background-color: rgba(255, 255, 255, 0.9);
    color: #333; /* Color de texto fijo para garantizar contraste */
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.image-container:hover .image-caption {
    transform: translateY(0);
}
/* ====== SECCIÓN SOCIAL ====== */
.social {
    padding: clamp(4rem, 15vw, 8rem) clamp(1rem, 3vw, 2rem);
    background-color: var(--social-bg);
    position: relative;
}

.social::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--background-primary);
    clip-path: polygon(0 0, 100% 100%, 100% 0);
}

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

.social h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    color: var(--social-text);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.social p {
    color: var(--social-text);
    margin-bottom: clamp(1rem, 4vw, 2rem);
    font-size: clamp(0.9rem, 3vw, 1.1rem);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 4vw, 2rem);
    flex-wrap: wrap;
}

/* Mejoras para iconos sociales */
.social-icon {
    width: clamp(55px, 15vw, 65px);
    height: clamp(55px, 15vw, 65px);
    border-radius: 50%;
    background-color: var(--icon-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--icon-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.social-icon:hover::before {
    transform: translateY(0);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-icon i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.social-icon:hover i {
    transform: scale(1.2);
}

.social-icon.instagram:hover {
    background: var(--icon-instagram-hover);
    color: white;
}

.social-icon.facebook:hover {
    background: var(--icon-facebook-hover);
    color: white;
}

.social-icon.tiktok:hover {
    background: var(--icon-tiktok-hover);
    color: white;
}

/* ====== FOOTER ====== */
footer {
    padding: clamp(1.5rem, 5vw, 2rem);
    background-color: var(--footer-bg);
    color: var(--footer-text);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: clamp(0.8rem, 2.5vw, 1rem);
}
/* ====== MEDIA QUERIES ====== */
@media (min-width: 768px) {
    .subscribe-form {
        flex-direction: row;
    }
    
    .subscribe-form input {
        flex-grow: 1;
        border-radius: 50px 0 0 50px;
    }
    
    .subscribe-form button {
        min-width: 150px;
        width: auto;
        border-radius: 0 50px 50px 0;
    }
}

/* Media query para pantallas medianas */
@media (min-width: 768px) and (max-width: 1100px) {
    .image-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Media queries específicas para el contador */
@media (max-width: 480px) {
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 8px 0;
    }
    
    .countdown-item span:first-child {
        font-size: 1.8rem;
    }
    
    .countdown-label {
        font-size: 0.65rem;
    }
}

/* Dispositivos táctiles - mostrar caption siempre */
@media (hover: none) {
    .image-caption {
        transform: translateY(0);
        background-color: rgba(255, 255, 255, 0.8);
    }
    
    .subscribe-form button:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    .social-icon:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
}

/* Ajustes específicos para dispositivos muy pequeños */
@media (max-width: 360px) {
    .countdown-item {
        min-width: 45px;
        padding: 0.3rem 0;
    }
    
    .countdown-item span:first-child {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.6rem;
    }
    
    .theme-toggle {
        position: fixed;
        top: 20px;
        left: 20px; /* Cambiar de right a left */
        z-index: 1001;
        border-radius: 50%;
        box-shadow: var(--shadow-md);
    }
    
    .theme-toggle button {
        width: 38px;
        height: 38px;
    }
}
/* Mejoras de accesibilidad - preferencias de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .parallax-bg,
    .product-image,
    .subscribe-form button,
    .social-icon,
    .theme-toggle button,
    .theme-icon-light,
    .theme-icon-dark,
    .sound-on,
    .sound-off {
        transition: none;
    }
    
    .firefly,
    .firefly::before,
    .firefly::after {
        animation: none;
    }
}

/* Estilos de estado para mejorar la interactividad */
.subscribe-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand-turquoise-light);
}

.subscribe-form button:active,
.social-icon:active,
.theme-toggle button:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-sm);
}

/* Impresión */
@media print {
    .fireflies-container, 
    .theme-toggle,
    .sound-toggle,
    .parallax-bg,
    .coming-soon,
    .countdown-container,
    .social,
    .subscribe {
        display: none !important;
    }
    
    body, html {
        background-color: white !important;
        color: black !important;
    }
    
    .hero {
        height: auto;
        min-height: 0;
        color: black !important;
    }
    
    .hero-title,
    .hero-subtitle {
        color: black !important;
    }
    
    .about {
        padding: 2rem 1rem;
    }
    
    .subscribe::before,
    .about::before,
    .social::before {
        display: none;
    }
    
    a {
        text-decoration: underline;
    }
    
    .footer-content {
        color: black !important;
    }
    
    footer {
        background-color: white !important;
    }
}

/* ====== OPTIMIZACIONES PARA MODO OSCURO Y CLARO ====== */
/* Ajuste específico para modo oscuro */
.theme-dark .image-caption {
    background-color: rgba(30, 30, 30, 0.9);
    color: white;
}

/* Asegurar legibilidad de elementos importantes */
.theme-dark .hero-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.theme-dark .hero-subtitle {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Mejora para contraste en modo oscuro */
.theme-dark .social-icon {
    color: white;
}

/* Ajustes específicos para iconos en modo oscuro */
.theme-dark .social-icon i {
    opacity: 0.9;
}

/* Ajustes para formulario en modo oscuro */
.theme-dark .subscribe-form input:focus {
    box-shadow: 0 0 0 2px var(--brand-turquoise);
}

/* Mejorar visibilidad del botón de tema */
.theme-toggle button {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-dark .theme-toggle button {
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Ajustes de transición entre temas */
body,
.parallax-bg,
.hero-content,
.subscribe,
.about,
.social,
footer,
.theme-toggle button,
.sound-toggle button {
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Animaciones y transiciones más suaves */
.social-icon,
.subscribe-form button,
.image-container {
    will-change: transform;
}

/* Soporte para alto contraste en navegadores */
@media (forced-colors: active) {
    .social-icon,
    .subscribe-form button,
    .theme-toggle button {
        border: 1px solid currentColor;
    }
    
    .image-caption {
        border-top: 1px solid currentColor;
    }
}

/* Optimizaciones adicionales para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .theme-toggle button,
    .sound-toggle button,
    .subscribe-form button,
    .social-icon {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Optimizaciones para conexiones lentas */
@media (prefers-reduced-data: reduce) {
    .parallax-bg {
        background-image: none;
        background-color: black;
    }
    
    .image-container {
        background-color: var(--brand-pink-light);
    }
    
    .product-image {
        display: none;
    }
}

/* Ajustes para navegadores antiguos */
@supports not (clip-path: polygon(0 0, 100% 100%, 100% 0)) {
    .subscribe::before,
    .about::before,
    .social::before {
        display: none;
    }
}