/* ========================================
   THE ZONE VIP CAPS - Estilos Premium
   ======================================== */

/* === VARIABLES Y RESET === */
:root {
    --negro: #0a0a0a;
    --gris-oscuro: #1a1a1a;
    --gris-medio: #2a2a2a;
    --gris-claro: #888;
    --dorado: #d4af37;
    --dorado-hover: #f4cf57;
    --blanco: #ffffff;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Montserrat', 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--negro);
    color: var(--blanco);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* === TIPOGRAFÍA === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--gris-claro);
}

/* === UTILIDADES === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-small {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-dorado {
    color: var(--dorado);
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    font-family: var(--font-display);
}

.logo span {
    color: var(--dorado);
}

.header-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

/* === BOTONES === */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--dorado);
    color: var(--negro);
}

.btn-primary:hover {
    background: var(--dorado-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--blanco);
    color: var(--blanco);
}

.btn-secondary:hover {
    background: var(--blanco);
    color: var(--negro);
}

.btn-large {
    padding: 1.5rem 4rem;
    font-size: 1.125rem;
}

/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(26,26,26,0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--dorado);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--gris-claro);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === SECCIONES === */
.section {
    padding: 8rem 0;
}

.section-dark {
    background: var(--gris-oscuro);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--gris-claro);
    font-size: 1.25rem;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === CONCEPTO DE MARCA === */
.brand-concept {
    background: var(--gris-medio);
    padding: 6rem 2rem;
    text-align: center;
}

.brand-concept h2 {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.brand-concept p {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* === GRID DE PRODUCTOS === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--gris-oscuro);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--dorado);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gris-medio);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--dorado);
    color: var(--negro);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-description {
    color: var(--gris-claro);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dorado);
}

.product-price-old {
    font-size: 1.25rem;
    color: var(--gris-claro);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 1rem;
}

.product-actions .btn {
    flex: 1;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* === FICHA DE PRODUCTO === */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding: 4rem 0;
}

.product-gallery {
    position: sticky;
    top: 120px;
}

.main-image {
    aspect-ratio: 1;
    background: var(--gris-medio);
    margin-bottom: 1rem;
    overflow: hidden;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-info h1 {
    margin-bottom: 1rem;
}

.product-detail-tagline {
    font-size: 1.25rem;
    color: var(--dorado);
    margin-bottom: 2rem;
}

.product-features {
    list-style: none;
    margin: 2rem 0;
}

.product-features li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-features li:before {
    content: "✓";
    color: var(--dorado);
    font-weight: bold;
    font-size: 1.25rem;
}

.shipping-info {
    background: var(--gris-medio);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 3px solid var(--dorado);
}

.shipping-info p {
    margin: 0;
    font-weight: 600;
    color: var(--blanco);
}

/* === PRUEBA SOCIAL === */
.testimonials {
    background: var(--gris-oscuro);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: var(--gris-medio);
    padding: 2rem;
    border-left: 3px solid var(--dorado);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dorado);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--negro);
    font-size: 1.25rem;
}

.testimonial-name {
    font-weight: 600;
    color: var(--blanco);
}

.testimonial-text {
    font-style: italic;
    line-height: 1.8;
}

/* === INCLUYE === */
.includes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.include-item {
    text-align: center;
}

.include-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gris-medio);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.include-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* === CTA FINAL === */
.final-cta {
    background: linear-gradient(135deg, var(--gris-oscuro) 0%, var(--negro) 100%);
    padding: 8rem 2rem;
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 3rem;
}

/* === FOOTER === */
.footer {
    background: var(--gris-oscuro);
    padding: 3rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--gris-claro);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--dorado);
}

.footer-copyright {
    color: var(--gris-claro);
    font-size: 0.875rem;
}

/* === ADMIN === */
.admin-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.table-container {
    background: var(--gris-oscuro);
    border-radius: 8px;
    overflow: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background: var(--gris-medio);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

tr:hover {
    background: rgba(212, 175, 55, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--blanco);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background: var(--gris-medio);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--blanco);
    font-size: 1rem;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--dorado);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery {
        position: static;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 15px;
    }

    .product-name {
        font-size: 1.1rem;
    }

    .product-price {
        font-size: 1.3rem;
        font-weight: 800;
    }

    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .hero {
        margin-top: 60px;
        min-height: 90vh;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn {
        padding: 1rem 2rem;
    }
}