/* RESET Y BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background: #000000;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    padding: 1.5rem 2rem;
    border-bottom: 4px solid #FF6B00;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.199) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

/* LOGO IMAGEN - GRANDE Y CON BUEN ANCHO */
.logo-image {
    width: 100%;
    max-width: 1000px;  /* Ancho máximo grande */
    height: auto;
    display: block;
    margin: 0 auto;
    /* Elimina cualquier fondo de la imagen */
    background: transparent;
    /* Mezcla el fondo de la imagen con el fondo negro */
    mix-blend-mode: multiply;
    /* Si el logo tiene fondo negro, usa esto en vez de multiply: */
    /* mix-blend-mode: screen; */
    filter: drop-shadow(0 0 40px rgb(0, 0, 0));
    animation: fadeInDown 0.8s ease-out;
    border-radius: 4px;
    padding: 0 10px;
}

/* Si el logo tiene fondo blanco y quieres que se vea sobre negro */
.logo-image.white-bg {
    mix-blend-mode: multiply;
}

/* Si el logo tiene fondo negro y quieres que se vea sobre negro */
.logo-image.black-bg {
    mix-blend-mode: screen;
}

/* Si el logo ya es transparente (recomendado) */
.logo-image.transparent {
    mix-blend-mode: normal;
}

.brand-slogan {
    color: #f5f1f1;
    font-size: 1.2rem;
    letter-spacing: 12px;
    margin-top: 12px;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MAIN */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* PRODUCT VIEWER */
.product-container {
    background: #000000;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgb(245, 127, 16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.product-viewer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.nav-btn {
    background: #FF6B00;
    color: white;
    border: none;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    flex-shrink: 0;
}

.nav-btn:hover {
    background: #ff8833;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
}

.nav-btn:active {
    transform: scale(0.9);
}

.product-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 0;
}

#productImage {
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    border: 3px solid #FF6B00;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: #1a1a1a;
}

#productImage:hover {
    transform: scale(1.02);
}

