/* ========================================
   ESTILOS BÁSICOS - MARTIN HARDY PERSONAL BRAND
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #ffffff;
    font-family: 'Arial', sans-serif;
    transition: background 0.3s ease;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    position: relative;
}

.responsive-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

/* Control de visibilidad de imágenes según dispositivo */
.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

/* Efecto hover eliminado para mantener la imagen estática */

/* ========================================
   BLOQUE DE TEXTO
   ======================================== */

.text-block {
    position: absolute;
    bottom: 60px;
    left: 20px;
    z-index: 5;
    color: #464545;
    font-family: 'courier new';
    font-weight: bold;
    text-shadow: 0 0 0 rgba(255, 255, 255, 100);
    max-width: 300px;
}

.text-block h2 {
    font-size: 21px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.text-block p {
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

.hex-overlay {
    position: fixed;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: 600px;
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.1);
    text-align: center;
    user-select: none;
    pointer-events: none;
    z-index: 10;
    display: none;
}

/* ========================================
   SELECTOR DE COLOR
   ======================================== */

.color-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 220px;
    height: 90px;
    border-radius: 12px;
    padding: 15px;
    font-family: 'Arial', sans-serif;
    display: none !important;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-picker-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none !important;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
}

.color-picker-toggle:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.color-picker-toggle:active {
    transform: scale(0.95);
}

.main-color-section {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.main-color-area {
    width: 140px;
    height: 60px;
    background: linear-gradient(to top, #000 0%, hsl(120, 100%, 50%) 50%, #ffffff 100%);
    border-radius: 6px;
    position: relative;
    cursor: crosshair;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.color-selector-crosshair {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #333;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10;
}

.hue-slider {
    width: 10px;
    height: 60px;
    background: linear-gradient(to bottom, #ff0000, #ff8000, #ffff00, #00ff00, #0080ff, #8000ff, #ff0080, #ff0000);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.hue-slider-handle {
    position: absolute;
    width: 14px;
    height: 6px;
    background: #fff;
    border: 1px solid #333;
    border-radius: 3px;
    transform: translateX(-2px);
    pointer-events: none;
}

.bottom-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        padding-bottom: 180px;
        align-items: center;
    }
    
    .responsive-image {
        max-width: 100%;
        border-radius: 10px;
    }
    
    /* Cambiar imagen en móviles */
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
    }

    .text-block {
        bottom: 15px;
        left: 15px;
        max-width: 250px;
    }

    .text-block h2 {
        font-size: 20px;
    }

    .text-block p {
        font-size: 12px;
    }

    .hex-overlay {
        font-size: 100px;
        top: 10vh;
    }

    .color-selector {
        width: 200px;
        height: 80px;
        top: 15px;
        right: 15px;
    }
    
    .main-color-area {
        width: 130px;
        height: 50px;
    }
    
    .hue-slider {
        height: 50px;
    }
    
    .hue-slider-handle {
        width: 12px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
        padding-bottom: 180px;
        align-items: center;
    }
    
    .responsive-image {
        border-radius: 8px;
    }
    
    /* Cambiar imagen en pantallas pequeñas */
    .desktop-image {
        display: none;
    }
    
    .mobile-image {
        display: block;
    }

    .text-block {
        bottom: 10px;
        left: 10px;
        max-width: 200px;
    }

    .text-block h2 {
        font-size: 18px;
    }

    .text-block p {
        font-size: 11px;
    }

    .hex-overlay {
        font-size: 70px;
        top: 10vh;
    }

    .color-selector {
        top: 10px;
        right: 10px;
        height: 60px;
        width: 160px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .responsive-image {
        max-width: 900px;
    }
    
    .text-block {
        bottom: 25px;
        left: 25px;
        max-width: 350px;
    }

    .text-block h2 {
        font-size: 28px;
    }

    .text-block p {
        font-size: 16px;
    }
    
    .hex-overlay {
        font-size: 200px;
        top: 10vh;
    }
}

/* Medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    .hex-overlay {
        font-size: 150px;
        top: 10vh;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .container {
        padding: 5px;
        padding-bottom: 180px;
        align-items: center;
    }
    
    .responsive-image {
        border-radius: 5px;
    }

    .text-block {
        bottom: 5px;
        left: 5px;
        max-width: 150px;
    }

    .text-block h2 {
        font-size: 14px;
    }

    .text-block p {
        font-size: 9px;
    }

    .hex-overlay {
        font-size: 50px;
        top: 10vh;
    }

    .color-selector {
        top: 5px;
        right: 5px;
        height: 50px;
        width: 140px;
    }
}

/* ========================================
   FOOTER DE CONTACTO SIMPLIFICADO
   ======================================== */

.contact-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 100;
    box-shadow: inset 0 8px 15px -10px rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.footer-content p {
    color: #464545;
    font-family: 'courier new';
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 0 0 rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-content strong {
    font-weight: bold;
    font-size: 16px;
}

.footer-content a {
    color: #464545;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #D2691E;
}

/* Botón de copiar */
.copy-btn {
    background: none;
    border: none;
    cursor: copy;
    font-size: 14px;
    /* padding: 2px 6px; */
    margin-left: 0px;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.copy-btn:hover {
    opacity: 1;
    background: rgba(210, 105, 30, 0.1);
    transform: scale(1.1);
    color: #D2691E;
}

.copy-btn:active {
    transform: scale(0.95);
}

/* Responsive para el footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-footer {
        padding: 12px 15px;
    }
}

@media (max-width: 480px) {
    .contact-footer {
        padding: 10px 10px;
    }
    
    .footer-content p {
        font-size: 13px;
    }
    
    .footer-content strong {
        font-size: 15px;
    }
}
