/*
 Theme Name:   Varkitect Nexus (Titanium & Straw Edition)
 Theme URI:    https://varkitect.com/
 Description:  Tema High-End para Arquitectura. Estética "Dark Straw & Tin".
 Author:       Triskel Dynamix
 Version:      16.0.0 (NEW PALETTE)
*/

/* ==========================================================================
   1. SISTEMA DE COLOR "TITANIUM & STRAW"
   ========================================================================== */

:root {
    /* --- PALETA MAESTRA (USER REQUEST) --- */
    
    /* DARK STRAW (Reemplaza Oro) - Acento Principal */
    --vx-gold: #C4A962;         
    --vx-gold-hover: #A88E4D;
    --vx-gold-rgb: 196, 169, 98;
    
    /* VERY DARK (Reemplaza Negro) - Fondo Base */
    --vx-black: #080808;        
    
    /* VERY DARK BEAVER GRAY (Opcional) - Fondo de Paneles/Tarjetas */
    /* Usado para dar calidez y profundidad sobre el fondo negro */
    --vx-panel: #1F1D1B;        
    
    /* DARK TIN (Reemplaza Gris) - Textos y Estructura */
    --vx-gray: #68707C;         /* Texto Secundario / Bordes */
    --vx-tin-light: #8E97A4;    /* Variación más clara para lectura */
    
    --vx-white: #EAEAEA;        /* Blanco "Roto" (No puro, para no lastimar la vista) */
    --vx-border: #2D2D2D;       /* Bordes sutiles */

    /* --- MAPEO DE COMPATIBILIDAD (SISTEMA LEGACY) --- */
    /* Esto asegura que los componentes antiguos hereden la nueva paleta */
    
    --thw-primary: var(--vx-gold);
    --thw-primary-rgb: var(--vx-gold-rgb);
    --thw-primary-dark: var(--vx-gold-hover);
    
    --thw-secondary: var(--vx-gray);
    --thw-accent: var(--vx-white);
    
    --thw-dark-bg: var(--vx-black);
    --thw-panel-bg: var(--vx-panel);
    --thw-color-light-bg: var(--vx-panel); /* Para secciones claras invertidas */
    
    --thw-text-dark: var(--vx-white);      /* Invertido para modo oscuro */
    --thw-text-main: var(--vx-white);
    --thw-text-muted: var(--vx-gray);
    --thw-text-light: var(--vx-gray);
    
    --thw-color-border: var(--vx-gray);
    
    /* Tipografía */
    --thw-font-heading: 'Lora', serif; 
    --thw-font-body: 'Inter', sans-serif;
    
    /* UI Elements */
    --thw-border-radius: 2px; /* Casi rectos, muy técnicos */
    --thw-shadow-md: 0 10px 30px rgba(0,0,0,0.5);
    --thw-shadow-lg: 0 20px 50px rgba(0,0,0,0.8);
}

/* ==========================================================================
   2. ESTILOS GLOBALES REINICIADOS
   ========================================================================== */

html { background-color: var(--vx-black); }

body {
    font-family: var(--thw-font-body);
    color: var(--vx-tin-light);
    background-color: var(--vx-black);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Títulos en Blanco Roto o Straw según jerarquía */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--thw-font-heading);
    color: var(--vx-white);
    letter-spacing: -0.02em;
    font-weight: 400; /* Elegancia delgada */
}

/* Enlaces en Dark Straw */
a { 
    color: var(--vx-gold); 
    text-decoration: none; 
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
a:hover { 
    color: var(--vx-white); 
    text-shadow: 0 0 10px rgba(196, 169, 98, 0.3);
}

/* --- BOTONES "TITANIUM" --- */
.button, button, input[type="submit"], .trigger-btn {
    background-color: transparent;
    color: var(--vx-gold);
    border: 1px solid var(--vx-gold);
    border-radius: 0px; /* Rectos estilo plano arquitectónico */
    padding: 16px 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Efecto Hover Sofisticado */
.button:hover, button:hover, input[type="submit"]:hover, .trigger-btn:hover {
    background-color: var(--vx-gold);
    color: #1a1a1a; /* Texto oscuro sobre el dorado */
    box-shadow: 0 0 30px rgba(196, 169, 98, 0.15);
    transform: translateY(-2px);
}

/* Botones Secundarios (Dark Tin) */
.button-secondary, .btn-secondary {
    border-color: var(--vx-gray);
    color: var(--vx-gray);
}
.button-secondary:hover {
    background-color: var(--vx-gray);
    color: #fff;
    border-color: var(--vx-gray);
}