.product-info {
    text-align: center;
    width: 100%;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.product-info h2 {
    color: #FF6B00;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.product-info > p {
    color: #050505;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.product-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 107, 0, 0.3);
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.detail-label {
    color: #888;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

/* COLOR SELECTOR */
.color-selector {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.color-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid #555;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.color-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
}

.color-btn.active {
    border-color: #FF6B00;
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(255, 107, 0, 0.5);
}

.color-btn.active::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* INFO SECTION */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: #000000;
    padding: 1.8rem;
    border-radius: 15px;
    border-left: 5px solid #FF6B00;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.info-card h3 {
    color: #FF6B00;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.info-card ul {
    list-style: none;
    line-height: 2.2;
}

.info-card ul li {
    color: #cccccc;
    font-size: 1rem;
}

.info-card ul li strong {
    color: #ffffff;
}

.info-card.highlight {
    background: linear-gradient(135deg, #FF6B00, #ff8833);
    border-left-color: #1a1919;
}

.info-card.highlight h3 {
    color: #000000;
}

.info-card.highlight ul li {
    color: #000000;
}

.info-card.highlight ul li strong {
    color: #1a1a1a;
}

/* WHATSAPP */
.whatsapp-container {
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    border-radius: 20px;
    border: 2px solid #FF6B00;
    box-shadow: 0 4px 30px rgba(255, 107, 0, 0.1);
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 1.2rem 4rem;
    font-size: 1.4rem;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    letter-spacing: 1px;
}

.whatsapp-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.5);
    background: #2ad06a;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

.contact-phone {
    margin-top: 1.2rem;
    color: #FF6B00;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.contact-note {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 2px solid #FF6B00;
    color: #666;
    margin-top: 2rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* ============================================ */
/* RESPONSIVE - TODOS LOS TAMAÑOS DE PANTALLA */
/* ============================================ */

/* Pantallas muy grandes (4K) */
@media (min-width: 1600px) {
    .logo-image {
        max-width: 1200px;
    }
    
    .logo-container {
        max-width: 1400px;
    }
}

/* Pantallas grandes (Desktop) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .logo-image {
        max-width: 1000px;
    }
}

/* Tablets y laptops */
@media (max-width: 1199px) {
    .logo-image {
        max-width: 800px;
    }

    .brand-slogan {
        font-size: 1rem;
        letter-spacing: 8px;
    }

    .product-details {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    #productImage {
        height: 350px;
    }
}

/* Tablets y móviles grandes */
@media (max-width: 992px) {
    .logo-image {
        max-width: 650px;
    }

    header {
        padding: 1.5rem 1.5rem;
    }
}

/* Tablets y móviles */
@media (max-width: 768px) {
    header {
        padding: 1.2rem 1rem;
    }

    .logo-image {
        max-width: 100%;
        padding: 0 5px;
    }

    .brand-slogan {
        font-size: 0.85rem;
        letter-spacing: 6px;
        margin-top: 10px;
    }

    .product-viewer {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }

    #productImage {
        height: 300px;
    }

    .product-info h2 {
        font-size: 1.5rem;
    }

    .product-info > p {
        font-size: 1rem;
    }

    .product-details {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .detail-item {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .detail-item:last-child {
        border-bottom: none;
    }

    .color-selector {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .color-btn {
        width: 55px;
        height: 55px;
    }

    .info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .whatsapp-btn {
        padding: 1rem 2rem;
        font-size: 1.2rem;
    }

    .contact-phone {
        font-size: 1.2rem;
    }

    .product-container {
        padding: 1.5rem;
    }
}

/* Móviles */
@media (max-width: 576px) {
    header {
        padding: 1rem 0.8rem;
    }

    .logo-image {
        max-width: 100%;
        padding: 0 3px;
    }

    .brand-slogan {
        font-size: 0.7rem;
        letter-spacing: 5px;
        margin-top: 8px;
    }

    main {
        padding: 1rem;
    }

    .product-container {
        padding: 1rem;
        border-radius: 15px;
    }

    .product-viewer {
        gap: 0.8rem;
    }

    #productImage {
        height: 250px;
        border-radius: 10px;
        border-width: 2px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h2 {
        font-size: 1.2rem;
    }

    .product-info > p {
        font-size: 0.9rem;
    }

    .detail-value {
        font-size: 0.9rem;
    }

    .detail-label {
        font-size: 0.7rem;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        box-shadow: 0 2px 10px rgba(255, 107, 0, 0.2);
    }

    .color-btn {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .color-selector {
        gap: 0.8rem;
        padding-top: 1.5rem;
        margin-top: 1.5rem;
    }

    .color-btn.active::after {
        font-size: 1.2rem;
    }

    .info-card {
        padding: 1.2rem;
        border-left-width: 4px;
    }

    .info-card h3 {
        font-size: 1.1rem;
    }

    .info-card ul {
        line-height: 2;
    }

    .info-card ul li {
        font-size: 0.9rem;
    }

    .whatsapp-container {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }

    .whatsapp-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        box-shadow: 0 2px 15px rgba(37, 211, 102, 0.2);
    }

    .contact-phone {
        font-size: 1rem;
    }

    .contact-note {
        font-size: 0.8rem;
    }

    footer {
        padding: 1.5rem;
        font-size: 0.8rem;
    }
}

/* Móviles muy pequeños */
@media (max-width: 400px) {
    header {
        padding: 0.8rem 0.5rem;
    }

    .brand-slogan {
        font-size: 0.6rem;
        letter-spacing: 4px;
        margin-top: 6px;
    }

    #productImage {
        height: 200px;
    }

    .product-info h2 {
        font-size: 1rem;
    }

    .product-info > p {
        font-size: 0.8rem;
    }

    .color-btn {
        width: 42px;
        height: 42px;
    }

    .color-selector {
        gap: 0.6rem;
    }

    .nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .whatsapp-btn {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
    }

    .info-card ul li {
        font-size: 0.8rem;
    }
}

/* Utilidades para transiciones suaves */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Scrollbar personalizada (opcional) */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff8833;
}